Boost logo

Boost :

Subject: Re: [boost] sun toolset buggy and outdated?
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-03-27 02:16:07


On 3/27/2015 1:44 AM, Steven Watanabe wrote:
> AMDG
>
> On 03/26/2015 10:28 PM, Edward Diener wrote:
>> <snip> but as soon as it tried to link it was obviously not finding the
>> standard library, even though I had libstdc++ installed under Linux.
>>
>> I still received linking errors of:
>>
>>> sun.link
>>> ../../../bin.v2/libs/vmd/test/test_after_array_elem.test/sun-cxx11-12.4/debug/address-model-64/test_after_array_elem
>>>
>>>
>>> ../../../bin.v2/libs/vmd/test/test_after_array_elem.test/sun-cxx11-12.4/debug/address-model-64/test_after_array_elem.o:
>>>
>>> In function `__SLIP.INIT_A()':
>>> (.text+0x1b5): undefined reference to `std::ios_base::Init::Init()'
>>> <snip>
>>>
>>> "/opt/oracle/solarisstudio12.4/bin/CC" -g -m64 -KPIC -o
>>> "../../../bin.v2/libs/vmd/test/test_after_array_elem.test/sun-cxx11-12.4/debug/address-model-64/test_after_array_elem"
>>>
>>> "../../../bin.v2/libs/vmd/test/test_after_array_elem.test/sun-cxx11-12.4/debug/address-model-64/test_after_array_elem.o"
>>>
>>> -Bdynamic -lrt -Bstatic -Bdynamic
>>>
>>> ...failed sun.link
>>> ../../../bin.v2/libs/vmd/test/test_after_array_elem.test/sun-cxx11-12.4/debug/address-model-64/test_after_array_elem...
>>>
>>>
>>
>> showing it could not find the standard library shared library as far as
>> I can make out.
>>
>
> Did you set <linkflags> in addition to <cxxflags>?

No.

Do you mean <linkflags>-std=c++11 ? Or something else to tell it what
library to use ?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk