This is a discussion on Compiling SETI boinc on Solaris 10 within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Hi, Has anybody here been successful in compiling boinc for Solaris 10 Sparc? Using the standard gcc / gmake ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Has anybody here been successful in compiling boinc for Solaris 10 Sparc? 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 |
| ||||
| "haydude" <haydude@alpensea.com> writes: > Has anybody here been successful in compiling boinc for Solaris 10 > Sparc? > > Using the standard gcc / gmake installed i get the following: It looks like the makefile is trying to use some Sun WorkShop C command line flags ("-xstrconst") with gcc. That's not going to work. You'll need to find out where those flags are coming from and fix them. (At a guess, it might have to do with the fact that you're trying to link with things in /usr/sfw, and those things are compiled using Sun's C. Note that Sun's C compiler is available for free.) -- James Carlson, KISS Network <james.d.carlson@sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 |