http://bugs.orocos.org/show_bug.cgi?id=921
Summary: rosmake orocos_toolchain fails
Product: Toolchain
Version: master
Platform: Intel 64bit
OS/Version: Xenomai 2.x
Status: NEW
Severity: normal
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: dustin [dot] r [dot] gooding [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Running Ubuntu 11.10, with a vanilla kernel 2.6.38.8 patched with Xenomai
2.6.0. Xenomai was installed using the --dlopen-skins configure option. It
seems to be loaded and running correctly. I installed ROS Electric using the
Ubuntu packages (sudo apt-get install ros-electric-ros-base). Then I followed
the instructions found at http://www.ros.org/wiki/orocos_toolchain for
compiling Orocos from source. I set my OROCOS_TARGET variable to 'xenomai'.
rosmake seems to find Xenomai just fine, but I get the following error:
make[3]: Entering directory
`/opt/ros/electric/stacks/orocos_toolchain/rtt/build'
Linking CXX shared library librtt-typekit-xenomai.so
CMakeFiles/rtt-typekit-xenomai_plugin.dir/RealTimeTypekitTypes.cpp.o: file not
recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [rtt/typekit/librtt-typekit-xenomai.so.2.5.0] Error 1
Full Details:
dgooding@wall-e:~$ uname -a
Linux wall-e 2.6.38.8-xenomai-2.6.0 #3 SMP Fri Dec 9 18:47:29 CST 2011 x86_64
x86_64 x86_64 GNU/Linux
dgooding@wall-e:~$ xeno-config --verbose
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"
dgooding@wall-e:~$ roswtf
No package or stack in context
================================================================================
Static checks summary:
No errors or warnings
================================================================================
Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
... done running graph rules
Online checks summary:
No errors or warnings
dgooding@wall-e:/opt/ros/electric/stacks/orocos_toolchain$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# install/
nothing added to commit but untracked files present (use "git add" to track)
dgooding@wall-e:/opt/ros/electric/stacks/orocos_toolchain$ git log | head -n1
commit 1adc23f44e49658a0ec84d56fc39aa198c40ed71
dgooding@wall-e:~$ rosmake -i --rosdep-install orocos_toolchain
[ rosmake ] Packages requested are: ['orocos_toolchain']
[ rosmake ] Logging to
directory/home/dgooding/.ros/rosmake/rosmake_output-20111212-115329
[ rosmake ] Expanded args ['orocos_toolchain'] to:
['log4cpp', 'typelib', 'rtt_typelib', 'orogen', 'utilmm', 'rtt', 'ocl',
'utilrb']
[ rosmake ] Generating Install Script using rosdep then executing. This may
take a minute, you will be prompted for permissions. . .
[ rosmake ] rosdep successfully installed all system dependencies
[rosmake-0] Starting >>> rosemacs [ make ]
[rosmake-0] Finished <<< rosemacs ROS_NOBUILD in package rosemacs
No Makefile in package rosemacs
[rosmake-1] Starting >>> rtt [ make ]
[ rosmake ] Last 40 linest: 0.7 sec ]
[ 1 Active 2/27 Complete ]
{-------------------------------------------------------------------------------
--posix-cflags is deprecated, use --skin=posix --cflags instead
Found XenomaiPosix in /usr/include
[rosmake-0] Starting >>> utilmm [ make ]
[Bug 921] rosmake orocos_toolchain fails
http://bugs.orocos.org/show_bug.cgi?id=921
Dustin Gooding <dustin [dot] r [dot] gooding [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID