[Rock-dev] rock error on xenomai
gprizzi at tin.it
gprizzi at tin.it
Sun Mar 6 20:58:31 CET 2011
Dear Sir,
I tried again a fresh install of rock on 5th of march, on a linux system patched with xenomai.
But again I get error.
I got and installed rock with xenomai omniorb and ocl support without errors.
then I put in .bashrc
source /usr/src/rock/env.sh
and I set the variable
LD_LIBRARY_PATH=/usr/src/rock/install/lib/orocos:/usr/src/rock/install/lib/orocos/plugins:/usr/src/rock/install/lib/orocos/types:$LD_LIBRARY_PATH$; export LD_LIBRARY_PATH
To test the system I ran the following commands:
orogen create test2
orogen --target=xenomai test2.orogen
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/rock
make
When I run the command ./test2_test I got error about libraries that can not be loaded.
As you can see in the attached output that follows.
root at LinuxU1010:~/rock/Test/test2# orogen create test2
root at LinuxU1010:~/rock/Test/test2# cd test2
root at LinuxU1010:~/rock/Test/test2/test2# orogen --target=xenomai test2.orogen
root at LinuxU1010:~/rock/Test/test2/test2# mkdir build
root at LinuxU1010:~/rock/Test/test2/test2# cd buils
bash: cd: buils: No such file or directory
root at LinuxU1010:~/rock/Test/test2/test2# cd build
root at LinuxU1010:~/rock/Test/test2/test2/build# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/rock
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test CXX_SUPPORTS_WALL
-- Performing Test CXX_SUPPORTS_WALL - Success
-- running on Linux, implementing the __orogen_getTID() operation on all tasks
-- Found Doxygen: /usr/bin/doxygen
-- documentation can be built
-- checking for module 'orocos-rtt-xenomai>=2.1.0'
-- found orocos-rtt-xenomai, version 2.2.1
-- checking for module 'orocos-ocl-xenomai>=2.1.0'
-- found orocos-ocl-xenomai, version 2.2.1
-- OCL found, the generated task library will be compatible with the deployer component
-- checking for module 'orocos-rtt-corba-xenomai'
-- found orocos-rtt-corba-xenomai, version 2.2.1
-- Found RTT_PLUGIN_rtt-typekit
-- Found RTT_PLUGIN_rtt-transport-corba
-- Configuring done
-- Generating done
-- Build files have been written to: /root/rock/Test/test2/test2/build
root at LinuxU1010:~/rock/Test/test2/test2/build# make
Scanning dependencies of target check-uptodate
[ 20%] Built target check-uptodate
Scanning dependencies of target test2-tasks-xenomai
[ 40%] Building CXX object tasks/CMakeFiles/test2-tasks-xenomai.dir/__/.orogen/tasks/TaskBase.cpp.o
[ 60%] Building CXX object tasks/CMakeFiles/test2-tasks-xenomai.dir/Task.cpp.o
[ 80%] Building CXX object tasks/CMakeFiles/test2-tasks-xenomai.dir/__/.orogen/tasks/DeployerComponent.cpp.o
Linking CXX shared library libtest2-tasks-xenomai.so
[ 80%] Built target test2-tasks-xenomai
Scanning dependencies of target test2_test
[100%] Building CXX object CMakeFiles/test2_test.dir/.orogen/main-test2_test.cpp.o
Linking CXX executable test2_test
[100%] Built target test2_test
root at LinuxU1010:~/rock/Test/test2/test2/build# ls
CMakeCache.txt Doxyfile orogen-test2_test.pc
CMakeFiles Makefile tasks
cmake_install.cmake orogen-project-test2.pc test2_test
root at LinuxU1010:~/rock/Test/test2/test2/build# ./test2_test
0.177 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.177 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.179 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/string' with 'string'.
0.179 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/vector</double>' with 'array'.
0.301 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/vector</int32_t>' with '/std/vector</int32_t>'.
0.301 [ Warning][TypekitRepository::Import] Registering Type name '/std/vector</int32_t>' twice to the Orocos Type System: replacing.
0.435 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libxsens_imu-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.443 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libtaskmon-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.452 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libtrajectory_follower-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.480 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/std/vector</int32_t>' with 'ints'.
0.489 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/vector</int32_t>
0.494 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libcorridor_planner-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.538 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/uint8_t[]' with '/uint8_t[]'.
0.538 [ Warning][TypekitRepository::Import] Registering Type name '/uint8_t[]' twice to the Orocos Type System: replacing.
0.551 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/string
0.551 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/vector</double>
0.555 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libdynamixel-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.602 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/uint8_t[]' with '/uint8_t[]'.
0.602 [ Warning][TypekitRepository::Import] Registering Type name '/uint8_t[]' twice to the Orocos Type System: replacing.
0.602 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/librtt-transport-mqueue-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.674 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libgps-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for '/double[]' with '/double[]'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/double[]' twice to the Orocos Type System: replacing.
0.676 [ Warning][TypekitRepository::Import] Overriding TypeInfo for 'string' with '/std/string'.
0.676 [ Warning][TypekitRepository::Import] Registering Type name '/std/string' twice to the Orocos Type System: replacing.
0.677 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/string
0.677 [ Warning][TypekitRepository::Import] Overriding TypeInfo for 'array' with '/std/vector</double>'.
0.677 [ Warning][TypekitRepository::Import] Registering Type name '/std/vector</double>' twice to the Orocos Type System: replacing.
0.677 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/vector</double>
0.682 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libbase-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.686 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libhokuyo-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.691 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libwifimon-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.761 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libcanbus-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.774 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libparport-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.780 [ ERROR ][Logger] could not load library '/usr/src/rock/install/lib/orocos/types/libcontroldev-transport-typelib-xenomai.so': libpthread_rt.so.1: shared object cannot be dlopen()ed
0.780 [ Warning][Logger] Some found plugins could not be loaded !
0.780 [ Warning][Logger] Corrupted files found in '/usr/local/lib/rock/lib/orocos/:/usr/src/rock/install/lib/orocos/::/'. Fix or remove these plugins.
0.792 [ Warning][TaskContextServer()] CTaskContext 'test2' already bound to CORBA Naming Service.
0.792 [ Warning][TaskContextServer()] Trying to rebind... done. New CTaskContext bound to Naming Service.
Can you help me in finding what have I missed?
Thank you in advance.
Gianpaolo Rizzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110306/0aaa2247/attachment.htm
More information about the Rock-dev
mailing list