[R] Compiling R on Sunos

faulkner@eco.utexas.edu faulkner at eco.utexas.edu
Wed Feb 24 16:24:19 CET 1999


I'm looking for some help in getting R to compile on Sunos.  We run a
collection of Sunos and Solaris machines in the department here.  I got
to compile on Solaris 2.5.1 using gcc 2.7.2.2.  On my Sunos 4.1.3 (and
I've tried it on Sunos 4.1.4 as well) machines, it crashes during the
compile.  I'm using gcc 2.8.1 on there.  It gets to this point:

gcc -g -O2 -I../include -I../../src/include  -c bessel_y.c -o bessel_y.o
gcc -g -O2 -I../include -I../../src/include  -c choose.c -o choose.o
gcc -g -O2 -I../include -I../../src/include  -c snorm.c -o snorm.o
gcc -g -O2 -I../include -I../../src/include  -c sunif.c -o sunif.o
sunif.c: In function `unif_rand':
sunif.c:131: `RAND_MAX' undeclared (first use in this function)
sunif.c:131: (Each undeclared identifier is reported only once
sunif.c:131: for each function it appears in.)
sunif.c: In function `Randomize':
sunif.c:213: `NULL' undeclared (first use in this function)
make[2]: *** [sunif.o] Error 1
make[2]: Leaving directory
`/usr/export/home/fac2/faulkner/R-0.63.2/src/nmath'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/usr/export/home/fac2/faulkner/R-0.63.2/src'
make: *** [R] Error 1


Anyone have any hints on this?  Its particularly wanted on Sunos by a
professor here.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=      
=-          Wendy Faulkner             =-  Def:  Skydiver - a person who 
=-      faulkner at eco.utexas.edu        =-  plays chicken with the earth.  
=- http://www.eco.utexas.edu/~faulkner =-  Rule #1: The earth doesn't flinch.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=     
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list