[MPlayer-cygwin] Re: MPlayer-cygwin Digest, Vol 51, Issue 4
KyubIX
AdministrateurA at gmail.com
Wed Apr 11 08:56:26 CEST 2007
Enzo <v.deflorio <at> katamail.com> writes:
>
> Dear all,
>
> after a few weeks, today I svn'ed the latest release and tried to compile it
on my Win-XP laptop under cygwin.
> There seems to be an undefined reference to _open_osfhandle (see below for the
last few lines of the output
> of make). How may I solve this?
>
> Thanks in advance, greetings
>
> Enzo
>
> make[1]: Leaving directory `/home/Vincenz/trunk/osdep'
> cc -o mplayer.exe mplayer.o m_property.o mp_msg.o mixer.o parser-mpcmd.o
> subopt-helper.o command.o osdep/mplayer-rc.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 libvo/libvo.a libao2/libao2.a input/libinput.a
> libmenu/libmenu.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 mp3lib/libMP3.a
> liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
> tremor/libvorbisidec.a osdep/libosdep.a -lopengl32 -lgdi32 -lwinmm
> -lwinmm -liconv -lncurses -lpng -lz -L/usr/local/lib -static -lm
> -lstdc++ -lm /home/Vincenz/x264/libx264.a
> /home/Vincenz/live2/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
> /home/Vincenz/live2/live/UsageEnvironment/libUsageEnvironment.a
> /home/Vincenz/live2/live/groupsock/libgroupsock.a
> /usr/X11R6/lib/libX11-6.dll.a /usr/local/lib/libdvdnav.dll.a
> /usr/local/lib/xvidcore.a
> /home/Vincenz/live2/live/liveMedia/libliveMedia.a
> /usr/local/lib/libmp3lame.a -lstdc++ -lm
> stream/stream.a(stream_vcd.o):stream_vcd.c:(.text+0x590): undefined
> reference to `__open_osfhandle'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error 1
>
I have the same here with the latest SVN but I have an other undefined reference
after, here last lines of make :
make[1]: Leaving directory `/home/Kyubi/mplayer/svn/osdep'
cc -o mplayer.exe mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o
parser-mpcmd.o subopt-helper.o command.o osdep/mplayer-rc.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 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 -lmp3lame -lgdi32
/home/Kyubi/mplayer/extra/live/liveMedia/libliveMedia.a
/home/Kyubi/mplayer/extra/live/groupsock/libgroupsock.a
/home/Kyubi/mplayer/extra/live/UsageEnvironment/libUsageEnvironment.a
/home/Kyubi/mplayer/extra/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
-L/home/Kyubi/mplayer/extra -L/home/Kyubi/mplayer/extra/bin
-L/home/Kyubi/mplayer/extra/include -L/home/Kyubi/mplayer/extra/lame-3.97
-L/home/Kyubi/mplayer/extra/lib -L/home/Kyubi/mplayer/extra/live
-L/home/Kyubi/mplayer/extra/man -L/home/Kyubi/mplayer/extra/share
-L/home/Kyubi/mplayer/extra/x264 -L/home/Kyubi/mplayer/extra/xvidcore-1.1.2
-lwinmm -liconv -ltermcap -lpng -lz -ljpeg -lfreetype -lz -lz -ladvapi32
-lole32 -lstdc++ -lxvidcore -lm -static -lm
stream/stream.a(stream_vcd.o):stream_vcd.c:(.text+0x598): undefined reference to
`__open_osfhandle'
libavcodec/libavcodec.a(mpegaudiodec.o):mpegaudiodec.c:(.text+0x5a0): undefined
reference to `_llrint'
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1
I'm runing this on Windows x64 (amd X2) with Cygwin (32 although) so if you have
an idea I'll be gratefuly to know.
More information about the MPlayer-cygwin
mailing list