centos6下安装mplayer时make失败,求教!

bjdqe1024 发布于 2011/08/23 21:17
阅读 2K+
收藏 0
所使用文件有:
all-20110131.tar.bz2
windows-all-20071007.zip
MPlayer-1.0rc4.tar.bz2
解码文件all-20110131.tar.bz2和windows-all-20071007.zip已经解压到/usr/lib/codecs/和//usr/lib/win32/,之后是./configure --prefix=/usr/local/mplayer,没有error,接着make时就出错了,如下:
[root@localhost MPlayer-1.0rc4]# make
cc -O -DCODECS2HTML -I. -o codec-cfg codec-cfg.c
In file included from /usr/include/errno.h:36,
                 from codec-cfg.c:39:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:157,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/limits.h:122,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/limits.h:11,
                 from ./libavutil/common.h:32,
                 from libmpdemux/aviheader.h:25,
                 from codec-cfg.c:57:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -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 -Wstrict-prototypes -Wmissing-prototypes -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_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -D_REENTRANT -c -o command.o command.c
In file included from /usr/include/errno.h:36,
                 from ./libavutil/common.h:30,
                 from libmpdemux/aviheader.h:25,
                 from libmpdemux/stheader.h:23,
                 from command.c:29:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:157,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/limits.h:122,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/syslimits.h:7,
                 from /usr/lib/gcc/i686-redhat-linux/4.4.4/include/limits.h:11,
                 from ./libavutil/common.h:32,
                 from libmpdemux/aviheader.h:25,
                 from libmpdemux/stheader.h:23,
                 from command.c:29:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
command.c: In function 'mp_property_metadata':
command.c:554: warning: assignment discards qualifiers from pointer target type
make: *** [command.o] Error 1
[root@localhost MPlayer-1.0rc4]# 

