Problems compiling OCL

Hi,<br><br>I am currently working on an ARM build for the OROCOS platform, however, I ran into a problem when compiling the latest OCL.<br>I did the configuration procedure as described in the INSTALL document, but when I run make, I get the error:<br>
<br>| NOTE: make<br>| Scanning dependencies of target message<br>| Use: make\ docapi\ dochtml\ docpdf to build the documentation.<br>| [&nbsp; 0%] Built target message<br>| Scanning dependencies of target orocos-ocl-common-xenomai<br>
| [&nbsp; 5%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o<br>| [ 11%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o<br>| Linking CXX shared library liborocos-ocl-common-xenomai.so<br>
| [ 11%] Built target orocos-ocl-common-xenomai<br>| Scanning dependencies of target orocos-taskbrowser-xenomai<br>| [ 16%] Building CXX object taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o<br>| Linking CXX shared library liborocos-taskbrowser-xenomai.so<br>
| [ 16%] Built target orocos-taskbrowser-xenomai<br>| Scanning dependencies of target orocos-timer-xenomai<br>| [ 22%] Building CXX object timer/CMakeFiles/orocos-timer-xenomai.dir/TimerComponent.o<br>| Linking CXX shared library liborocos-timer-xenomai.so<br>
| [ 22%] Built target orocos-timer-xenomai<br>| Scanning dependencies of target helloworld<br>| [ 27%] Building CXX object helloworld/CMakeFiles/helloworld.dir/HelloWorld.o<br>| Linking CXX executable helloworld<br>| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)&#39;:<br>
| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(RTT::PropertyBase*)&#39;<br>| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)&#39;:<br>
| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)]+0x84): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `write_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `read_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_append_character&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_matches&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_free_line_state&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_attempted_completion_function&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_set_signals&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_catch_signals&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `readline&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `add_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_line_buffer&#39;<br>| collect2: ld returned 1 exit status<br>
| make[2]: *** [helloworld/helloworld] Error 1<br>| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2<br>| make: *** [all] Error 2<br>| FATAL: oe_runmake failed<br><br>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.)<br>
<br>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.<br>
<br>Thanks for the help,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARA - Laboratory of Robotics and Automation<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electrical Engineering<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnB - University of Brasília, Brazil<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.lara.unb.br/">http://www.lara.unb.br/</a><br>

Problems compiling OCL

On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens <span dir="ltr">&lt;<a href="mailto:peter [dot] soetens [..] ..." target="_blank">peter [dot] soetens [..] ...</a>&gt;</span> wrote:<br><div class="gmail_quote"><div class="gmail_quote"><div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:<br>
&gt; OK - I did get rid of the readline errors, however, I am still having a few<br>
&gt; issues - I believe the problem right now lies with RTT. Any ideas on how to<br>
&gt; get past this? Remember, this is a cross-compiling envirioment, but I did<br>
&gt; point it to the compiler to the right cross-compiled RTT.<br>
<br>
</div>Some symbols are hidden<br>
The -fvisibility-inlines-hidden flag is not supported for RTT and OCL. Did you<br>
add this flag manually ? Make sure you compile without and preferably with the<br>
&#39;default&#39; flags of RTT (if applicable / adapted to your target). If that still<br>
fails, we can dig further.<br>
</blockquote></div><div><br>I did remove the flags in OCL, but no luck. Still have the same error. I also removed them and re-compiled RTT.<br>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...)<br>

&nbsp;</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
* All RTT files must be compiled with the -DRTT_EXPORT.<br>
* All OCL files must be compiled with the -DOCL_EXPORT.<br>
* Your application must be compiled without these flags.<br>
<br>
Peter<br></blockquote></div></div><br>Should I add these and re-compile RTT and OCL than? If so, what file should I add these to?<br><br>Thanks for the help,<div class="Ih2E3d"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARA - Laboratory of Robotics and Automation<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electrical Engineering<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnB - University of Brasília, Brazil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.lara.unb.br/" target="_blank">http://www.lara.unb.br/</a><br><br></div>Here is the latest error:<br>
| NOTE: make VERBOSE=1<br>
| /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<br>

