[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libstdc++
From: |
Ethan A Burns |
Subject: |
Re: libstdc++ |
Date: |
Thu, 27 Oct 2005 12:14:16 -0400 |
Hello Ralf,
Sorry, I did not realize I didn't have the list CCed. I removed the
sdl-config -libs from the configure script with the same results. I also ran
the debug command that you requested the output should be attached as a .bz2.
Thanks!,
--Ethan--
>Hi Ethan,
>
>Please keep the mailing list copied; this is useful for others as well.
>Thank you.
>
>* Ethan A Burns wrote on Thu, Oct 27, 2005 at 03:01:56AM CEST:
>>
>> The link line that is failing is:
>> /bin/sh ../libtool --mode=link gcc -g -pipe -Wall -Werror -I../src -g -O2 -I
>/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
>-o test test.o -L../src -lemf -lSDL -lpthread -lGLU -lGL
>> gcc -g -pipe -Wall -Werror -I../src -g -O2 -I/usr/include/SDL -D_REENTRANT -
>Wl,-rpath -Wl,/usr/lib -o .libs/test test.o -L/usr/lib -L/home/eaburns/emf-0.
>9_1/src /home/eaburns/emf-0.9_1/src/.libs/libemf.so -L/usr/i686-pc-linux-gnu/b
>in -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../
>i686-pc-linux-gnu/lib -L/usr/X11R6/lib /usr/lib/libSDL.so //usr/lib/gcc-lib/i6
>86-pc-linux-gnu/3.3.5-20050130/libstdc++.so -lgcc_s -lc /usr/lib/libaa.so -lnc
>urses /usr/lib/libGLU.so -lSM -lICE -lXmu -lXt -lXi -lpthread /usr/lib/libGL.s
>o -lm -lX11 -lXext -ldl -Wl,--rpath -Wl,//usr/lib/gcc-lib/i686-pc-linux-gnu/3.
>3.5-20050130
>> gcc: //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so: No suc
>h file or directory
>> make[1]: *** [test] Error 1
>>
>> Thank you for looking at my problem, if there is any more information
>> that you may need I will be glad to try and find it for you.
>
>I think I know what's happening: the libstdc++ is picked up as a
>dependency library for one of the libraries you link against. To find
>out which one, you could check each library's .la file, if present and
>where found.
>
>However, we'll be able to pinpoint it easily if you just send the output
>of this command back (it's above line with --debug added), when executed
>in the right directory:
>
>/bin/sh ../libtool --debug --mode=link gcc -g -pipe -Wall -Werror -I../src -g
>-O2 -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpt
>hread -o test test.o -L../src -lemf -lSDL -lpthread -lGLU -lGL
>
>You can compress (bzip2, gzip) if you like.
>
>One more thing: I believe you should get rid of the
>-L/usr/lib -Wl,-rpath,/usr/lib
>part, wherever that came from. Probably
>sdl-config --libs
>gave you that, unnecessarily.
>
>Cheers,
>Ralf
binlp37CRMcTZ.bin
Description: application/bzip2