ffmpeg-0.4.9_p20061016 failed to compile with LDFLAGS="-Wl,--as-needed" Reproducible: Always
Hmmm...
here the output of configure: check_func lame_init check_ld check_cc BEGIN /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c 1 extern int lame_init(); 2 int main(){ 3 lame_init(); 4 } END /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -fomit-frame-pointer -fomit-frame-pointer -pthread -c -o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-con f-3074-3907-29034.o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-19914-3907-7099.c i686-pc-linux-gnu-gcc -Wl,--warn-common -Wl,--as-needed -pthread -o /var/tmp/portage/ffmpeg-0.4.9_p20061016/temp/ffmpeg-conf-24290-3907-19986 /var/tmp/portage/ffmpeg-0.4.9_p20061016/ temp/ffmpeg-conf-3074-3907-29034.o -lm -lz -lmp3lame /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `log' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sqrt' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `ceil' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `floor' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sqrtf' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `cos' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `sin' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `pow' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `log10' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `exp' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `tan' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `atan' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libmp3lame.so: undefined reference to `floorf' collect2: ld returned 1 exit status distcc[26697] ERROR: compile (null) on localhost failed ERROR: LAME not found
emerge -pv media-sound/lame output, please.
These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-sound/lame-3.96.1 USE="gtk -debug" 0 kB Total size of downloads: 0 kB
Then try w/ 3.97; generally stable and --as-needed doesn't go together.
It works with 3.97 Sorry