|
Boost-Build : |
Subject: [Boost-build] Sun Studio C++ - Problem of link with Sun Studio compiler
From: Carfield Yim (carfield_at_[hidden])
Date: 2009-07-04 01:03:07
Getting following error when link binary:
"CC" -g -xO5 -xarch=sparcvis2 -m32 -xchip=sparc64vi -xdepend -xmemalign=8s
-library=stlport4 -features=tmplife -features=tmplrefstatic -mt
-DBOOST_NO_SFINAE -LXXX -RYYY -o a.out zzz.o wwww.a -Bdynamic -lrtxxipc-50
-lrtipc -lrtutil -lsocket -lrt -Bstatic -lclntsh -lnsl -lthread -lrt
-lboost_thread-gcc33-mt -lrtxxipc-50 -lrtipc -lrtutil -lsocket -Bdynamic
ld: fatal: library -lrtxxipc-50: not found
ld: fatal: library -lclntsh: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lthread: not found
ld: fatal: library -lrt: not found
ld: fatal: library -lrtxxipc-50: not found
ld: fatal: library -lrtipc: not found
ld: fatal: library -lrtutil: not found
ld: fatal: library -lsocket: not found
ld: fatal: File processing errors. No output written to a.out
>From sun's forum, someone suggest to remove -Bdynamic and -Bstatic
http://forums.sun.com/thread.jspa?threadID=5395589, but how can that be done
in bjam?
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