Greetings,
Xenomai 2.6.0 is installed. `xeno-test` does work.
This rtnet version is the latest from the git repository. It is
installed properly. I just ran make on the examples section and I am
getting the error mentioned above.
I've attached the outputs of some relevant commands below.
What else should I post here for you to help me?
anisha@linux-2gbt:~> uname -a
Linux linux-2gbt 2.6.38.8-default #4 SMP Thu Jun 21 17:24:39 IST 2012
i686 i686 i386 GNU/Linux
-----------------------------------------------------------------------------
linux-2gbt:/usr/local/rtnet/source/examples/xenomai/posix # make
cc -DHAVE_CONFIG_H -I. -I../../../config -s -Wall -pipe -O2
-fstrict-aliasing -I../../../stack/include -s -MT rtt-sender.o -MD -MP
-MF .deps/rtt-sender.Tpo -c -o rtt-sender.o rtt-sender.c
In file included from rtt-sender.c:47:
../../../stack/include/rtnet.h:27:23: error: rtdm/rtdm.h: No such file
or directory
rtt-sender.c: In function ‘main’:
rtt-sender.c:270: warning: implicit declaration of function ‘ioctl’
rtt-sender.c:270: warning: implicit declaration of function ‘_IOW’
rtt-sender.c:270: error: ‘RTDM_CLASS_NETWORK’ undeclared (first use in
this function)
rtt-sender.c:270: error: (Each undeclared identifier is reported only once
rtt-sender.c:270: error: for each function it appears in.)
rtt-sender.c:270: error: expected expression before ‘unsigned’
make: *** [rtt-sender.o] Error 1
-----------------------------------------------------------------------------
linux-2gbt:~ # ls -R /usr/xenomai/include/rtdm/
/usr/xenomai/include/rtdm/:
rtcan.h rtdm_driver.h rtdm.h rtipc.h rtserial.h rttesting.h
-----------------------------------------------------------------------------
linux-2gbt:/usr/xenomai/bin # ./xeno-config
xeno-config --verbose
--version="2.6.0"
--cc="gcc"
--arch="x86"
--prefix="/usr/xenomai"
--xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE
-D_REENTRANT -Wall -Werror-implicit-function-declaration -pipe
-D__XENO__"
--xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread -lrt "
--posix-cflags=""
--posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers
-L/usr/xenomai/lib -lpthread_rt -lxenomai -lpthread -lrt "
--library-dir="/usr/xenomai/lib"
Usage xeno-config --skin=skinname OPTIONS
Options :
--help
--v,--verbose
--version
--cc
--arch
--prefix
--skin native|posix|psos|rtdm|uitron|vrtx|vxworks
--cflags
--ldflags
--lib*-dir,--libdir,--user-libdir
Deprecated options:
--xeno-cflags
--xeno-ldflags
--posix-cflags
--posix-ldflags
Please guide.
--
Anisha Kaul
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users