加了参数 --enable-static 后,编译mplayer出错
发表于 : 2007-06-26 21:10
libmpcodecs/libmpcodecs.a(ad_realaud.o): In function `preinit':
ad_realaud.c:(.text+0x3b2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(network.o): In function `check4proxies':
network.c:(.text+0x193): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(tcp.o): In function `connect2Server_with_af':
tcp.c:(.text+0xd4): warning: Using 'gethostbyname2' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libaudio.a(ConnSvr.o): In function `GetAuthorization':
/build/buildd/nas-1.8/lib/audio/ConnSvr.c:1990: undefined reference to `XauDisposeAuth'
/build/buildd/nas-1.8/lib/audio/ConnSvr.c:1841: undefined reference to `XauGetBestAuthByAddr'
collect2: ld returned 1 exit status
make: *** [mplayer] 错误 1
有兄弟碰到这个问题吗?怎么解决阿,在网上也没有找到什么信息。
仅有的一些信息也好像是我说因为系统有了问题了。
ad_realaud.c:(.text+0x3b2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(network.o): In function `check4proxies':
network.c:(.text+0x193): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
stream/stream.a(tcp.o): In function `connect2Server_with_af':
tcp.c:(.text+0xd4): warning: Using 'gethostbyname2' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libaudio.a(ConnSvr.o): In function `GetAuthorization':
/build/buildd/nas-1.8/lib/audio/ConnSvr.c:1990: undefined reference to `XauDisposeAuth'
/build/buildd/nas-1.8/lib/audio/ConnSvr.c:1841: undefined reference to `XauGetBestAuthByAddr'
collect2: ld returned 1 exit status
make: *** [mplayer] 错误 1
有兄弟碰到这个问题吗?怎么解决阿,在网上也没有找到什么信息。
仅有的一些信息也好像是我说因为系统有了问题了。