Subject: Re: [boost] [Signals] Build problem on Linux / ARM with GCC 3.4.4
From: Tobias Oberstein (tobias.oberstein_at_[hidden])
Date: 2008-09-22 06:40:10
I fixed the problem by patching
=> inlined the templated function make_clone manually into the single
call location, which is in class clone_impl.
I'll attach the patch, don't know if it makes it through the list.
Also: the problem was not at all Boost.Signal related .. some other libs
didn't build either.
Emil: thx for pointing me to the problematic file ..
Emil Dotchevski schrieb:
> On Sat, Sep 20, 2008 at 2:20 PM, Tobias Oberstein
> <tobias.oberstein_at_[hidden]> wrote:
>> I'm trying to build Boost.Signals on a Debian-based (Nokia Maemo OS2008
>> Diablo) system which is using GCC 3.4.4 toolchain (CodeSourcery ARM
>> Problem is when linking, I get duplicate symbol
> I don't have easy access to GCC 3.4.4 but, as far as I can tell from
> the log, I have no clue why you're getting this error.
> boost::exception_detail::make_clone is defined in
> boost/exception/enable_current_exception.hpp, line 123. It is a
> function template _and_ is marked as inline. Either of these facts
> should prevent any multiple-definition errors. Right?
ACK. Something weird is happening here ..
> I will try to take a more careful look later today.
> Emil Dotchevski
> Reverge Studios, Inc.
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk