|
Boost : |
Subject: Re: [boost] sun toolset buggy and outdated?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-27 01:44:34
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>?
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk