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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 27 00:25:31 CET 2012


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"

Carl Eugen



More information about the ffmpeg-devel mailing list