[R] Compiling R on Sunos

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Wed Feb 24 16:42:42 CET 1999


>>>>> faulkner  writes:

> 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

Should be fixed in the most recent r-release snapshots.

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