[MPlayer-dev-eng] [bug] mingw mplayer+live compilation problem

Compn tempn at twmi.rr.com
Thu Feb 22 00:10:43 CET 2007


make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/d/mplayer-testclips/mplayer/osdep'
gcc -o mplayer.exe mplayer.o m_property.o mp_msg.o asxparser.o
codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o
m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o
sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o
subopt-helper.o command.o osdep/mplayer-rc.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 dvdread/libdvdread.a libdvdcss/libdvdcss.a
libass/libass.a osdep/libosdep.a -lopengl32 -lgdi32 -lwinmm -lgdi32
-lgdi32 -lwinmm -lws2_32 -liconv -lpng -lz -ljpeg -lgif
-L/usr/local/lib -L/usr/local/lib -lfreetype -lz -ldts -ladvapi32
-lole32 /usr/lib/live/liveMedia/libliveMedia.a                  /usr/lib/live/groupsock/libgroupsock.a                  /usr/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lstdc++     -lm
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0xcab3):MP3HTTPSource.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x1a1a5):HTTPSink.cpp:
undefined reference to `listen at 8'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x1a21a):HTTPSink.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x1a3fc):HTTPSink.cpp:
undefined reference to `accept at 12'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x1f1ed):uLawAudioFilter.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x28a3c):RTPInterface.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x29fca):RTCP.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2b3a7):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2b4c7):RTSPServer.cpp:
undefined reference to `listen at 8'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2b8f1):RTSPServer.cpp:
undefined reference to `accept at 12'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d304):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d31e):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d3a6):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d3c0):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d3d9):RTSPServer.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x2d3f3):RTSPServer.cpp:
more undefined references to `ntohs at 4' follow
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x37c1b):MediaSession.cpp:
undefined reference to `gethostname at 8'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x37d4f):MediaSession.cpp:
undefined reference to `gethostname at 8'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x39cc6):MediaSession.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x3cbfa):PassiveServerMediaSubsession.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x3d00a):OnDemandServerMediaSubsession.cpp:
undefined reference to `gethostname at 8'
D:/msys/1.0/lib/live/liveMedia/libliveMedia.a(.text+0x3d0f8):OnDemandServerMediaSubsession.cpp:
undefined reference to `gethostname at 8'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x245):GroupsockHelper.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x3f4):GroupsockHelper.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x502):GroupsockHelper.cpp:
undefined reference to `__WSAFDIsSet at 8'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x58f):GroupsockHelper.cpp:
undefined reference to `recvfrom at 24'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x72f):GroupsockHelper.cpp:
undefined reference to `sendto at 24'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0xb31):GroupsockHelper.cpp:
undefined reference to `getsockname at 12'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0xb4f):GroupsockHelper.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0xe65):GroupsockHelper.cpp:
undefined reference to `gethostname at 8'
D:/msys/1.0/lib/live/groupsock/libgroupsock.a(.text+0x53db):NetAddress.cpp:
undefined reference to `ntohs at 4'
D:/msys/1.0/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(.text+0x16f9):BasicTaskScheduler.cpp:
undefined reference to `__WSAFDIsSet at 8'
D:/msys/1.0/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(.text+0x1718):BasicTaskScheduler.cpp:
undefined reference to `__WSAFDIsSet at 8'
D:/msys/1.0/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(.text+0x17ae):BasicTaskScheduler.cpp:
undefined reference to `__WSAFDIsSet at 8'
D:/msys/1.0/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a(.text+0x17cd):BasicTaskScheduler.cpp:
undefined reference to `__WSAFDIsSet at 8' make: *** [mplayer.exe] Error 1


###########################
#but moving the live stuff before the -libs works.
###########################


make: *** [mplayer.exe] Error 1

Administrator at KAMA /d/mplayer-testclips/mplayer
$ gcc -o mplayer.exe mplayer.o m_property.o mp_msg.o asxparser.o
codec-cfg.o cp udetect.o edl.o find_sub.o m_config.o m_option.o
m_struct.o mpcommon.o parser-c fg.o playtree.o playtreeparser.o
spudec.o sub_cc.o subreader.o vobsub.o unrarli b.o mixer.o
parser-mpcmd.o subopt-helper.o command.o osdep/mplayer-rc.o libvo/l
ibvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a
libmpcodecs/libmpcodec s.a libaf/libaf.a libmpdemux/libmpdemux.a
stream/stream.a libswscale/libswscale .a libvo/libosd.a
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/l
ibavutil.a libpostproc/libpostproc.a loader/libloader.a mp3lib/libMP3.a
liba52/ liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
tremor/libvorbisidec.a dvdread /libdvdread.a libdvdcss/libdvdcss.a
libass/libass.a osdep/libosdep.a /usr/lib/l
ive/liveMedia/libliveMedia.a                  /usr/lib/live/groupsock/libgroups
ock.a                  /usr/lib/live/UsageEnvironment/libUsageEnvironment.a /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-lopengl32 -lgdi32 -lwinmm -lgdi32 -lgdi32 -lwinmm -lws2_32 -liconv
-lpn g -lz -ljpeg -lgif -L/usr/local/lib -L/usr/local/lib -lfreetype
-lz -ldts -ladv api32 -lole32          -lstdc++     -lm   

Administrator at KAMA /d/mplayer-testclips/mplayer
$ 



More information about the MPlayer-dev-eng mailing list