[MPlayer-users] configure --disable-network fails on make

John Brown johnbrown105 at hotmail.com
Thu Mar 13 09:50:27 CET 2008

Alexander Bokovikov wrote:

> Hi, All,
> Just have tried to build SVN-r26226-3.4.5 using
> ./configure --enable-static --disable-network --enable-runtime-cpudetection
> and I'm getting this error when I'm running make:
> http://home.bokovikov.com/mplayer/bug/disable-network.txt
> Of course, all is going OK if I omit "--disable-network" option.
> Could anybody try to fix it?
> Thanks.

> make[1]: Entering directory `/home/Alex/main/mplayer-checkout-2008-03-12/libass'
> make[1]: Nothing to be done for `libs'.
> make[1]: Leaving directory `/home/Alex/main/mplayer-checkout-2008-03-12/libass'
> make -C osdep
> make[1]: Entering directory `/home/Alex/main/mplayer-checkout-2008-03-12/osdep'
> make[1]: Nothing to be done for `libs'.
> make[1]: Leaving directory `/home/Alex/main/mplayer-checkout-2008-03-12/osdep'
> gcc -o mplayer.exe osdep/mplayer-rc.o mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o 
> parser-mpcmd.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o
> m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o
> spudec.o sub_cc.o subopt-helper.o subreader.o vobsub.o libvo/libvo.a libao2/libao2.a 
> input/libinput.a vidix/libvidix.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
> stream/stream.a libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a 
> libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a 
> mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a
> libass/libass.a osdep/libosdep.a -lopengl32 -lgdi32 -lgdi32 -lwinmm -lgdi32 -lx264 -lmp3lame
> -lwinmm -liconv -lpng -lz -ljpeg -lungif -Lc:/mingw/lib -lfreetype -lz -ltheora -logg -ladvapi32
> -lole32 -lxvidcore -lm -lole32 -luuid    -static -lm   
> stream/stream.a(stream.o):stream.c:(.text+0x596): undefined reference to `WSAStartup at 8'
> stream/stream.a(stream.o):stream.c:(.text+0x76f): undefined reference to `WSAStartup at 8'
> stream/stream.a(stream.o):stream.c:(.text+0xd26): undefined reference to `closesocket at 4'
> stream/stream.a(stream.o):stream.c:(.text+0xd4c): undefined reference to `WSACleanup at 0'
> stream/stream.a(stream.o):stream.c:(.text+0xde6): undefined reference to `WSAStartup at 8'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1

Run 'make distclean' before running configure.
Climb to the top of the charts! Play the word scramble challenge with star power.

More information about the MPlayer-users mailing list