[MPlayer-users] how to compile mplayer for cygwin

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jul 7 19:41:29 CEST 2011


On Thu, Jul 07, 2011 at 07:38:37PM +0200, Reimar Döffinger wrote:
> On Thu, Jul 07, 2011 at 09:01:15AM -0700, robert rowntree wrote:
> > i followed the similar topic posted on dec 19
> > 
> > my environment:
> > 
> > windows vista 64b sp2
> > cygwin
> > 
> > what i did:
> > 
> > checkout latest source from svn
> > svn update
> > cd to ./mplayer
> >  ./configure --yasm=nasm
> > make
> > 
> > ======= 
> > results
> > 
> > the configure is OK
> > 
> > the make has error  on the following:
> > 
> > cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
> > -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
> > -Wmissing-prot
> > otypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
> > -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer 
> > -D_LARGEFI
> > LE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. 
> > -Iffmpeg  -fno-common  -DFF_API_MAX_STREAMS=0 -c -o stream/stream_file.o 
> > stream/stream_
> > file.c
> > stream/stream_file.c: In function `open_f':
> > stream/stream_file.c:155: error: implicit declaration of function `setmode'
> > stream/stream_file.c:155: warning: redundant redeclaration of 'setmode'
> > stream/stream_file.c:155: warning: previous implicit declaration of 'setmode' 
> > was here
> > make: *** [stream/stream_file.o] Error 1
> 
> Try updating to r33847, it should be fixed.

(Note that you might want to install mingw-w64 and configure with
something like
--cc=i686-w64-mingw32-gcc --target=athlon64-mingw32 -yasm=nasm
instead to get rid of the dependency on cygwin for the binary)


More information about the MPlayer-users mailing list