[Rock-dev] logger build failed, system problem?

Matthias Goldhoorn matthias.goldhoorn at dfki.de
Tue Feb 22 13:21:50 CET 2011


Hi Sylvain,

(Okay, thanks to pierre).
the linker defaults are changed:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

I traced the includes, in:

dev/install/lib/pkgconfig/orocos-rtt-corba-gnulinux.pc

the libs are given by:
Libs: -L${libdir} -lorocos-rtt-corba-gnulinux  /usr/lib/libomniORB4.so 
/usr/lib/libomnithread.so
i changed it locally to:
Libs: -L${libdir} -lorocos-rtt-corba-gnulinux  -lomniORB4 -lomnithread

This works for me, but why are the libs given as global path?.
I think the better way is to remove omniOrb from from 
orocos-rtt-corba-gnulinux and put an pkg_check_modules in the orogen 
template: .orogen/config/test_loggerDeployment.cmake

Sylvain what's the way for fixing?.

Matthias



On 22.02.2011 11:24, Matthias Goldhoorn wrote:
> Hello again,
> i currently trying to bring Avalon-Front back online.
> I had a long time not updated my system, now i get some build error on 
> logger:
>
>
> /usr/bin/ld: 
> CMakeFiles/test_logger.dir/.orogen/main-test_logger.cpp.o: undefined 
> reference to symbol '_omniFinalCleanup::_omniFinalCleanup()'
> /usr/bin/ld: note: '_omniFinalCleanup::_omniFinalCleanup()' is defined 
> in DSO /usr/lib64/libomniORB4.so.1 so try adding it to the linker 
> command line
> /usr/lib64/libomniORB4.so.1: could not read symbols: Invalid operation
>
> the file /usr/lib64/libomniORB4.so.1 is an symlink to 
> /usr/lib64/libomniORB4.so.1.2 and ldd -r and nm says the file is fine.
> I also tried to reinstall omniorb, all without success.
>
> I removed the build folder and start an new build from scrach but the 
> error persists.
>
> Has anyone an idea whats wrong here?.
> On other machine's i don't have this problem?!
>
>
> (Detailed build log as attached)
>
> Matthias
>
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>    


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Unterwasserrobotik

  Hauptanschrift Standort Bremen:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Phone: +49 (0)421 178 45-4193
  Fax:   +49 (0)421 178 45-4150
  E-Mail: robotik 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


-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110222/1de94f86/attachment.htm 


More information about the Rock-dev mailing list