[R] R-0.65.0 on mips-sgi-irix6.5: Error code 1 (bu21)

Diego Kuonen Diego.Kuonen at epfl.ch
Tue Sep 7 20:30:09 CEST 1999

Dear all,

I want to install R-0.65.0 on mips-sgi-irix6.5 (SGI IRIX 6.5 IP32),
but it doesn't work !!!

I run the following configure call:

<146>: ./configure --prefix=/usr/people40c/kuonen/Software/bin


R is now configured for mips-sgi-irix6.5

  Source directory:         .
  Installation directory:   /usr/people40c/kuonen/Software/bin
  C compiler:               gcc  -g -O2
  FORTRAN compiler:         f77
  Gnome support:            no

Ok, then I simply type

<147>:R-0.65.0: make
        gcc -I. -I../include -I../../src/include  -DHAVE_CONFIG_H  -g -O2 -c S_compat.c -o S_compat.o
In file included from ../include/S.h:47,
                 from ../include/S_compat.h:28,
                 from S_compat.c:28:
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:681: conflicting types for `srandom'
/usr/include/stdlib.h:234: previous declaration of `srandom'
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:682: conflicting types for `initstate'
/usr/include/stdlib.h:226: previous declaration of `initstate'
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:683: conflicting types for `setstate'
/usr/include/stdlib.h:233: previous declaration of `setstate'
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

I know that these errors mean that the functions srandom and *state are being
declared twice with different types; giving me  the relevant files and line

But, as I am not root on the machine, I'm unable to change the system files, but
I tried to change the header files in


in order to comment lines where "math.h" occurred (as the declaration in
/usr/include/stdlib.h may be sufficient), but each time re-running
"make", it produced the same error messages...  May there be a possibility
to use "make" without rebuilding the header files in


, or is there a simpler solution to my problem? Maybe just an argument to
be passed to gcc?

I appreciate your help!

Have a great day,


P.S.: using "egcs" instead of the "normal gcc" did produce the same...

Diego Kuonen, DMA-Ecublens, EPFL, 1015 Lausanne, Switzerland

Diego.Kuonen at epfl.ch                        Diego at Kuonen.com

"You have to live on the
edge of reality - to
make your dreams
come true!"                              Powered by Linux...

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