[Rock-dev] Build/Link error for 'default' orogen application on Ubuntu 12.10

Peter Soetens peter at thesourceworks.com
Wed Nov 28 22:17:27 CET 2012


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

Cheers,
Peter


More information about the Rock-dev mailing list