Hi I'm sending this to T2 and mms http://forum.mymediasystem.org/ http://forum.mymediasystem.org/ , I hope we can solve the problem together. Below an example for a g++ command causing the problem "cannot find -lz". Note there is always a "-Wl,-nostdlib" and a "-L/usr/local/lib". So I copied manually the libz.a (static lib) to /usr/local/lib. This makes nobody, except ld, really happy, although it worked. Note also: ldd /usr/lib/mms/plugins/lib_output_sdl.so libz.so.1 => /lib/libz.so.1 (0xb7f03000) So it seems ld is happy to find a static lib, but does not use it ? Is the command line wrong or the way g++ interprets it ?
Gerd example: g++ -I/usr/local/include -L/usr/local/lib -I/usr/include/ -I. -pthread -pipe -O3 -ffast-math -funroll-loops -fomit-frame-pointer -funit-at-a-time -D_GNU_SOURCE -isystem/TOOLCHAIN/src.mms.mindesk.20081001.142917.825.localhost/mms-1.1.0-rc8/libs -I../ -I../../ -I../../../ -I../../feature/ -I../../input/ -fPIC -shared -Wl,-nostdlib -o lib_output_sdl.so sdlout.o sdlout_plugin.o -pthread -lccext2 -lz -lccgnu2 -ldl -lrt `sdl-config --libs` /usr/lib/gcc/i486-t2-linux-gnu/4.3.2/../../../../i486-t2-linux-gnu/bin/ld: cannot find -lz René Rebe wrote: > > The toolchain (gcc, ld, ...) default to look into system pathes that > include /lib, /usr/lib, the lib64 variants on multilib 64bit systems and > other > variants, (e.g. tls, notls, cpu optimization related dirs, etc > -- View this message in context: http://www.nabble.com/.eh_frame-error-tp19744831p19794707.html Sent from the T2 mailing list archive at Nabble.com.
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe t2
