当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助:编译 mplayer 问题
帖子发表于 : 2011-01-16 16:27 
头像

注册: 2008-12-09 12:44
帖子: 3864
地址: 北京
送出感谢: 0 次
接收感谢: 2
patch -p0 < mplayer-stereoscopic.patch
代码:
patching file libvo/vo_gl2.c
Hunk #1 succeeded at 23 (offset 16 lines).
Hunk #2 succeeded at 63 (offset 16 lines).
Hunk #3 succeeded at 380 (offset 16 lines).
Hunk #4 succeeded at 420 (offset 16 lines).
Hunk #5 succeeded at 435 (offset 16 lines).
Hunk #6 succeeded at 463 (offset 16 lines).
Hunk #7 succeeded at 522 (offset 16 lines).
Hunk #8 succeeded at 567 with fuzz 1 (offset 9 lines).
Hunk #9 succeeded at 634 (offset 11 lines).
Hunk #10 succeeded at 662 with fuzz 1 (offset 11 lines).
Hunk #11 succeeded at 782 (offset 10 lines).
Hunk #12 succeeded at 911 with fuzz 1 (offset 10 lines).
Hunk #13 succeeded at 934 (offset 10 lines).

apt-get build-dep mplayer

./configure --language=zh_CN --enable-3dnow --enable-3dnowext --enable-vdpau --disable-dvdread --disable-dvdread-internal
代码:
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.4.3
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:23:6)
Checking for CPU type ...  Intel(R) Core(TM)2 Duo CPU     P7450  @ 2.13GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for byte order ... little-endian
Checking for extern symbol prefix ... 
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for .align is a power of two ... no
Checking for 10 assembler operands ... yes
Checking for yasm ... no
Checking for bswap ... yes
Checking for Linux kernel version ... 2.6.32-25-generic, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: zh_CN - man pages:  zh_CN - documentation:  zh_CN
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for llrint ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for network ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Apple IR ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... yes
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... yes (1.2.8)
Checking for X11 headers presence ... yes
Checking for X11 ... yes
Checking for Xss screensaver extensions ... no
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for VDPAU ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for 3dfx ... no
Checking for OpenGL ... yes
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for MNG support ... no
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... no
Checking for SDL ... yes (using sdl-config)
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for NAS ... yes
Checking for pulse ... yes
Checking for JACK ... yes
Checking for OpenAL ... yes
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... no
Checking for internal libdvdcss ... no
Checking for cdparanoia ... yes
Checking for libcdio ... auto (using cdparanoia)
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... yes
Checking for zlib ... yes
Checking for bzlib ... no
Checking for RTC ... yes
Checking for liblzo2 support ... yes
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... yes
Checking for OggTheora support ... yes
Checking for internal mp3lib support ... yes
Checking for liba52 support ... yes (internal)
Checking for internal libmpeg2 support ... yes
Checking for libdca support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... yes
Checking for FAAC support ... no (in libavcodec: no)
Checking for FAAD2 support ... yes (internal floating-point)
Checking for LADSPA plugin support ... yes
Checking for Win32 codecs ... yes (using /usr/local/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... yes (using distribution version)
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for FFmpeg libswscale ... yes (static)
Checking for libamr narrowband ... no
Checking for libamr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for Xvid ... yes
Checking for Xvid two pass plugin ... yes
Checking for x264 ... yes (in libavcodec: yes)
Checking for libdirac ... no
Checking for libschroedinger ... yes
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... yes (in libavcodec: yes)
Checking for mencoder ... yes
Checking for UnRAR executable ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for TV teletext interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for ftp ... yes
Checking for vstream client ... yes
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for joystick ... no
Checking for lirc ... yes
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --language=zh_CN --enable-3dnow --enable-3dnowext --enable-vdpau --disable-dvdread --disable-dvdread-internal !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: zh_CN
    Manual pages:  zh_CN

  Enabled optional drivers:
    Input: dvdnav vstream ftp pvr tv-teletext tv-v4l2 tv-v4l tv live555 cddb cdda vcd dvb smb network
    Codecs: libschroedinger x264 xvid libavcodec(internal) qtx real xanim win32 faad2(internal) musepack libdca libmpeg2(internal) liba52(internal) mp3lib(internal) libtheora speex tremor(internal) liblzo gif
    Audio output: alsa openal jack pulse nas esd oss v4l2 sdl mpegpes(dvb)
    Video output: v4l2 sdl gif89a pnm jpeg png mpegpes(dvb) fbdev svga caca aa xvidix cvidix opengl dga vdpau xv x11 xover dfbmga directfb yuv4mpeg md5sum tga

  Disabled optional drivers:
    Input: radio tv-dshow nemesi libdvdcss(internal) dvdread
    Codecs: libdirac libdv libamr_wb libamr_nb faac toolame twolame libmad
    Audio output: sun arts ivtv dxr2
    Video output: zr zr2 ivtv dxr3 dxr2 vesa ggi xmga mga winvidix 3dfx xvmc bl xvr100 tdfx_vid wii s3fb tdfxfb

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/zh_CN/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/zh_CN/bugreports.html.

make -j3
代码:
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o wc3movie.o wc3movie.c
wc3movie.c:73: warning: 'AVPaletteControl' is deprecated
wc3movie.c: In function 'wc3_read_header':
wc3movie.c:158: warning: dereferencing type-punned pointer will break strict-aliasing rules
wc3movie.c:175: warning: dereferencing type-punned pointer will break strict-aliasing rules
wc3movie.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules
wc3movie.c:236: warning: dereferencing type-punned pointer will break strict-aliasing rules
wc3movie.c: In function 'wc3_read_packet':
wc3movie.c:298: warning: dereferencing type-punned pointer will break strict-aliasing rules
wc3movie.c:312: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o westwood.o westwood.c
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o wv.o wv.c
westwood.c: In function 'wsaud_read_header':
westwood.c:137: warning: dereferencing type-punned pointer will break strict-aliasing rules
westwood.c: In function 'wsaud_read_packet':
westwood.c:186: warning: dereferencing type-punned pointer will break strict-aliasing rules
westwood.c: In function 'wsvqa_read_header':
westwood.c:286: warning: dereferencing type-punned pointer will break strict-aliasing rules
westwood.c: In function 'wsvqa_read_packet':
westwood.c:328: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o xa.o xa.c
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.. -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o yuv4mpeg.o yuv4mpeg.c
rm -f libavformat.a
ar rc libavformat.a allformats.o cutils.o metadata.o metadata_compat.o options.o os_support.o sdp.o utils.o avio.o aviobuf.o raw.o id3v2.o adtsenc.o aiff.o riff.o amr.o apc.o ape.o asfdec.o asf.o asfcrypt.o asfenc.o assdec.o assenc.o au.o avidec.o avienc.o swfenc.o avs.o vocdec.o voc.o bethsoftvid.o bfi.o c93.o crcenc.o daud.o dsicin.o dv.o dvenc.o dxa.o eacdata.o electronicarts.o ffmdec.o ffmenc.o flacdec.o flacenc.o flic.o flvdec.o flvenc.o avc.o 4xm.o framecrcenc.o gif.o gxf.o gxfenc.o audiointerleave.o idcin.o iff.o img2.o ipmovie.o movenc.o isom.o iss.o lmlm4.o matroskaenc.o matroska.o matroskadec.o mm.o mmf.o mov.o mp3.o mpc.o mpc8.o mpegenc.o mpeg.o mpegts.o mpegtsenc.o mpjpeg.o msnwc_tcp.o mtv.o mvi.o mxfdec.o mxf.o mxfenc.o ncdec.o nsvdec.o nutdec.o nut.o nutenc.o nuv.o oggdec.o oggparseflac.o oggparseogm.o oggparsespeex.o oggparsetheora.o oggparsevorbis.o oggenc.o oma.o pva.o r3d.o rl2.o rmdec.o rm.o rmenc.o idroq.o rpl.o segafilm.o siff.o smacker.o sol.o psxstr.o swfdec.o thp.o tiertexseq.o tta.o txd.o vc1test.o vc1testenc.o sierravmd.o vocenc.o wav.o wc3movie.o westwood.o wv.o xa.o yuv4mpeg.o
true libavformat.a
make[1]: Leaving directory `/home/pity/test/smplayer/mplayer/mplayer-1.0~rc3+svn20090426/libavformat'
touch libavformat/libavformat.a

make install
代码:
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/usr/include/directfb -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT   -D_REENTRANT    -I/usr/include/freetype2   -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3   -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD   -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c
libmpcodecs/ve_x264.c: In function 'encode_nals':
libmpcodecs/ve_x264.c:67: warning: implicit declaration of function 'x264_nal_encode'
libmpcodecs/ve_x264.c: In function 'config':
libmpcodecs/ve_x264.c:210: error: 'x264_param_t' has no member named 'b_bframe_pyramid'
libmpcodecs/ve_x264.c: In function 'control':
libmpcodecs/ve_x264.c:220: warning: unused variable 'mod'
make: *** [libmpcodecs/ve_x264.o] 错误 1

该如何继续下去?


_________________
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助:编译 mplayer 问题
帖子发表于 : 2011-01-16 16:52 
头像

注册: 2008-03-25 15:49
帖子: 25878
地址: 谁知道?
送出感谢: 8
接收感谢: 10
找办办啊.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译