[MPlayer-cygwin] [BUGREPORT] svn 21886: gettimeofday undefined on MingW

John Brown johnbrown105 at hotmail.com
Fri Jan 12 21:58:26 CET 2007


Hello all,

svn does not compile because a couple of files call gettimeofday(), which I 
do not have on MingW.


gcc  -o mplayer.exe mplayer.o m_property.o mp_msg.o asxpar                 
ser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o 
m_struct.o                  parser-cfg.o playtree.o playtreeparser.o 
spudec.o sub_cc.o subreader.o vobsub.o                  unrarlib.o mixer.o 
parser-mpcmd.o subopt-helper.o osdep/mplayer-rc.o libvo/libvo                
  .a libao2/libao2.a input/libinput.a vidix/libvidix.a Gui/libgui.a 
libmpcodecs/li                 bmpcodecs.a libaf/libaf.a 
libmpdemux/libmpdemux.a stream/stream.a libswscale/lib                 
swscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a 
libav                 util/libavutil.a libpostproc/libpostproc.a 
loader/libloader.a mp3lib/libMP3.a li                 ba52/liba52.a 
libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a lib           
       dvdcss/libdvdcss.a osdep/libosdep.a -lopengl32 -lgdi32 -lwinmm 
-lgdi32 -lx264 -l                 comdlg32 -lcomctl32 -lshell32 -lkernel32 
-lgdi32 -lwinmm -lpng -lz -L/mingw/lib                  -ldvdnav 
libdvdcss/libdvdcss.a -lz -ladvapi32 -lole32 -lxvidcore -lm -lws2_32         
             -static -lm
libao2/libao2.a(ao_null.o)(.text+0x1e): In function `drain':
c:/mplayer/libao2/ao_null.c:28: undefined reference to `gettimeofday'
libao2/libao2.a(ao_null.o)(.text+0x110): In function `init':
c:/mplayer/libao2/ao_null.c:62: undefined reference to `gettimeofday'
libao2/libao2.a(ao_null.o)(.text+0x13b):c:/mplayer/libao2/ao_null.c:62: 
undefine                 d reference to `gettimeofday'
libmpcodecs/libmpcodecs.a(vf_filmdint.o)(.text+0x3b08): In function 
`put_image':
c:/mplayer/libmpcodecs/vf_filmdint.c:932: undefined reference to 
`gettimeofday'
libmpcodecs/libmpcodecs.a(vf_filmdint.o)(.text+0x3be1):c:/mplayer/libmpcodecs/vf 
                 _filmdint.c:932: undefined reference to `gettimeofday'
libmpcodecs/libmpcodecs.a(vf_filmdint.o)(.text+0x44c4):c:/mplayer/libmpcodecs/vf 
                 _filmdint.c:932: more undefined references to 
`gettimeofday' follow
collect2: ld returned 1 exit status
make: *** [mplayer.exe] Error 1

_________________________________________________________________
Your Hotmail address already works to sign into Windows Live Messenger! Get 
it now 
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview




More information about the MPlayer-cygwin mailing list