i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mpegvideo.o mpegvideo.c In file included from /var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil/avutil.h:24, from avcodec.h:14, from mpegvideo.c:28: /var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil/common.h:594: warning: static declaration of 'lrintf' follows non-static declaration mpegvideo.c: In function `MPV_encode_picture': /var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil/common.h:594: sorry, unimplemented: inlining failed in call to 'lrintf': redefined extern inline functions are not considered for inlining mpegvideo.c:2554: sorry, unimplemented: called from here make[1]: *** [mpegvideo.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavcodec' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.9_p20060302 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile ffmpeg-0.4.9_p20060302.ebuild, line 157: Called die # gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardened [3] i686-pc-linux-gnu-3.3.6-hardenednopie [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp [5] i686-pc-linux-gnu-3.3.6-hardenednossp [6] i686-pc-linux-gnu-3.4.6 * [7] i686-pc-linux-gnu-3.4.6-hardened [8] i686-pc-linux-gnu-3.4.6-hardenednopie [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp [10] i686-pc-linux-gnu-3.4.6-hardenednossp # Portage 2.1_pre7-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc5 i686) ================================================================= System uname: 2.6.16-rc5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.4-r1, 2.4.2-r1 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm arts ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cpudetection crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb ipv6 isdnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qtx quicktime readline rtc samba scanner scp sdl server session slp spell sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 xanim xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
*** Bug 130426 has been marked as a duplicate of this bug. ***
I'm getting this as well with media-video/ffmpeg-0.4.9_p20051216 goliath david # emerge --info Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) D CPU 3.40GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2-r1 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" 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/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ " MAKEOPTS="-j3" 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/portage/local/layman/science /usr/portage/local/layman/java-migration" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm asf avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cli crypt cups dri dvd eds emacs emboss encode ffmpeg fontconfig foomaticdb fortran gdbm gif gimpprint glitz gnome gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal imlib ipv6 isdnlog java jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx mono motif mozilla mp3 mpeg musicbrainz mysql ncurses nls nntp nptl nsplugin numeric ogg opengl pam pcre pdflib perl png postgres ppds pppd python qt quicktime readline reflection ruby sasl sdl session smp spell spl sse sse2 ssl svg svga symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts udev userlocales visualization vorbis win32codecs wxwindows xine xml xorg xprint xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Actually this caused problems for me with 0.4.9_p20051216 but works fine with ffmpeg-0.4.9_p20060302.
Looks like it fails to build the lrintf check on configure, please provide a configure log
It magically started working one day for me. :-)
I cannot reproduce as well with 0.4.9_p20060302 and i686-pc-linux-gnu-3.4.6/vanilla nor i686-pc-linux-gnu-4.1.1/vanilla. Portage 2.1.1_pre2-r6 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17 i686) ================================================================= System uname: 2.6.17 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.12.1 app-admin/eselect-compiler: 2.0.0_rc1-r5 dev-lang/python: 2.3.4-r1, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm asf ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cli cpudetection crypt cscope ctype cups curl dba dga directfb divx divx5 divx5linux dlloader dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads java jpeg kerberos lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext modplug motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qt3 qt4 qtx quicktime readline reflection rtc samba scanner scp server session slp spell spl sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis win32codecs winvidix wmf x264 xanim xml xml2 xmms xorg xosd xprint xv xvid xvmc zeo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_ati" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 146911 has been marked as a duplicate of this bug. ***
The lrintf function is actually defined in <math.h>, but the test in ./configure for cross-compiling causes have_lrintf to revert to "no". The fix should be at line 1084 of ./configure for ffmpeg-0.4.9_p20060530.tar.bz2 # allanc@chickenandporn.com: cannot execute cross-compiled # code on the host. Only execute if not cross-compiling. - if test -z "$cross_prefix" ; then + if test -n "$cross_prefix" ; then These lines are not present upstream in the SVN repo of ffmpeg. They probably got added later.
It looks like this fixes the problem, so why not add it to the ebuild?
Is this fixed in ffmpeg-0.4.9_p20061016 ?
Created attachment 107186 [details] compiler output
*** Bug 163258 has been marked as a duplicate of this bug. ***
(In reply to comment #10) > Is this fixed in ffmpeg-0.4.9_p20061016 ? No, it's not...
works in version 0.49_p20070129.
just tried it - it does not work here. both the messages regarding gcc's failure to inline code as well as the nrecessary -ieee1394 use flag still persist here. inout from a wirewire dv cam is exsctly the feature i would ned right now
The problem is still present in media-video/ffmpeg-0.4.9_p20070616-r2 Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22.6-grsec2.1.11-vs2.2.0.3 i686) ================================================================= System uname: 2.6.22.6-grsec2.1.11-vs2.2.0.3 i686 Dual Core AMD Opteron(tm) Processor 265 Timestamp of tree: Thu, 08 Nov 2007 11:16:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r6, 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg cvs distlocks fixpackages keepwork metadata-transfer sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en en_GB en_US es es_AR es_ES es_MX fr" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/usr/src" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/bangert /usr/portage/local/gcpan /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acpi adns alsa apm audiofile avahi avi bash-completion bcmath berkdb bidi binfilter bitmap-fonts bl blas bonjour browserplugin bzip2 bzlib cairo cdb cdda cddb cdparanoia cdr cgi chroot cjk cli console cpdflib cpudetection cracklib crypt cscope css ctype curl dba dbx devmap dga dio directfb divx4linux djvu dlloader dlz dmalloc dpms dri dts dv dvb dvd dvdnav dvdr dvdread dvi dynamicplugin ecc editor edl enca encode erandom esd evo exif expat f77 faac faad fam fame fbcon fdftk ffmpeg filepro firefox flac flash flatfile flexresp2 fltk fortran fping fpx freetype ftp gadu gb ggi gif glibc glitz glut gmp gnet gphoto2 gpm graphicsmagick graphviz groupwise gs gsnd gstreamer guile hardened hesiod hpn html iconv icu idea idn ilbc imagemagick imap imlib inifile inline ithreads java jbig jit jp2 jpeg jpeg2k junit justify latin1 lcms libcaca libgda libwww linuxthreads-tls live logrotate lzo lzw mad makecheck mbox mcal mcve md5sum memlimit mhash midi mikmod mime ming mjpeg mmap mmx mmxext mng mod modelock modplug mp2 mp3 mpeg mpi mplayer msn musepack musicbrainz nas ncurses net network nfs nls nntp nptl nptlonly nsplugin ntlm nv oav objc odk offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl parse-clocks pccts pcntl pcre pda pdf pdfkit pdflib pdo perfprofiling physfs pic plotutils plx png pnm portaudio posix postfix povray ppds prelude pthreads pulseaudio pwdb qq quicktime quotas rar rdesktop react readline real recode reflection resolvconf resperl rle rplay rtc rtsp ruby sametime sasl screen sdk sdl sdl-image session sftplogging sguil shared sharedext sharedmem shorten shout silc simplexml skey skins slang slp sndfile socks5 softmmu sox speex spell spf spl srt sse sse2 ssl stream subtitles svg svga syslog sysvipc t1lib tagwriting tcltk tcpd tetex tga theora threads tidy tiff timestats tivo tokenizer tools transcode truetype truetype-fonts type1-fonts ucs2 unicode ups urandom usb userlocales v4l v4l2 vcd vdr verbose vhosts vidix vim-pager vim-syntax vim-with-x vlm vorbis vsplit wavpack wddx webdav wifi win32codecs winbind wmf x264 x86 xcb xface xgetdefault xine xinerama xml xml2 xmlreader xmlrpc xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yp yv12 zeroconf zip zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US es es_AR es_ES es_MX fr" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 135540 [details] Build log
same thing here with ffmpeg-0.4.9_p20070616 In file included from mpegvideo.c:30: avcodec.h:2252: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231) avcodec.h:2258: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231) mpegvideo.c: In function `MPV_encode_picture': /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavutil/internal.h:262: sorry, unimplemented: inlining failed in call to 'lrintf': redefined extern inline functions are not considered for inlining mpegvideo.c:2634: sorry, unimplemented: called from here make[1]: *** [mpegvideo.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavcodec' make: *** [lib] Error 2 Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-hardened-r8_horst i686) ================================================================= System uname: 2.6.22-hardened-r8_horst i686 AMD Athlon(tm) XP Timestamp of tree: Fri, 25 Jan 2008 01:47:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/modules.autoload.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/www/localhost/htdocs/phpmyadmin/libraries /var/www/localhost/htdocs/wordpress" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d /lib/modules/*" CXXFLAGS="-O2 -march=athlon-xp -pipe"
And the fix comes along... From the Ffmpeg-user mailing list: ============================================== ======================= snip ================= > internal.h:262: error: > static declaration of 'lrintf' follows non-static declaration > make[1]: *** [mathematics.o] Error 1 I found a work-around for my problem. However, I did get many warnings during install, so if anyone has a better solution let me know. svn export svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg cd ffmpeg ./configure --enable-libmp3lame --enable-shared --extra-cflags=-DHAVE_LRINTF make make install echo "/usr/local/lib" >> /etc/ld.so.conf ldconfig -v notice the --extra-cflags and the commands after "make install". ======================= snap ================= ============================================== So, it worked for me, using this command line: # EXTRA_ECONF="--extra-cflags=-DHAVE_LRINTF" emerge ffmpeg I don't understand the problem there, so I'd appreciate any comments from anyone who thinks he does...
please try with latest version and provide a build log + the config.err file in the build dir so that we can try to investigate why the lrintf check fails if this still applies (and of course reopen)
*** Bug 175584 has been marked as a duplicate of this bug. ***
I cannot reproduce it with media-video/ffmpeg-0.5-r1 on my ~x86 machine nor with ffmpeg-0.4.9_p20090201.