Re: [LAD] building the new Guitarix LV2 Amp

From: David Robillard <d@email-addr-hidden>
Date: Thu Dec 13 2012 - 05:15:56 EET

On Wed, 2012-12-12 at 21:34 +0000, Chris Cannam wrote:
> On 11 December 2012 16:31, David Robillard <d@email-addr-hidden> wrote:
> > Looks like you are building against a static library. Since you are building
> > a shared module, pedantically you can't do this
>
> A static library is just a pile of object files. Of course you can
> build a shared object against them. The problem is just that the
> objects in this particular static library were built without PIC.

Well, yes, "pedantically" was not quite the right word. It is more of a
sweeping generalization.

If you're building them yourself, ensure they're PIC, and it will work,
but it's reasonable to expect static libraries from elsewhere to be
non-PIC, particularly things that aim to be small since PIC code is
larger.

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Received on Thu Dec 13 08:15:02 2012

This archive was generated by hypermail 2.1.8 : Thu Dec 13 2012 - 08:15:02 EET