[MPlayer-users] how to compile mplayer for cygwin

robert rowntree rowntreerob at yahoo.com
Thu Jul 7 21:51:37 CEST 2011


i installed into cygwin the mingw64-x86 packages

i tried the configure using :
./configure --cc=i686-w64-mingw32-gcc --target=athlon64-mingw32 --yasm=nasm

  step above OK

make failed on libdvdcss/ioctl.

---stdout from make:   Note : stdout from configure is below the make output

st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/dvd_reader.o libdvdread4/dvd_reader.c
In file included from libdvdread4/dvd_reader.c:71:
libdvdread4/md5.h:26:30: warning: "_LIBC" is not defined
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/dvd_udf.o libdvdread4/dvd_udf.c
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/ifo_print.o libdvdread4/ifo_print.c
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/ifo_read.o libdvdread4/ifo_read.c
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/md5.o libdvdread4/md5.c
In file included from libdvdread4/md5.c:28:
libdvdread4/md5.h:26:30: warning: "_LIBC" is not defined
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/nav_print.o libdvdread4/nav_print.c
gcc -MD -MP -Ilibdvdread4 -D_GNU_SOURCE -Ilibdvdcss -Wundef -Wall -Wno-switch 
-Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-function-decla
ration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 
-pipe -ffa
st-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common 
 -DFF_API_MAX_STREAMS=0 -c
 -o libdvdread4/nav_read.o libdvdread4/nav_read.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libvo/aclib.o libvo/aclib.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o av_opts.o av_opts.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libaf/af_lavcresample.o libaf/af_lav
