|
Boost-Build : |
Subject: Re: [Boost-build] building boost lib for serialization
From: Sheth, Sonal S (ssheth_at_[hidden])
Date: 2009-06-12 12:43:37
Specifying the options in user-config.jam took care of Error 119. I still need to look in to 901 warning. - Thanks Volodya.
Now I do get following error now while linking the objects...
-------------------------------------------------------------------------------------------
...failed acc.link.dll bin.v2/libs/serialization/build/acc/release/threading-multi/libboost_serialization-mt-1_39.so.1.39.
0...
...skipped <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/serialization/build/acc/release/
threading-multi>libboost_serialization-mt-1_39.so.1.39.0...
...skipped <pstage/lib>libboost_serialization-mt-1_39.so for lack of <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0.
..
...skipped <pbin.v2/libs/serialization/build/acc/release/threading-multi>libboost_wserialization-mt-1_39.so.1.39.0 for lac
k of <pbin.v2/libs/serialization/build/acc/release/threading-multi>libboost_serialization-mt-1_39.so.1.39.0...
...skipped <pstage/lib>libboost_wserialization-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/serialization/build/acc/release
/threading-multi>libboost_wserialization-mt-1_39.so.1.39.0...
...skipped <pstage/lib>libboost_wserialization-mt-1_39.so for lack of <pstage/lib>libboost_wserialization-mt-1_39.so.1.39.
0...
...skipped <pstage/lib>libboost_serialization-mt.so for lack of <pstage/lib>libboost_serialization-mt-1_39.so.1.39.0...
...skipped <pstage/lib>libboost_wserialization-mt.so for lack of <pstage/lib>libboost_wserialization-mt-1_39.so.1.39.0...
acc.link.dll bin.v2/libs/serialization/build/acc/debug/libboost_serialization-d-1_39.so.1.39.0
/usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file bin.v2/libs/serialization/build/acc/debug/basic_archive.o
- shared library must be position independent. Use +z or +Z to recompile.
--------------------------------------------------------------------------------------------------------
...failed acc.link.dll bin.v2/libs/serialization/build/acc/debug/libboost_serialization-d-1_39.so.1.39.0...
...skipped <pbin.v2/libs/serialization/build/acc/debug>libboost_wserialization-d-1_39.so.1.39.0 for lack of <pbin.v2/libs/
serialization/build/acc/debug>libboost_serialization-d-1_39.so.1.39.0...
...failed updating 2 targets...
---------------------------------------------------------------------------------------------------------
Sonal
ssheth_at_[hidden]
-----Original Message-----
From: Vladimir Prus [mailto:ghost_at_[hidden]]
Sent: Friday, June 12, 2009 3:22 AM
To: boost-build_at_[hidden]
Cc: Sheth, Sonal S
Subject: Re: [Boost-build] building boost lib for serialization
On Wednesday 10 June 2009 Sheth, Sonal S wrote:
>
> I'm trying to build the boost lib for serialization first time on Unix platform using aCC compiler.
> I'm getting following error. (I'm also attaching the complete build.log file)
>
> acc.compile.c++ /tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/
> basic_archive.o
> aCC: warning 901: unknown option: `-3': use +help for online documentation.
> Error 119: "./boost/config/compiler/hp_acc.hpp", line 84 # #error "Compiler option '+hpxstd98' is r
> equired for proper support"
> # error "Compiler option '+hpxstd98' is required for proper suppor
>
> As per Error 119, I think I need to add some options like
> CFLAGS = +inst_implicit_include +W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED
>
> What options are needed to compile and where?
Sheth,
I have already replied to this question in:
http://permalink.gmane.org/gmane.comp.lib.boost.build/20944
Did you act on recommendations therein?
- Volodya
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