AM_CPPFLAGS = \ -I$(top_srcdir)/include \ - -I$(top_builddir)/include + -I$(top_builddir)/include \ + $(KERNEL_CFLAGS)
Well, generally it does not make sense to use kernel parameters for user mode tools. What kind of distribution are you using?
That is right.
I am crosscompiling on a Debian testing/unstable for a Debian testing.
All sources are in subdirectories of "/usr/local/tao-rtai":
/usr/local/tao-rtai/
linux-2.4/
rtai-3.0/
rtnet/
ACE_wrappers/The directory of the target filesystem which will be exported by NFS is "usr/local/tao-rtai/target".
The prefix for RTAI is "/usr/local/tao-rtai/target/usr/local/tao-rtai/realtime".
RTnet is configured with:
./configure --enable-allpci --with-rtai=/usr/local/tao-rtai/target/usr/local/tao-rtai/realtime/
> Especially, where
are your user mode includes from (/usr/include)? I guess your compilation fails because the IOCTL macro for user-kernel communication is not correct.
I'll have a closer look at it tomorrow.
-- Hans-Peter Bock Dipl.-Ing.
ISW - Universitaet Stuttgart Seidenstrasse 36 D-70174 Stuttgart
http://www.isw.uni-stuttgart.de/
pgp00000.pgp
Description: PGP signature

