[MPlayer-cygwin] [BUGREPORT] svn 21886: gettimeofday undefinedonMingW
Diego Biurrun
diego at biurrun.de
Mon Jan 15 06:48:07 CET 2007
On Mon, Jan 15, 2007 at 05:48:58AM +0100, Diego Biurrun wrote:
> On Sun, Jan 14, 2007 at 08:25:29PM -0500, John Brown wrote:
> > Diego Biurrun wrote:
> > >On Sat, Jan 13, 2007 at 04:04:33PM -0500, John Brown wrote:
> > >>OK, but after make distclean and configure, I now get:
> > >>
> > >>g++ -I../stream -I../loader -I../libavutil -I../libavcodec
> > >>-I../libavformat -I.
> > >>-I.. -Wdeclaration-after-statement -W -Wall -Wno-unused-parameter -O2
> > >>-march=pre
> > >>scott -mtune=prescott -g3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > >>-D_LARGEFI
> > >>LE64_SOURCE -I/mingw/include/ -I/mingw/include -I/mingw/include/dvdnav
> > >>-I/mingw/
> > >>include/freetype2 -I/mingw/include -I/mingw/lib/live/liveMedia/include
> > >> -I/mingw/lib/live/UsageEnvironment/include
> > >>-I/mingw/lib/live/Ba
> > >>sicUsageEnvironment/include
> > >>-I/mingw/lib/live/groupsock/include -D_
> > >>_STDC_LIMIT_MACROS -c -o demux_rtp_codec.o demux_rtp_codec.cpp
> > >>demux_rtp_codec.cpp: In function 'void
> > >>rtpCodecInitialize_video(demuxer_t*, Medi
> > >>aSubsession*, unsigned int&)':
> > >>demux_rtp_codec.cpp:97: warning: comparison between signed and unsigned
> > >>integerexpressions
> > >>demux_rtp_codec.cpp:100: error: 'INT_MAX' was not declared in this scope
> > >>demuxer.h: At global scope:
> > >>demuxer.h:275: warning: 'void* realloc_struct(void*, size_t, size_t)'
> > >>defined but not used
> > >>make[1]: *** [demux_rtp_codec.o] Error 1
> > >>make[1]: Leaving directory `/c/progra~1/multimedia/mplayer/svn/libmpdemux'
> > >>make: *** [libmpdemux/libmpdemux.a] Error 2
> > >>
> > >>I fixed this by #including <limits.h> in libmpdemux/demux_rtp_internal.h.
> > >
> > >Patch please.
> >
> > OK. I will try tomorrow, but:
> >
> > 1) I do not actually know how to make a patch
>
> Read DOCS/tech/patches.txt, but it boils down to 'svn diff'.
I just applied a patch that was sent in, the issue should be fixed.
Diego
More information about the MPlayer-cygwin
mailing list