[R] compliation problem

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Wed Aug 4 07:52:48 CEST 1999


>>>>> Michael Gass writes:

> Problem compiling R.

> version:  0.64.2
> machine:  SGI  O2
> OS:       IRIX6.5
> CC	  cc       
> FC	  f77
> MAKE	  GNU make 3.75

> Here is part of the the output for make.

> make[2]: Leaving directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/include'
> make[2]: Entering directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/appl'
> cc -g -OPT:IEEE_NaN_inf=ON -I../include -I../../src/include  -c S_compat.c -o S_compat.o
> cc-1143 cc: ERROR File = ../include/Mathlib.h, Line = 329
>   Declaration is incompatible with "long double gammal(long double)" (declared
>           at line 819 of "/usr/include/math.h").

>   double	qgamma(double, double, double);
>         	^

> 1 error detected in the compilation of "S_compat.c".
> make[2]: *** [S_compat.o] Error 2
> make[2]: Leaving directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src/appl'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/usr/people/faculty/math/mgass/stage/R/R-0.64.2/src'
> make: *** [R] Error 1

> Any ideas/suggestions?

Can you please try the current development snapshot instead?

(Or, in src/include/Mathlib.h, try adding

#ifdef qgamma
# undef qgamma
#endif

in the `Undo SGI Madness' section.)

-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