Unix Technical Forum

Compiling SETI boinc on Solaris 10

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:44 AM
haydude
 
Posts: n/a
Default Compiling SETI boinc on Solaris 10

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:44 AM
James Carlson
 
Posts: n/a
Default Re: Compiling SETI boinc on Solaris 10

"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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com