locus_net 发表于 2006-8-8 03:31:55

安装mplayer出现的问题

linux-locus:~/Desktop/tmp/MPlayer-1.0pre8 # ./configure --prefix=/usr/local/mpla                                                         yer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win3                                                         2libdir=/usr/lib/wincodes/ --disable-gcc-checking --language=zh_CN
Detected operating system: Linux
Detected host architecture: x86_64

******************************************************************************

Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
Ok. You know. Do it. Did you read DOCS/HTML/en/users-vs-dev.html???

DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
Lame which is used by mencoder produces weird errors, too.

If you have any problem, install a GCC 2.95.x or 3.x version and try again.
If the problem _still_ exists, then read DOCS/HTML/en/bugreports.html !

*** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

******************************************************************************

make
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... AuthenticAMD (15:44:2)
Checking for CPU type ...AMD Sempron(tm) Processor 2500+
Checking for GCC & CPU optimization abilities ... k8
Checking for xmmintrin.h ... yes
Checking for mm3dnow.h ... yes
Checking for assembler support of -pipe option ... yes
Checking for MPlayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using zh_CN (man pages: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 lrintf ... yes
Checking for round ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 64
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... 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 rpath ... no
Checking for iconv ... yes
Checking for sys/soundcard.h ... yes
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 BSDI dvd.h ... no
Checking for HP-UX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes (using -lncurses)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... auto
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... yes (using -I/usr/include/directfb)
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11/include)
Checking for X11 ... yes (using /usr/X11R6/lib64)
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... 2 (using DGA 2.0)
Checking for OpenGL ... yes
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 ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for md5sum 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 Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... yes
Checking for OpenAL ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... yes
Checking for DVD support (libmpdvdkit2) ... yes
Checking for DVD support (libdvdread) ... no (disabled by libmpdvdkit2)
Checking for cdparanoia ... yes
Checking for libcdio ... auto (using cdparanoia)
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for Twolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... yes
Checking for Win32 codec DLL support ... yes (using /usr/lib/wincodes/)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/codes/)
Checking for RealPlayer DLL ... yes (using /usr/lib/codes/)
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil (static) ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for FFmpeg libpostproc (static) ... yes
Checking for AMR narrowband ... no
Checking for AMR narrowband, fixed point ... no
Checking for AMR wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for GTK+ version ... 2.8.10
Checking for glib version ... 2.8.5
Creating Gui/config.mak
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... only used for x86
Checking for compiler support for noexecstack ... yes
Checking for ftello() ... yes
Checking for VIDIX (internal) ... yes
Checking for VIDIX (external) ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak

Config files successfully generated by ./configure !

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:

Languages:
    Messages/GUI: zh_CN
    Manual pages:en

Enabled optional drivers:
    Input: ftp network tv-v4l2 tv-v4l tv cdda mpdvdkit2 vcd dvb
    Codecs: qtx libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) gif
    Audio output: alsa jack esd arts oss sdl mpegpes(dvb)
    Video output: xvidix cvidix sdl gif89a md5sum pnm jpeg png mpegpes(dvb) aa opengl dga xv x11 xover tga
    Audio filters: ladspa
Disabled optional drivers:
    Input: vstream tv-bsdbt848 live555 dvdread smb
    Codecs: opendivx x264 xvid libdv amr_wb amr_nb faac musepack libdts libtheora speex twolame toolame libmad liblzo
    Audio output: sgi sun openal polyp dxr2 nas dsound win32
    Video output: winvidix bl zr zr2 dxr3 dxr2 directx vesa fbdev svga caca ggi xmga mga xvmc directfb tdfx_vid s3fb tdfxfb 3dfx
    Audio filters:

'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/en/video.html#mtrr)

NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
operating system (Linux). You may encounter a few files that cannot
be played due to missing open source video/audio codec support.


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
Do not report compilation errors if you used any of the --enable-* options
(except --enable-gui and maybe --enable-debug).

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

linux-locus:~/Desktop/tmp/MPlayer-1.0pre8 # make install
./version.sh `cc -dumpversion`
cc -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -march=k8 -mcpu=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64-I.      -I/usr/include/freetype2-I/usr/include/SDL -D_REENTRANT -I/usr/X11/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from libmpdemux/dvbin.h:11,
               from mplayer.c:117:
