Boost logo

Boost :

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
>> 2005q3-2).
>> Problem is when linking, I get duplicate symbol
>> boost::exception_detail::make_clone<boost::exception_detail::error_info_injector<boost::bad_weak_ptr>
>>> (boost::exception_detail::error_info_injector<boost::bad_weak_ptr>
> 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:

Boost list run by bdawes at, gregod at, cpdaniel at, john at