[parsec-users] PARSEC compilation issues on Solaris

Yungang Bao ybao at CS.Princeton.EDU
Tue Jul 3 04:34:44 EDT 2012


Hi Akshatha,

You may need to use different version of gcc on solaris. I found there are some similar problems posted by some other guys and here are their solutions:

1) "Using the version of gcc from sunfreeware.com instead of the version that comes with Solaris10"
http://support.bb4.com/archive/200507/msg00095.html

2) "The fix is to build a fresh set of gcc 'fixed' headers."
http://www.unix.com/unix-dummies-questions-answers/44572-regarding-shell-scripts-executables.html

Best Regards,
Yungang

----- Original Message -----
From: "Akshatha mulki Bhat" <fdm546 at my.utsa.edu>
To: "PARSEC Users" <parsec-users at lists.cs.princeton.edu>
Sent: Saturday, June 30, 2012 1:53:39 PM
Subject: [parsec-users] PARSEC compilation issues on Solaris


Hi PARSEC users, 


I am trying to build PARSEC on Solaris and get the following compilation error for almost all the benchmarks. I have changed the bldconf files to point to the appropriate gcc/gar paths, but not sure what this error means. Are there any workarounds or known solution for this error? 




In file included from /usr/include/sys/wait.h:24, 
from /usr/include/stdlib.h:22, 
from randfile.c:64: 
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" 
/usr/include/sys/siginfo.h:292: error: parse error before '}' token 
/usr/include/sys/siginfo.h:294: error: parse error before '}' token 
In file included from /usr/include/sys/procset.h:24, 
from /usr/include/sys/wait.h:25, 
from /usr/include/stdlib.h:22, 
from randfile.c:64: 
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t" 
In file included from /usr/include/stdlib.h:22, 
from randfile.c:64: 
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t" 
gmake[2]: *** [randfile.o] Error 1 
gmake[2]: Leaving directory `/export/home/abhat/parsec/pkgs/libs/ssl/obj/sparc-solaris.gcc/crypto/rand' 
gmake[1]: *** [subdirs] Error 1 
gmake[1]: Leaving directory `/export/home/abhat/parsec/pkgs/libs/ssl/obj/sparc-solaris.gcc/crypto' 
gmake: *** [build_crypto] Error 1 
[PARSEC] Error: 'env PATH=/usr/local/bin:/export/home/abhat/parsec/config/../bin:/usr/local/bin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/openwin/bin:/usr/sbin:/usr/ucb: /usr/sfw/bin/gmake' failed. 




Thanks 
Akshatha 
_______________________________________________
parsec-users mailing list
parsec-users at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/parsec-users


More information about the parsec-users mailing list