[MPlayer-users] Compiling trunk under MinGW/MSYS results in compilation error

Alex Sherwin alex.sherwin at gmail.com
Wed Sep 3 23:03:20 CEST 2008


> During make compilation, the following error occurs:
>
> gcc -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99
> -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=i486 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -I/usr/local/include/freetype2 -I/usr/local/include   -c -o
> parser-mpcmd.o parser-mpcmd.c
> gcc -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99
> -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=i486 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -I/usr/local/include/freetype2 -I/usr/local/include   -c -o command.o
> command.c
> In file included from
> C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objbase.h:73,
>                 from
> C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ole2.h:9,
>                 from
> C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:114,
>                 from
> C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock2.h:22,
>                 from stream/network.h:22,
>                 from stream/stream.h:69,
>                 from command.c:9:
> C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/objidl.h:69:
> error: syntax error before numeric constant
> make: *** [command.o] Error 1

Sorry for the sillyness, but when I checked out on Saturday, some
check-ins must have broke Win32 compilation.  An update from svn and
recompile works.

However, I am still having an issue.

I was using 1.0rc2 pre-compiled, but someone put in a DVD Title patch
that I needed.  I first compiled 1.0rc2 source with the patch applied,
which works (somewhat).  Some navigation to certain chapters, using
the +/- method, % or absolute chapter numbers doesnt work (meaning
Gone in 60 seconds has 33 chapters, none of the seek methods will seek
to any chapter > 16).

If I switch over to the 1.0rc2 pre-compiled binary, this issue does not exist.

So, I wanted to compile the trunk to see if this issue is resolved,
and it is not.  I'm wondering if some third party lib I'm using, or
not using could be causing these DVD nav issues.

What does the pre-compiled 1.0rc2 use? internal dvdnav, or external
libdvdnav?  Or is there something else that I'm not aware of that
could be causing this



-- 
Alexander Sherwin
alex.sherwin at gmail.com



More information about the MPlayer-users mailing list