[MPlayer-cygwin] compilation issue
Anatoli Marinov
anatoli.marinov at gmail.com
Wed Jul 18 13:28:39 CEST 2007
I still cant compile it. My config flags are:
configuration: --enable-mmx --enable-mmxext --enable-3dnow
--enable-3dnowext --enable-sse --enable-sse2
--prefix=c:/mingw/mplayer_root --enable-gui --disable-bitmap-font
--enable-largefiles --enable-static --disable-pthreads
--disable-mencoder --disable-mga --disable-xmga
gcc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=prescott -mtune=prescott -pi pe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ic:/mingw/ include/freetype2
-Ic:/mingw/include -c -o win32/preferences.o win32/preferences.c
gcc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=prescott -mtune=prescott -pi pe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ic:/mingw/ include/freetype2
-Ic:/mingw/include -c -o win32/skinload.o win32/skinload.c
gcc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=prescott -mtune=prescott -pi pe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ic:/mingw/ include/freetype2
-Ic:/mingw/include -c -o win32/widgetrender.o win32/widgetrender.c
win32/skinload.c: In function 'pngRead':
win32/skinload.c:120: error: 'FILE' undeclared (first use in this function)
win32/skinload.c:120: error: (Each undeclared identifier is reported only once
win32/skinload.c:120: error: for each function it appears in.)
win32/skinload.c:120: error: 'fp' undeclared (first use in this function)
win32/skinload.c:125: warning: implicit declaration of function 'fopen'
win32/skinload.c:128: warning: implicit declaration of function 'sprintf'
win32/skinload.c:128: warning: incompatible implicit declaration of
built-in function 'sprintf'
win32/skinload.c:136: warning: implicit declaration of function 'fclose'
win32/skinload.c:151: warning: pointer type mismatch in conditional expression
win32/skinload.c: In function 'loadfonts':
win32/skinload.c:537: error: 'FILE' undeclared (first use in this function)
win32/skinload.c:537: error: 'fp' undeclared (first use in this function)
win32/skinload.c:538: warning: ISO C90 forbids mixed declarations and code
win32/skinload.c:543: warning: incompatible implicit declaration of
built-in function 'sprintf'
win32/skinload.c:549: warning: implicit declaration of function 'feof'
win32/skinload.c:553: warning: implicit declaration of function 'fgets'
win32/skinload.c: In function 'loadskin':
win32/skinload.c:613: error: 'FILE' undeclared (first use in this function)
win32/skinload.c:613: error: 'fp' undeclared (first use in this function)
win32/skinload.c:614: warning: ISO C90 forbids mixed declarations and code
win32/skinload.c:634: warning: incompatible implicit declaration of
built-in function 'sprintf'
In file included from c:/mingw/include/fcntl.h:20,
from ../stream/network.h:10,
from ../stream/stream.h:64,
from ./interface.h:11,
from win32/widgetrender.c:28:
c:/mingw/include/io.h:233: warning: redundant redeclaration of 'remove'
c:/mingw/include/stdio.h:174: warning: previous declaration of 'remove' was here
c:/mingw/include/io.h:234: warning: redundant redeclaration of 'rename'
c:/mingw/include/stdio.h:175: warning: previous declaration of 'rename' was here
c:/mingw/include/io.h:243: warning: redundant redeclaration of '_unlink'
c:/mingw/include/stdio.h:182: warning: previous declaration of
'_unlink' was here
c:/mingw/include/io.h:292: warning: redundant redeclaration of 'unlink'
c:/mingw/include/stdio.h:187: warning: previous declaration of 'unlink' was here
In file included from c:/mingw/include/fcntl.h:20,
from ../stream/network.h:10,
from ../stream/stream.h:64,
from ./interface.h:11,
from win32/preferences.c:33:
c:/mingw/include/io.h:233: warning: redundant redeclaration of 'remove'
c:/mingw/include/stdio.h:174: warning: previous declaration of 'remove' was here
c:/mingw/include/io.h:234: warning: redundant redeclaration of 'rename'
c:/mingw/include/stdio.h:175: warning: previous declaration of 'rename' was here
c:/mingw/include/io.h:243: warning: redundant redeclaration of '_unlink'
c:/mingw/include/stdio.h:182: warning: previous declaration of
'_unlink' was here
c:/mingw/include/io.h:292: warning: redundant redeclaration of 'unlink'
c:/mingw/include/stdio.h:187: warning: previous declaration of 'unlink' was here
make[1]: *** [win32/skinload.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from win32/preferences.c:38:
win32/wincfg.h:27: warning: redundant redeclaration of 'skinName'
win32/gui.h:34: warning: previous declaration of 'skinName' was here
win32/wincfg.h:31: warning: redundant redeclaration of 'gui_save_pos'
./cfg.h:53: warning: previous declaration of 'gui_save_pos' was here
win32/wincfg.h:32: warning: redundant redeclaration of 'gui_main_pos_x'
./cfg.h:54: warning: previous declaration of 'gui_main_pos_x' was here
win32/wincfg.h:33: warning: redundant redeclaration of 'gui_main_pos_y'
./cfg.h:55: warning: previous declaration of 'gui_main_pos_y' was here
win32/wincfg.h:34: warning: redundant redeclaration of 'gui_sub_pos_x'
./cfg.h:56: warning: previous declaration of 'gui_sub_pos_x' was here
win32/wincfg.h:35: warning: redundant redeclaration of 'gui_sub_pos_y'
./cfg.h:57: warning: previous declaration of 'gui_sub_pos_y' was here
win32/wincfg.h:37: warning: redundant redeclaration of 'cfg_read'
./cfg.h:73: warning: previous declaration of 'cfg_read' was here
win32/wincfg.h:38: warning: redundant redeclaration of 'cfg_write'
./cfg.h:74: warning: previous declaration of 'cfg_write' was here
make[1]: Leaving directory `/install/mplayer/gui'
make: *** [gui/libgui.a] Error 2
ar r libvo.a aspect.o geometry.o spuenc.o video_out.o vo_mpegpes.o
vo_null.o vo_yuv4mpeg.o vo_tga.o vo_md5sum.o vo_gl.o vo_gl2.o
gl_common.o w32_common.o vo_cvidix.o vo_winvidix.o vo_jpeg.o vo_pnm.o
vo_gif89a.o vo_directx.o vosub_vidix.o
c:\mingw\bin\ar.exe: creating libvo.a
ranlib libvo.a
make[1]: Leaving directory `/install/mplayer/libvo'
and there is another issue?
Toli
More information about the MPlayer-cygwin
mailing list