[Rock-dev] Error while building Orocos component

Thomas Roehr thomas.roehr at dfki.de
Fri Apr 28 14:13:07 CEST 2017


Hey Rohit,

what does it mean for you (de)activating roscpp and roslib. If they are
deactivated are you still sourcing the ROS setup.sh?

Additionally, can you provide the output after executing the following
commands in your workspace

1. make VERBOSE=1 -C <path to ilaadr_rosdriver orogen
component>/build    ---> (once with activated and once with deactivated
roscpp):
2. ruby -rutilrb -e "p = Utilrb::PkgConfig.new 'roscpp'; puts p.inspect"
3. ruby -rutilrb -e "p = Utilrb::PkgConfig.new 'roslib'; puts p.inspect"

Best
Thomas


On 26.04.2017 15:28, Rohit Menon wrote:
>
> Hello,
>
> Till recently, I was using rock stable version with Ubuntu 14.04. And
> I had compiled and installed an orogen component for ROS communication
> successfully. However,as my PC was replaced, it came with Ubuntu 16.04
> and I installed master version of RoCK. Thereafter the same package
> doesn't build sucessfully. It gives the following error
>
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_signals.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/liblog4cxx.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_regex.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_thread.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_chrono.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_date_time.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_atomic.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libpthread.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_date_time.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_thread.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_chrono.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_atomic.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libpthread.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_thread.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_chrono.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_date_time.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_atomic.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libpthread.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libconsole_bridge.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libpython2.7.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
> /usr/bin/ld: cannot find
> -l:/usr/lib/x86_64-linux-gnu/libboost_program_options.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libboost_system.so
> /usr/bin/ld: cannot find -l:/usr/lib/x86_64-linux-gnu/libtinyxml.so
> collect2: error: ld returned 1 exit status
> .orogen/typekit/CMakeFiles/ilaadr_rosdriver-typekit-gnulinux.dir/build.make:153:
> recipe for target
> '.orogen/typekit/libilaadr_rosdriver-typekit-gnulinux.so' failed
> make[2]: *** [.orogen/typekit/libilaadr_rosdriver-typekit-gnulinux.so]
> Error 1
> CMakeFiles/Makefile2:217: recipe for target
> '.orogen/typekit/CMakeFiles/ilaadr_rosdriver-typekit-gnulinux.dir/all'
> failed
> make[1]: ***
> [.orogen/typekit/CMakeFiles/ilaadr_rosdriver-typekit-gnulinux.dir/all]
> Error 2
> Makefile:116: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I have the same version of ROS installed as previously. And these
> packages are present in the /usr/lib/x86_64-linux-gnu/ location. I am
> attaching the orogen file as well for reference. The error occurs only
> when the using roscpp and using roslib are activated
>
> -- With Regards Rohit Menon Besuchsadresse der Nebengeschäftsstelle:
> DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359
> Bremen, Germany Postadresse der Hauptgeschäftsstelle Standort Bremen:
> DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 1 28359
> Bremen, Germany Tel.: +49 421 178 45-4143 Zentrale: +49 421 178 45-0
> Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen) E-Mail:
> rohit.menon at dfki.de Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats:
> Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 Sitz
> der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev


-- 
Thomas Röhr (M.Sc.)
Space Robotics

Besuchsadresse der Nebengeschäftstelle:
 DFKI GmbH
 Robotics Innovation Center
 Robert-Hooke-Straße 5
 28359 Bremen, Germany
 
 Postadresse der Hauptgeschäftsstelle Standort Bremen:
 DFKI GmbH
 Robotics Innovation Center
 Robert-Hooke-Straße 1
 28359 Bremen, Germany
 
 Tel.:     +49 421 178 45-4151
 Zentrale: +49 421 178 45-0
 Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
 E-Mail:   thomas.roehr at dfki.de
 
 Weitere Informationen: http://www.dfki.de/robotik
 -----------------------------------------------------------------------
 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
 Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
 Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster 
 (Vorsitzender) Dr. Walter Olthoff
 Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
 Amtsgericht Kaiserslautern, HRB 2313
 Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
 USt-Id.Nr.:    DE 148646973
 Steuernummer:  19/673/0060/3 
 -----------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20170428/de102d25/attachment.htm 


More information about the Rock-dev mailing list