[MPlayer-cygwin] compilation issue

Thomas Plank tplank at gmx.at
Thu Jul 19 21:59:26 CEST 2007


I also have compilation problems starting with begin of July.
I use cygwin, not mingw.

make fails here:

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=pentium4 -mtune=pentium4 -pipe -ffast-math -
fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET
_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6
/include -I/usr/local/include/freetype2 -I/usr/local/include   -c -o vf_rgbtest.
o vf_rgbtest.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=pentium4 -mtune=pentium4 -pipe -ffast-math -
fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET
_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6
/include -I/usr/local/include/freetype2 -I/usr/local/include   -c -o vf_rotate.o
 vf_rotate.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=pentium4 -mtune=pentium4 -pipe -ffast-math -
fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET
_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6
/include -I/usr/local/include/freetype2 -I/usr/local/include   -c -o vf_sab.o vf
_sab.c
vf_sab.c: In function 'allocStuff':
vf_sab.c:124: warning: assignment from incompatible pointer type
vf_sab.c: In function 'config':
vf_sab.c:144: warning: 'sh' may be used uninitialized in this function
vf_sab.c:144: warning: 'sw' may be used uninitialized in this function
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=pentium4 -mtune=pentium4 -pipe -ffast-math -
fomit-frame-pointer -D__CYGWIN__ -DSYS_CYGWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET
_BITS=64 -D_LARGEFILE64_SOURCE -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6
/include -I/usr/local/include/freetype2 -I/usr/local/include   -c -o vf_scale.o
vf_scale.c
In file included from ../fmt-conversion.h:6,
                 from vf_scale.c:13:
../img_format.h:23:1: warning: "IMGFMT_IS_RGB" redefined
In file included from vf_scale.c:10:
img_format.h:45:1: warning: this is the location of the previous definition
In file included from ../fmt-conversion.h:6,
                 from vf_scale.c:13:
../img_format.h:24:1: warning: "IMGFMT_IS_BGR" redefined
In file included from vf_scale.c:10:
img_format.h:46:1: warning: this is the location of the previous definition
In file included from ../fmt-conversion.h:6,
                 from vf_scale.c:13:
../img_format.h:26:1: warning: "IMGFMT_RGB_DEPTH" redefined
In file included from vf_scale.c:10:
img_format.h:48:1: warning: this is the location of the previous definition
In file included from ../fmt-conversion.h:6,
                 from vf_scale.c:13:
../img_format.h:27:1: warning: "IMGFMT_BGR_DEPTH" redefined
In file included from vf_scale.c:10:
img_format.h:49:1: warning: this is the location of the previous definition
In file included from ../fmt-conversion.h:6,
                 from vf_scale.c:13:
../img_format.h:72: error: conflicting types for 'vo_mpegpes_t'
img_format.h:116: error: previous declaration of 'vo_mpegpes_t' was here
../img_format.h:74: error: conflicting types for 'vo_format_name'
img_format.h:118: error: previous declaration of 'vo_format_name' was here
vf_scale.c: In function 'scale':
vf_scale.c:344: warning: 'sws_scale_ordered' is deprecated (declared at ../libsw
scale/swscale.h:111)
vf_scale.c:349: warning: 'sws_scale_ordered' is deprecated (declared at ../libsw
scale/swscale.h:111)
vf_scale.c:351: warning: 'sws_scale_ordered' is deprecated (declared at ../libsw
scale/swscale.h:111)
vf_scale.c:359:92: warning: trigraph ??) ignored, use -trigraphs to enable
make[1]: *** [vf_scale.o] Error 1
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

I waited because sometimes compile errors disappear with later svn
commits.
Any issues?

Thanks in advance.
-- 
mfg Thomas



More information about the MPlayer-cygwin mailing list