Klaas Gadeyne wrote:
> [...]
>>> configure:19538: gcc-3.4 -c -s  -D__KERNEL__
>>> -I/lib/modules/2.4.33-ipipe-1.2-08/build/include -D__KERNEL__
>>> -I/root/src/linux-2.4.33-ipipe-1.2-08/include -Wall
>>> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
>>> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
>>> -march=i686 -fno-unit-at-a-time -DMODULE -DEXPORT_SYMTAB
>>> -I/lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai
>>> -I/lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/compat
>>> -D__KERNEL__ -I/lib/modules/2.4.33-ipipe-1.2-08/build/include
>>> -I/lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/compat
>>> conftest.c >&5
>>> In file included from
>>> /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/nucleus/pod.h:34,
>>>                   from
>>> /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/nucleus/xenomai.h:23,
>>>
>>>                   from
>>> /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/rtdm/rtdm_driver.h:36,
>>>
>>>                   from conftest.c:34:
>>> /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/nucleus/thread.h:124:26:
>>> nucleus/stat.h: No such file or directory
> 
> [...]
>> Hmm, you are building against the default kernel link, right? What
>> happens when you provide the target of the
>> /lib/modules/2.4.33-ipipe-1.2-08/build link instead? Maybe those double
>> links (/lib/modules/*/build and the xenomai links) somehow don't get
>> resolved properly to the real path by RTnet's build system. Hell, we
>> need to get rid of this autotools indirection cruft.
> 
> No, I specified the kernel explicitly.  This was the configure line:
> 
> ../configure
> --prefix=/root/install/rtnet-trunk-xenomai-trunk-2.4.33-ipipe-1.2-08/
> --with-linux=/lib/modules/2.4.33-ipipe-1.2-08/build
> --with-rtext-config=/root/install/xenomai-trunk-2.4.33-ipipe-1.2-08/bin/xeno-config
> 
> CC=gcc-3.4
> 
> From what I discovered until now, I guess it might be a xenomai
> problem, not an rtnet one...

Could be. Please re-check against Xenomai v2.3.x SVN, also using the
example repos that comes with the checkout. It contains some kernel
stuff, but it's designed to act as an out-of-tree user - like RTnet,
only simpler. If problems persists, bother us on xenomai-help.

TiA,
Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to