[MPlayer-cygwin] Re: MPlayer-cygwin Digest, Vol 52, Issue 5

Enzo v.deflorio at katamail.com
Thu Apr 12 16:37:43 CEST 2007


I have a very dirty trick for you: just change the occurrences of llrint
to lrint (e.g., add a #define llrint lrint)
Very dirty, but it works!
Cheers
Enzo

mplayer-cygwin-request at mplayerhq.hu ha scritto:
> Send MPlayer-cygwin mailing list submissions to
> 	mplayer-cygwin at mplayerhq.hu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
> or, via email, send a message with subject or body 'help' to
> 	mplayer-cygwin-request at mplayerhq.hu
>
> You can reach the person managing the list at
> 	mplayer-cygwin-owner at mplayerhq.hu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MPlayer-cygwin digest..."
>
>
> Today's Topics:
>
>    1. Re: MPlayer-cygwin Digest, Vol 51, Issue 4 (KyubIX)
>    2. Re: Re: MPlayer-cygwin Digest, Vol 51, Issue 4 (Asonganyi D.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Apr 2007 06:56:26 +0000 (UTC)
> From: KyubIX <AdministrateurA at gmail.com>
> Subject: [MPlayer-cygwin] Re: MPlayer-cygwin Digest, Vol 51, Issue 4
> To: mplayer-cygwin at mplayerhq.hu
> Message-ID: <loom.20070411T084944-879 at post.gmane.org>
> Content-Type: text/plain; charset=us-ascii
>
> 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.
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Apr 2007 07:10:33 -0700 (PDT)
> From: "Asonganyi D." <ngunyie at yahoo.com>
> Subject: Re: [MPlayer-cygwin] Re: MPlayer-cygwin Digest, Vol 51, Issue
> 	4
> To: "Windows porting (Cygwin/MinGW)" <mplayer-cygwin at mplayerhq.hu>
> Message-ID: <511306.79124.qm at web51702.mail.re2.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> --- KyubIX <AdministrateurA at gmail.com> wrote:
>
>   
>> .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.
>>     
>
>
> Cygwin lacks llrintf(), 
>
> you may either try the patch at
> http://article.gmane.org/gmane.comp.video.ffmpeg.devel/37442
>
> OR
>
> you try to compile with  gcc-4.+
>
> AD
>
>
>
>
>        
> ____________________________________________________________________________________
> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.
> http://autos.yahoo.com/new_cars.html 
>
>
> ------------------------------
>
> _______________________________________________
> MPlayer-cygwin mailing list
> MPlayer-cygwin at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>
> End of MPlayer-cygwin Digest, Vol 52, Issue 5
> *********************************************
>
>   




More information about the MPlayer-cygwin mailing list