求助:编译mplayer出错
两个解码包都已经解压放到/usr/lib下相应目录然后配置安装信息
#./configure --enable-gui --enable-largefiles --enable-menu --enable-freetype
--enable-inet6 ---prefix=/usr --codecsdir=/usr/lib/codecs/ --win32codecsdir=/u
sr/lib/wincodecs/ --confdir=/etc/mplayer
通过后执行:
#make
....
....
/usr/include/netinet/in.h:259: parse error before '(' token
/usr/include/netinet/in.h:259: parse error before "__u32"
/usr/include/netinet/in.h:260: parse error before '(' token
/usr/include/netinet/in.h:260: parse error before "__u16"
/usr/include/netinet/in.h:262: parse error before '(' token
/usr/include/netinet/in.h:262: parse error before "__u32"
/usr/include/netinet/in.h:264: parse error before '(' token
/usr/include/netinet/in.h:264: parse error before "__u16"
stream_dvd.c:42: warning: redundant redeclaration of `dvd_title' in same scope
stream.h:301: warning: previous declaration of `dvd_title'
stream_dvd.c:43: warning: redundant redeclaration of `dvd_chapter' in same
scope
stream.h:302: warning: previous declaration of `dvd_chapter'
stream_dvd.c:44: warning: redundant redeclaration of `dvd_last_chapter' in
same scope
stream.h:303: warning: previous declaration of `dvd_last_chapter'
stream_dvd.c: In function `dvd_parse_chapter_range':
stream_dvd.c:172: warning: passing arg 2 of `strtol' from incompatible pointer
type
make[1]: *** [stream_dvd.o] Error 1
make[1]: Leaving directory `/home/lf/mplayer-1.0rc2/stream'
make: *** [stream/stream.a] Error 2
出现上面的错误
我是在red hat linux 9里安装出现的错误,请高手指点,谢谢