the recent version of ffmpeg does not compile for me on one system ... the error is: make[1]: Entering directory `/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavutil' i686-pc-linux-gnu-gcc -Wall -Wno-switch -march=pentium-m -Os -pipe -fomit-frame-pointer -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mathematics.o mathematics.c In file included from mathematics.c:25: common.h:620: error: static declaration of ‘lrintf’ follows non-static declaration make[1]: *** [mathematics.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavutil' make: *** [lib] Error 2 make: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavutil/avutil.h:25, from /var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavcodec/avcodec.h:15, from /var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavformat/avformat.h:17, from ffmpeg.c:22: /var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavutil/common.h:620: error: static declaration of ‘lrintf’ follows non-static declaration make: *** [ffmpeg.o] Error 1 # emerge --info Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LINGUAS="cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac alsa amr berkdb bitmap-fonts cli crypt cups dlloader dri encode ffmpeg flac fortran gdbm gpm imlib ipv6 isdnlog java jpeg jpeg2k kde ldap libg++ mad mmx mp3 mp4 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pda perl png ppds pppd python readline reflection scanner sdl session spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis x264 xmms xorg xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_i810 video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of 128685 ***
This bug doesn't seem to be a duplicate of 128685. I have the same problem on amd64 and tried the fix from the 128685 - didn't help. I now masked p20060530 and emerged p20051216, which went fine. Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8Desktop-monolith-noIPv6 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8Desktop-monolith-noIPv6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Mon, 16 Oct 2006 00:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LC_ALL="de_DE.UTF-8" LINGUAS="de fi en en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-overlay /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib accessibility acpi alsa apache2 apm audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 c++ calendar cddb cdparanoia cdr chipcard cjk cli crypt cscope css cups curl curlwrappers dbus dedicated dga dio directfb divx4linux dlloader doc dri dts dv dvd dvdr dvdread edl elibc_glibc emul-linux-x86 encode examples exif fbcon ffmpeg flac flash foomaticdb fortran fpx ftp gd gdbm geldkarte ggi gif gimpprint glut gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal hbci icq ieee1394 imagemagick imap imlib inkjar innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jbig jpeg jpeg2k kde kdeenablefinal kernel_linux ladcca lcms ldap libcaca libg++ libwww linguas_de linguas_en linguas_en_GB linguas_fi live lm_sensors lzo m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod milter mime ming mjpegmythtv mmap mng mnogosearch mono motif mozilla mp3 mpeg mpi msession musicbrainz mysql mysqli ncurses network nls nocd nptl nptlonly nsplugin nvidia offensive ofx ogg oggvorbis ole openal opengl osc oscar oss pam pcntl pcre pda pdf pdflib perl php pic plotutils png portaudio posix ppds pppd profile python quicktime readline recode reflection rtc samba sasl scanner sdl session sharedext sharedmem shorten simplexml slang slp smartcard sndfile sox speex spell spl ssl svg szip tcltk tcpd tetex theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd vhosts video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga videos vidixfame vim-with-x vorbis wmf xanim xcomposite xine xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvmc zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS