[FFmpeg-devel] [PATCH]Fix compilation with frei0r and --disable-ffserver

Stefano Sabatini stefasab at gmail.com
Fri Jan 27 12:57:35 CET 2012


On date Thursday 2012-01-26 23:25:31 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> 
> > > > Also check the attached patch.
> > > 
> > > Works fine for me, but it adds -ldl for --disable-ffserver
> > 
> > Which shouldn't be a problem, since -ldl seems required by dlopen
> > which is used in frei0r, also the check in my patch is more generic,
> > so it won't require to add another ldl extralibs line anytime you add
> > a component which depends on dlopen.
> 
> > The only problem is that with the patch -ldl is added everytime dlopen
> > requires it, even if dlopen is never used.
> 
> That is what I meant above.
> 
> > The alternative solution suggested by Michael would be to use
> > frei0r_filter_extralibs="$ldl"
> 
> This does not work here, i.e. I still see the compilation failure for
> ./configure --enable-frei0r --disable-ffserver --disable-everything 
> --enable-filter=frei0r
> with
> frei0r_filter_extralibs="$ldl"
> added after
> frei0r_src_filter_deps="frei0r dlopen"

Can you show the resulting config.log?

I'd expect that $ldl should be always added to extralibs when the
dlopen() function is checked.
-- 
FFmpeg = Faithful & Foolish Mastodontic Powerful Evil Gigant


More information about the ffmpeg-devel mailing list