[FFmpeg-devel] link broken by revision 9082 in mingw

Tom Harper d.thomas.harper
Fri May 25 19:46:00 CEST 2007


Can't figure this one out-- happens in latest svn and backtracked it
to 9082.

Build fails in final link of avformat.dll

mp3.o:mp3.c:(.text+0xd2): undefined reference to `ff_mpa_decode_header'

mingw can't find it....  i am on the latest everything with mingw.  Worked
fine before the files were split up...

the .o is there for mpegaudio_parser, and the function is in the .def
it just doesn't make it into the imports function list of avformat for
some reason.

my current configure:

./configure \
--extra-cflags=-I/usr/local/include \
--extra-ldflags=-L/usr/local/lib \
--enable-memalign-hack \
--target-os=mingw32 \
--enable-shared \
--disable-vhook \
--disable-ffserver \
--disable-ffplay \
--disable-ipv6 \
--disable-debug \
--disable-static \
--disable-encoders \
--disable-decoders \
--disable-demuxers \
--disable-muxers \
--disable-parsers  \
--enable-libmp3lame \
--enable-libgsm \
--enable-encoder=h263 \
--enable-encoder=flv \
--enable-encoder=h263p \
--enable-encoder=h264 \
--enable-encoder=snow \
--enable-encoder=mpeg1video \
--enable-encoder=mp2 \
--enable-encoder=pcm_s16le \
--enable-encoder=pcm_s16be \
--enable-encoder=pcm_s8 \
--enable-encoder=flac \
--enable-encoder=mp3lame \
--enable-encoder=libgsm \
--enable-encoder=libgsm_ms \
--enable-encoder=png \
--enable-decoder=h263 \
--enable-decoder=flv \
--enable-decoder=h264 \
--enable-decoder=snow \
--enable-decoder=mpegvideo \
--enable-decoder=mpeg1video \
--enable-decoder=mp2 \
--enable-decoder=pcm_s16le \
--enable-decoder=pcm_s16be \
--enable-decoder=pcm_s8 \
--enable-decoder=flac \
--enable-decoder=mp3 \
--enable-decoder=png \
--enable-decoder=libgsm \
--enable-decoder=libgsm_ms \
--enable-muxer=mpeg1system \
--enable-muxer=mpeg1video \
--enable-muxer=h263 \
--enable-muxer=h264 \
--enable-muxer=mp2 \
--enable-muxer=avi \
--enable-muxer=flv \
--enable-muxer=flac \
--enable-muxer=wav \
--enable-muxer=mpegps \
--enable-muxer=pcm_s16le \
--enable-muxer=pcm_s16be \
--enable-muxer=pcm_s8 \
--enable-muxer=mp3 \
--enable-demuxer=h263 \
--enable-demuxer=h264 \
--enable-demuxer=mpegvideo \
--enable-demuxer=mpegps \
--enable-demuxer=avi \
--enable-demuxer=flac \
--enable-demuxer=wav \
--enable-demuxer=flv \
--enable-demuxer=pcm_s16le \
--enable-demuxer=pcm_s16be \
--enable-demuxer=mp3 \
--enable-demuxer=pcm_s8 \
--enable-parser=h263 \
--enable-parser=h264 \
--enable-parser=mpegaudio \
--enable-parser=mpegvideo





More information about the ffmpeg-devel mailing list