cresample.c
libaf/af_lavcresample.c: In function `play':
libaf/af_lavcresample.c:122: warning: 'ret' might be used uninitialized in this 
function
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/
ad_ffmpeg.c
libmpcodecs/ad_ffmpeg.c: In function `decode_audio':
libmpcodecs/ad_ffmpeg.c:239: warning: `av_get_bits_per_sample_fmt' is deprecated 
(declared at ffmpeg/libavutil/samplefmt.h:68)
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/
vd_ffmpeg.c
libmpcodecs/vd_ffmpeg.c: In function `init':
libmpcodecs/vd_ffmpeg.c:433: warning: `AVPaletteControl' is deprecated (declared 
at ffmpeg/libavcodec/avcodec.h:3105)
libmpcodecs/vd_ffmpeg.c: In function `decode':
libmpcodecs/vd_ffmpeg.c:936: warning: return discards qualifiers from pointer 
target type
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_
geq.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf
_lavc.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_lavcdeint.o libmpcode
cs/vf_lavcdeint.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_p
p.c
libmpcodecs/vf_pp.c: In function `put_image':
libmpcodecs/vf_pp.c:150: warning: passing arg 1 of `pp_postprocess' from 
incompatible pointer type
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_screenshot.o libmpcod
ecs/vf_screenshot.c
libmpcodecs/vf_screenshot.c: In function `scale_image':
libmpcodecs/vf_screenshot.c:137: warning: passing arg 2 of `sws_scale' from 
incompatible pointer type
libmpcodecs/vf_screenshot.c: In function `draw_slice':
libmpcodecs/vf_screenshot.c:160: warning: passing arg 2 of `sws_scale' from 
incompatible pointer type
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpdemux/demux_lavf.o libmpdemux/d
emux_lavf.c
libmpdemux/demux_lavf.c:71: warning: `ByteIOContext' is deprecated (declared at 
ffmpeg/libavformat/avio.h:218)
libmpdemux/demux_lavf.c: In function `handle_stream':
libmpdemux/demux_lavf.c:265: warning: `AVMetadataTag' is deprecated (declared at 
ffmpeg/libavformat/avformat.h:133)
libmpdemux/demux_lavf.c:265: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
libmpdemux/demux_lavf.c:266: warning: `AVMetadataTag' is deprecated (declared at 
ffmpeg/libavformat/avformat.h:133)
libmpdemux/demux_lavf.c:266: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
libmpdemux/demux_lavf.c:461: warning: `AVMetadataTag' is deprecated (declared at 
ffmpeg/libavformat/avformat.h:133)
libmpdemux/demux_lavf.c:461: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
libmpdemux/demux_lavf.c: In function `demux_open_lavf':
libmpdemux/demux_lavf.c:489: warning: `AVMetadataTag' is deprecated (declared at 
ffmpeg/libavformat/avformat.h:133)
libmpdemux/demux_lavf.c:507: warning: `prealloced_context' is deprecated 
(declared at ffmpeg/libavformat/avformat.h:258)
libmpdemux/demux_lavf.c:533: warning: `av_alloc_put_byte' is deprecated 
(declared at ffmpeg/libavformat/avio.h:235)
libmpdemux/demux_lavf.c:536: warning: `is_streamed' is deprecated (declared at 
ffmpeg/libavformat/avio.h:68)
libmpdemux/demux_lavf.c:539: warning: `av_open_input_stream' is deprecated 
(declared at ffmpeg/libavformat/avformat.h:1080)
libmpdemux/demux_lavf.c:552: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
libmpdemux/demux_lavf.c:559: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
libmpdemux/demux_lavf.c:571: warning: `av_metadata_get' is deprecated (declared 
at ffmpeg/libavformat/avformat.h:146)
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o stream/stream_ffmpeg.o stream/stream
_ffmpeg.c
stream/stream_ffmpeg.c: In function `fill_buffer':
stream/stream_ffmpeg.c:30: warning: `url_read_complete' is deprecated (declared 
at ffmpeg/libavformat/avio.h:188)
stream/stream_ffmpeg.c: In function `write_buffer':
stream/stream_ffmpeg.c:37: warning: `url_write' is deprecated (declared at 
ffmpeg/libavformat/avio.h:189)
stream/stream_ffmpeg.c: In function `seek':
stream/stream_ffmpeg.c:44: warning: `url_seek' is deprecated (declared at 
ffmpeg/libavformat/avio.h:190)
stream/stream_ffmpeg.c: In function `control':
stream/stream_ffmpeg.c:57: warning: `url_filesize' is deprecated (declared at 
ffmpeg/libavformat/avio.h:192)
stream/stream_ffmpeg.c:66: warning: `av_url_read_seek' is deprecated (declared 
at ffmpeg/libavformat/avio.h:198)
stream/stream_ffmpeg.c: In function `close_f':
stream/stream_ffmpeg.c:76: warning: `url_close' is deprecated (declared at 
ffmpeg/libavformat/avio.h:191)
stream/stream_ffmpeg.c: In function `open_f':
stream/stream_ffmpeg.c:112: warning: `url_open' is deprecated (declared at 
ffmpeg/libavformat/avio.h:186)
stream/stream_ffmpeg.c:116: warning: `url_filesize' is deprecated (declared at 
ffmpeg/libavformat/avio.h:192)
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o sub/av_sub.o sub/av_sub.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libaf/af_lavcac3enc.o libaf/af_lavca
c3enc.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_fspp.o libmpcodecs/vf
_fspp.c
libmpcodecs/vf_fspp.c:77: warning: alignment of 'dither' is greater than maximum 
object file alignment.  Using 16
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_mcdeint.o libmpcodecs
/vf_mcdeint.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_qp.o libmpcodecs/vf_q
p.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_spp.o libmpcodecs/vf_
spp.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_uspp.o libmpcodecs/vf
_uspp.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o stream/stream_ftp.o stream/stream_ft
p.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libmpcodecs/vf_bmovl.o libmpcodecs/v
f_bmovl.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o libaf/af_export.o libaf/af_export.c
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
-Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
-Wmissing-pro
totypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 
-march=athlon64 -mtune=athlon64 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg 
 -fno-common  -DFF_API_MAX_STREAMS=0 -c -o osdep/mmap_anon.o osdep/mmap_anon.c
