libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple definitions on Darwin, using convenience libs


From: Florian Schricker
Subject: Re: Multiple definitions on Darwin, using convenience libs
Date: Fri, 07 Jul 2006 11:05:13 +0200

Hi!


On Thu, 2006-07-06 at 00:51 +0900, Peter O'Gorman wrote:
> On Wed, 2006-07-05 at 17:20 +0200, Florian Schricker wrote:
> > Ok, I had some confusions there; libtool was "Darwin's libtool" - I
> > should have used glibtool like I already glibtoolize. Nonetheless I
> > installed libtool-1.5.22 locally and have it in PATH first. Plus I added
> > an include-dir to aclocal to the installed libtool.ac. Looks like
> > 
> >     aclocal -I m4 -I /Users/eyerq/local/share/libtool/libltdl
> 
> Shouldn't this be:
>       aclocal -I m4 -I /Users/eyerq/local/share/aclocal
> ?
> 
> configure GNU libtool with --program-prefix=g, then make and install.
> 
> Then, if you `env LIBTOOLIZE=glibtoolize ACLOCAL='aclocal -I m4
> -I /Users/eyerq/local/share/aclocal' autoreconf -fvi` you should be
> ready to go.

Update:
I had glibtool installed locally but still had the same error. After
more googeling I found that template definitions, or their
specialisations for a certain type, are a cause for these problems, too.
The cure is described in the C++-FAQ-lite (35.1). I had to completely
re-organise the mess^Wcode but it's now all linking fine. :-)

Thanks to Bob Friesenhahn, too; there were some suspects where the
"inline" keyword was missing, but in the end it was not the cause.


Thanks for any hints & tipps, they were really appreciated!


regards,
Florian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]