[MPlayer-users] Mingw build problem

JonY 10walls at gmail.com
Thu Aug 16 10:13:44 CEST 2007


Hi,
I am trying to build mplayer r24076 on Windows XP

gcc -D__USE_UNIX98 -D_GNU_SOURCE -I../libdvdcss -DHAVE_DVDCSS_DVDCSS_H 
-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=i486 
-mtune=generic -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-DHAVE_CONFIG_H -I/f/live -I/mingw/include/ -I/mingw/include/SDL 
-D_GNU_SOURCE=1  -I/mingw/include/freetype2 -I/mingw/include 
-I/mingw/include -I/mingw/include/dvdnav   -c -o dvd_reader.o dvd_reader.c
dvd_reader.c:205: error: static declaration of 'gettimeofday' follows 
non-static declaration
c:/mingw/include/sys/time.h:40: error: previous declaration of 
'gettimeofday' was here
make[1]: *** [dvd_reader.o] Error 1
make[1]: Leaving directory `/f/mplayer/dvdread'
make: *** [dvdread/libdvdread.a] Error 2

Which gettimeoday is supposed to be used?



More information about the MPlayer-users mailing list