trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2017

Re: [trinity-devel] Linker error tdelibs

From: Kai Peter <kp@...>
Date: Sun, 31 Dec 2017 09:19:47 +0100
On 2017-12-30 17:21, Vincent Reher wrote:
> On Friday 29 December 2017, Kai Peter wrote:
>> On 2017-12-28 15:50, Sl�vek Banko wrote:
>> > Hi Kai,
>> >
>> > the same problem I have seen once reported - I suspect on Slackware.
>> > But I
>> > do not know how he solved it.
>> >
>> > The findAttr function is defined in htmlattrs.c, which is directly
>> > included into htmlhashes.cpp => so there is no reason to be findAttr
>> > considered as an external reference.
>> >
>> > The only thing that comes to my mind is that findAttr is defined as
>> > inline
>> > and the compiler does not perform the inlining of this function for
>> > some
>> > reason.
>> >
>> > Cheers
>> I did comment out the inline definitions and it did compile/link well.
>> Lets see if there are side effects later on.
>> 
>> Thanks
>> Kai
>> 
> 
> Kai,
> 
> I've been building TDE on Gentoo for some time.  In comparing our
> respective compiler options used to build tdelibs, I notice that I had
> compiled with "-fvisibility=hidden -fvisibility-inlines-hidden".  I
> think this *might* have something to do with your error.  Since I had
> not actually added these options to CXXFLAGS, I believe that they are
> inserted by cmake when you pass it "-DWITH_GCC_VISIBILITY=ON".
> 
> Vince

Vince, thanks for the hint. Unfortunately it doesn't work - I ran into 
other linking errors.

Thanks
Kai
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> trinity-devel-unsubscribe@...
> For additional commands, e-mail: 
> trinity-devel-help@...
> Read list messages on the web archive:
> http://trinity-devel.pearsoncomputing.net/
> Please remember not to top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting

-- 
Sent with eQmail-1.10