[MPlayer-dev-eng] compile error (undefined references)
Martin Dauskardt
martin.dauskardt at gmx.de
Sun Jan 31 15:52:06 CET 2010
I am trying to compile the current mplayer SVN (r30477) on a Ubuntu 9.10
machine
I configured as follows:
./configure \
--prefix=/usr \
--disable-x11 \
--disable-xinerama \
--disable-fbdev \
--disable-vesa \
--disable-tga \
--disable-jpeg \
--disable-ftp \
--disable-network \
--enable-largefiles \
--disable-png \
--disable-smb \
--disable-gif \
--enable-v4l2 \
--enable-dhahelper \
--disable-dvdread-internal
Compiling breaks at this point:
hread -L/usr/lib -ldvdread -ldvdread -lfreetype -lz -lfontconfig -lz -lbz2 -
lmad -la52 -lpthread -ldl -rdynamic -L/usr/lib -ldvdnavmini -lpthread -lm
libavcodec/libavcodec.a(binkaudio.o): In function `decode_frame':
binkaudio.c:(.text+0x56a): undefined reference to `ff_dct_calc'
libavcodec/libavcodec.a(binkaudio.o): In function `decode_end':
binkaudio.c:(.text.unlikely+0x40): undefined reference to `ff_dct_end'
libavcodec/libavcodec.a(binkaudio.o): In function `decode_init':
binkaudio.c:(.text.unlikely+0x283): undefined reference to `ff_dct_init'
libavformat/libavformat.a(tcp.o): In function `tcp_close':
tcp.c:(.text+0x21): undefined reference to `closesocket'
libavformat/libavformat.a(tcp.o): In function `tcp_open':
tcp.c:(.text+0x47f): undefined reference to `ff_socket_nonblock'
tcp.c:(.text+0x4d1): undefined reference to `closesocket'
tcp.c:(.text+0x615): undefined reference to `closesocket'
libavformat/libavformat.a(udp.o): In function `udp_close':
udp.c:(.text+0x5a): undefined reference to `closesocket'
libavformat/libavformat.a(udp.o): In function `udp_open':
udp.c:(.text+0xa4b): undefined reference to `ff_socket_nonblock'
udp.c:(.text+0xcc7): undefined reference to `closesocket'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
A checkout from 26th December (r30113) still compiles fine.
Any idea?
More information about the MPlayer-dev-eng
mailing list