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

Ivan Wong email
Wed Aug 10 17:45:00 CEST 2005


Hi,

May I suggest you to try this patch that I have posted previously.

Rgrds,
Ivan.

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'
> utils.o(.text+0x1d48): In function `av_seek_frame_binary':
> c:/tmp/ffmpeg/libavformat/utils.c:1052: undefined reference to `av_rescale'
> utils.o(.text+0x2286):c:/tmp/ffmpeg/libavformat/utils.c:1294:
> undefined reference to `av_rescale'
> utils.o(.text+0x273f): In function `av_seek_frame':
> c:/tmp/ffmpeg/libavformat/utils.c:1431: undefined reference to `av_rescale'
> utils.o(.text+0x2867):c:/tmp/ffmpeg/libavformat/utils.c:1052:
> undefined reference to `av_rescale'
> utils.o(.text+0x30f4): In function `av_find_stream_info':
> c:/tmp/ffmpeg/libavformat/utils.c:1931: undefined reference to `av_rescale_q'
> utils.o(.text+0x33d9):c:/tmp/ffmpeg/libavformat/utils.c:1957:
> undefined reference to `av_reduce'
> utils.o(.text+0x3439):c:/tmp/ffmpeg/libavformat/utils.c:1958:
> undefined reference to `av_reduce'
> utils.o(.text+0x362f):c:/tmp/ffmpeg/libavformat/utils.c:1553:
> undefined reference to `av_rescale'
> utils.o(.text+0x3706):c:/tmp/ffmpeg/libavformat/utils.c:1487:
> undefined reference to `av_rescale_q'
> utils.o(.text+0x37a3):c:/tmp/ffmpeg/libavformat/utils.c:1892:
> undefined reference to `av_rescale'
> utils.o(.text+0x39d4):c:/tmp/ffmpeg/libavformat/utils.c:1487:
> undefined reference to `av_rescale_q'
> utils.o(.text+0x3b75):c:/tmp/ffmpeg/libavformat/utils.c:1492:
> undefined reference to `av_rescale_q'
> utils.o(.text+0x3f61):c:/tmp/ffmpeg/libavformat/utils.c:1524:
> undefined reference to `av_rescale_q'
> utils.o(.text+0x3fa4):c:/tmp/ffmpeg/libavformat/utils.c:1522:
> undefined reference to `av_rescale_q'
> utils.o(.text+0x43e7):c:/tmp/ffmpeg/libavformat/utils.c:1522:
> undefined reference to `av_rescale_q'
> 
> 
> On 8/10/05, Martin Boehme <boehme at inb.uni-luebeck.de> wrote:
> 
>>Alex wrote:
>>
>>>./configure --enable-shared --enable-memalign-hack
>>>make
>>
>>So... what happened? What was the error message?
>>
>>Martin
>>
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 

-- 
Ivan, Wong Yat Cheung  <email at ivanwong.info>
GPG: 1024D/7775FDBB: CE88 DBE0 5AF3 D4AC 91F5  6C0E 2C84 B2AD 7775 FDBB
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050810/76e0dee9/attachment.txt>



More information about the ffmpeg-devel mailing list