| /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<div class="Ih2E3d">
<br>
| make -f CMakeFiles/Makefile2 all<br></div>| 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&#39;<div class="Ih2E3d"><br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend<br>
</div>
| 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&#39;<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>

| Dependee &quot;/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h&quot; is newer than depender &quot;ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o&quot;.<br>| Dependee &quot;/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h&quot; is newer than depender &quot;ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o&quot;.<br>

| Clearing dependencies in &quot;/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&quot;.<br>| Scanning dependencies of target orocos-ocl-common-xenomai<br>

| 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&#39;<div class="Ih2E3d"><br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build<br>
</div>
| 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&#39;<br>| /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<br>

| [&nbsp; 2%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/HMIConsoleOutput.o<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl &amp;&amp; /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp;&nbsp; -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&nbsp;&nbsp; -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&nbsp;&nbsp; -Wall&nbsp; -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<br>

| /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<br>| [&nbsp; 5%] Building CXX object ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/ocltoolkit.o<br>

| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl &amp;&amp; /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp;&nbsp; -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&nbsp;&nbsp; -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&nbsp;&nbsp; -Wall&nbsp; -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<br>

| Linking CXX shared library liborocos-ocl-common-xenomai.so<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl &amp;&amp; /usr/bin/cmake -E cmake_link_script CMakeFiles/orocos-ocl-common-xenomai.dir/link.txt --verbose=1<br>

| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -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&nbsp;&nbsp; -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<br>

| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/ocl &amp;&amp; /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<br>

| 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&#39;<br>| /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&nbsp; 1 2<br>

| [&nbsp; 5%] Built target orocos-ocl-common-xenomai<div class="Ih2E3d"><br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend<br></div>| 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&#39;<br>

| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>

| Dependee &quot;/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h&quot; is newer than depender &quot;taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o&quot;.<br>| Clearing dependencies in &quot;/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&quot;.<br>

| Scanning dependencies of target orocos-taskbrowser-xenomai<br>| 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&#39;<div class="Ih2E3d">
<br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build<br></div>
| 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&#39;<br>| /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<br>

| [&nbsp; 8%] Building CXX object taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/TaskBrowser.o<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser &amp;&amp; /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp;&nbsp; -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&nbsp;&nbsp; -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&nbsp;&nbsp; -Wall&nbsp; -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<div class="Ih2E3d">
<br>
| Linking CXX shared library liborocos-taskbrowser-xenomai.so<br></div>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser &amp;&amp; /usr/bin/cmake -E cmake_link_script CMakeFiles/orocos-taskbrowser-xenomai.dir/link.txt --verbose=1<br>

| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -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&nbsp;&nbsp; -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<br>

| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/taskbrowser &amp;&amp; /usr/bin/cmake -E cmake_symlink_library liborocos-taskbrowser-xenomai.so.1.6.2 liborocos-taskbrowser-xenomai.so.1.6 liborocos-taskbrowser-xenomai.so<br>

| 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&#39;<br>| /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&nbsp; 3<br>

| [&nbsp; 8%] Built target orocos-taskbrowser-xenomai<br>| make -f taskbrowser/tests/CMakeFiles/taskb.dir/build.make taskbrowser/tests/CMakeFiles/taskb.dir/depend<br>| 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&#39;<br>

| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>

| Dependee &quot;/home/felipe/gumstix/gumstix-oe/tmp/staging/usr/include/rtt/os/../rtt-config.h&quot; is newer than depender &quot;taskbrowser/tests/CMakeFiles/taskb.dir/main.o&quot;.<br>| Clearing dependencies in &quot;/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&quot;.<br>

| Scanning dependencies of target taskb<br>| 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&#39;<br>| make -f taskbrowser/tests/CMakeFiles/taskb.dir/build.make taskbrowser/tests/CMakeFiles/taskb.dir/build<br>

| 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&#39;<br>| /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<br>

| [ 11%] Building CXX object taskbrowser/tests/CMakeFiles/taskb.dir/main.o<br>| 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 &amp;&amp; /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp;&nbsp; -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive&nbsp;&nbsp; -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&nbsp;&nbsp; -Wall&nbsp; -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<br>

| Linking CXX executable taskb<br>| 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 &amp;&amp; /usr/bin/cmake -E cmake_link_script CMakeFiles/taskb.dir/link.txt --verbose=1<br>

| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp; -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive&nbsp;&nbsp; -O2 -DNDEBUG&nbsp; -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&nbsp; -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<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::parser()&#39;<br>| /home/felipe/gumstix/gumstix-oe/tmp/staging/usr/lib/liborocos-rtt-xenomai.so: undefined reference to `boost::throw_exception(std::exception const&amp;)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::unloadProgram(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::taskObject()&#39;<br>| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::unloadStateMachine(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::eol_skip_p&#39;<br>| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseCommand(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*, bool)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseValueChange(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::PeerParser(RTT::TaskContext*, bool)&#39;<br>| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::eol_skip_functor::skipeol&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::detail::PeerParser::peer()&#39;<br>| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::loadStateMachine(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::loadProgram(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::Parser::parseExpression(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, RTT::TaskContext*)&#39;<br>

| ../liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `RTT::ProgramLoader::ProgramLoader(bool)&#39;<div class="Ih2E3d"><br>| collect2: ld returned 1 exit status<br></div>| make[2]: *** [taskbrowser/tests/taskb] Error 1<br>
| 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&#39;<br>
| make[1]: *** [taskbrowser/tests/CMakeFiles/taskb.dir/all] Error 2<br>| 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&#39;<div>
<div></div><div class="Wj3C7c"><br>
| make: *** [all] Error 2<br>| FATAL: oe_runmake failed<br><br>
</div></div></div><br><br clear="all"><br>-- <br>*º¤., ¸¸,.¤º*¨*¤., ¸¸,.¤º*¨*<br>Cavalkaf (aka Felipe) &lt;<a href="mailto:cavalkaf [..] ...">cavalkaf [..] ...</a>&gt;<br>AIM: Cavalkaf | MSN: <a href="mailto:cavalkaf2 [..] ...">cavalkaf2 [..] ...</a><br>
Check out &lt;<a href="http://www.flickr.com/photos/rbcav2003/">http://www.flickr.com/photos/rbcav2003/</a>&gt;<br>

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 &quot;embedded&quot; 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?<br>
<br>Thanks for the help,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARA - Laboratory of Robotics and Automation<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electrical Engineering<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnB - University of Brasília, Brazil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.lara.unb.br/">http://www.lara.unb.br/</a><br>
<br>The error:<br>| [ 68%] Building CXX object motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o<br>| 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 &amp;&amp; /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp;&nbsp; -isystem/home/felipe/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive&nbsp;&nbsp; -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&nbsp;&nbsp; -Wall&nbsp; -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<br>
| /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: &#39;SimulationAxis&#39; is not a member of &#39;RTT&#39;<br>
| /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: &#39;SimulationAxis&#39; is not a member of &#39;RTT&#39;<br>
| /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<br>| /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<br>
| /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 &#39;int ORO_main_impl(int, char**)&#39;:<br>| /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 &#39;OCL::nAxesGeneratorPos::nAxesGeneratorPos(const char [18], unsigned int&amp;)&#39;<br>
| /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)<br>
| /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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCL::nAxesGeneratorPos::nAxesGeneratorPos(OCL::nAxesGeneratorPos&amp;)<br>
| /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 &#39;OCL::nAxesGeneratorVel::nAxesGeneratorVel(const char [18], unsigned int&amp;)&#39;<br>
| /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)<br>
| /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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCL::nAxesGeneratorVel::nAxesGeneratorVel(OCL::nAxesGeneratorVel&amp;)<br>
| /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 &#39;OCL::nAxesControllerPos::nAxesControllerPos(const char [19], unsigned int&amp;)&#39;<br>
| /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)<br>
| /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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCL::nAxesControllerPos::nAxesControllerPos(OCL::nAxesControllerPos&amp;)<br>
| /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 &#39;OCL::nAxesControllerPosVel::nAxesControllerPosVel(const char [22], unsigned int&amp;)&#39;<br>
| /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)<br>
| /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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCL::nAxesControllerPosVel::nAxesControllerPosVel(OCL::nAxesControllerPosVel&amp;)<br>
| /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 &#39;OCL::nAxesControllerVel::nAxesControllerVel(const char [19], unsigned int&amp;)&#39;<br>
| /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)<br>
| /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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OCL::nAxesControllerVel::nAxesControllerVel(OCL::nAxesControllerVel&amp;)<br>
| make[2]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/main.o] Error 1<br>| 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&#39;<br>
| make[1]: *** [motion_control/naxes/tests/CMakeFiles/naxes.dir/all] Error 2<br>| 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&#39;<br>
| make: *** [all] Error 2<br>| FATAL: oe_runmake failed<br><br><br><div class="gmail_quote">On Fri, Jan 30, 2009 at 5:34 PM, Felipe Brandão Cavalcanti <span dir="ltr">&lt;<a href="mailto:cavalkaf [..] ...">cavalkaf [..] ...</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Tue, Jan 27, 2009 at 8:55 AM, Peter Soetens <span dir="ltr">&lt;<a href="mailto:peter [dot] soetens [..] ..." target="_blank">peter [dot] soetens [..] ...</a>&gt;</span> wrote:<br>
<div class="gmail_quote"><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Monday 26 January 2009 18:47:21 Felipe Brandão Cavalcanti wrote:<br>
&gt; OK - I did get rid of the readline errors, however, I am still having a few<br>
&gt; issues - I believe the problem right now lies with RTT. Any ideas on how to<br>
&gt; get past this? Remember, this is a cross-compiling envirioment, but I did<br>
&gt; point it to the compiler to the right cross-compiled RTT.<br>
<br>
</div>Some symbols are hidden<br>
The -fvisibility-inlines-hidden flag is not supported for RTT and OCL. Did you<br>
add this flag manually ? Make sure you compile without and preferably with the<br>
&#39;default&#39; flags of RTT (if applicable / adapted to your target). If that still<br>
fails, we can dig further.<br>
</blockquote></div><div><br>I did remove the flags in OCL, but no luck. Still have the same error. I also removed them and re-compiled RTT.<br>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...)<br>

&nbsp;</div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
* All RTT files must be compiled with the -DRTT_EXPORT.<br>
* All OCL files must be compiled with the -DOCL_EXPORT.<br>
* Your application must be compiled without these flags.<br>
<br>
Peter<br></blockquote></div></div><br>Should I add these and re-compile RTT and OCL than? If so, what file should I add these to?<br><br>Thanks for the help,<div><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARA - Laboratory of Robotics and Automation<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electrical Engineering<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnB - University of Brasília, Brazil<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.lara.unb.br/" target="_blank">http://www.lara.unb.br/</a><br></div></div></div></div></blockquote></div>
<br>

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

Ruben Smits's picture

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

?

Ruben Smits's picture

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.<br><br>When I run the test program in my embedded system, I get this:<br><br>./taskb: symbol lookup error: /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol: _ZN3RTT16eol_skip_functor7skipeolE<br>
<br>The error is consistent across all of my test programs. Any ideas on what I should do to get this working?<br>Once again, this is a fairly custom embedded solution, so some experimental code is running.<br><br>Thanks for the help,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br><br><div class="gmail_quote">On Tue, Feb 3, 2009 at 8:15 AM, Ruben Smits <span dir="ltr">&lt;<a href="mailto:ruben [dot] smits [..] ...">ruben [dot] smits [..] ...</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tuesday 03 February 2009 11:11:39 Klaas Gadeyne wrote:<br>
&gt; [...]<br>
&gt;<br>
&gt; &gt;&gt; The tests of the nAxes components appear to be not compiling in this<br>
&gt; &gt;&gt; release. Do you&#39;ll need to disable them using ccmake... Ruben needs to<br>
&gt; &gt;&gt; fix this/has fixed this on trunk (which patches)?<br>
&gt; &gt;<br>
&gt; &gt; The naxes-test in the subdirectory naxes/tests is highly deprecated, you<br>
&gt; &gt; should use the naxes/naxes-test.xml instead togheter with the deployer.<br>
&gt;<br>
&gt; rm -f naxes-test<br>
&gt;<br>
&gt; ?<br>
<br>
</div>:)<br>
<br>
I suggested to remove it, but some people on the list wanted it to stay<br>
inside, to have an example on how to create an application without the<br>
deployer, but by creating your own main-function.<br>
<font color="#888888"><br>
Ruben<br>
</font><div><div></div><div class="Wj3C7c"><br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
<br>
--<br>
Orocos-Users mailing list<br>
<a href="mailto:Orocos-Users [..] ...">Orocos-Users [..] ...</a><br>
<a href="http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users" target="_blank">http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users</a><br>
<br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br></div></div></blockquote></div><br>

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.<br><br>When I run the test program in my embedded system, I get this:<br><br>./taskb: symbol lookup error: /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol: _ZN3RTT16eol_skip_functor7skipeolE<br>
<br>The error is consistent across all of my test programs. Any ideas on what I should do to get this working?<br>Once again, this is a fairly custom embedded solution, so some experimental code is running.<br><br>Thanks for the help,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br><br><div class="gmail_quote">On Tue, Feb 3, 2009 at 8:15 AM, Ruben Smits <span dir="ltr">&lt;<a href="mailto:ruben [dot] smits [..] ...">ruben [dot] smits [..] ...</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Tuesday 03 February 2009 11:11:39 Klaas Gadeyne wrote:<br>
&gt; [...]<br>
&gt;<br>
&gt; &gt;&gt; The tests of the nAxes components appear to be not compiling in this<br>
&gt; &gt;&gt; release. Do you&#39;ll need to disable them using ccmake... Ruben needs to<br>
&gt; &gt;&gt; fix this/has fixed this on trunk (which patches)?<br>
&gt; &gt;<br>
&gt; &gt; The naxes-test in the subdirectory naxes/tests is highly deprecated, you<br>
&gt; &gt; should use the naxes/naxes-test.xml instead togheter with the deployer.<br>
&gt;<br>
&gt; rm -f naxes-test<br>
&gt;<br>
&gt; ?<br>
<br>
</div>:)<br>
<br>
I suggested to remove it, but some people on the list wanted it to stay<br>
inside, to have an example on how to create an application without the<br>
deployer, but by creating your own main-function.<br>
<font color="#888888"><br>
Ruben<br>
</font><div><div></div><div class="Wj3C7c"><br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
<br>
--<br>
Orocos-Users mailing list<br>
<a href="mailto:Orocos-Users [..] ...">Orocos-Users [..] ...</a><br>
<a href="http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users" target="_blank">http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users</a><br>
<br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br></div></div></blockquote></div><br>

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,
>
> 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.)

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
> 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&)'
[...]
> 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.<br><br>I guess you are right - the library that it can&#39;t find seems to be
libreadline (I glanced at the &quot;rl&quot; prefixes and got them mixed up with
&quot;rt&quot; 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.<br>
<br>
As for the INSTALL file patch, I really don&#39;t have that many tips... I
use a bunch of &quot;dirty tricks&quot; in order to make things work, but I guess
someone might find that useful eventually. Cross-compiling,
unfortunately, changes a bit between architectures.<br>
<br>
Thanks for the help,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe Brandão Cavalcanti<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LARA - Laboratory of Robotics and Automation<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electrical Engineering<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnB - University of Brasília, Brazil<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.lara.unb.br/">http://www.lara.unb.br/</a><br><br>| NOTE: make VERBOSE=1<br>| /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<br>
| /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<br>
| make -f CMakeFiles/Makefile2 all<br>| 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&#39;<br>| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/depend<br>
| 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&#39;<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/build<br>
| 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&#39;<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc &amp;&amp; echo Use:\ &#39;make\ docapi\ dochtml\ docpdf&#39;\ to\ build\ the\ documentation.<br>
| Use: make\ docapi\ dochtml\ docpdf to build the documentation.<br>| 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&#39;<br>| /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<br>
| [&nbsp; 0%] Built target message<br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 42 43<br>
| [ 11%] Built target orocos-ocl-common-xenomai<br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 44<br>
| [ 16%] Built target orocos-taskbrowser-xenomai<br>| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `timer/CMakeFiles/orocos-timer-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 45<br>
| [ 22%] Built target orocos-timer-xenomai<br>| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/build<br>
| 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&#39;<br>| Linking CXX executable helloworld<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld &amp;&amp; /usr/bin/cmake -E cmake_link_script CMakeFiles/helloworld.dir/link.txt --verbose=1<br>
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp; -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&nbsp; -O2 -DNDEBUG&nbsp; -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&nbsp; -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<br>
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)&#39;:<br>| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(RTT::PropertyBase*)&#39;<br>
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)&#39;:<br>| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)]+0x84): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `write_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `read_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_append_character&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_completion_matches&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_free_line_state&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_attempted_completion_function&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_set_signals&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_catch_signals&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `readline&#39;<br>
| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `add_history&#39;<br>| ../taskbrowser/liborocos-taskbrowser-xenomai.so.1.6.2: undefined reference to `rl_line_buffer&#39;<br>| collect2: ld returned 1 exit status<br>
| make[2]: *** [helloworld/helloworld] Error 1<br>| 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&#39;<br>| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2<br>
| 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&#39;<br>| make: *** [all] Error 2<br>| FATAL: oe_runmake failed<br>

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.<br>
<br>Thanks for the help,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Felipe B Cavalcanti<br>PS: Error at the end of the message.<br><br><div class="gmail_quote">On Wed, Jan 21, 2009 at 7:16 PM, Peter Soetens <span dir="ltr">&lt;<a href="mailto:peter [dot] soetens [..] ...">peter [dot] soetens [..] ...</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Wednesday 21 January 2009 20:51:48 Felipe Brandão Cavalcanti wrote:<br>

