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.
regards,
Klaas
[*]
[EMAIL PROTECTED]:~/SVN/xenomai-trunk #
svn info .
Path: .
URL: http://svn.gna.org/svn/xenomai/trunk
Repository Root: http://svn.gna.org/svn/xenomai
Repository UUID: c6d672ea-8702-0410-b560-f74c916a59fe
Revision: 1969
Node Kind: directory
Schedule: normal
Last Changed Author: rpm
Last Changed Rev: 1969
Last Changed Date: 2006-12-18 22:19:22 +0100 (Mon, 18 Dec 2006)
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users