[Ffmpeg-devel] mp3lame : more --as-needed woes

sean seandarcy2
Sun Oct 29 18:48:43 CET 2006


Building today's svn - 6834, configure dies looking for 
lame, from config.err:

gcc -Wl,--warn-common -Wl,--as-needed -pthread -o 
/tmp/ffmpeg-conf-9929-7135-22245 
/tmp/ffmpeg-conf-2682-7135-369.o -lm -lz -ldts -lm -lgsm 
-lmp3lame -lm
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libmp3lame.so: 
undefined reference to `sqrt'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libmp3lame.so: 
undefined reference to `floor'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libmp3lame.so: 
undefined reference to `ceil'
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libmp3lame.so: 
undefined reference to `tan'
..........................

Notice libm _follows_ libmp3lame, so as-needed should be 
able to use it.

???

[ this may be a dup. An earlier message never showed up. If 
so, sorry. ]

sean





More information about the ffmpeg-devel mailing list