Hello Jan,

> I check the RTAI source again. hard_save_flags_and_cli is defined by the 
> kernel patch, namely in linux/include/asm/system.h. This all seems to be 
> pure header hell. Probably the wrong system.h is selected on your setup, 
> don't know. It's something only you can track down.

I think, I found something, that might cause the problem:

I have the ADEOS patches applied to the linux kernel, RTAI 24.x is also configured for 
ADEOS:

[EMAIL PROTECTED]:/usr/local/tao-rtai/rtai$ grep ADEOS .config
CONFIG_RTAI_ADEOS=y


> >In file included from /usr/local/tao-rtai/rtai/include/asm/rtai.h:7,

[EMAIL PROTECTED]:/usr/local/tao-rtai/rtai$ cat include/asm/rtai.h
#include <config.h>
#ifdef CONFIG_RTAI_LINUX22
#include <asm/rtai-22.h>
#elif CONFIG_RTAI_ADEOS
#include <asm/arti.h>
#else
#include <asm/rtai-24.h>
#endif

So "asm/rtai.h" should include the file "asm/arti.h"


> >                 from /usr/local/tao-rtai/rtai/include/rtai.h:11,
[...]
> >                 from tulip.h:30,
> >                 from tulip_core.c:25:
> >/usr/local/tao-rtai/rtai/include/asm/rtai-24.h: In function 
> >`rt_spin_lock_irqsave':
> >/usr/local/tao-rtai/rtai/include/asm/rtai-24.h:339: warning: implicit 
> >declaration of function `hard_save_flags_and_cli'

But here the compiler includes "asm/rtai-24.h" instead of "asm/arti.h".


I'll try to verify this on a clean ADEOS system.


Does someone use RTnet with ADEOS already by the way?


-- 
Hans-Peter Bock
Dipl.-Ing.

ISW - Universitaet Stuttgart
Seidenstrasse 36
D-70174 Stuttgart

http://www.isw.uni-stuttgart.de/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to