/var/tmp/portage/ffmpeg-0.4.9_pre1/work/ffmpeg-0.4.9-pre1/libavcodec/rational.h:35: error: syntax error before "__attribute__" /var/tmp/portage/ffmpeg-0.4.9_pre1/work/ffmpeg-0.4.9-pre1/libavcodec/rational.h:43: error: syntax error before "__attribute__" /var/tmp/portage/ffmpeg-0.4.9_pre1/work/ffmpeg-0.4.9-pre1/libavcodec/common.h:791: error: register name not specified for `cache' {standard input}: Assembler messages: {standard input}:13: Error: symbol `re_cache' is already defined {standard input}:19: Error: symbol `re_cache' is already defined {standard input}:25: Error: symbol `re_cache' is already defined {standard input}:31: Error: symbol `re_cache' is already defined {standard input}:37: Error: symbol `re_cache' is already defined {standard input}:43: Error: symbol `re_cache' is already defined {standard input}:55: Error: symbol `n' is already defined {standard input}:81: Error: symbol `bit_buf' is already defined {standard input}:95: Error: symbol `re_cache' is already defined {standard input}:101: Error: symbol `cache' is already defined {standard input}:107: Error: symbol `re_index' is already defined {standard input}:113: Error: symbol `re_cache' is already defined {standard input}:125: Error: symbol `re_index' is already defined {standard input}:131: Error: symbol `re_cache' is already defined {standard input}:137: Error: symbol `tmp' is already defined {standard input}:143: Error: symbol `re_index' is already defined {standard input}:149: Error: symbol `re_cache' is already defined {standard input}:155: Error: symbol `tmp' is already defined {standard input}:161: Error: symbol `re_cache' is already defined {standard input}:172: Error: symbol `re_cache' is already defined {standard input}:178: Error: symbol `re_cache' is already defined {standard input}:190: Error: symbol `re_index' is already defined {standard input}:196: Error: symbol `re_cache' is already defined {standard input}:214: Error: symbol `n' is already defined {standard input}:220: Error: symbol `re_cache' is already defined {standard input}:232: Error: symbol `index' is already defined {standard input}:238: Error: symbol `code' is already defined {standard input}:244: Error: symbol `n' is already defined {standard input}:250: Error: symbol `re_cache' is already defined {standard input}:256: Error: symbol `nb_bits' is already defined {standard input}:262: Error: symbol `index' is already defined {standard input}:268: Error: symbol `code' is already defined {standard input}:274: Error: symbol `n' is already defined make[1]: *** [ppm.o] Error 1 rm null.o fish.o make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_pre1/work/ffmpeg-0.4.9-pre1/vhook' make: *** [videohook] Error 2 --------------- emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.8-rc2) ================================================================= System uname: 2.6.8-rc2 i686 AMD Athlon(tm) processor Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat5 /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer -pipe"DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bonobo breakme cdr chroot crypt cups dvd encode esd evo foomaticdb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib java jpeg libg++ libwww linguas_de mad maildir mikmod mldonkeypango mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex transcode truetype x86 xml xml2 xmms xv zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Can you try with -O2 instead of -O3? Someone said this might be a gcc Optimization output error.
please provide the requested output, if this is still an issue feel free to reopen this one.