Problems building RTnet
Hi
Since a few hours RTnet cannot even be configured, as the Xenomai version got bumped to 2.3-devel. See
http://ngiger.dyndns.org/buildbot/tqm860/builds/8/step-cfg_RTnet/0
Where it says:
checking for Xenomai version... configure: error: *** Unsupported Xenomai version 2.3-devel in /var/buildbot/slave/tqm860/linux
This morning the buildbot complained like the following:
powerpc-860-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -g -I. -I/usr/xenomai/include -g -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe -I../../../stack/include -I../../../stack/include -g -MT
rtnet_ifs.o -MD -MP -MF ".deps/rtnet_ifs.Tpo" -c -o rtnet_ifs.o rtnet_ifs.c; \
then mv -f ".deps/rtnet_ifs.Tpo" ".deps/rtnet_ifs.Po"; else
rm -f ".deps/rtnet_ifs.Tpo"; exit 1; fi
In file included from rtnet_ifs.c:31:../../../stack/include/rtnet.h:29:23: rtdm/rtdm.h: No such file or directory rtnet_ifs.c: In function `main':
rtnet_ifs.c:51: warning: implicit declaration of function rt_dev_socket' rtnet_ifs.c:61: warning: implicit declaration of function rt_dev_ioctl' rtnet_ifs.c:61: error: `SIOCGIFCONF' undeclared (first use in this function) rtnet_ifs.c:61: error: (Each undeclared identifier is reported only once rtnet_ifs.c:61: error: for each function it appears in.) rtnet_ifs.c:63: warning: implicit declaration of function rt_dev_close' rtnet_ifs.c:73: error: SIOCGIFFLAGS' undeclared (first use in this function) rtnet_ifs.c:83: error: `SIOCGIFINDEX' undeclared (first use in this function) make[4]: *** [rtnet_ifs.o] Fehler 1
Best regards
Signature · 1 line
Niklaus Giger
Quoted 9 lines · Niklaus Giger
Hi
Since a few hours RTnet cannot even be configured, as the Xenomai version got bumped to 2.3-devel. See
http://ngiger.dyndns.org/buildbot/tqm860/builds/8/step-cfg_RTnet/0
Where it says:checking for Xenomai version... configure: error: *** Unsupported Xenomai version 2.3-devel in
/var/buildbot/slave/tqm860/linux
Fixed (for the next versions now as well...).
Quoted 9 lines
This morning the buildbot complained like the following:
powerpc-860-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -g -I. -I/usr/xenomai/include -g -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe -I../../../stack/include -I../../../stack/include -g -MT
rtnet_ifs.o -MD -MP -MF ".deps/rtnet_ifs.Tpo" -c -o rtnet_ifs.ortnet_ifs.c; \
then mv -f ".deps/rtnet_ifs.Tpo" ".deps/rtnet_ifs.Po"; else
rm -f ".deps/rtnet_ifs.Tpo"; exit 1; fi
In file included from rtnet_ifs.c:31:../../../stack/include/rtnet.h:29:23:rtdm/rtdm.h: No such file or directory
There must be still something wrong with the xenomai user-space installation. Check if the xeno-config handed to RTnet returns reasonable paths and if those paths contain the files we need here.
Thanks,
Jan
Quoted 22 lines · Jan Kiszka
Quoted 9 lines · Niklaus Giger
Hi
Since a few hours RTnet cannot even be configured, as the Xenomai version got bumped to 2.3-devel. See
http://ngiger.dyndns.org/buildbot/tqm860/builds/8/step-cfg_RTnet/0
Where it says:checking for Xenomai version... configure: error: *** Unsupported Xenomai version 2.3-devel in
/var/buildbot/slave/tqm860/linuxFixed (for the next versions now as well...).
Quoted 8 lines
This morning the buildbot complained like the following:
powerpc-860-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -g -I. -I/usr/xenomai/include -g -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe -I../../../stack/include -I../../../stack/include -g -MT
rtnet_ifs.o -MD -MP -MF ".deps/rtnet_ifs.Tpo" -c -o rtnet_ifs.ortnet_ifs.c; \
then mv -f ".deps/rtnet_ifs.Tpo" ".deps/rtnet_ifs.Po"; else
rm -f ".deps/rtnet_ifs.Tpo"; exit 1; fi
In file included from rtnet_ifs.c:31:../../../stack/include/rtnet.h:29:23:rtdm/rtdm.h: No such file or directory
Quoted 4 lines
There must be still something wrong with the xenomai user-space installation. Check if the xeno-config handed to RTnet returns reasonable paths and if those paths contain the files we need here.
Looks like a DESTDIR-or-not-DESTDIR question in the include (and lib?) paths xeno-config returns. Do we need two runs for the Xenomai lib installation, one for the target and one for the build host? Or is RTnet supposed to add DESTDIR to all paths returned by xeno-config? Tricky, too tricky for tonight.
Jan
Quoted 28 lines · Jan Kiszka
Quoted 22 lines · Jan Kiszka
Quoted 9 lines · Niklaus Giger
Hi
Since a few hours RTnet cannot even be configured, as the Xenomai version got bumped to 2.3-devel. See
http://ngiger.dyndns.org/buildbot/tqm860/builds/8/step-cfg_RTnet/0
Where it says:checking for Xenomai version... configure: error: *** Unsupported Xenomai version 2.3-devel in
/var/buildbot/slave/tqm860/linuxFixed (for the next versions now as well...).
Quoted 8 lines
This morning the buildbot complained like the following:
powerpc-860-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -g -I. -I/usr/xenomai/include -g -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe -I../../../stack/include -I../../../stack/include -g -MT
rtnet_ifs.o -MD -MP -MF ".deps/rtnet_ifs.Tpo" -c -o rtnet_ifs.ortnet_ifs.c; \
then mv -f ".deps/rtnet_ifs.Tpo" ".deps/rtnet_ifs.Po"; else
rm -f ".deps/rtnet_ifs.Tpo"; exit 1; fi
In file included from rtnet_ifs.c:31:../../../stack/include/rtnet.h:29:23:rtdm/rtdm.h: No such file or directoryQuoted 4 lines
There must be still something wrong with the xenomai user-space installation. Check if the xeno-config handed to RTnet returns reasonable paths and if those paths contain the files we need here.
Quoted 5 lines
Looks like a DESTDIR-or-not-DESTDIR question in the include (and lib?) paths xeno-config returns. Do we need two runs for the Xenomai lib installation, one for the target and one for the build host? Or is RTnet supposed to add DESTDIR to all paths returned by xeno-config? Tricky, too tricky for tonight.
$ DESTDIR=/foo xeno-config ... would make xeno-config prepend the staging directory to the output paths when appropriate.
Quoted 7 lines
Jan
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.