Hi,
I am not able to make the rtnet package and I am getting the following
errors , and I am using linux kernel 3.4.6 and xenomai 2.6.2.1,
kindly guide me to setup rtnet in xenomai 2.6.2.1,
./configure --with-rtext=/usr/xenomai/
--with-linux=/usr/src/linux-headers-3.4.6-xenomai-2.6.2.1
--with-rtext-config=/usr/xenomai/bin/xeno-config
--with-module-dir=/lib/modules/3.4.6-xenomai-2.6.2.1/
--enable-r8169=yes --enable-rtcap=yes --enable-tcp=yes
--enable-examples=yes
config.status: linking examples/xenomai/native/kernel/Makefile.kbuild
to examples/xenomai/native/kernel/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: creating stack/include/rtnet_config.h
make[1]: Leaving directory `/usr/src/RTnet'
root@texsonics-Inspiron-3542:/usr/src/RTnet# make
Making all in stack
make[1]: Entering directory `/usr/src/RTnet/stack'
Making all in .
make[2]: Entering directory `/usr/src/RTnet/stack'
make[3]: Entering directory `/usr/src/linux-3.4.6'
CC [M] /usr/src/RTnet/stack/rtdev.o
In file included from /usr/src/RTnet/stack/include/ethernet/eth.h:25:0,
from /usr/src/RTnet/stack/rtdev.c:34:
/usr/src/RTnet/stack/include/rtdev.h: In function ‘rtdev_dereference’:
/usr/src/RTnet/stack/include/rtdev.h:207:5: error: implicit
declaration of function ‘smp_mb__before_atomic’
[-Werror=implicit-function-declaration]
smp_mb__before_atomic();
^
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/RTnet/stack/rtdev.o] Error 1
make[3]: *** [module/usr/src/RTnet/stack] Error 2
make[3]: Leaving directory `/usr/src/linux-3.4.6'
make[2]: *** [all-local.ko] Error 2
make[2]: Leaving directory `/usr/src/RTnet/stack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RTnet/stack'
make: *** [all-recursive] Error 1
Thank you