[FFmpeg-devel] Compile error in minGW
JonY
10walls
Fri Sep 28 10:50:00 CEST 2007
OYO wrote:
> Hi all,
>
> I download the latest checkout in svn 10605. Configure as below and make
> it, but meet an error during compilation.
>
>
> ./configure --enable-memalign-hack --enable-w32threads
> --enable-extra-warnings --disable-ffserver --disable-ffplay
>
>
> ERROR MESSGAGE:
>
> gcc -L"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavformat
> -L"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavcodec
> -L"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavutil -lm
> -Wl,--warn-common
> -Wl,-rpath-link,"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavcodec
> -Wl,-rpath-link,"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavformat
> -Wl,-rpath-link,"/c/work/project/ffmpeg/ffmpeg_svn/ffmpeg"/libavutil -g
> -o ffmpeg_g.exe ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lws2_32
> c:/work/project/ffmpeg/ffmpeg_svn/ffmpeg/libavformat/libavformat.a(utils.o)(.text+0x8032):
> In function `av_gettime':
> c:/work/project/ffmpeg/ffmpeg_svn/ffmpeg/libavformat/utils.c:2586:
> undefined reference to `gettimeofday'
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g.exe] Error 1
>
>
> Anybody meet same problem by using this version? Thank you .
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
Hi,
You need to update your mingw runtime and probably your w32api to the
latest versions. 3.13 and 3.10 respectively as of writing.
More information about the ffmpeg-devel
mailing list