[MPlayer-users] I can't compile r26138 with mingw

RVM rvm3000 at ya.com
Sat Mar 1 23:43:47 CET 2008


I can't compile r26138 in Windows using mingw. It gives this error:

$ make
gcc -I./libavcodec -I./libavformat -Wdisabled-optimization 
-Wdeclaration-after-statement -I. -I. -I./libavutil -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 -DHAVE_CONFIG_H -I/home/ricardo/directx/ 
-I/home/ricardo/live/ -Ij:/mingw/include/freetype2 -Ij:/mingw/include 
-Ij:/mingw/include   -c -o mplayer.o mplayer.c
In file included from j:/mingw/include/unistd.h:10,
                 from mplayer.c:14:
j:/mingw/include/io.h:242: warning: redundant redeclaration of 'remove'
j:/mingw/include/stdio.h:174: warning: previous declaration of 'remove' was 
here
j:/mingw/include/io.h:243: warning: redundant redeclaration of 'rename'
j:/mingw/include/stdio.h:175: warning: previous declaration of 'rename' was 
here
j:/mingw/include/io.h:252: warning: redundant redeclaration of '_unlink'
j:/mingw/include/stdio.h:182: warning: previous declaration of '_unlink' was 
here
In file included from mplayer.c:30:
j:/mingw/include/sys/stat.h:159: warning: redundant redeclaration of '_chmod'
j:/mingw/include/io.h:142: warning: previous declaration of '_chmod' was here
In file included from libmpdemux/stheader.h:5,
                 from mplayer.c:165:
libmpdemux/ms_hdr.h:14: error: conflicting types for 'WAVEFORMATEX'
j:/mingw/include/mmsystem.h:1024: error: previous declaration of 
'WAVEFORMATEX' was here
libmpdemux/ms_hdr.h:14: error: conflicting types for 'PWAVEFORMATEX'
j:/mingw/include/mmsystem.h:1024: error: previous declaration of 
'PWAVEFORMATEX' was here
libmpdemux/ms_hdr.h:14: error: conflicting types for 'LPWAVEFORMATEX'
j:/mingw/include/mmsystem.h:1024: error: previous declaration of 
'LPWAVEFORMATEX' was here
mplayer.c: In function `mpctx_get_audio_out':
mplayer.c:386: warning: return discards qualifiers from pointer target type
In file included from cfg-mplayer.h:8,
                 from mplayer.c:824:
cfg-common.h: At top level:
cfg-common.h:690: warning: redundant redeclaration of 'proc_priority'
mplayer.c:92: warning: previous definition of 'proc_priority' was here
In file included from mplayer.c:824:
cfg-mplayer.h:353: warning: initialization discards qualifiers from pointer 
target type
In file included from cfg-mplayer.h:359,
                 from mplayer.c:824:
cfg-common.h:11: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:145: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:152: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:161: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:205: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:229: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:252: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:255: warning: initialization discards qualifiers from pointer 
target type
cfg-common.h:258: warning: initialization discards qualifiers from pointer 
target type
In file included from mplayer.c:824:
cfg-mplayer.h:368: warning: initialization discards qualifiers from pointer 
target type
mplayer.c: In function `parse_cfgfiles':
mplayer.c:836: warning: implicit declaration of function `mkdir'
mplayer.c:844: warning: implicit declaration of function `open'
mplayer.c:846: warning: implicit declaration of function `write'
mplayer.c:847: warning: implicit declaration of function `close'
mplayer.c: In function `reinit_video_chain':
mplayer.c:2170: warning: passing arg 1 of `vf_open_plugin' from incompatible 
pointer type
make: *** [mplayer.o] Error 1
 
-- 
RVM



More information about the MPlayer-users mailing list