Hi,
I am currently working on an ARM build for the OROCOS platform, however, I ran into a problem when compiling the latest OCL.
I did the configuration procedure as described in the INSTALL document, but when I run make, I get the error:
| NOTE: make
| Scanning dependencies of target message
| Use: make\ docapi\ dochtml\ docpdf to build the documentation.
| [ 0%] Built target message
| Scanning dependencies of target orocos-ocl-common-xenomai
| [ 5%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o
| [ 11%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o
| Linking CXX shared library liborocos-ocl-common-xenomai.so
| [ 11%] Built target orocos-ocl-common-xenomai
| Scanning dependencies of target orocos-taskbrowser-xenomai
| [ 16%] Building CXX object taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o
| Linking CXX shared library liborocos-taskbrowser-xenomai.so
| [ 16%] Built target orocos-taskbrowser-xenomai
| Scanning dependencies of target orocos-timer-xenomai
| [ 22%] Building CXX object timer/CMakeFiles/orocos-timer-xenomai.dir/TimerComponent.o
| Linking CXX shared library liborocos-timer-xenomai.so
| [ 22%] Built target orocos-timer-xenomai
| Scanning dependencies of target helloworld
| [ 27%] Building CXX object helloworld/CMakeFiles/helloworld.dir/HelloWorld.o
| Linking CXX executable helloworld
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)':
| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(RTT::PropertyBase*)'
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x84): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `write_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `read_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_append_character'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_matches'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_free_line_state'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_attempted_completion_function'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_set_signals'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_catch_signals'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `readline'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `add_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_line_buffer'
| collect2: ld returned 1 exit status
| make[2]: *** [helloworld/helloworld] Error 1
| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
| make: *** [all] Error 2
| FATAL: oe_runmake failed
It seems to me that it cannot find the xenomai libraries, however, I have no clue on how to point the compiler to the right place (since this is a cross-compiling environment, all of my libraries are in non-standard locations.)
Some information that might help: the target is a xenomai install, and I am working on a cross-compiling environment. The machine that this will be installed on is a gumstix verdex, based on the PXA270 ARM processor.
Thanks for the help,
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
Problems compiling OCL
Submitted by cavalkaf on Wed, 2009-01-21 19:05 |
Problems compiling OCL
On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens <span dir="ltr"><peter [dot] soetens [..] ...><span> wrote:
> OK - I did get rid of the readline errors, however, I am still having a few
> issues - I believe the problem right now lies with RTT. Any ideas on how to
> get past this? Remember, this is a cross-compiling envirioment, but I did
> point it to the compiler to the right cross-compiled RTT.
Some symbols are hidden
The -fvisibility-inlines-hidden flag is not supported for RTT and OCL. Did you
add this flag manually ? Make sure you compile without and preferably with the
'default' flags of RTT (if applicable / adapted to your target). If that still
fails, we can dig further.
<blockquote>
I did remove the flags in OCL, but no luck. Still have the same error. I also removed them and re-compiled RTT.
The problem is that my build setup modifies a bunch of flags automatically, so I have to edit them manually after the configuration step. Where should I look in order to find the default flags, and what files should I set them on (I have very little experience using cmake...)
* All RTT files must be compiled with the -DRTT_EXPORT.
* All OCL files must be compiled with the -DOCL_EXPORT.
* Your application must be compiled without these flags.
Peter
<blockquote>
Should I add these and re-compile RTT and OCL than? If so, what file should I add these to?
Thanks for the help,
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
Here is the latest error:
| NOTE: make VERBOSE=1
| /usr/bin/cmake -H/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -B/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build --check-build-system CMakeFiles/Makefile.cmake 0
| /usr/bin/cmake -E cmake_progress_start /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles/progress.make
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/DependInfo.cmake --color=
| Dependee "/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h" is newer than depender "ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o".
| Dependee "/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h" is newer than depender "ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o".
| Clearing dependencies in "/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend.make".
| Scanning dependencies of target orocos-ocl-common-xenomai
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 1
| [ 2%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl && /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -DOCL_DLL_EXPORT -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -fPIC -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include/xenomai -Wall -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o -c /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl/HMIConsoleOutput.cpp
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 2
| [ 5%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl && /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -DOCL_DLL_EXPORT -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -fPIC -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include/xenomai -Wall -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o -c /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl/ocltoolkit.cpp
| Linking CXX shared library liborocos-ocl-common-xenomai.so
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl && /usr/bin/cmake -E cmake_link_script CMakeFiles/orocos-ocl-common-xenomai.dir/link.txt --verbose=1
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -fPIC -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -shared -Wl,-soname,liborocos-ocl-common-xenomai.so.1.6 -o liborocos-ocl-common-xenomai.so.1.6.2 CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -lorocos-rtt-xenomai -lnative -lpthread -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl && /usr/bin/cmake -E cmake_symlink_library liborocos-ocl-common-xenomai.so.1.6.2 liborocos-ocl-common-xenomai.so.1.6 liborocos-ocl-common-xenomai.so
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 1 2
| [ 5%] Built target orocos-ocl-common-xenomai
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/DependInfo.cmake --color=
| Dependee "/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h" is newer than depender "taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o".
| Clearing dependencies in "/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend.make".
| Scanning dependencies of target orocos-taskbrowser-xenomai
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 3
| [ 8%] Building CXX object taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser && /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -DOCL_DLL_EXPORT -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -fPIC -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include/xenomai -Wall -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o -c /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser/TaskBrowser.cpp
| Linking CXX shared library liborocos-taskbrowser-xenomai.so
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser && /usr/bin/cmake -E cmake_link_script CMakeFiles/orocos-taskbrowser-xenomai.dir/link.txt --verbose=1
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -fPIC -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -shared -Wl,-soname,liborocos-taskbrowser-xenomai.so.1.6 -o liborocos-taskbrowser-xenomai.so.1.6.2 CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib ../ocl/liborocos-ocl-common-xenomai.so.1.6.2 -lorocos-rtt-xenomai -lnative -lpthread -lncurses /home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/libreadline.so -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser && /usr/bin/cmake -E cmake_symlink_library liborocos-taskbrowser-xenomai.so.1.6.2 liborocos-taskbrowser-xenomai.so.1.6 liborocos-taskbrowser-xenomai.so
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 3
| [ 8%] Built target orocos-taskbrowser-xenomai
| make -f taskbrowser/tests/CMakeFiles/taskb.dir/build.make taskbrowser/tests/CMakeFiles/taskb.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser/tests /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/tests /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/tests/CMakeFiles/taskb.dir/DependInfo.cmake --color=
| Dependee "/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h" is newer than depender "taskbrowser/tests/CMakeFiles/taskb.dir/main.o".
| Clearing dependencies in "/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/tests/CMakeFiles/taskb.dir/depend.make".
| Scanning dependencies of target taskb
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f taskbrowser/tests/CMakeFiles/taskb.dir/build.make taskbrowser/tests/CMakeFiles/taskb.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 4
| [ 11%] Building CXX object taskbrowser/tests/CMakeFiles/taskb.dir/main.o
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/tests && /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include/xenomai -Wall -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o CMakeFiles/taskb.dir/main.o -c /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser/tests/main.cpp
| Linking CXX executable taskb
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/taskb.dir/link.txt --verbose=1
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 CMakeFiles/taskb.dir/main.o -o taskb -rdynamic -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -L/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser ../liborocos-taskbrowser-xenomai.so.1.6.2 ../../ocl/liborocos-ocl-common-xenomai.so.1.6.2 -lorocos-rtt-xenomai -lnative -lpthread -lncurses /home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/libreadline.so -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::parser()'
| /home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib/liborocos-rtt-xenomai.so: undefined reference to `boost::throw_exception(std::exception const&)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::unloadProgram(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::taskObject()'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::unloadStateMachine(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::eol_skip_p'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseCommand(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*, bool)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseValueChange(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::PeerParser(RTT::TaskContext*, bool)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::eol_skip_functor::skipeol'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::peer()'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::loadStateMachine(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::loadProgram(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseExpression(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, RTT::TaskContext*)'
| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::ProgramLoader(bool)'
| collect2: ld returned 1 exit status
| make[2]: *** [taskbrowser/tests/taskb] Error 1
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[1]: *** [taskbrowser/tests/CMakeFiles/taskb.dir/all] Error 2
| make[1]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
--
*º¤., ¸¸,.¤º*¨*¤., ¸¸,.¤º*¨*
Cavalkaf (aka Felipe) <cavalkaf [..] ...>
AIM: Cavalkaf | MSN: cavalkaf2 [..] ...
Check out <http://www.flickr.com/photos/rbcav2003/>
Problems compiling OCL
On Friday 30 January 2009 20:34:58 Felipe Brandão Cavalcanti wrote:
> On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens <peter [dot] soetens [..] ...>wrote:
> > On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:
> > > OK - I did get rid of the readline errors, however, I am still having a
> >
> > few
> >
> > > issues - I believe the problem right now lies with RTT. Any ideas on
> > > how
> >
> > to
> >
> > > get past this? Remember, this is a cross-compiling envirioment, but I
> > > did point it to the compiler to the right cross-compiled RTT.
> >
> > Some symbols are hidden
> > The -fvisibility-inlines-hidden flag is not supported for RTT and OCL.
> > Did you
> > add this flag manually ? Make sure you compile without and preferably
> > with the
> > 'default' flags of RTT (if applicable / adapted to your target). If that
> > still
> > fails, we can dig further.
>
> I did remove the flags in OCL, but no luck. Still have the same error. I
> also removed them and re-compiled RTT.
> The problem is that my build setup modifies a bunch of flags automatically,
> so I have to edit them manually after the configuration step. Where should
> I look in order to find the default flags, and what files should I set them
> on (I have very little experience using cmake...)
If you start 'ccmake', you get a menu-style front-end where you can modify
flags. If your CMAKE_BUILD_TYPE is set to 'RTT', you can control the flags with
CMAKE_C_FLAGS_RTT and CMAKE_CXX_FLAGS_RTT. For OCL, the flags must be put in
CMAKE_CXX_FLAGS_OCL and CMAKE_C_FLAGS_OCL. Just select the proper line, press
enter, add your text, confirm with enter.
I'd like to give more precise information, but its hard to guess what you're
having there. Maybe posting your CMakeCache.txt file can offer better insight.
>
> > * All RTT files must be compiled with the -DRTT_EXPORT.
> > * All OCL files must be compiled with the -DOCL_EXPORT.
> > * Your application must be compiled without these flags.
> >
> > Peter
>
> Should I add these and re-compile RTT and OCL than? If so, what file should
> I add these to?
See my comment above.
Peter
PS: if you would post your build errors as an attachment, that would be easier
to read...
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Problems compiling OCL
OK - I did get past the point I was at by removing the "embedded" option in the RTT library and leaving most of the options as default. However, I did get another completely different error this time. Anybody has a clue on how to proceed?
Thanks for the help,
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
The error:
| [ 68%] Building CXX object motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/motion_control/naxes/tests && /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -O2 -DNDEBUG -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/axes -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/comedi -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/apci -Wall -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o CMakeFiles/naxes.dir/main.o -c /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController.hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController.hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController.hpp:233: error: template argument 1 is invalid
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController.hpp:233: error: template argument 2 is invalid
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp: In function 'int ORO_main_impl(int, char**)':
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:86: error: no matching function for call to 'OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], unsigned int&)'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hpp:60: note: candidates are: OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hpp:53: note: OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:87: error: no matching function for call to 'OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], unsigned int&)'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hpp:59: note: candidates are: OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hpp:52: note: OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:88: error: no matching function for call to 'OCL::nAxesControllerPos::nAxesControllerPos(const char [19], unsigned int&)'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.hpp:55: note: candidates are: OCL::nAxesControllerPos::nAxesControllerPos(std::string)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.hpp:47: note: OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:89: error: no matching function for call to 'OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22], unsigned int&)'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVel.hpp:54: note: candidates are: OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVel.hpp:46: note: OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVel&)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:90: error: no matching function for call to 'OCL::nAxesControllerVel::nAxesControllerVel(const char [19], unsigned int&)'
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.hpp:55: note: candidates are: OCL::nAxesControllerVel::nAxesControllerVel(std::string)
| /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.hpp:47: note: OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
| make[2]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o] Error 1
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[1]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/all] Error 2
| make[1]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> OK - I did get rid of the readline errors, however, I am still having a few
> issues - I believe the problem right now lies with RTT. Any ideas on how to
> get past this? Remember, this is a cross-compiling envirioment, but I did
> point it to the compiler to the right cross-compiled RTT.
Some symbols are hidden
The -fvisibility-inlines-hidden flag is not supported for RTT and OCL. Did you
add this flag manually ? Make sure you compile without and preferably with the
'default' flags of RTT (if applicable / adapted to your target). If that still
fails, we can dig further.
<blockquote>
I did remove the flags in OCL, but no luck. Still have the same error. I also removed them and re-compiled RTT.
The problem is that my build setup modifies a bunch of flags automatically, so I have to edit them manually after the configuration step. Where should I look in order to find the default flags, and what files should I set them on (I have very little experience using cmake...)
* All RTT files must be compiled with the -DRTT_EXPORT.
* All OCL files must be compiled with the -DOCL_EXPORT.
* Your application must be compiled without these flags.
Peter
<blockquote>
Should I add these and re-compile RTT and OCL than? If so, what file should I add these to?
Thanks for the help,
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
<blockquote>
Problems compiling OCL
On Monday 02 February 2009 13:43:01 Felipe Brandão Cavalcanti wrote:
> OK - I did get past the point I was at by removing the "embedded" option in
> the RTT library and leaving most of the options as default. However, I did
> get another completely different error this time. Anybody has a clue on how
> to proceed?
Ok. You got pretty far now. The OCL is not compatible with the 'Embedded'
version of RTT.
The tests of the nAxes components appear to be not compiling in this release.
Do you'll need to disable them using ccmake... Ruben needs to fix this/has fixed
this on trunk (which patches)?
Peter
>
> Thanks for the help,
> -Felipe Brandão Cavalcanti
> LARA - Laboratory of Robotics and Automation
> Department of Electrical Engineering
> UnB - University of Brasília, Brazil
> http://www.lara.unb.br/
>
> The error:
> | [ 68%] Building CXX object
>
> motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/motion_control/naxes/tests &&
> /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g+
>+ -march=armv5te -mtune=xscale
> -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnue
>abi/include -fexpensive-optimizations -fomit-frame-pointer
> -frename-registers -Os -fpermissive -O2 -DNDEBUG
> -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2
> -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include
> -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/in
>clude -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include
> -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/axes
> -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/comedi
> -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/apci -Wall
> -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o
> CMakeFiles/naxes.dir/main.o -c
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController
>.hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController
>.hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController
>.hpp:233: error: template argument 1 is invalid
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityController
>.hpp:233: error: template argument 2 is invalid
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp: In
> function 'int ORO_main_impl(int, char**)':
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:86:
> error: no matching function for call to
> 'OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], unsigned int&)'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hpp:6
>0: note: candidates are:
> OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hpp:5
>3: note:
> OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:87:
> error: no matching function for call to
> 'OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], unsigned int&)'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hpp:5
>9: note: candidates are:
> OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hpp:5
>2: note:
> OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:88:
> error: no matching function for call to
> 'OCL::nAxesControllerPos::nAxesControllerPos(const char [19], unsigned
> int&)'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.hpp:
>55: note: candidates are:
> OCL::nAxesControllerPos::nAxesControllerPos(std::string)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.hpp:
>47: note:
> OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:89:
> error: no matching function for call to
> 'OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22],
> unsigned int&)'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVel.h
>pp:54: note: candidates are:
> OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVel.h
>pp:46: note:
> OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVe
>l&)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:90:
> error: no matching function for call to
> 'OCL::nAxesControllerVel::nAxesControllerVel(const char [19], unsigned
> int&)'
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.hpp:
>55: note: candidates are:
> OCL::nAxesControllerVel::nAxesControllerVel(std::string)
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.hpp:
>47: note:
> OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
>
> | make[2]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o]
>
> Error 1
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make[1]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/all] Error
> | 2 make[1]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
>
> On Fri, Jan 30, 2009 at 5:34 PM, Felipe Brandão Cavalcanti <
>
> cavalkaf [..] ...> wrote:
> > On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens
<peter [dot] soetens [..] ...>wrote:
> >> On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:
> >> > OK - I did get rid of the readline errors, however, I am still having
> >> > a
> >>
> >> few
> >>
> >> > issues - I believe the problem right now lies with RTT. Any ideas on
> >> > how
> >>
> >> to
> >>
> >> > get past this? Remember, this is a cross-compiling envirioment, but I
> >>
> >> did
> >>
> >> > point it to the compiler to the right cross-compiled RTT.
> >>
> >> Some symbols are hidden
> >> The -fvisibility-inlines-hidden flag is not supported for RTT and OCL.
> >> Did you
> >> add this flag manually ? Make sure you compile without and preferably
> >> with the
> >> 'default' flags of RTT (if applicable / adapted to your target). If that
> >> still
> >> fails, we can dig further.
> >
> > I did remove the flags in OCL, but no luck. Still have the same error. I
> > also removed them and re-compiled RTT.
> > The problem is that my build setup modifies a bunch of flags
> > automatically, so I have to edit them manually after the configuration
> > step. Where should I look in order to find the default flags, and what
> > files should I set them on (I have very little experience using cmake...)
> >
> >> * All RTT files must be compiled with the -DRTT_EXPORT.
> >> * All OCL files must be compiled with the -DOCL_EXPORT.
> >> * Your application must be compiled without these flags.
> >>
> >> Peter
> >
> > Should I add these and re-compile RTT and OCL than? If so, what file
> > should I add these to?
> >
> > Thanks for the help,
> > -Felipe Brandão Cavalcanti
> > LARA - Laboratory of Robotics and Automation
> > Department of Electrical Engineering
> > UnB - University of Brasília, Brazil
> > http://www.lara.unb.br/
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Problems compiling OCL
On Tuesday 03 February 2009 10:49:48 Peter Soetens wrote:
> On Monday 02 February 2009 13:43:01 Felipe Brandão Cavalcanti wrote:
> > OK - I did get past the point I was at by removing the "embedded" option
> > in the RTT library and leaving most of the options as default. However, I
> > did get another completely different error this time. Anybody has a clue
> > on how to proceed?
>
> Ok. You got pretty far now. The OCL is not compatible with the 'Embedded'
> version of RTT.
>
> The tests of the nAxes components appear to be not compiling in this
> release. Do you'll need to disable them using ccmake... Ruben needs to fix
> this/has fixed this on trunk (which patches)?
The naxes-test in the subdirectory naxes/tests is highly deprecated, you
should use the naxes/naxes-test.xml instead togheter with the deployer.
I fixed the compile problems in the old test, but do not expect it to be
working.
Ruben
> Peter
>
> > Thanks for the help,
> > -Felipe Brandão Cavalcanti
> > LARA - Laboratory of Robotics and Automation
> > Department of Electrical Engineering
> > UnB - University of Brasília, Brazil
> > http://www.lara.unb.br/
> >
> > The error:
> > | [ 68%] Building CXX object
> >
> > motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o
> >
> > | cd
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/motion_control/naxes/tests &&
> > /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-
> >g+ + -march=armv5te -mtune=xscale
> > -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gn
> >ue abi/include -fexpensive-optimizations -fomit-frame-pointer
> > -frename-registers -Os -fpermissive -O2 -DNDEBUG
> > -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
> >/o rocos-ocl-1.0-r0/orocos-ocl-1.6.2
> > -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include
> > -I/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/
> >in clude -I/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/include
> > -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
> >/o rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/axes
> > -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
> >/o rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/comedi
> > -I/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
> >/o rocos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/apci -Wall
> > -DOROCOS_TARGET=xenomai -Wall -Wall -Wall -Wall -o
> > CMakeFiles/naxes.dir/main.o -c
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityControl
> >ler .hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityControl
> >ler .hpp:233: error: 'SimulationAxis' is not a member of 'RTT'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityControl
> >ler .hpp:233: error: template argument 1 is invalid
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/hardware/kuka/Kuka160nAxesVelocityControl
> >ler .hpp:233: error: template argument 2 is invalid
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp: In
> > function 'int ORO_main_impl(int, char**)':
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:86:
> > error: no matching function for call to
> > 'OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], unsigned
> > int&)'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hp
> >p:6 0: note: candidates are:
> > OCL::nAxesGeneratorPos::nAxesGeneratorPos(std::string)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorPos.hp
> >p:5 3: note:
> > OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:87:
> > error: no matching function for call to
> > 'OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], unsigned
> > int&)'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hp
> >p:5 9: note: candidates are:
> > OCL::nAxesGeneratorVel::nAxesGeneratorVel(std::string)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesGeneratorVel.hp
> >p:5 2: note:
> > OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:88:
> > error: no matching function for call to
> > 'OCL::nAxesControllerPos::nAxesControllerPos(const char [19], unsigned
> > int&)'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.h
> >pp: 55: note: candidates are:
> > OCL::nAxesControllerPos::nAxesControllerPos(std::string)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPos.h
> >pp: 47: note:
> > OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:89:
> > error: no matching function for call to
> > 'OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22],
> > unsigned int&)'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVe
> >l.h pp:54: note: candidates are:
> > OCL::nAxesControllerPosVel::nAxesControllerPosVel(std::string)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerPosVe
> >l.h pp:46: note:
> > OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPos
> >Ve l&)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/tests/main.cpp:90:
> > error: no matching function for call to
> > 'OCL::nAxesControllerVel::nAxesControllerVel(const char [19], unsigned
> > int&)'
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.h
> >pp: 55: note: candidates are:
> > OCL::nAxesControllerVel::nAxesControllerVel(std::string)
> >
> > /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
> >ro
> > cos-ocl-1.0-r0/orocos-ocl-1.6.2/motion_control/naxes/nAxesControllerVel.h
> >pp: 47: note:
> > OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&)
> >
> > | make[2]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o]
> >
> > Error 1
> >
> > | make[2]: Leaving directory
> >
> > `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/
> >or ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
> >
> > | make[1]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/all]
> > | Error 2 make[1]: Leaving directory
> >
> > `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/
> >or ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
> >
> > | make: *** [all] Error 2
> > | FATAL: oe_runmake failed
> >
> > On Fri, Jan 30, 2009 at 5:34 PM, Felipe Brandão Cavalcanti <
> >
> > cavalkaf [..] ...> wrote:
> > > On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens
>
> <peter [dot] soetens [..] ...>wrote:
> > >> On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:
> > >> > OK - I did get rid of the readline errors, however, I am still
> > >> > having a
> > >>
> > >> few
> > >>
> > >> > issues - I believe the problem right now lies with RTT. Any ideas on
> > >> > how
> > >>
> > >> to
> > >>
> > >> > get past this? Remember, this is a cross-compiling envirioment, but
> > >> > I
> > >>
> > >> did
> > >>
> > >> > point it to the compiler to the right cross-compiled RTT.
> > >>
> > >> Some symbols are hidden
> > >> The -fvisibility-inlines-hidden flag is not supported for RTT and OCL.
> > >> Did you
> > >> add this flag manually ? Make sure you compile without and preferably
> > >> with the
> > >> 'default' flags of RTT (if applicable / adapted to your target). If
> > >> that still
> > >> fails, we can dig further.
> > >
> > > I did remove the flags in OCL, but no luck. Still have the same error.
> > > I also removed them and re-compiled RTT.
> > > The problem is that my build setup modifies a bunch of flags
> > > automatically, so I have to edit them manually after the configuration
> > > step. Where should I look in order to find the default flags, and what
> > > files should I set them on (I have very little experience using
> > > cmake...)
> > >
> > >> * All RTT files must be compiled with the -DRTT_EXPORT.
> > >> * All OCL files must be compiled with the -DOCL_EXPORT.
> > >> * Your application must be compiled without these flags.
> > >>
> > >> Peter
> > >
> > > Should I add these and re-compile RTT and OCL than? If so, what file
> > > should I add these to?
> > >
> > > Thanks for the help,
> > > -Felipe Brandão Cavalcanti
> > > LARA - Laboratory of Robotics and Automation
> > > Department of Electrical Engineering
> > > UnB - University of Brasília, Brazil
> > > http://www.lara.unb.br/
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
OCL Vision toolkit
On Tuesday, February 17, 2009, at 09:42AM, "Ruben Smits" <ruben [dot] smits [..] ...> wrote:
>Hi Orocos Components Library reviewers,
>
>here at PMA we have our own branch for experimental component development.
>Some time ago we created some components using OpenCV and a "vision"-toolkit.
>
>The following patches contain the vision components, the toolkit and some
>changes to the hardware/camera component.
>
>The components are the following:
>
>- DisplayImageComponent: a "reporter" for images, works kind of the same as
>the filereporter but shows the data in windows.
>- WriteImage: a component to write images from a port into a file
>- LoadImage: a component to load images from a file and put them onto a port
>- LoadVidoe: a component to load a video from a file and put the streaming onto
>a port
>- VisionToolkit: the RTT-types toolkit for images
Wonderful to see this, thanks Ruben! Some questions/comments
- This toolkit is limited to inside a single process, correct? It does *not* have an Orocos transport plugin/toolkit supporting transport of IplImage's across the network via Corba.
- It only supports 8-bit RGB and 8-bit grey-scale images? Is this an either/or? It is hard to tell from the patch ...
- It is not for use inside real-time components, due to use of cvCloneImage() style calls? (I understand that image acquisition is seldom real-time, I'm thinking of just image processing here)
Cheers
S
Problems compiling OCL
[...]
>> The tests of the nAxes components appear to be not compiling in this
>> release. Do you'll need to disable them using ccmake... Ruben needs to fix
>> this/has fixed this on trunk (which patches)?
>
> The naxes-test in the subdirectory naxes/tests is highly deprecated, you
> should use the naxes/naxes-test.xml instead togheter with the deployer.
rm -f naxes-test
?
Problems compiling OCL
On Tuesday 03 February 2009 11:11:39 Klaas Gadeyne wrote:
> [...]
>
> >> The tests of the nAxes components appear to be not compiling in this
> >> release. Do you'll need to disable them using ccmake... Ruben needs to
> >> fix this/has fixed this on trunk (which patches)?
> >
> > The naxes-test in the subdirectory naxes/tests is highly deprecated, you
> > should use the naxes/naxes-test.xml instead togheter with the deployer.
>
> rm -f naxes-test
>
> ?
:)
I suggested to remove it, but some people on the list wanted it to stay
inside, to have an example on how to create an application without the
deployer, but by creating your own main-function.
Ruben
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Problems compiling OCL
Allright - I did get my libraries to work, however, now I have (yet) another problem - I get errors in all of the tests programs.
When I run the test program in my embedded system, I get this:
./taskb: symbol lookup error: /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol: _ZN3RTT16eol_skip_functor7skipeolE
The error is consistent across all of my test programs. Any ideas on what I should do to get this working?
Once again, this is a fairly custom embedded solution, so some experimental code is running.
Thanks for the help,
-Felipe Brandão Cavalcanti
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> [...]
>
> >> The tests of the nAxes components appear to be not compiling in this
> >> release. Do you'll need to disable them using ccmake... Ruben needs to
> >> fix this/has fixed this on trunk (which patches)?
> >
> > The naxes-test in the subdirectory naxes/tests is highly deprecated, you
> > should use the naxes/naxes-test.xml instead togheter with the deployer.
>
> rm -f naxes-test
>
> ?
:)
I suggested to remove it, but some people on the list wanted it to stay
inside, to have an example on how to create an application without the
deployer, but by creating your own main-function.
<font color="#888888">
Ruben
<font>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
<blockquote>
Problems compiling OCL
Allright - I did get my libraries to work, however, now I have (yet) another problem - I get errors in all of the tests programs.
When I run the test program in my embedded system, I get this:
./taskb: symbol lookup error: /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol: _ZN3RTT16eol_skip_functor7skipeolE
The error is consistent across all of my test programs. Any ideas on what I should do to get this working?
Once again, this is a fairly custom embedded solution, so some experimental code is running.
Thanks for the help,
-Felipe Brandão Cavalcanti
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> [...]
>
> >> The tests of the nAxes components appear to be not compiling in this
> >> release. Do you'll need to disable them using ccmake... Ruben needs to
> >> fix this/has fixed this on trunk (which patches)?
> >
> > The naxes-test in the subdirectory naxes/tests is highly deprecated, you
> > should use the naxes/naxes-test.xml instead togheter with the deployer.
>
> rm -f naxes-test
>
> ?
:)
I suggested to remove it, but some people on the list wanted it to stay
inside, to have an example on how to create an application without the
deployer, but by creating your own main-function.
<font color="#888888">
Ruben
<font>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
<blockquote>
Problems compiling OCL
On Tuesday 03 February 2009 21:30:54 Felipe Brandão Cavalcanti wrote:
> Allright - I did get my libraries to work, however, now I have (yet)
> another problem - I get errors in all of the tests programs.
>
> When I run the test program in my embedded system, I get this:
>
> ./taskb: symbol lookup error:
> /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol:
> _ZN3RTT16eol_skip_functor7skipeolE
This says that a symbol from src/scripting/CommonParser.cpp is not present
in the liborocos-taskbrowser-xenomai library. This could 'only' mean that the
taskbrowser lib did not link with liborocos-rtt-xenomai. So check if
-lorocos-rtt-xenomai is added during linking. You can also type:
nm -C /usr/lib/liborocos-taskbrowser-xenomai.so | grep skipeol
nm -C /usr/lib/liborocos-rtt-xenomai.so | grep skipeol
It should list it first as an undefined symbol (U) and the second time as a
defined symbol (D).
U RTT::eol_skip_functor::skipeol
00000000006e6eb0 D RTT::eol_skip_functor::skipeol
You can also check linking problems with
ldd ./taskb
ldd /usr/lib/liborocos-taskbrowser-xenomai.so
ldd /usr/lib/liborocos-rtt-xenomai.so
It should find all libraries and they should depend on each other in this
order.
Peter
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Problems compiling OCL
On Jan 21, 2009, at 14:00 , Felipe Brandão Cavalcanti wrote:
> Hi,
> std::allocator<char> > >::Property(RTT::PropertyBase*)'
> std::char_traits<char>, std::allocator<char> >
> std::allocator<char> > const&, std::basic_string<char,
> > const&)'
>
> I am currently working on an ARM build for the OROCOS platform,
> however, I ran into a problem when compiling the latest OCL.
> I did the configuration procedure as described in the INSTALL
> document, but when I run make, I get the error:
>
> | NOTE: make
> | Scanning dependencies of target message
> | Use: make\ docapi\ dochtml\ docpdf to build the documentation.
> | [ 0%] Built target message
> | Scanning dependencies of target orocos-ocl-common-xenomai
> | [ 5%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-
> xenomai.dir/HMIConsoleOutput.o
> | [ 11%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-
> xenomai.dir/ocltoolkit.o
> | Linking CXX shared library liborocos-ocl-common-xenomai.so
> | [ 11%] Built target orocos-ocl-common-xenomai
> | Scanning dependencies of target orocos-taskbrowser-xenomai
> | [ 16%] Building CXX object taskbrowser/CMakeFiles/orocos-
> taskbrowser-xenomai.dir/TaskBrowser.o
> | Linking CXX shared library liborocos-taskbrowser-xenomai.so
> | [ 16%] Built target orocos-taskbrowser-xenomai
> | Scanning dependencies of target orocos-timer-xenomai
> | [ 22%] Building CXX object timer/CMakeFiles/orocos-timer-
> xenomai.dir/TimerComponent.o
> | Linking CXX shared library liborocos-timer-xenomai.so
> | [ 22%] Built target orocos-timer-xenomai
> | Scanning dependencies of target helloworld
> | [ 27%] Building CXX object helloworld/CMakeFiles/helloworld.dir/
> HelloWorld.o
> | Linking CXX executable helloworld
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function
> `ORO_main_impl(int, char**)':
> | HelloWorld.cpp:(.text+0x34c): undefined reference to
> `RTT::Property<std::basic_string
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function
> `OCL::HelloWorld::HelloWorld(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >)':
> | HelloWorld.cpp:
> (.text
> ._ZN3OCL10HelloWorldC1ESs
> [OCL::HelloWorld::HelloWorld(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >)]+0x84): undefined
> reference to `RTT::Property<std::basic_string
> >::Property(std::basic_string<char, std::char_traits
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `write_history'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `read_history'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_completion_append_character'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_completion_matches'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_free_line_state'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_attempted_completion_function'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_set_signals'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_catch_signals'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `readline'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `add_history'
> | ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined
> reference to `rl_line_buffer'
> | collect2: ld returned 1 exit status
> | make[2]: *** [helloworld/helloworld] Error 1
> | make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
>
> It seems to me that it cannot find the xenomai libraries, however, I
> have no clue on how to point the compiler to the right place (since
> this is a cross-compiling environment, all of my libraries are in
> non-standard locations.)
The above look like readline library problems to me. But ... try
"VERBOSE=1 make" and see what libraries are in the link line.
The OCL cmake code looks for installed RTT files to determine if the
install is Xenomai. As RTT hard codes the locations for Xenomai, are
you sure you compiled RTT for Xenomai? It should not have worked, or
it picked up your non-cross-compiling libraries. I've got the exact
same situation as you, and I do have a cmake patch that adds generic
locations for Xenomai under RTT. I can post it if it will help.
S
Problems compiling OCL
Hi,
On Wed, Jan 21, 2009 at 8:00 PM, Felipe Brandão Cavalcanti
<cavalkaf [..] ...> wrote:
> I am currently working on an ARM build for the OROCOS platform, however, I
> ran into a problem when compiling the latest OCL.
> I did the configuration procedure as described in the INSTALL document, but
> when I run make, I get the error:
The INSTALL document probably doesn't take into account cross-compiling :-(
> | [ 27%] Building CXX object
> std::allocator<char> > >::Property(RTT::PropertyBase*)'
> std::allocator<char> >)':
> std::allocator<char> > >::Property(std::basic_string<char,
> const&, std::basic_string<char, std::char_traits
>> const&)'
> helloworld/CMakeFiles/helloworld.dir/HelloWorld.o
> | Linking CXX executable helloworld
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int,
> char**)':
> | HelloWorld.cpp:(.text+0x34c): undefined reference to
> `RTT::Property<std::basic_string
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function
> `OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits
> |
> HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >)]+0x84): undefined reference
> to `RTT::Property<std::basic_string
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits
[...]
> to `rl_line_buffer'
> | collect2: ld returned 1 exit status
> | make[2]: *** [helloworld/helloworld] Error 1
> | make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
>
> It seems to me that it cannot find the xenomai libraries, however, I have no
> clue on how to point the compiler to the right place (since this is a
> cross-compiling environment, all of my libraries are in non-standard
> locations.)
I'm not 100% sure (posting the output of make VERBOSE=1 is easier for
us), but I think the problem above is it can find libreadline!
I would recommend using cmake 2.6, and try the approach described at
<http://www.vtk.org/Wiki/CMake_Cross_Compiling>
If not, you might be able to "workaround" the problem using
CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH variables, although I guess
this might end up in linking the wrong libraries.
It would be nice if you could send a patch adding cross-compiling
hints to the install file afterwards :-)
HTH,
Klaas
> Some information that might help: the target is a xenomai install, and I am
> working on a cross-compiling environment. The machine that this will be
> installed on is a gumstix verdex, based on the PXA270 ARM processor.
>
> Thanks for the help,
> -Felipe Brandão Cavalcanti
> LARA - Laboratory of Robotics and Automation
> Department of Electrical Engineering
> UnB - University of Brasília, Brazil
> http://www.lara.unb.br/
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>
>
Problems compiling OCL
The output with VERBOSE=1 is at the end of the message.
I guess you are right - the library that it can't find seems to be
libreadline (I glanced at the "rl" prefixes and got them mixed up with
"rt" prefixes, which would point to xenomai), as it is not available in
my cross-compiling environment (but it is in my main instalation - I
guess thats where cmake is finding it). I will install it and see what
happens.
As for the INSTALL file patch, I really don't have that many tips... I
use a bunch of "dirty tricks" in order to make things work, but I guess
someone might find that useful eventually. Cross-compiling,
unfortunately, changes a bit between architectures.
Thanks for the help,
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
| NOTE: make VERBOSE=1
| /usr/bin/cmake -H/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -B/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build --check-build-system CMakeFiles/Makefile.cmake 0
| /usr/bin/cmake -E cmake_progress_start /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles/progress.make
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/doc /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc/CMakeFiles/message.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc && echo Use:\ 'make\ docapi\ dochtml\ docpdf'\ to\ build\ the\ documentation.
| Use: make\ docapi\ dochtml\ docpdf to build the documentation.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles
| [ 0%] Built target message
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 42 43
| [ 11%] Built target orocos-ocl-common-xenomai
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 44
| [ 16%] Built target orocos-taskbrowser-xenomai
| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/timer /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer/CMakeFiles/orocos-timer-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `timer/CMakeFiles/orocos-timer-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 45
| [ 22%] Built target orocos-timer-xenomai
| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/helloworld /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld/CMakeFiles/helloworld.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| Linking CXX executable helloworld
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld && /usr/bin/cmake -E cmake_link_script CMakeFiles/helloworld.dir/link.txt --verbose=1
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -O2 -DNDEBUG -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 CMakeFiles/helloworld.dir/HelloWorld.o -o helloworld -rdynamic -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2 ../ocl/liborocos-ocl-common-xenomai.so.1.6.2 -lorocos-rtt-xenomai -lnative -lpthread -lncurses -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)':
| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(RTT::PropertyBase*)'
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x84): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `write_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `read_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_append_character'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_matches'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_free_line_state'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_attempted_completion_function'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_set_signals'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_catch_signals'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `readline'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `add_history'
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_line_buffer'
| collect2: ld returned 1 exit status
| make[2]: *** [helloworld/helloworld] Error 1
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
| make[1]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
Problems compiling OCL
On Wednesday 21 January 2009 20:51:48 Felipe Brandão Cavalcanti wrote:
> The output with VERBOSE=1 is at the end of the message.
>
> I guess you are right - the library that it can't find seems to be
> libreadline (I glanced at the "rl" prefixes and got them mixed up with "rt"
> prefixes, which would point to xenomai), as it is not available in my
> cross-compiling environment (but it is in my main instalation - I guess
> thats where cmake is finding it). I will install it and see what happens.
If you run from your build directory:
cmake .. -DNO_GPL
And then recompile again, it will build the taskbrowser without readline
support. This takes away a big functionality from the taskbrowser, but at
least you can check if you can run an application and if any other problems
are holding you back.
Peter
Problems compiling OCL
OK - I did get rid of the readline errors, however, I am still having a few issues - I believe the problem right now lies with RTT. Any ideas on how to get past this? Remember, this is a cross-compiling envirioment, but I did point it to the compiler to the right cross-compiled RTT.
Thanks for the help,
-Felipe B Cavalcanti
PS: Error at the end of the message.
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> The output with VERBOSE=1 is at the end of the message.
>
> I guess you are right - the library that it can't find seems to be
> libreadline (I glanced at the "rl" prefixes and got them mixed up with "rt"
> prefixes, which would point to xenomai), as it is not available in my
> cross-compiling environment (but it is in my main instalation - I guess
> thats where cmake is finding it). I will install it and see what happens.
If you run from your build directory:
cmake .. -DNO_GPL
And then recompile again, it will build the taskbrowser without readline
support. This takes away a big functionality from the taskbrowser, but at
least you can check if you can run an application and if any other problems
are holding you back.
Peter
<font color="#888888">
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
<font><blockquote>
| NOTE: make VERBOSE=1
| /usr/bin/cmake -H/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 -B/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build --check-build-system CMakeFiles/Makefile.cmake 0
| /usr/bin/cmake -E cmake_progress_start /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles/progress.make
| make -f CMakeFiles/Makefile2 all
| make[1]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/doc /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc/CMakeFiles/message.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc && echo Use:\ 'make\ docapi\ dochtml\ docpdf'\ to\ build\ the\ documentation.
| Use: make\ docapi\ dochtml\ docpdf to build the documentation.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles
| [ 0%] Built target message
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 42 43
| [ 11%] Built target orocos-ocl-common-xenomai
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 44
| [ 16%] Built target orocos-taskbrowser-xenomai
| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/timer /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer/CMakeFiles/orocos-timer-xenomai.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[2]: Nothing to be done for `timer/CMakeFiles/orocos-timer-xenomai.dir/build'.
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| /usr/bin/cmake -E cmake_progress_report /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 45
| [ 22%] Built target orocos-timer-xenomai
| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/depend
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2 /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/helloworld /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld/CMakeFiles/helloworld.dir/DependInfo.cmake --color=
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/build
| make[2]: Entering directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| Linking CXX executable helloworld
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld && /usr/bin/cmake -E cmake_link_script CMakeFiles/helloworld.dir/link.txt --verbose=1
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -O2 -DNDEBUG -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 CMakeFiles/helloworld.dir/HelloWorld.o -o helloworld -rdynamic -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2 ../ocl/liborocos-ocl-common-xenomai.so.1.6.2 -lorocos-rtt-xenomai -lnative -lpthread -lncurses /home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/libreadline.so -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)':
| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(RTT::PropertyBase*)'
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x84): undefined reference to `RTT::Property<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Property(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
| collect2: ld returned 1 exit status
| make[2]: *** [helloworld/helloworld] Error 1
| make[2]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
| make[1]: Leaving directory `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
Problems compiling OCL
Got it working - I basically re-build everything from scratch, following the instructions carefully. Not sure what I did differently, but it seems to be working fine now.
It also seems that my ARM patch is working, as all the tests run fine.
Thanks for everyone that helped! I will write a guide soon on getting OROCOS working on an embedded system (Gumstix) based on OpenEmbedded. I will also send in the files for further testing regarding the ARM port.
-Felipe Brandão Cavalcanti
LARA - Laboratory of Robotics and Automation
Department of Electrical Engineering
UnB - University of Brasília, Brazil
http://www.lara.unb.br/
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> On Tue, Feb 3, 2009 at 8:48 PM, Peter Soetens <peter [dot] soetens [..] ...> wrote:
> > On Tuesday 03 February 2009 21:30:54 Felipe Brandão Cavalcanti wrote:
> > > Allright - I did get my libraries to work, however, now I have (yet)
> > > another problem - I get errors in all of the tests programs.
> > >
> > > When I run the test program in my embedded system, I get this:
> > >
> > > ./taskb: symbol lookup error:
> > > /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol:
> > > _ZN3RTT16eol_skip_functor7skipeolE
> >
> > This says that a symbol from src/scripting/CommonParser.cpp is not
> > present in the liborocos-taskbrowser-xenomai library. This could 'only'
> > mean that the
> > taskbrowser lib did not link with liborocos-rtt-xenomai. So check if
> > -lorocos-rtt-xenomai is added during linking. You can also type:
> >
> > nm -C /usr/lib/liborocos-taskbrowser-xenomai.so | grep skipeol
> > nm -C /usr/lib/liborocos-rtt-xenomai.so | grep skipeol
> >
> > It should list it first as an undefined symbol (U) and the second time as
> > a defined symbol (D).
> >
> > U RTT::eol_skip_functor::skipeol
> > 00000000006e6eb0 D RTT::eol_skip_functor::skipeol
>
> Thats exactly what I get - I also see there are *many* undefined symbols in
> the liborocos-taskbrowser-xenomai.so.
That is normal, each one of these should have a 'D' counterpart in the orocos
rtt library. But I'm totally out of options now. If nm shows that the symbol
is defined, and ldd shows that you linked with liborocos-rtt-xenomai, I don't
understand why the linker complains at runtime. Also, the error you get is on
liborocos-ocl-taskbrowser, not on 'taskb', so he got that far.
> However, the -lorocos-rtt-xenomai is included in the link.txt file.
>
> > You can also check linking problems with
> >
> > ldd ./taskb
> > ldd /usr/lib/liborocos-taskbrowser-xenomai.so
> > ldd /usr/lib/liborocos-rtt-xenomai.so
> >
> > It should find all libraries and they should depend on each other in this
> > order.
>
> What order? This is what I get:
This is all correct. taskb depends on liborocos-taskbrowser-xenomai.so, and
that one depends on liborocos-rtt-xenomai.so.1.6
Did you run ldconfig on the gumstix after installing ?
Could you add -Wl,-zdefs (without spaces) to your links flags of the taskb
application ?
Finally, make sure that you installed the liborocos-rtt-xenomai library with
scripting enabled. I recall that you did compile first a version without
scripting. Be sure that version is removed from your gumstix.
Peter
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
<blockquote>
--
*º¤., ¸¸,.¤º*¨*¤., ¸¸,.¤º*¨*
Cavalkaf (aka Felipe) <cavalkaf [..] ...>
AIM: Cavalkaf | MSN: cavalkaf2 [..] ...
Check out <http://www.flickr.com/photos/rbcav2003/>
Problems compiling OCL
On Wednesday 11 February 2009 20:49:42 Felipe Brandão Cavalcanti wrote:
> Got it working - I basically re-build everything from scratch, following
> the instructions carefully. Not sure what I did differently, but it seems
> to be working fine now.
>
> It also seems that my ARM patch is working, as all the tests run fine.
>
> Thanks for everyone that helped! I will write a guide soon on getting
> OROCOS working on an embedded system (Gumstix) based on OpenEmbedded. I
> will also send in the files for further testing regarding the ARM port.
Good news ! Feel free to add a wiki page. For the changes/files, please attach
them to a Bugzilla bug report, such that it can be properly tracked.
Peter
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Problems compiling OCL
On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:
> OK - I did get rid of the readline errors, however, I am still having a few
> issues - I believe the problem right now lies with RTT. Any ideas on how to
> get past this? Remember, this is a cross-compiling envirioment, but I did
> point it to the compiler to the right cross-compiled RTT.
Some symbols are hidden
The -fvisibility-inlines-hidden flag is not supported for RTT and OCL. Did you
add this flag manually ? Make sure you compile without and preferably with the
'default' flags of RTT (if applicable / adapted to your target). If that still
fails, we can dig further.
* All RTT files must be compiled with the -DRTT_EXPORT.
* All OCL files must be compiled with the -DOCL_EXPORT.
* Your application must be compiled without these flags.
Peter
>
> std::allocator<char> > >::Property(RTT::PropertyBase*)'
> >)]+0x84): undefined reference to `RTT::Property<std::basic_string
> std::char_traits<char>,
> const&, std::basic_string<char, std::char_traits
> std::allocator<char>
> Thanks for the help,
> -Felipe B Cavalcanti
> PS: Error at the end of the message.
>
> On Wed, Jan 21, 2009 at 7:16 PM, Peter Soetens <peter [dot] soetens [..] ...>wrote:
> > On Wednesday 21 January 2009 20:51:48 Felipe Brandão Cavalcanti wrote:
> > > The output with VERBOSE=1 is at the end of the message.
> > >
> > > I guess you are right - the library that it can't find seems to be
> > > libreadline (I glanced at the "rl" prefixes and got them mixed up with
> >
> > "rt"
> >
> > > prefixes, which would point to xenomai), as it is not available in my
> > > cross-compiling environment (but it is in my main instalation - I guess
> > > thats where cmake is finding it). I will install it and see what
> > > happens.
> >
> > If you run from your build directory:
> >
> > cmake .. -DNO_GPL
> >
> > And then recompile again, it will build the taskbrowser without readline
> > support. This takes away a big functionality from the taskbrowser, but at
> > least you can check if you can run an application and if any other
> > problems are holding you back.
> >
> > Peter
> >
> > --
> > Peter Soetens -- FMTC -- <http://www.fmtc.be>
> >
> | NOTE: make VERBOSE=1
> | /usr/bin/cmake
>
> -H/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2
> -B/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/o
>rocos-ocl-1.0-r0/orocos-ocl-1.6.2/build --check-build-system
> CMakeFiles/Makefile.cmake 0
>
> | /usr/bin/cmake -E cmake_progress_start
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles/progress.make
>
> | make -f CMakeFiles/Makefile2 all
> | make[1]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f doc/CMakeFiles/message.dir/build.make
>
> doc/CMakeFiles/message.dir/depend
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends
> "Unix Makefiles"
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/doc
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc/CMakeFiles/message.dir/DependInfo.
>cmake --color=
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f doc/CMakeFiles/message.dir/build.make
>
> doc/CMakeFiles/message.dir/build
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc && echo Use:\ 'make\ docapi\
> dochtml\ docpdf'\ to\ build\ the\
> documentation.
>
> | Use: make\ docapi\ dochtml\ docpdf to build the documentation.
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | /usr/bin/cmake -E cmake_progress_report
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles
>
> | [ 0%] Built target message
> | make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make
>
> ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends
> "Unix Makefiles"
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/ocl
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl/CMakeFiles/orocos-ocl-common-xenom
>ai.dir/DependInfo.cmake --color=
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make
>
> ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make[2]: Nothing to be done for
>
> `ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build'.
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | /usr/bin/cmake -E cmake_progress_report
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 42 43
>
> | [ 11%] Built target orocos-ocl-common-xenomai
> | make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make
>
> taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends
> "Unix Makefiles"
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/taskbrowser
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser/CMakeFiles/orocos-taskbrow
>ser-xenomai.dir/DependInfo.cmake --color=
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make
>
> taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make[2]: Nothing to be done for
>
> `taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build'.
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | /usr/bin/cmake -E cmake_progress_report
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 44
>
> | [ 16%] Built target orocos-taskbrowser-xenomai
> | make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make
>
> timer/CMakeFiles/orocos-timer-xenomai.dir/depend
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends
> "Unix Makefiles"
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/timer
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/timer/CMakeFiles/orocos-timer-xenomai.
>dir/DependInfo.cmake --color=
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make
>
> timer/CMakeFiles/orocos-timer-xenomai.dir/build
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make[2]: Nothing to be done for
>
> `timer/CMakeFiles/orocos-timer-xenomai.dir/build'.
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | /usr/bin/cmake -E cmake_progress_report
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/CMakeFiles 45
>
> | [ 22%] Built target orocos-timer-xenomai
> | make -f helloworld/CMakeFiles/helloworld.dir/build.make
>
> helloworld/CMakeFiles/helloworld.dir/depend
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build && /usr/bin/cmake -E cmake_depends
> "Unix Makefiles"
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/helloworld
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld/CMakeFiles/helloworld.dir/D
>ependInfo.cmake --color=
>
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make -f helloworld/CMakeFiles/helloworld.dir/build.make
>
> helloworld/CMakeFiles/helloworld.dir/build
>
> | make[2]: Entering directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | Linking CXX executable helloworld
> | cd
>
> /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/oro
>cos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld && /usr/bin/cmake -E
> cmake_link_script CMakeFiles/helloworld.dir/link.txt --verbose=1
>
> /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g+
>+ -march=armv5te -mtune=xscale
> -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnue
>abi/include -fexpensive-optimizations -fomit-frame-pointer
> -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -O2
> -DNDEBUG
> -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/li
>b
> -Wl,-rpath-link,/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-li
>nux-gnueabi/lib -Wl,-O1 CMakeFiles/helloworld.dir/HelloWorld.o -o
> helloworld -rdynamic -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib
> -L/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib
> -L/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/li
>b ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2
> ../ocl/liborocos-ocl-common-xenomai.so.1.6.2 -lorocos-rtt-xenomai -lnative
> -lpthread -lncurses
> /home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/
>libreadline.so
> -Wl,-rpath,/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib:/home/felipe
>/gumstix/gumstix-oe/tmp/staging/usr/xenomai/lib:/home/felipe/gumstix/gumstix
>-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib:/home/felipe/gumstix/gumstix-
>oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.
>2/build/taskbrowser:/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstro
>m-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl
>
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int,
>
> char**)':
> | HelloWorld.cpp:(.text+0x34c): undefined reference to
>
> `RTT::Property<std::basic_string
>
> | CMakeFiles/helloworld.dir/HelloWorld.o: In function
>
> `OCL::HelloWorld::HelloWorld(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >)':
>
> HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(
>std::basic_string<char, std::char_traits
> std::allocator<char> > >::Property(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits
>
> > const&)'
> >
> | collect2: ld returned 1 exit status
> | make[2]: *** [helloworld/helloworld] Error 1
> | make[2]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2
> | make[1]: Leaving directory
>
> `/home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/or
>ocos-ocl-1.0-r0/orocos-ocl-1.6.2/build'
>
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
--
Peter Soetens -- FMTC -- <http://www.fmtc.be>
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users