[MPlayer-dev-eng] Latest SVN doesn' compile on MinGW
Diego Biurrun
diego at biurrun.de
Mon Jan 26 23:06:05 CET 2009
On Mon, Jan 26, 2009 at 11:50:49PM +0200, Georgi Petrov wrote:
> svn update
> make distclean
> ./configure
> make
>
> gcc -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99
> -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
> -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I. -Ilibdvdread4
> -I/usr/local/include/freetype2 -I/usr/local/include -Ilibdvdnav -c
> -o mplayer.o mplayer.c
> In file included from mplayer.c:42:
> help_mp.h:4:1: unterminated #ifndef
> In file included from mplayer.c:833:
> cfg-mplayer.h:362: error: `help_text' undeclared here (not in a function)
> cfg-mplayer.h:362: error: initializer element is not constant
> cfg-mplayer.h:362: error: (near initialization for `mplayer_opts[303].p')
> cfg-mplayer.h:362: error: initializer element is not constant
> cfg-mplayer.h:362: error: (near initialization for `mplayer_opts[303]')
> cfg-mplayer.h:363: error: initializer element is not constant
> cfg-mplayer.h:363: error: (near initialization for `mplayer_opts[304].p')
> cfg-mplayer.h:363: error: initializer element is not constant
> cfg-mplayer.h:363: error: (near initialization for `mplayer_opts[304]')
> cfg-mplayer.h:364: error: initializer element is not constant
> cfg-mplayer.h:364: error: (near initialization for `mplayer_opts[305].p')
> cfg-mplayer.h:364: error: initializer element is not constant
> cfg-mplayer.h:364: error: (near initialization for `mplayer_opts[305]')
> cfg-mplayer.h:366: error: initializer element is not constant
> cfg-mplayer.h:366: error: (near initialization for `mplayer_opts[306]')
> cfg-mplayer.h:367: error: initializer element is not constant
> cfg-mplayer.h:367: error: (near initialization for `mplayer_opts[307]')
> make: *** [mplayer.o] Error 1
>
> Please take a look at this line:
> help_mp.h:4:1: unterminated #ifndef
Find out why this is the case, send a patch.
Diego
More information about the MPlayer-dev-eng
mailing list