Compilation fails with: .... make[1]: Leaving directory `/local/var/tmp/portage/ffmpeg-0.4.9_p20050226-r1/work/ffmpeg-0.4.9-p20050226/libavformat' gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc -lfaac -lxvidcore gcc -Wl,--warn-common -rdynamic -g -Wl,-E -o ffserver ffserver.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -lz -ldl -logg -lvorbis -lvorbisenc -lfaac -lxvidcore ./libavcodec/libavcodec.so: undefined reference to `a52_syncinfo' collect2: ld returned 1 exit status make: *** [ffserver] Error 1 Reproducible: Always Steps to Reproduce: 1.emerge ffmpeg USE flags are as follows: ========================================================== dawn tmp # emerge -vp ffmpeg These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-video/ffmpeg-0.4.9_p20050226-r1 [0.4.9_pre1] +aac* (-altivec) -debug -doc -dv +dvd +encode +imlib +mmx +oggvorbis -oss-pic -threads +truetype -v4l +xvid* 0 kB Total size of downloads: 0 kB ========================================================== P.S. 1. I am on an athlon-xp. 2. my gcc info: dawn tmp # gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs Configured with: /local/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-libgcj --enable-languages=c,c++,f77 Thread model: posix gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
Already fixed in -r2. Emerge sync to get the fix.
Ooops! Just noticed that there already exists ffmpeg-0.4.9_p20050226-r2. It depends on a newer a52dec (media-libs/a52dec-0.7.4-r4), so probably this was a dependency issue. I am closing this since the newer ffmpeg ebuild emerges just fine.