烦请大牛看看是哪里不行,另附上./configure --prefix=/usr/local/mplayer时的输出:
[root@localhost MPlayer-1.0rc4]# ./configure --prefix=/usr/local/mplayer
Checking for cc version ... 4.4.4 
Detected operating system: Linux
Detected host architecture: i386
Checking for host cc ... cc 
Checking for cross compilation ... no 
Checking for CPU vendor ... AuthenticAMD (16:2:3) 
Checking for CPU type ...  AMD Athlon(tm) 7750 Dual-Core Processor 
Checking for kernel support of mmx ... failed 
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of mmxext ... failed 
It seems that your kernel does not correctly support mmxext.
To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnow ... failed 
It seems that your kernel does not correctly support 3dnow.
To use 3dnow extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnowext ... failed 
It seems that your kernel does not correctly support 3dnowext.
To use 3dnowext extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse ... failed 
It seems that your kernel does not correctly support sse.
To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of sse2 ... failed 
It seems that your kernel does not correctly support sse2.
To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of cmov ... failed 
It seems that your kernel does not correctly support cmov.
To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
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 2.20.51.0.2) ... ok 
Checking for .align is a power of two ... no 
Checking for 10 assembler operands ... yes 
Checking for ebx availability ... yes 
Checking for PIC ... no 
Checking for yasm ... no 
Checking for bswap ... yes 
Checking for Linux kernel version ... 2.6.32-71.29.1.el6.i686, ok 
Checking for -lposix ... no 
Checking for -lm ... yes 
Checking for langinfo ... yes 
Checking for language ... messages: en - man pages: en - documentation: en 
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 exp2 ... yes 
Checking for exp2f ... yes 
Checking for llrint ... yes 
Checking for llrintf ... yes 
Checking for log2 ... yes 
Checking for log2f ... 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 ... no 
Checking for netdb.h, struct addrinfo ... no 
Checking for netdb.h, getaddrinfo() ... no 
Checking for sockaddr_storage ... no 
Checking for struct ipv6_mreq ... no 
Checking for struct sockaddr_in6 ... no 
Checking for struct sockaddr sa_len ... no 
Checking for arpa/inet.h ... no 
Checking for inet_pton() ... no 
Checking for inet_aton() ... no 
Checking for socklen_t ... no 
Checking for closesocket() ... no 
Checking for network ... no 
Checking for inet6 ... no 
Checking for gethostbyname2 ... no 
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 hard-coded tables ... no 
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 ... no 
Checking for sys/dvdio.h ... no 
Checking for sys/cdio.h ... no 
Checking for linux/cdrom.h ... no 
Checking for dvd.h ... no 
Checking for termcap ... no 
Checking for termios ... yes (using 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 setmode() ... no 
Checking for sys/sysinfo.h ... no 
Checking for Apple IR ... no 
Checking for pkg-config ... yes 
Checking for Samba support (libsmbclient) ... no 
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 ... no 
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 ... no 
Checking for XvMC ... no 
Checking for VDPAU ... no 
Checking for Xinerama ... yes 
Checking for Xxf86vm ... no 
Checking for XF86keysym ... yes 
Checking for DGA ... no 
Checking for 3dfx ... no 
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 GGI ... no 
Checking for GGI extension: libggiwmh ... no 
Checking for AA ... no 
Checking for CACA ... no 
Checking for SVGAlib ... no 
Checking for FBDev ... yes 
Checking for DVB ... no 
Checking for PNG support ... yes 
Checking for MNG support ... no 
Checking for JPEG support ... no 
Checking for OpenJPEG (JPEG2000) support ... no 
Checking for PNM support ... yes 
Checking for GIF support ... no 
Checking for VESA support ... no 
Checking for SDL ... no 
Checking for OpenGL ... no 
Checking for MatrixView ... no 
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 ... no 
Checking for OSS Audio ... no 
Checking for aRts ... no 
Checking for EsounD ... no 
Checking for NAS ... no 
Checking for pulse ... no 
Checking for JACK ... no 
Checking for OpenAL ... no 
Checking for ALSA audio ... no 
Checking for Sun audio ... no 
Checking for VCD support ... yes 
Checking for Blu-ray support ... no 
Checking for dvdread ... no 
Checking for internal libdvdcss ... no 
Checking for cdparanoia ... no 
Checking for libcdio ... no 
Checking for bitmap font support ... yes 
Checking for freetype >= 2.0.9 ... no 
Checking for fontconfig ... no (FreeType support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no 
Checking for ENCA ... no 
Checking for zlib ... yes 
Checking for bzlib ... no 
Checking for RTC ... no 
Checking for liblzo2 support ... no 
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) ... no 
Checking for libgsm ... no 
Checking for OggTheora support ... no 
Checking for mp3lib support ... yes 
Checking for mpg123 support ... no 
Checking for liba52 support ... no 
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no 
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no 
Checking for FAAC support ... no (in libavcodec: no)
Checking for FAAD2 support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no 
Checking for libbs2b audio filter support ... no 
Checking for Win32 codecs ... yes 
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... yes 
Checking for Nemesi Streaming Media libraries ... no 
Checking for LIVE555 Streaming Media libraries ... no 
Checking for RTMPDump Streaming Media library ... no 
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 /dev/mga_vid ... no 
Checking for xmga ... no 
Checking for libopencore_amr narrowband ... no 
Checking for libopencore_amr wideband ... no 
Checking for libdv-0.9.5+ ... no 
Checking for Xvid ... no 
Checking for Xvid two pass plugin ... no 
Checking for x264 ... no (in libavcodec: no)
Checking for libdirac ... no 
Checking for libschroedinger ... no 
Checking for libvpx ... no 
Checking for libnut ... no 
Checking for zr ... no 
Checking for libmp3lame ... no (in libavcodec: no)
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 ... no 
Checking for Video 4 Linux 2 TV interface ... no 
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 ... no 
Checking for ftp ... no 
Checking for vstream client ... no 
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 linker support for --nxcompat --no-seh --dynamicbase ... no 
Checking for joystick ... no 
Checking for lirc ... no 
Checking for lircc ... no 
Checking for DVD support (libdvdnav) ... no 
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --prefix=/usr/local/mplayer !

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

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en
    Documentation: en

  Enabled optional drivers:
    Input: tv vcd 
    Codecs: libavcodec(internal) qtx real xanim win32 faad2(internal) libmpeg2(internal) mp3lib(internal) tremor(internal) 
    Audio output: mpegpes(file) 
    Video output: pnm mpegpes(file) fbdev xvidix cvidix x11 xover yuv4mpeg md5sum tga 

  Disabled optional drivers:
    Input: dvdnav vstream ftp pvr radio tv-v4l2 tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda libdvdcss(internal) dvdread bluray dvb smb network 
    Codecs: libvpx libschroedinger libdirac x264 xvid libdv libopencore_amrwb libopencore_amrnb faac musepack libdca liba52 mpg123 libtheora libgsm speex toolame twolame libmad liblzo gif OpenJPEG 
    Audio output: sun alsa openal jack pulse nas esd arts oss v4l2 ivtv dxr2 sdl 
    Video output: zr zr2 xmga mga v4l2 ivtv dxr3 dxr2 matrixview opengl sdl vesa gif89a jpeg svga caca aa ggi winvidix 3dfx dga vdpau xvmc xv dfbmga directfb 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//video.html#mtrr)

Check config.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-menu 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//bugreports.html.

加载中
0
蟋蟀哥哥
蟋蟀哥哥
少了文件或者目录不对吧...
蟋蟀哥哥
蟋蟀哥哥
@bjdqe1024 : 不能光看操作.. 因为32和64的文件夹是不一样的.
b
bjdqe1024
应该不是,我反复看了我的操作,跟网上介绍的没啥不对啊。
返回顶部
顶部