[Rock-dev] Error while building Orocos component

Thomas Roehr thomas.roehr at dfki.de
Wed May 3 11:45:52 CEST 2017


To wrap up after checking Rohit's setup directly:
the installed ROS binaries come with pkgconfig files with linker flags
set like "-l:/usr/lib/x86_64-linux-gnu/libboost_signals.so".
After fixing the ROS pkgconfig files everything compiled fine.

Best
Thomas

On 02.05.2017 18:58, Rohit Menon wrote:
>
> Hello Thomas,
>
> Thank you for responding to my query. When I wrote deactivating roscpp
> and roslib, I meant commenting and uncommenting the lines
> using_library roscpp and using_library roslib.
>
> In both cases I sourced the ros environment and RoCK environment.
>
> 1. make VERBOSE=1 -C <path to ilaadr_rosdriver orogen
> component>/build    ---> (once with activated and once with
> deactivated roscpp):
>
> - I have attached the output as text files
>
>
> 2. ruby -rutilrb -e "p = Utilrb::PkgConfig.new 'roscpp'; puts p.inspect"
>
> The cursor appears after >. But there is no text output
>
>
> 3. ruby -rutilrb -e "p = Utilrb::PkgConfig.new 'roslib'; puts p.inspect"
>
> The cursor appears after >. But there is no text output
>
>> On April 28, 2017 at 2:13 PM Thomas Roehr <thomas.roehr at dfki.de> wrote:
>>
>> 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
>>> <mailto: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 <mailto: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 <mailto: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 
>>  -----------------------------------------------------------------------


-- 
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/20170503/9d0a48f5/attachment.htm 


More information about the Rock-dev mailing list