|
|
如题:在进行编译成功之后make是出现错误》如下:
configure结果:
[root@localhost MPlayer-1.0pre7try2]# ./configure --language=zh_CN --charset=utf8
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.1.1, ok
Checking for host cc ... cc
Checking for CPU vendor ... AuthenticAMD (15:44:2)
Checking for CPU type ... AMD Sempron(tm) Processor 2800+
Checking for GCC & CPU optimization abilities ... athlon-xp
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
。。。
。。
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer
Byte order: little-endian
Optimizing for: athlon-xp mmx mmx2 3dnow 3dnowex sse sse2 mtrr
Languages:
Messages/GUI: zh_CN
Manual pages: en
Enabled optional drivers:
Input: ftp network edl tv matroska mpdvdkit2 vcd dvb smb
Codecs: qtx libavcodec real dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) gif
Audio output: alsa esd arts oss sdl mpegpes(dvb)
Video output: xvidix cvidix sdl vesa gif89a md5sum pnm jpeg png mpegpes(dvb) opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 live.com cdda dvdread
Codecs: opendivx x264 xvid libdv amr_wb amr_nb xanim libdts libtheora toolame libmad liblzo
Audio output: sgi sun jack polyp dxr2 nas dsound win32 macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx fbdev svga caca aa ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx quartz
Audio filters: ladspa
'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)
Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
然后make后出现如下错误:
[root@localhost MPlayer-1.0pre7try2]# make
./version.sh `cc -dumpversion`
make distclean
make[1]: Entering directory `/usr/software/mplayer/MPlayer-1.0pre7try2'
rm -rf DOCS/tech/doxygen
rm -f *~ mplayer mencoder codec-cfg
rm -f *.o *.a .depend configure.log codecs.conf.h help_mp.h
make[2]: Entering directory `/usr/software/mplayer/MPlayer-1.0pre7try2/libmpdemux'
。。。。。。。
。。。。。。。
from mplayer.c:113:
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.
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o mp_msg.o mp_msg.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o cpudetect.o cpudetect.c
cc -I. -g codec-cfg.c mp_msg.c -o codec-cfg -DCODECS2HTML
./codec-cfg ./etc/codecs.conf > codecs.conf.h
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o codec-cfg.o codec-cfg.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o spudec.o spudec.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o playtree.o playtree.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o playtreeparser.o playtreeparser.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o asxparser.o asxparser.c
cc -c -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -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_GNU_SOURCE=1 -D_REENTRANT -o vobsub.o vobsub.c
vobsub.c:231: error: conflicting types for 'getline'
/usr/include/bits/stdio.h:103: error: previous definition of 'getline' was here
make: *** [vobsub.o] 错误 1
求助高手帮忙! |
|