|
Boost Testing : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-02-12 12:40:50
Roland Schwarz wrote:
> Eric Niebler wrote:
>
>> These failures are all due to an STLPort linker error:
>>
>> c_traits.obj : error LNK2001: unresolved external symbol "public: static
>> unsigned char * _STL::_Bs_G<bool>::_S_bit_count"
>> (?_S_bit_count@?$_Bs_G@_N@_STL@@2PAEA)
>>
>> This is obviously not my bug. What's the problem?
>
> You can see all of my used settings, and how I compiled the stlport at:
>
> http://engineering.meta-comm.com/boost-regression/CVS-RC_1_34_0/speedsnail-msvc-dp.html
>
> I see _STL:: . Could it be, that there is an issue with _STL:: vs. std::
> naming?
>
> Likely I need to configure something additional?
>
> If someone knows, please tell me!
I worked around the issue by putting this in my Jamfile:
<toolset>msvc,<stdlib>stlport:<define>_STLP_EXPOSE_GLOBALS_IMPLEMENTATION
That is certainly not the correct fix, but it seems to work.
-- Eric Niebler Boost Consulting www.boost-consulting.com