[Andreas Krause <Andreas.Krause@genedata.com>] Re: splus shell escapes
Balasubramanian Narasimhan
naras@stat.Stanford.EDU
Fri, 05 Mar 1999 09:33:23 -0800 (PST)
>>>>> "Tony" == A J Rossini <rossini@biostat.washington.edu> writes:
Tony> Anyone know what the problem is with IRIX 6.5 ? (esp if
Tony> there is a solution?). Looks like the built-in math stuff
Tony> is masking definitions from R source.
Tony> Source directory: . Installation directory: /usr/local C
Tony> compiler: gcc -g -O2 FORTRAN compiler: f77
Tony> make make[1]: Entering directory
Tony> `/u/andreas/tmp/R/R-0.63.2/afm' make[1]: Leaving directory
Tony> `/u/andreas/tmp/R/R-0.63.2/afm' make[1]: Entering directory
Tony> `/u/andreas/tmp/R/R-0.63.2/demos' make[1]: Leaving directory
Tony> `/u/andreas/tmp/R/R-0.63.2/demos' make[1]: Entering
Tony> directory `/u/andreas/tmp/R/R-0.63.2/doc' make[1]: Leaving
Tony> directory `/u/andreas/tmp/R/R-0.63.2/doc' make[1]: Entering
Tony> directory `/u/andreas/tmp/R/R-0.63.2/etc' make[1]: Leaving
Tony> directory `/u/andreas/tmp/R/R-0.63.2/etc' make[1]: Entering
Tony> directory `/u/andreas/tmp/R/R-0.63.2/src' make[2]: Entering
Tony> directory `/u/andreas/tmp/R/R-0.63.2/src/include' make[2]:
Tony> Leaving directory `/u/andreas/tmp/R/R-0.63.2/src/include'
Tony> make[2]: Entering directory
Tony> `/u/andreas/tmp/R/R-0.63.2/src/appl' gcc -g -O2 -I../include
Tony> -I../../src/include -c fft.c -o fft.o In file included from
Tony> fft.c:21: ../include/Mathlib.h:255: conflicting types for
Tony> `gammal' /usr/include/math.h:819: previous declaration of
Tony> `gammal' make[2]: *** [fft.o] Error 1 make[2]: Leaving
Tony> directory `/u/andreas/tmp/R/R-0.63.2/src/appl' make[1]: ***
Tony> [R] Error 1 make[1]: Leaving directory
Tony> `/u/andreas/tmp/R/R-0.63.2/src' make: *** [R] Error 1
Ah! This is one I have run into.
SGI has its own version of the log-gamma in the math library that
causes a number of problems with dynamic loading including with
xlispstat. One easy way to get around this is to #ifdef the part that
defines gammal in the R includes to tide things over.
I once had an exchange with Luke about this situation on the
SGI. Which is why xls defines it log gamma function to be mygamma!
________________________________________________________________
B. Narasimhan naras@stat.stanford.edu
http://www-stat.stanford.edu/~naras
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._