|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Sun Studio C++ - Problem of link with Sun Studio compilerGetting 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?
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Sun Studio C++ - Problem of link with Sun Studio compilerOn Saturday 04 July 2009 Carfield Yim wrote:
> 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? I am afraid you have trimmed this example too much. What is the Jamfiles that you use? Is XXX the actual value you use for -L option? How is rtxxipc-50 appearing in the command line? If it's defined using 'lib' target, then adding <link>shared requirement to that target will make it linked using -Bdynamic as opposed to -Bstatic. - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Sun Studio C++ - Problem of link with Sun Studio compilerFound the reason, actually we need to remove "-Bstatic" as solaris 10 doesn't support static binding...
OK to link the program in command line, but how can I do so in Jamfiles?
|
|
|
Re: Sun Studio C++ - Problem of link with Sun Studio compilerOn Tuesday 07 July 2009 Carfield Yim wrote:
> > Found the reason, actually we need to remove "-Bstatic" as solaris 10 doesn't > support static binding... > > OK to link the program in command line, but how can I do so in Jamfiles? Please read my previous reply. I cannot suggest anything without seeing what definitions you have. - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
| Free embeddable forum powered by Nabble | Forum Help |