LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1189|回复: 8

FC6安装mplayer时在configure之后的问题!在线等!急急。。

[复制链接]
发表于 2007-5-20 12:38:03 | 显示全部楼层 |阅读模式
如题:在进行编译成功之后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
求助高手帮忙!
 楼主| 发表于 2007-5-20 18:37:57 | 显示全部楼层
都是过客,没人高手来指点一下么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-21 22:41:47 | 显示全部楼层
高手们给点建议哦!!
都要沉到底了!
回复 支持 反对

使用道具 举报

发表于 2007-5-21 22:57:25 | 显示全部楼层
升级 glibc 后再试试。
回复 支持 反对

使用道具 举报

发表于 2007-5-22 01:31:39 | 显示全部楼层
pre7? 换rc1试试.
回复 支持 反对

使用道具 举报

发表于 2007-5-22 09:20:15 | 显示全部楼层
用YUM图形安装
回复 支持 反对

使用道具 举报

发表于 2007-5-22 11:18:19 | 显示全部楼层
Check configure.log if you wonder why an autodetection failed
/usr/include/bits/stdio.h:103: error: previous definition of 'getline' was here
回复 支持 反对

使用道具 举报

发表于 2007-5-22 12:58:53 | 显示全部楼层
用root装.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-22 18:58:31 | 显示全部楼层
这两天一直在上课,没有时间搞了,
我还是个菜鸟麻烦大家说的详细点哈!
还有用yum安装的时候在添加源的时候就不成功,可能是因为我的是教育网的缘故吧!
谢谢大家了我会尝试着去试试!
再次希望高手们能给小弟一些具体点的建议!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表