Dan Samber wrote:
> 
> I have now successfully downloaded rt_com-stable_tar.tar (which is rt_com-0.4).
> I have "un-tar-ed" it.
> In the README it states
> "There are some test-modules in test/*.c. "
> I have no test directory!!!!!!!!!!!
> I then tried to compile and install rt_com (again using the README instructions) :
> make -f Makefile.standalone install
> which generated :
> Makefile.standalone:5: /usr/include/rtlinux/rtl.mk: No such file or directory
> make: *** No rule to make target `/usr/include/rtlinux/rtl.mk'.  Stop.
> 
> Which is true! I have no such file! Where do I get one? Where is the test
> directory?
> 
> (I'm running Linux 2.0.36.RTL1.2)
> 
> Thanks
> 

Dunno about the test dir but here is a version rtl.mk.
You will find one by running this as root.


find / -name rtl.mk

========================rtl.mk==============================================
[wilshire@pasrack2 wilshire]$ cat /opt/rtl/rtlinux-2.0/rtl/rtl.mk
#Automatically generated by rtl Makefile
RTL_DIR = /opt/rtl/rtlinux-2.0/rtl
RTLINUX_DIR = /opt/rtl/rtlinux-2.0/linux
INCLUDE= -I/opt/rtl/rtlinux-2.0/linux/include
-I/opt/rtl/rtlinux-2.0/rtl/include -I/opt/rtl/rtlinux-2.0/rtl
CFLAGS = -I/opt/rtl/rtlinux-2.0/linux/include
-I/opt/rtl/rtlinux-2.0/rtl/include -I/opt/rtl/rtlinux-2.0/rtl
-I/opt/rtl/rtlinux-2.0/rtl/include/posix -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -D__RTL__ -D__KERNEL__ -DMODULE -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686
ARCH = i386
CC = gcc
RTL_MODULES=/lib/modules/2.2.13-RTL2.0/misc
=============================end=================================================================

you will need to adjust for your install so find the one you already
have.


ie 
RTL_DIR = /opt/rtl/rtlinux-2.0/rtl

will become 

RTL_DIR = <whereIinstalledit>/rtl


Have you tried the examples yet.
I would suggest that you cut your teeth on a simple
example first. Write something to flash an led
off the parallel port.
( put a 1k resistor in series with the Led )
Also you should look at Rubini's book on (OREILLY) device drivers.


and of cource the RT Linux community will all help..

Phil
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to