libmpdemux/dvb_defaults.h:73:3: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
mplayer.c: In function ‘mp_property_tv_color’:
mplayer.c:2076: warning: cast from pointer to integer of different size
mplayer.c:2078: warning: cast from pointer to integer of different size
mplayer.c:2081: warning: cast from pointer to integer of different size
mplayer.c:2086: warning: cast from pointer to integer of different size
mplayer.c: In function ‘main’:
mplayer.c:2739: warning: cast to pointer from integer of different size
mplayer.c:2775: warning: cast to pointer from integer of different size
mplayer.c:3464: warning: cast to pointer from integer of different size
mplayer.c:4790: warning: cast to pointer from integer of different size
cc -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -march=k8 -mcpu=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64-I.      -I/usr/include/freetype2-I/usr/include/SDL -D_REENTRANT -I/usr/X11/include   -I./libavutil -I./libavcodec   -o vobsub.o vobsub.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
make -C loader
make: Entering directory `/root/Desktop/tmp/MPlayer-1.0pre8/loader'
cc -I. -I.. -I../libvo -I../../libvo -I/usr/X11/include -O4 -march=k8 -mcpu=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64-U_FILE_OFFSET_BITS   -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__-c pe_image.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from wine/winbase.h:5,
               from pe_image.c:56:
wine/winnt.h:626:2: error: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
               from pe_image.c:56:
wine/winnt.h:629: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wine/winnt.h:755:2: error: #error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
wine/winnt.h:766:3: error: #error You must define GET_IP for this CPU
wine/winnt.h:1022: error: expected specifier-qualifier-list before ‘PCONTEXT’
wine/winnt.h:1035: error: expected declaration specifiers or ‘...’ before ‘PCONTEXT’
In file included from pe_image.c:56:
wine/winbase.h:544: warning: ‘packed’ attribute ignored for field of type ‘CHAR’
In file included from pe_image.c:56:
wine/winbase.h:1342: error: expected declaration specifiers or ‘...’ before ‘CONTEXT’
wine/winbase.h:1481: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
In file included from pe_image.c:59:
wine/pe_image.h:60: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
wine/pe_image.h:62: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
wine/pe_image.h:64: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
wine/pe_image.h:66: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
wine/pe_image.h:67: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
wine/pe_image.h:69: warning: ‘packed’ attribute ignored for field of type ‘BYTE’
In file included from pe_image.c:61:
wine/debugtools.h:67: warning: useless type name in empty declaration
In file included from win32.h:14,
               from pe_image.c:63:
com.h:57: warning: ‘__stdcall__’ attribute ignored
com.h:58: warning: ‘__stdcall__’ attribute ignored
com.h:59: warning: ‘__stdcall__’ attribute ignored
com.h:69: warning: ‘__stdcall__’ attribute ignored
com.h:70: warning: ‘__stdcall__’ attribute ignored
com.h:71: warning: ‘__stdcall__’ attribute ignored
com.h:72: warning: ‘__stdcall__’ attribute ignored
pe_image.c: In function ‘dump_exports’:
pe_image.c:81: warning: cast to pointer from integer of different size
pe_image.c:81: warning: cast to pointer from integer of different size
pe_image.c:83: warning: cast to pointer from integer of different size
pe_image.c:83: warning: cast to pointer from integer of different size
pe_image.c:85: warning: cast to pointer from integer of different size
pe_image.c:87: warning: cast to pointer from integer of different size
pe_image.c:92: warning: cast to pointer from integer of different size
pe_image.c:92: warning: cast from pointer to integer of different size
pe_image.c:93: warning: cast to pointer from integer of different size
pe_image.c:93: warning: cast from pointer to integer of different size
pe_image.c:94: warning: cast to pointer from integer of different size
pe_image.c:94: warning: cast from pointer to integer of different size
pe_image.c: In function ‘PE_FindExportedFunction’:
pe_image.c:153: warning: cast to pointer from integer of different size
pe_image.c:153: warning: cast from pointer to integer of different size
pe_image.c:154: warning: cast to pointer from integer of different size
pe_image.c:154: warning: cast from pointer to integer of different size
pe_image.c:155: warning: cast to pointer from integer of different size
pe_image.c:155: warning: cast from pointer to integer of different size
pe_image.c:157: warning: cast to pointer from integer of different size
pe_image.c:157: warning: cast to pointer from integer of different size
pe_image.c:159: warning: cast to pointer from integer of different size
pe_image.c:159: warning: cast to pointer from integer of different size
pe_image.c:169: warning: cast to pointer from integer of different size
pe_image.c:169: warning: cast from pointer to integer of different size
pe_image.c:181: warning: cast to pointer from integer of different size
pe_image.c:181: warning: cast from pointer to integer of different size
pe_image.c:199: warning: cast to pointer from integer of different size
pe_image.c:199: warning: cast from pointer to integer of different size
pe_image.c:215: warning: cast to pointer from integer of different size
pe_image.c:228: warning: cast to pointer from integer of different size
pe_image.c: In function ‘fixup_imports’:
pe_image.c:256: warning: cast to pointer from integer of different size
pe_image.c:292: warning: cast to pointer from integer of different size
pe_image.c:302: warning: cast to pointer from integer of different size
pe_image.c:302: warning: cast from pointer to integer of different size
pe_image.c:303: warning: cast to pointer from integer of different size
pe_image.c:303: warning: cast from pointer to integer of different size
pe_image.c:313: warning: cast to pointer from integer of different size
pe_image.c:313: warning: cast from pointer to integer of different size
pe_image.c:322: warning: cast to pointer from integer of different size
pe_image.c:322: warning: cast from pointer to integer of different size
pe_image.c:332: warning: cast to pointer from integer of different size
pe_image.c:332: warning: cast from pointer to integer of different size
pe_image.c: In function ‘calc_vma_size’:
pe_image.c:348: warning: cast to pointer from integer of different size
pe_image.c:348: warning: cast to pointer from integer of different size
pe_image.c:348: warning: cast to pointer from integer of different size
pe_image.c:348: warning: cast to pointer from integer of different size
pe_image.c:352: warning: cast to pointer from integer of different size
pe_image.c:352: warning: cast to pointer from integer of different size
pe_image.c: In function ‘do_relocations’:
pe_image.c:374: warning: cast to pointer from integer of different size
pe_image.c:374: warning: cast to pointer from integer of different size
pe_image.c:383: warning: cast to pointer from integer of different size
pe_image.c: In function ‘PE_LoadImage’:
pe_image.c:473: warning: cast to pointer from integer of different size
pe_image.c:479: warning: cast to pointer from integer of different size
pe_image.c:479: warning: cast to pointer from integer of different size
pe_image.c:508: warning: cast to pointer from integer of different size
pe_image.c:508: warning: cast to pointer from integer of different size
pe_image.c:508: warning: cast to pointer from integer of different size
pe_image.c:508: warning: cast to pointer from integer of different size
pe_image.c:552: warning: cast to pointer from integer of different size
pe_image.c:552: warning: cast to pointer from integer of different size
pe_image.c:556: warning: cast to pointer from integer of different size
pe_image.c:557: warning: cast to pointer from integer of different size
pe_image.c:557: warning: cast to pointer from integer of different size
pe_image.c:561: warning: cast to pointer from integer of different size
pe_image.c:632: warning: cast to pointer from integer of different size
pe_image.c:632: warning: cast to pointer from integer of different size
pe_image.c:632: warning: cast to pointer from integer of different size
pe_image.c:632: warning: cast to pointer from integer of different size
pe_image.c:670: warning: cast to pointer from integer of different size
pe_image.c:677: warning: cast to pointer from integer of different size
pe_image.c: In function ‘PE_CreateModule’:
pe_image.c:698: warning: cast to pointer from integer of different size
pe_image.c:698: warning: cast to pointer from integer of different size
pe_image.c: In function ‘PE_UnloadLibrary’:
pe_image.c:878: warning: cast to pointer from integer of different size
pe_image.c: In function ‘PE_InitDLL’:
pe_image.c:923: warning: cast to pointer from integer of different size
pe_image.c:923: warning: cast to pointer from integer of different size
pe_image.c:924: warning: cast to pointer from integer of different size
pe_image.c:924: warning: cast to pointer from integer of different size
pe_image.c:929: warning: cast to pointer from integer of different size
pe_image.c:929: warning: cast to pointer from integer of different size
pe_image.c:929: warning: cast to pointer from integer of different size
make: *** Error 1
make: Leaving directory `/root/Desktop/tmp/MPlayer-1.0pre8/loader'
make: *** Error 2
linux-locus:~/Desktop/tmp/MPlayer-1.0pre8 #

我贴上我装时出现我代码,请问出了什么问题,我没有装上,我的系统是x86_64,装的是suse10.1,kde桌面系统,装这个出现了这个问是,我以前在gnome下好像还成功过,现在又不知为什么不行了,各位请帮帮忙忙.谢谢了!

jiangtao9999 发表于 2006-8-8 21:09:49


*** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

locus_net 发表于 2006-8-12 16:43:24

什么意思啊,上楼的能说明白一点么,谢谢了

jiangtao9999 发表于 2006-8-12 19:48:17


--disable-gcc-checking

这个参数会导致潜在的编译错误或者程序运行失败,所以如果你加入了这个参数,那么你不要汇报任何错误。
页: [1]
查看完整版本: 安装mplayer出现的问题