> Zaimin Zhong wrote:

Unable to rely direct so here is a public reply..


> 
> Dear Mr. Phil Wilshire,
> 
> Thanks very much for your wonderful work concerning RTLinux at
> FSMLABS.
> 
Thank Victor and Michael. I just tag along..


> I encountered following problems when setting up my RTLinux OS
> environment. I wonder if you could help me out?
> 
> Step 1: I down loaded RT rtlinux-2_0.tgz from
> ftp://fsmlabs.com/pub/rtlinux/v2/
> 
> Step 2: I tried to patch the kernel_patch into a Linux 2.2.13, but got
> several “Rejections”
> 

Any rejections spell bad news...

Make sure you got a brand new clean kernel from say ftp.us.kernel.org


> Step 3: I could still build the patched kernel without Errors
It will NOT work however.

> 
> Step 4: After rebooting from the new kernel, I tried to execute
> “make” under “/rtl” directory. But some lines
> with “ifdef & endif & else ” were marked with
> “Extraneous text ..”
> 
> In general, I could not find the directory “../modules/”
> relative to /rtl., which seemed to be an essential part of the
> RTLinux.
I sent a load of patches to Victor ( RTLinux ) for his make files.
The 2.opre5 should be quite good now.

make sure that you link /usr/src/linux to your working directory.

ie 
I use
/opt/rtl/RTLinux2_0/linux 
  for the untarred linux tree

and I do this

rm -f /usr/src/linux
ln -s /opt/rtl/RTLinux2_0/linux  /usr/src/linux

I do this before I try any make in the rtl tree.

if this makefile still fails then try going into each subdir and doing a
manual make.

ie 
cd /opt/rtl/RTLinux2_0/rtl
cd fifos
make
cd ..
...etc
once you do this if you want to do it all by hand
copy the resukltant .o files into rtl/modules

THe make install should do this for you.

NOte you should be root to do all this.

Try again  

you can get an output from make like this

make > make.out 2>&1 

send me this make.out file.

Regards

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