[Ffmpeg-devel] failed to compile the latest ffmpeg on windows

Martin Boehme boehme
Thu Aug 11 09:24:30 CEST 2005

Alex wrote:
> make[1]: Entering directory `/c/tmp/ffmpeg/libavformat'
> gcc -shared -Wl,--output-def,avformat.def -o avformat.dll utils.o
> cutils.o os_support.o allformats.o mpeg.o mpegts.o mpegtsenc.o ffm.o
> crc.o img.o img2.o raw.o rm.o avienc.o avidec.o wav.o mmf.o swf.o au.o
> gif.o mov.o mpjpeg.o dv.o yuv4mpeg.o 4xm.o flvenc.o flvdec.o movenc.o
> psxstr.o idroq.o ipmovie.o nut.o wc3movie.o mp3.o westwood.o
> segafilm.o idcin.o flic.o sierravmd.o matroska.o sol.o
> electronicarts.o nsvdec.o asf.o asf-enc.o ogg2.o oggparsevorbis.o
> oggparsetheora.o oggparseflac.o  pnm.o yuv.o png.o jpeg.o gifdec.o
> sgi.o avio.o aviobuf.o file.o  framehook.o   -lavcodec -L../libavcodec
> -lm
> utils.o(.text+0xc43): In function `compute_pkt_fields':
> c:/tmp/ffmpeg/libavformat/utils.c:755: undefined reference to `av_rescale'

This seems to be due to libavutil not being linked in when building 
shared libraries (=DLLs). The patch that Alexander Strasser sent 
yesterday should help. I expect it'll be in the CVS soon.


Martin B?hme
Inst. f. Neuro- and Bioinformatics
Ratzeburger Allee 160, D-23538 Luebeck
Phone: +49 451 500 5514
Fax:   +49 451 500 5502
boehme at inb.uni-luebeck.de

More information about the ffmpeg-devel mailing list