gcc -MD -MP -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.10\"  -Wundef -Wall 
-Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-functi
on-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 -p
ipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common  -DFF_API_MAX_STRE
AMS=0 -c -o libdvdcss/css.o libdvdcss/css.c
gcc -MD -MP -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.10\"  -Wundef -Wall 
-Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-functi
on-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 -p
ipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common  -DFF_API_MAX_STRE
AMS=0 -c -o libdvdcss/device.o libdvdcss/device.c
gcc -MD -MP -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.10\"  -Wundef -Wall 
-Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-functi
on-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 -p
ipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common  -DFF_API_MAX_STRE
AMS=0 -c -o libdvdcss/error.o libdvdcss/error.c
gcc -MD -MP -Ilibdvdcss -D_GNU_SOURCE -DVERSION=\"1.2.10\"  -Wundef -Wall 
-Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls 
-Werror-implicit-functi
on-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization 
-Wdeclaration-after-statement -std=gnu99  -O4 -march=athlon64 -mtune=athlon64 -p
ipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -fno-common  -DFF_API_MAX_STRE
AMS=0 -c -o libdvdcss/ioctl.o libdvdcss/ioctl.c
libdvdcss/ioctl.c:273:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:446:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:610:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:734:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:868:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1001:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1130:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1241:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1378:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1515:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1670:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c:1797:5: #error "DVD ioctls are unavailable on this system"
libdvdcss/ioctl.c: In function `ioctl_ReadCopyright':
libdvdcss/ioctl.c:147: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReadDiscKey':
libdvdcss/ioctl.c:284: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReadTitleKey':
libdvdcss/ioctl.c:457: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReportAgid':
libdvdcss/ioctl.c:623: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReportChallenge':
libdvdcss/ioctl.c:745: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReportASF':
libdvdcss/ioctl.c:879: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReportKey1':
libdvdcss/ioctl.c:1012: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_InvalidateAgid':
libdvdcss/ioctl.c:1141: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_SendChallenge':
libdvdcss/ioctl.c:1252: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_SendKey2':
libdvdcss/ioctl.c:1389: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_ReportRPC':
libdvdcss/ioctl.c:1526: warning: 'i_ret' might be used uninitialized in this 
function
libdvdcss/ioctl.c: In function `ioctl_SendRPC':
libdvdcss/ioctl.c:1681: warning: 'i_ret' might be used uninitialized in this 
function
make: *** [libdvdcss/ioctl.o] Error 1

----- configure stdout below


