[MPlayer-dev-eng] Latest SVN doesn' compile on MinGW
Georgi Petrov
gogothebee at gmail.com
Mon Jan 26 22:50:49 CET 2009
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:353: warning: initialization discards qualifiers from
pointer target type
In file included from cfg-mplayer.h:358,
from mplayer.c:833:
cfg-common-opts.h:11: warning: initialization discards qualifiers from
pointer target type
cfg-common-opts.h:23: warning: initialization discards qualifiers from
pointer target type
cfg-common-opts.h:151: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:158: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:167: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:211: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:235: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:258: warning: initialization discards qualifiers
from pointer target type
cfg-common-opts.h:261: warning: initialization discards qualifiers
from pointer target type
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: warning: initialization discards qualifiers from
pointer target type
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]')
mplayer.c: In function `parse_cfgfiles':
mplayer.c:846: warning: implicit declaration of function `mkdir'
mplayer.c:854: warning: implicit declaration of function `open'
mplayer.c:856: warning: implicit declaration of function `write'
mplayer.c:857: warning: implicit declaration of function `close'
make: *** [mplayer.o] Error 1
Please take a look at this line:
help_mp.h:4:1: unterminated #ifndef
More information about the MPlayer-dev-eng
mailing list