List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 27 2011 6:14am
Subject:Re: [PATCH] for 'can not be used when making a shared object; recompile with -fPIC' error
View as plain text  
On Oct 17, 2011, at 5:52 PM, Adrian Cornish wrote:

> I did some reading and it seems the best way to do this is with
> libtool.

I have no problem with that dependency.

> I modified configure.ac to use libtool - tested on Fedora 15 and it
> works. It correctly adds -fPIC and -DPIC to compile lines

I see that on OS X, too.

> Also fixes a lot of autoconf warning by moving the bakefile.m4 file further down

In future, it would be better if you split this up into multiple patches, one for each
actual change.  I like to have a separate checkin comment for each; this makes it easier
to assemble the ChangeLog for releases.  If you look at the commits list, you can see how
I broke it up.  The first two patches probably should have been applied in reverse order.
Thread
[PATCH] for 'can not be used when making a shared object; recompilewith -fPIC' errorAdrian Cornish14 Oct
  • Re: [PATCH] for 'can not be used when making a shared object; recompilewith -fPIC' errorWarren Young16 Oct
    • Re: [PATCH] for 'can not be used when making a shared object;recompile with -fPIC' errorAdrian Cornish18 Oct
      • Re: [PATCH] for 'can not be used when making a shared object; recompile with -fPIC' errorWarren Young27 Oct