$ ./configure --cc=i686-w64-mingw32-gcc --target=athlon64-mingw32 --yasm=nasm
Current branch master is up to date.
Checking for gcc version ... 3.4.4
Checking for working compiler ... yes
Detected operating system: MINGW32
Detected host architecture: athlon64
Checking for cross compilation ... no
Checking for host cc ... gcc
Checking for CPU vendor ... GenuineIntel (6:23:6)
Checking for CPU type ...  Intel(R) Core(TM)2 Duo CPU     T9500  @ 2.60GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... athlon64
Checking for byte order ... little-endian
Checking for extern symbol prefix ... _
Checking for assembler support of -pipe option ... yes
Checking for assembler 
(/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe ) ... 
ok
Checking for PIC ... no
Checking for .align is a power of two ... no
Checking for ebx availability ... yes
Checking for yasm ... nasm
Checking for bswap ... yes
Checking for xmm clobbers ... no
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... messages: en - man pages: en - documentation: en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for exp2 ... yes
Checking for exp2f ... yes
Checking for llrint ... yes
Checking for llrintf ... yes
Checking for log2 ... yes
Checking for log2f ... yes
Checking for lrint ... yes
Checking for lrintf ... yes
Checking for round ... yes
Checking for roundf ... yes
Checking for truncf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for netdb.h, struct addrinfo ... yes
Checking for netdb.h, getaddrinfo() ... yes
Checking for sockaddr_storage ... yes
Checking for struct ipv6_mreq ... yes
Checking for struct sockaddr_in6 ... yes
Checking for struct sockaddr sa_len ... no
Checking for arpa/inet.h ... yes
Checking for inet_pton() ... yes
Checking for inet_aton() ... yes
Checking for socklen_t ... yes
Checking for closesocket() ... no
Checking for networking ... yes
Checking for inet6 ... yes
Checking for gethostbyname2 ... no
Checking for sys/poll.h ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for posix_memalign() ... yes
Checking for alloca.h ... yes
Checking for fastmemcpy ... yes
Checking for hard-coded tables ... no
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (using termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for audio select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for setmode() ... yes
Checking for sys/sysinfo.h ... no
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for /dev/mga_vid ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for wii ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for yuv4mpeg support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are 
installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for Xss screensaver extensions ... no
Checking for DPMS ... no
Checking for Xv ... auto
Checking for XvMC ... no
Checking for VDPAU ... auto
Checking for Xinerama ... auto
Checking for Xxf86vm ... auto
Checking for XF86keysym ... auto
Checking for DGA ... no
Checking for xmga ... no
Checking for 3dfx ... no
Checking for VIDIX ... yes
Checking for VIDIX PCI device name database ... yes
Checking for VIDIX dhahelper support ... no
Checking for VIDIX svgalib_helper support ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for PNG support ... no
Checking for MNG support ... no
Checking for JPEG support ... no
Checking for OpenJPEG (JPEG2000) support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for OpenGL ... yes (backends: win32)
Checking for MatrixView ... yes
Checking for Windows waveout ... yes
Checking for Direct3D ... yes
Checking for Directx ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out (pre linux-2.6.24) ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for NAS ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for Blu-ray support ... no
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (FreeType support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for bzlib ... no
Checking for RTC ... no
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for libgsm ... no
Checking for OggTheora support ... no
Checking for mp3lib support ... yes
Checking for mpg123 support ... no
Checking for liba52 support ... no
Checking for libmpeg2 support ... yes (internal)
Checking for libdca support ... no
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC support ... no (in FFmpeg: no)
Checking for FAAD2 support ... no
Checking for LADSPA plugin support ... no
Checking for libbs2b audio filter support ... no
Checking for Win32 codecs ... yes (using native windows)
Checking for XAnim codecs ... yes (dynamic loader support needed)
Checking for RealPlayer codecs ... yes (dynamic loader support needed)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for RTMPDump Streaming Media library ... no
Checking for FFmpeg ... yes
Checking for libopencore_amr narrowband ... no
Checking for libopencore_amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for CrystalHD ... no
Checking for Xvid ... no
Checking for Xvid two pass plugin ... no
Checking for x264 ... no (in FFmpeg: no)
Checking for libdirac ... no
Checking for libschroedinger ... no
Checking for libvpx ... no
Checking for libnut ... no
Checking for zr ... no
Checking for libmp3lame ... no (in FFmpeg: no)
Checking for mencoder ... yes
Checking for UnRAR executable ... no
Checking for TV interface ... yes
Checking for DirectShow TV interface ... yes
Checking for Video 4 Linux TV interface ... auto
Checking for Video 4 Linux 2 TV interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... auto
Checking for Video 4 Linux Radio interface ... auto
Checking for Video 4 Linux 2 MPEG PVR interface ... auto
Checking for ftp ... yes
Checking for vstream client ... no
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... no
Checking for linker support for --nxcompat --no-seh --dynamicbase ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for DVD support (libdvdnav) ... yes (internal)
Creating config.mak
Creating config.h

----- Original Message ----
From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
To: "MPlayer usage questions, feature requests, bug reports" 
<mplayer-users at mplayerhq.hu>
Sent: Thu, July 7, 2011 10:41:29 AM
Subject: Re: [MPlayer-users] how to compile mplayer for cygwin

On Thu, Jul 07, 2011 at 07:38:37PM +0200, Reimar Döffinger wrote:
> On Thu, Jul 07, 2011 at 09:01:15AM -0700, robert rowntree wrote:
> > i followed the similar topic posted on dec 19
> > 
> > my environment:
> > 
> > windows vista 64b sp2
> > cygwin
> > 
> > what i did:
> > 
> > checkout latest source from svn
> > svn update
> > cd to ./mplayer
> >  ./configure --yasm=nasm
> > make
> > 
> > ======= 
> > results
> > 
> > the configure is OK
> > 
> > the make has error  on the following:
> > 
> > cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith 
> > -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes 
> > -Wmissing-prot
> > otypes -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4 

> > -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer 
> > -D_LARGEFI
> > LE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. 
> > -Iffmpeg  -fno-common  -DFF_API_MAX_STREAMS=0 -c -o stream/stream_file.o 
> > stream/stream_
> > file.c
> > stream/stream_file.c: In function `open_f':
> > stream/stream_file.c:155: error: implicit declaration of function `setmode'
> > stream/stream_file.c:155: warning: redundant redeclaration of 'setmode'
> > stream/stream_file.c:155: warning: previous implicit declaration of 'setmode' 
>
> > was here
> > make: *** [stream/stream_file.o] Error 1
> 
> Try updating to r33847, it should be fixed.

(Note that you might want to install mingw-w64 and configure with
something like
--cc=i686-w64-mingw32-gcc --target=athlon64-mingw32 -yasm=nasm
instead to get rid of the dependency on cygwin for the binary)
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list