&gt; The output with VERBOSE=1 is at the end of the message.<br>
&gt;<br>
&gt; I guess you are right - the library that it can&#39;t find seems to be<br>
&gt; libreadline (I glanced at the &quot;rl&quot; prefixes and got them mixed up with &quot;rt&quot;<br>
&gt; prefixes, which would point to xenomai), as it is not available in my<br>
&gt; cross-compiling environment (but it is in my main instalation - I guess<br>
&gt; thats where cmake is finding it). I will install it and see what happens.<br>
<br>
</div>If you run from your build directory:<br>
<br>
cmake .. -DNO_GPL<br>
<br>
And then recompile again, it will build the taskbrowser without readline<br>
support. This takes away a big functionality from the taskbrowser, but at<br>
least you can check if you can run an application and if any other problems<br>
are holding you back.<br>
<br>
Peter<br>
<font color="#888888"><br>
--<br>
Peter Soetens -- FMTC -- &lt;<a href="http://www.fmtc.be" target="_blank">http://www.fmtc.be</a>&gt;<br>
</font></blockquote></div><br>| NOTE: make VERBOSE=1<br>| /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<br>
| /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<br>
| make -f CMakeFiles/Makefile2 all<br>| 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&#39;<br>| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/depend<br>
| 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&#39;<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f doc/CMakeFiles/message.dir/build.make doc/CMakeFiles/message.dir/build<br>
| 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&#39;<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/doc &amp;&amp; echo Use:\ &#39;make\ docapi\ dochtml\ docpdf&#39;\ to\ build\ the\ documentation.<br>
| Use: make\ docapi\ dochtml\ docpdf to build the documentation.<br>| 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&#39;<br>| /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<br>
| [&nbsp; 0%] Built target message<br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build.make ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `ocl/CMakeFiles/orocos-ocl-common-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 42 43<br>
| [ 11%] Built target orocos-ocl-common-xenomai<br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build.make taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `taskbrowser/CMakeFiles/orocos-taskbrowser-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 44<br>
| [ 16%] Built target orocos-taskbrowser-xenomai<br>| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f timer/CMakeFiles/orocos-timer-xenomai.dir/build.make timer/CMakeFiles/orocos-timer-xenomai.dir/build<br>
| 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&#39;<br>| make[2]: Nothing to be done for `timer/CMakeFiles/orocos-timer-xenomai.dir/build&#39;.<br>
| 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&#39;<br>| /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&nbsp; 45<br>
| [ 22%] Built target orocos-timer-xenomai<br>| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/depend<br>| 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&#39;<br>
| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build &amp;&amp; /usr/bin/cmake -E cmake_depends &quot;Unix Makefiles&quot; /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=<br>
| 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&#39;<br>| make -f helloworld/CMakeFiles/helloworld.dir/build.make helloworld/CMakeFiles/helloworld.dir/build<br>
| 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&#39;<br>| Linking CXX executable helloworld<br>| cd /home/felipe/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/orocos-ocl-1.0-r0/orocos-ocl-1.6.2/build/helloworld &amp;&amp; /usr/bin/cmake -E cmake_link_script CMakeFiles/helloworld.dir/link.txt --verbose=1<br>
| /home/felipe/gumstix/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++&nbsp; -march=armv5te -mtune=xscale&nbsp; -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&nbsp; -O2 -DNDEBUG&nbsp; -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&nbsp; -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<br>
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `ORO_main_impl(int, char**)&#39;:<br>| HelloWorld.cpp:(.text+0x34c): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(RTT::PropertyBase*)&#39;<br>
| CMakeFiles/helloworld.dir/HelloWorld.o: In function `OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)&#39;:<br>| HelloWorld.cpp:(.text._ZN3OCL10HelloWorldC1ESs[OCL::HelloWorld::HelloWorld(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)]+0x84): undefined reference to `RTT::Property&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;::Property(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)&#39;<br>
| collect2: ld returned 1 exit status<br>| make[2]: *** [helloworld/helloworld] Error 1<br>| 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&#39;<br>
| make[1]: *** [helloworld/CMakeFiles/helloworld.dir/all] Error 2<br>| 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&#39;<br>| make: *** [all] Error 2<br>
| FATAL: oe_runmake failed<br><br>

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.<br><br>It also seems that my ARM patch is working, as all the tests run fine.<br>
<br>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.<br>
<br>&nbsp; -Felipe Brandão Cavalcanti<br>&nbsp; LARA - Laboratory of Robotics and Automation<br>&nbsp; Department of Electrical Engineering<br>&nbsp; UnB - University of Brasília, Brazil<br>&nbsp; <a href="http://www.lara.unb.br/">http://www.lara.unb.br/</a><br>
<br><div class="gmail_quote">On Wed, Feb 11, 2009 at 7:03 AM, Peter Soetens <span dir="ltr">&lt;<a href="mailto:peter [dot] soetens [..] ...">peter [dot] soetens [..] ...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tuesday 10 February 2009 20:10:46 you wrote:<br>
&gt; On Tue, Feb 3, 2009 at 8:48 PM, Peter Soetens &lt;<a href="mailto:peter [dot] soetens [..] ...">peter [dot] soetens [..] ...</a>&gt; wrote:<br>
&gt; &gt; On Tuesday 03 February 2009 21:30:54 Felipe Brandão Cavalcanti wrote:<br>
&gt; &gt; &gt; Allright - I did get my libraries to work, however, now I have (yet)<br>
&gt; &gt; &gt; another problem - I get errors in all of the tests programs.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; When I run the test program in my embedded system, I get this:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ./taskb: symbol lookup error:<br>
&gt; &gt; &gt; /usr/lib/liborocos-taskbrowser-xenomai.so.1.6: undefined symbol:<br>
&gt; &gt; &gt; _ZN3RTT16eol_skip_functor7skipeolE<br>
&gt; &gt;<br>
&gt; &gt; This says that a symbol from src/scripting/CommonParser.cpp is not<br>
&gt; &gt; present in the liborocos-taskbrowser-xenomai library. This could &#39;only&#39;<br>
&gt; &gt; mean that the<br>
&gt; &gt; taskbrowser lib did not link with liborocos-rtt-xenomai. So check if<br>
&gt; &gt; -lorocos-rtt-xenomai is added during linking. You can also type:<br>
&gt; &gt;<br>
&gt; &gt; nm -C /usr/lib/liborocos-taskbrowser-xenomai.so | grep skipeol<br>
&gt; &gt; nm -C /usr/lib/liborocos-rtt-xenomai.so | grep skipeol<br>
&gt; &gt;<br>
&gt; &gt; It should list it first as an undefined symbol (U) and the second time as<br>
&gt; &gt; a defined symbol (D).<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;U RTT::eol_skip_functor::skipeol<br>
&gt; &gt; &nbsp;00000000006e6eb0 D RTT::eol_skip_functor::skipeol<br>
&gt;<br>
&gt; Thats exactly what I get - I also see there are *many* undefined symbols in<br>
&gt; the liborocos-taskbrowser-xenomai.so.<br>
<br>
</div>That is normal, each one of these should have a &#39;D&#39; counterpart in the orocos<br>
rtt library. But I&#39;m totally out of options now. If nm shows that the symbol<br>
is defined, and ldd shows that you linked with liborocos-rtt-xenomai, I don&#39;t<br>
understand why the linker complains at runtime. Also, the error you get is on<br>
liborocos-ocl-taskbrowser, not on &#39;taskb&#39;, so he got that far.<br>
<div class="Ih2E3d"><br>
&gt; However, the -lorocos-rtt-xenomai is included in the link.txt file.<br>
&gt;<br>
&gt; &gt; You can also check linking problems with<br>
&gt; &gt;<br>
&gt; &gt; ldd ./taskb<br>
&gt; &gt; ldd /usr/lib/liborocos-taskbrowser-xenomai.so<br>
&gt; &gt; ldd /usr/lib/liborocos-rtt-xenomai.so<br>
&gt; &gt;<br>
&gt; &gt; It should find all libraries and they should depend on each other in this<br>
&gt; &gt; order.<br>
&gt;<br>
&gt; What order? This is what I get:<br>
<br>
</div>This is all correct. taskb depends on &nbsp;liborocos-taskbrowser-xenomai.so, and<br>
that one depends on liborocos-rtt-xenomai.so.1.6<br>
<br>
Did you run ldconfig on the gumstix after installing ?<br>
<br>
Could you add -Wl,-zdefs (without spaces) to your links flags of the taskb<br>
application ?<br>
<br>
Finally, make sure that you installed the liborocos-rtt-xenomai library with<br>
scripting enabled. I recall that you did compile first a version without<br>
scripting. Be sure that version is removed from your gumstix.<br>
<div><div></div><div class="Wj3C7c"><br>
Peter<br>
--<br>
Peter Soetens -- FMTC -- &lt;<a href="http://www.fmtc.be" target="_blank">http://www.fmtc.be</a>&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>*º¤., ¸¸,.¤º*¨*¤., ¸¸,.¤º*¨*<br>Cavalkaf (aka Felipe) &lt;<a href="mailto:cavalkaf [..] ...">cavalkaf [..] ...</a>&gt;<br>AIM: Cavalkaf | MSN: <a href="mailto:cavalkaf2 [..] ...">cavalkaf2 [..] ...</a><br>
Check out &lt;<a href="http://www.flickr.com/photos/rbcav2003/">http://www.flickr.com/photos/rbcav2003/</a>&gt;<br>

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

>
> 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<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/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