[MPlayer-cygwin] Problem about compiling MPlayer with gcc 3.2

Diego Biurrun diego at biurrun.de
Thu Nov 21 08:01:37 CET 2002


You should ./configure --disable-win32 under Cygwin.  See 
DOCS/documentation.html#cygwin.

Diego


{asm} wrote:

> Hi!
>
> I have a $SUBJECT.
>
> with gcc 3.2: (gcc 3.2-1 20020818)
> -------------
> [..]
> make[1]: Entering directory `/home/{asm}/MPlayer-0.90pre10/loader'
> gcc -I. -I.. -O4 -march=pentium2 -mcpu=pentium2 -pipe -ffast-math 
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D__CYGWIN__ -U_FILE_OFFSET_BITS   -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -DWIN32_PATH=\"/usr/lib/win32\" -DMPLAYER 
> -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf  -c win32.c
> win32.c: In function `expEnterCriticalSection':
> win32.c:1259: warning: pointer/integer type mismatch in conditional 
> expression
> win32.c:1562:2: warning: #warning FIXME
> win32.c:2577:2: warning: #warning FIXME!
> win32.c: At top level:
> win32.c:2768: parse error before "GETCLASSOBJECT"
> win32.c: In function `RegisterComClass':
> win32.c:2770: `clsid' undeclared (first use in this function)
> win32.c:2770: (Each undeclared identifier is reported only once
> win32.c:2770: for each function it appears in.)
> win32.c:2770: `gcs' undeclared (first use in this function)
> win32.c: At top level:
> win32.c:2778: parse error before "GETCLASSOBJECT"
> win32.c: In function `UnregisterComClass':
> win32.c:2782: `clsid' undeclared (first use in this function)
> win32.c:2782: `gcs' undeclared (first use in this function)
> win32.c: At top level:
> win32.c:2827: warning: `struct IUnknown' declared inside parameter list
> win32.c:2827: warning: its scope is only this definition or 
> declaration, which is probably not what you want
> win32.c:2841: warning: `struct IUnknown' declared inside parameter list
> win32.c: In function `CoCreateInstance':
> win32.c:2843: warning: passing arg 2 of `expCoCreateInstance' from 
> incompatible pointer type
> win32.c: At top level:
> win32.c:3260: warning: `expfree' was declared implicitly `extern' and 
> later `static'
> win32.c:1323: warning: previous declaration of `expfree'
> win32.c:3260: warning: type mismatch with previous implicit declaration
> win32.c:1323: warning: previous implicit declaration of `expfree'
> win32.c:3260: warning: `expfree' was previously implicitly declared to 
> return `int'
> make[1]: *** [win32.o] Error 1
> make[1]: Leaving directory `/home/{asm}/MPlayer-0.90pre10/loader'
> make: *** [loader/libloader.a] Error 2
>
> under linux: same error
>
>
> with gcc 2.95.3-5:
> ------------------
> [..]
> make[1]: Entering directory `/home/{asm}/MPlayer-0.90pre10/loader'
> gcc -I. -I.. -O4 -march=i686 -mcpu=i686 -pipe -ffast-math 
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D__CYGWIN__ -U_FILE_OFFSET_BITS   -fno-omit-frame-pointer 
> -mno-omit-leaf-frame-pointer -DWIN32_PATH=\"/usr/lib/win32\" -DMPLAYER 
> -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf  -c win32.c
> win32.c:1562: warning: #warning FIXME
> win32.c:2577: warning: #warning FIXME!
> cpp0: output pipe has been closed
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[1]: *** [win32.o] Error 1
> make[1]: Leaving directory `/home/{asm}/MPlayer-0.90pre10/loader'
> make: *** [loader/libloader.a] Error 2
>
> This makes a bad win32.o (288 byte long) :(
>
> under linux: I can compile win32.c with gcc 2.95.4, but the linker 
> can't link the objects each other
> (because the other files (for example: stdio.h) are different...I think).
>
> ---
> This was the only file (win32.c), which couldn't be compiled.
>
> I had a try installing SDL, divx4linux/divx5linux and libmp3lame.
> The output of configure + configure.log is in attachment.
> (Lame can be compiled alone, but there are errors about checking 
> libmp3lame...)
>
> Anyway, I'm so beginner in CygWin.
>
> I hope somebody can help me to solve problem.




More information about the MPlayer-cygwin mailing list