[FFmpeg-user] Undefined references to av_rdft_*

Philip Muzzall philipmuzzall at gmail.com
Fri Oct 5 11:11:07 CEST 2012


Has anyone else gotten this issue when trying to cross-compile for MingW?

libavfilter/libavfilter.a(avf_showspectrum.o): In function `config_output':
/home/dev/ffmpeg/source/libavfilter/avf_showspectrum.c:135: undefined
reference to `av_rdft_end'
/home/dev/ffmpeg/source/libavfilter/avf_showspectrum.c:136: undefined
reference to `av_rdft_init'
libavfilter/libavfilter.a(avf_showspectrum.o): In function
`plot_spectrum_column':
/home/dev/ffmpeg/source/libavfilter/avf_showspectrum.c:241: undefined
reference to `av_rdft_calc'
libavfilter/libavfilter.a(avf_showspectrum.o): In function `uninit':
/home/dev/ffmpeg/source/libavfilter/avf_showspectrum.c:78: undefined
reference to `av_rdft_end'

Here's my command line if you need it:

"../source/configure --prefix=/home/dev/ffmpeg/build --enable-gpl
--disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver
--disable-pthreads --disable-os2threads --disable-everything
--enable-decoder=pcm_s16le --enable-encoder=aac,libx264
--enable-muxer=flv,mp4,mkv --enable-filters --enable-indev=dshow
--enable-protocol=rtmp,pipe,file --enable-libx264
--cross-prefix=i686-w64-mingw32- --enable-cross-compile --target-os=mingw32
--extra-cflags="-I/home/dev/libx264/build/include"
--extra-ldflags="-L/home/dev/libx264/build/lib" --host-os=mingw32
--arch=x86 --enable-memalign-hack"


More information about the ffmpeg-user mailing list