HI Daniel,

It seems you're missing a header/patch , the first thing to check is:

- your /usr/src/linux link is pointing at the new 2.2.17 kernel source
tree
- your /usr/include/rt linux is pointing to the new 22.2.4 rtai tree.

Regards, Stuart

daniel sheltraw wrote:
> 
> Hello RTAIers
> 
> I have installed RTAI Embedix from CD and all the modules (rtai.o,
> rtai_sched.o, etc) can be loaded. When I try to compile
> code which previuosly worked under rtai 0.7 using:
> 
> gcc -g -D__KERNEL__ -DMODULE -O2 -Wall  -I
>                   /usr/src/linux/include /usr/include/rt rt_stim.c
> 
> I get the following warnings:
> 
> /usr/include/rt/rtai.h: In function `rt_spin_lock_irq':
> In file included from /home/sheltraw/rt_stim_new/rt_stim.h:13,
>                  from rt_stim.c:11:
> /usr/include/rt/rtai.h:225: warning: implicit declaration of function
> `hard_cli'
> /usr/include/rt/rtai.h: In function `rt_spin_unlock_irq':
> /usr/include/rt/rtai.h:232: warning: implicit declaration of function
> `hard_sti'
> /usr/include/rt/rtai.h: In function `rt_spin_lock_irqsave':
> /usr/include/rt/rtai.h:245: warning: implicit declaration of function
> `hard_save_flags'
> /usr/include/rt/rtai.h: In function `rt_spin_unlock_irqrestore':
> /usr/include/rt/rtai.h:255: warning: implicit declaration of function
> `hard_restore_flags'
> /usr/include/rt: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> make: *** [rt_stim.o] Error 1
> 
> Can someone please tell me where the problem is?
> 
> Thanks again,
> Daniel
> 
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
> 
> -- [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/


-- [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