[pulseaudio-discuss] Getting rid of annoying (but harmless) linking warnings
Arun Raghavan
arun.raghavan at collabora.co.uk
Sun Mar 27 21:40:01 PDT 2011
On Sun, 2011-03-27 at 11:29 +0100, Colin Guthrie wrote:
> Hiya,
>
> 'Twas brillig, and Maarten Bosmans at 26/03/11 11:28 did gyre and gimble:
> > Check whether output of
> > pkg-config --libs dbus-1
> > pkg-config --libs sndfile
> > contains any offensive parameters.
> >
> > If there is anything out of the ordinary, cat libpulsecommon-1.0.la
> > could also reveal something, as I suspect your problem has more to do
> > with libtool than with autotools.
>
> OK, this took me a while to chase down, but it turned out to be coming
> from two different places, and required fixes in three other packages on
> my system. No change in PA needed.
Thanks so much for tracking this down! It's awesome to build without all
the warning floodspam. Excellent start to week. :)
> 1. libasyncns. It's libasyncns.pc file was giving out bogus libdir
> flags. That is fixed with this patch (Lennart, please commit this to
> upstream libasyncns please!)
Lennart: don't forget to fix includedir as well, while you're at it.
> http://svnweb.mageia.org/packages/cauldron/libasyncns/current/SOURCES/libasyncns-0.8-libdir.patch?revision=77953&view=markup
>
> 2. flac (libFLAC) is a bit weird. It detects ogg support automatically,
> but if you do not pass an appropriate configure flag to it, will include
> /usr/lib in it's .la files. I applied the following patch to ensure that
> the ogg.m4 file was the same as the one provided by libogg itself
> (although strictly speaking this is not needed):
> http://svnweb.mageia.org/packages/cauldron/flac/current/SOURCES/flac-1.2.1-ogg-m4.patch?revision=77968&view=markup
>
> And then ensured the --with-ogg argument was passed to configure. By
> passing this argument, the /usr/lib path was not leaked. Go figure.
>
> 3. I rebuilt libsndfile as this pulled in the leaky libdir path from
> flac in it's libsndfile.la file.
>
>
> After all that, everything is nice and quiet :)
Pushed both of these to Gentoo as well. :)
Cheers,
Arun
More information about the pulseaudio-discuss
mailing list