[FFmpeg-devel] libavcodec.so: undefined reference to `svq3_luma_dc_dequant_idct_c

Aurelien Jacobs aurel
Sun Jan 10 18:51:10 CET 2010


On Thu, Jan 07, 2010 at 02:28:54PM +0530, sandeep virdi wrote:
> Hello All,
> While building the FFMpeg code with configure options as:
> 
> --disable-optimizations --disable-mmx --disable-stripping
> --disable-static --enable-shared --enable-memalign-hack
> --disable-encoders --disable-decoders --enable-decoder=h264
> --disable-devices --disable-filters --disable-protocols
> --enable-protocol=file --disable-muxers --enable-muxer=h264
> --disable-demuxers --enable-demuxer=h264 --disable-parsers
> --enable-parser=h264 --disable-doc --disable-ffplay --disable-ffserver
> --disable-network --disable-ipv6 --disable-mpegaudio-hp
> --disable-swscale-alpha
> 
> I get following two linker error as:
> "libavcodec.so: undefined reference to "svq3_luma_dc_dequant_idct_c"
> "libavcodec.so: undefined reference to `svq3_add_idct_c"

Attached patch is not very pretty but it fixes this issue.
It allows compiling h264 decoder with svq3 disabled and optimisation disabled.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_no-svq3_no-optim.diff
Type: text/x-diff
Size: 3018 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100110/343f8b5a/attachment.diff>



More information about the ffmpeg-devel mailing list