|

楼主 |
发表于 2009-11-6 15:17:36
|
显示全部楼层
谢谢指点,将这三个USE去了,emerge -avDNu world 时还是到ffmpeg时出了同样的问题daniel@Thinkpad ~ $ emerge --info =media-video/ffmpeg-0.5_p20373
Portage 2.1.7.3 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r4-i686-Intel-R-_Pentium-R-_M_processor_1700MHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 06 Nov 2009 05:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.4, 3.1.1-r1
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.10.2, 1.11
sys-devel/binutils: 2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.aditsu.net/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en zh_CN zh"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/jokey /usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 aspell autoipd avahi berkdb bzip2 cairo cdr cjk cleartype cli consolekit cracklib crypt ctype cups dbus deskbar dri dvdr dynamic esd espeak exif extras faac faad ffmpeg filter firefox flac fortran ftp garmin gd gdbm gdm gif gimp gnome gnome-keyring google gphoto2 gpm gsm gtk gucharmap hal http httpd icon iconv imap jadetex java jpeg jpeg2k kpathsea libwww maildir math mdnsresponder-compat midi mikmod mjpeg mmx modules mp3 mpeg msn mudflap mysql mysqli mythtv nautilus ncurses net nls nptl nptlonly nsplugin ocamlopt ogg opengl openmp pam pathbar pcre pdf perl pic png portaudio pppd python qq raw readline reflection rtf sasl session sockets sound spell spl sse sse2 ssl ssse3 subversion suid svg svgz sysfs tcpd text threads tiff toolbar truetype unicode vorbis wav wma x264 x86 xcb xetex xft xml xorg xterm xulrunner xvid zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir log_config mime rewrite mime_magic dav" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN zh" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -avDNu world
..........
i686-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I. -I"/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -march=pentium-m -pipe -fomit-frame-pointer -I/usr/include/gsm -fomit-frame-pointer -march=pentium-m -std=c99 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF libavcodec/x86/cavsdsp_mmx.d -MT libavcodec/x86/cavsdsp_mmx.o -c -o libavcodec/x86/cavsdsp_mmx.o libavcodec/x86/cavsdsp_mmx.c
i686-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I. -I"/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -march=pentium-m -pipe -fomit-frame-pointer -I/usr/include/gsm -fomit-frame-pointer -march=pentium-m -std=c99 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF libavcodec/x86/dsputilenc_mmx.d -MT libavcodec/x86/dsputilenc_mmx.o -c -o libavcodec/x86/dsputilenc_mmx.o libavcodec/x86/dsputilenc_mmx.c
i686-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I. -I"/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -march=pentium-m -pipe -fomit-frame-pointer -I/usr/include/gsm -fomit-frame-pointer -march=pentium-m -std=c99 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF libavcodec/x86/idct_mmx.d -MT libavcodec/x86/idct_mmx.o -c -o libavcodec/x86/idct_mmx.o libavcodec/x86/idct_mmx.c
In file included from libavcodec/x86/idct_mmx.c:26:
libavcodec/x86/mmx.h:24:2: warning: #warning Everything in this header is deprecated, use plain __asm__()! New code using this header will be rejected.
i686-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -I. -I"/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -march=pentium-m -pipe -fomit-frame-pointer -I/usr/include/gsm -fomit-frame-pointer -march=pentium-m -std=c99 -fomit-frame-pointer -fPIC -pthread -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF libavcodec/x86/lpc_mmx.d -MT libavcodec/x86/lpc_mmx.o -c -o libavcodec/x86/lpc_mmx.o libavcodec/x86/lpc_mmx.c
libavcodec/x86/lpc_mmx.c: In function ‘ff_lpc_compute_autocorr_sse2’:
libavcodec/x86/lpc_mmx.c:87: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/lpc_mmx.c:62: error: ‘asm’ operand has impossible constraints
libavcodec/x86/lpc_mmx.c:64: error: ‘asm’ operand has impossible constraints
libavcodec/x86/lpc_mmx.c:87: error: ‘asm’ operand has impossible constraints
libavcodec/x86/lpc_mmx.c:116: error: ‘asm’ operand has impossible constraints
make: *** [libavcodec/x86/lpc_mmx.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from libavcodec/x86/dsputil_mmx.c:1819:
libavcodec/x86/h264dsp_mmx.c: In function ‘put_h264_qpel4_h_lowpass_3dnow’:
libavcodec/x86/h264dsp_mmx.c:2058: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/h264dsp_mmx.c:2058: error: ‘asm’ operand has impossible constraints
make: *** [libavcodec/x86/dsputil_mmx.o] Error 1
* ERROR: media-video/ffmpeg-0.5_p20373 failed:
* make failed
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 2644: Called die
* The specific snippet of code:
* emake || die "make failed"
*
* If you need support, post the output of 'emerge --info =media-video/ffmpeg-0.5_p20373',
* the complete build log and the output of 'emerge -pqv =media-video/ffmpeg-0.5_p20373'.
* The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/temp/environment'.
* S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373'
>>> Failed to emerge media-video/ffmpeg-0.5_p20373, Log file:
>>> '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/temp/build.log'
* Messages for package media-video/ffmpeg-0.5_p20373:
* ERROR: media-video/ffmpeg-0.5_p20373 failed:
* make failed
*
* Call stack:
* ebuild.sh, line 55: Called src_compile
* environment, line 2644: Called die
* The specific snippet of code:
* emake || die "make failed"
*
* If you need support, post the output of 'emerge --info =media-video/ffmpeg-0.5_p20373',
* the complete build log and the output of 'emerge -pqv =media-video/ffmpeg-0.5_p20373'.
* The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/temp/environment'.
* S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373'
* GNU info directory index is up-to-date.
daniel@Thinkpad ~ $ eix media-video/ffmpeg
media-video/ffmpeg
Available versions: 0.5-r1 (~)0.5_p19928 (~)0.5_p20373 [M]**9999-r1 {+3dnow +3dnowext X alsa altivec amr bindist cpudetection custom-cflags debug dirac doc +encode faac faad gsm +hardcoded-tables ieee1394 ipv6 jack jpeg2k +mmx +mmxext mp3 network opencore-amr oss pic schroedinger sdl speex +ssse3 test theora threads v4l v4l2 vdpau vhook video_cards_nvidia vorbis x264 xvid zlib}
Installed versions: 0.5_p19928(12:06:39 AM 11/06/2009)(3dnow 3dnowext X alsa encode faac faad gsm hardcoded-tables jpeg2k mmx mmxext mp3 ssse3 threads vorbis x264 xvid zlib -altivec -bindist -cpudetection -custom-cflags -debug -dirac -doc -ieee1394 -ipv6 -jack -network -opencore-amr -oss -schroedinger -sdl -speex -test -theora -v4l -v4l2 -vdpau -video_cards_nvidia)
Homepage: http://ffmpeg.org/
Description: Complete solution to record, convert and stream audio and video. Includes libavcodec.
0.5_p19928这个版本就没有问题! |
|