Klaas Gadeyne wrote: > Hi, > > I was trying to build rtnet-trunk against a xenomai v2.x version > lingering around (using 2.4.33-ipipe-1.2-08) [*]. > > Configure failed when checking for rtdm/rtdm_driver.h > Relevant section of config.log below. > > 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 > > Indeed the stat.h file seems not to have been copied: > > [EMAIL PROTECTED]:~/SVN/xenomai-trunk/include/nucleus # > ls /root/SVN/xenomai-trunk/include/nucleus/ > assert.h compiler.h heap.h jhash.h Makefile.am module.h pod.h queue.h > shadow.h synch.h thread.h trace.h version.h > bheap.h core.h intr.h ltt.h Makefile.in pipe.h ppd.h > registry.h stat.h system.h timer.h types.h xenomai.h > [EMAIL PROTECTED]:~/SVN/xenomai-trunk/include/nucleus # > ls /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/nucleus/ > assert.h compiler.h heap.h jhash.h module.h pod.h queue.h shadow.h > system.h timer.h types.h xenomai.h > bheap.h core.h intr.h ltt.h pipe.h ppd.h registry.h synch.h > thread.h trace.h version.h > > although it's present in Makefile.am... > > Since this is not a recent version, I'll try to check this out with the > latest 2.2.x or 2.3.x > > Manually copying all the header files from > /root/SVN/xenomai-trunk/include/nucleus/ into > /lib/modules/2.4.33-ipipe-1.2-08/build/include/xenomai/nucleus/ solved the > problem.
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. Jan
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