Has anybody here been successful in compiling boinc for Solaris 10

Using the standard gcc / gmake installed i get the following:

gmake[2]: Entering directory `/tank/downloads/seti/boinc/api'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api
-I../db -I../client -I../tools -I../sched -I/usr/sfw/include/mysql
-xstrconst -mt -D_REENTRANT -pthreads -I/opt/sfw/include -fPIC -DPIC
-I../lib -I../api -I../db -I../client -I../tools -I../sched
-I/usr/sfw/include/mysql -xstrconst -mt -D_REENTRANT -pthreads -g -O2
-I/usr/sfw/include -I/usr/sfw/include/openssl -D_REENTRANT -pthreads
-MT boinc_api.o -MD -MP -MF ".deps/boinc_api.Tpo" -c -o boinc_api.o
boinc_api.C; \
then mv -f ".deps/boinc_api.Tpo" ".deps/boinc_api.Po"; else rm -f
".deps/boinc_api.Tpo"; exit 1; fi
g++: language strconst not recognized
g++: boinc_api.C: linker input file unused because linking not done
mv: cannot access .deps/boinc_api.Tpo
gmake[2]: *** [boinc_api.o] Error 2
gmake[2]: Leaving directory `/tank/downloads/seti/boinc/api'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tank/downloads/seti/boinc'
gmake: *** [all] Error 2