Re: [Rock-dev] Build/Link error for 'default' orogen application on Ubuntu 12.10
Peter Soetens <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <CAMYDobVxMz_P0qSK8uh5F2o+GVt-u99EACpYWaXE5ZJZNykpUg@mail.gmail.com> |
On Thu, Nov 29, 2012 at 9:36 AM, Sylvain Joyeux <[email protected]> wrote: > On 11/28/2012 10:17 PM, Peter Soetens wrote: >> >> Hi, >> >> The build farm tried to build the toolchain master branches using the >> bootstrap script (which worked) and then did a: >> >> orogen "create" "testorogen" >> orogen "testorogen.orogen" >> mkdir build; cd buid; cmake .. >> make >> ... >> Scanning dependencies of target orogen_default_testorogen__Task >> [ 95%] Building CXX object >> >> CMakeFiles/orogen_default_testorogen__Task.dir/.orogen/main-orogen_default_testorogen__Task.cpp.o >> Linking CXX executable orogen_default_testorogen__Task >> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libpthread_rt.so: >> undefined reference to `shm_unlink' >> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libpthread_rt.so: >> undefined reference to `shm_open' >> collect2: error: ld returned 1 exit status >> make[2]: *** [orogen_default_testorogen__Task] Error 1 >> >> If there would be a fix for this already, please let me know such I >> don't have to do double work... > > What is libpthread_rt ? Is this on xenomai ? It is.. I missed this myself, I was confused by the x86_64-linux-gnu in the pathname. So we can reduce this to an error in the .pc file of rtt for Xenomai targets. It's missing -lrt Peter -- Orocos-Dev mailing list [email protected] http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev