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

Diego Biurrun diego
Sun Jan 10 20:53:54 CET 2010


On Sun, Jan 10, 2010 at 08:28:02PM +0100, Michael Niedermayer wrote:
> On Sun, Jan 10, 2010 at 06:51:10PM +0100, Aurelien Jacobs wrote:
> > 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.
> 
> i think i dont want h264.c any more messy than needed.
> Especially not for support of disabled optimizations
> That said, iam happy to see someone work on h264.c and also happy to
> see you didnt dissapear like diego said ...

May I interject that this is a recurring problem?  Since people keep
stumbling over this issue the small price in code duplication looks
worth paying to me..

Diego



More information about the ffmpeg-devel mailing list