Boost logo

Boost-Build :

Subject: [Boost-build] Problems building boost 1.52 with Sun C++ 5.9
From: YiQing Yang (yiqing_at_[hidden])
Date: 2012-11-15 14:20:06


I tried to build boost 1.52 with Sun C++ 5.9. It failed on two libraries: context, math.

Errors for context
-----------------
common.mkdir bin.v2/libs/context/build/sun/release/address-model-64/architecture-x86/stdli
b-sun-stlport/threading-multi/asm Jamfile /boost_1_52_0/libs/context/build>.gas bin.v2/libs/context/build/sun/r
elease/address-model-64/architecture-x86/stdlib-sun-stlport/threading-multi/asm/make_x86_6
4_sysv_elf_gas.o
Assembler:
        "libs/context/src/asm/make_x86_64_sysv_elf_gas.S", line 2 : Illegal mnemonic
        Near line: " Copyright Oliver Kowalke 2009."
        "libs/context/src/asm/make_x86_64_sysv_elf_gas.S", line 2 : Syntax error

Errors for math
------------------
"./boost/math/constants/constants.hpp", line 133: Error: Operand expected instead of ",".
"./boost/math/constants/constants.hpp", line 156: Error: Operand expected instead of ",".
"./boost/math/constants/calculate_constants.hpp", line 17: Error: Unexpected ")" -- Check
for matching parenthesis.
"./boost/math/constants/calculate_constants.hpp", line 18: Error: Operand expected instead
of "{".
...

Does anyone know if boost 1.52 can be built with Sun C++ 5.9? Has anyone seen those errors and knows how to fix them?

Thanks.



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk