Sorry, I jumped to the assumption you were using the OpenSolaris binary distribution. I didn't notice that you were building for sparc.
I tried using SS11 with all the latest patches, on a build 96 machine. My hello world program seems to work ok without getting that error. A quick look at the source seems like a missing /usr/lib/values-xpg6.o should be the only thing that causes that error. You could check it via "truss -f cc ..." and see what happens when that files is stat'ed. There are more Sun Studio experts hanging out on the Sun Studio support forum here: http://forums.sun.com/forum.jspa?forumID=849 --chris Neale Ferguson wrote: > I have seen a few references to building OpenSolaris with various levels of > Sun Studio but none that seem to match my symptoms... > > What level of Sun Studio should I be using for the current OpenSolaris build > (I'm running on build 95). The OpenSolaris.org site says Sun Studio 11 + some > fixes. However, tools/ctf has xc99=%all and the build complains with: > > /opt/SUNWspro/bin/cc -D__s390 -xO3 -xarch=v8 -Wc,-Qassembler-ounrefsym=0 -Xa > -xildoff -e > rrtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT > -erroff=E_STATEMENT_NOT_REACHED > -xc99=%all -W0,-xglobalstatic -v -xdebugformat=stabs -D_TS_ERRNO > -I../../common -I/export/ > home/tide/OpenSolaris/sirius/onnv-gate/usr/src -I/usr/include > -I/export/home/tide/OpenSola > ris/sirius/onnv-gate/usr/src/uts/common -D_REENTRANT -c ../alist.c > cc: -xc99=lib is not available on SunOS 5.11 > > Am I missing a patch or two? > > Neale > -- > This message posted from opensolaris.org > _______________________________________________ > tools-compilers mailing list > tools-compilers at opensolaris.org
