[Rd] Building R 2.4.1 on IRIX
Atro Tossavainen
atossava at cc.helsinki.fi
Thu Jan 18 10:48:42 CET 2007
Hi,
I've got the latest MIPS compilers that are C99 aware (7.4.4).
"configure" finishes with:
R is now configured for mips-sgi-irix6.5
Source directory: .
Installation directory: /afs/bi/v/@sys/apps/stats/R/2.4.1
C compiler: cc -c99 -OPT:IEEE_NaN_inf=ON -g
Fortran 77 compiler: f77 -OPT:IEEE_NaN_inf=ON -g
C++ compiler: CC -OPT:IEEE_NaN_inf=ON -g
Fortran 90/95 compiler: f90 -g
Interfaces supported: X11
External libraries: readline
Additional capabilities: PNG, JPEG, NLS
Options enabled: shared BLAS, R profiling
Recommended packages: yes
Building R 2.4.1, I stumble across the following error in
src/main/complex.c:
cc -c99 -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre -I. -I../../src/include -I../../src/include -I/afs/bi/p/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c complex.c -o complex.o
cc-1143 cc: ERROR File = /usr/include/complex.h, Line = 176
Declaration is incompatible with "double cabs(struct __cabs_s)" (declared at
line 667 of "/usr/include/math.h").
static inline double cabs (double complex z) {return __c99_cabs(z); }
^
cc-1143 cc: ERROR File = /usr/include/complex.h, Line = 178
Declaration is incompatible with "long double cabsl(struct __cabsl_s)"
(declared at line 528 of "/usr/include/math.h").
static inline long double cabsl (long double complex z) {return __c99_cabsl(z);}
^
2 errors detected in the compilation of "complex.c".
gmake[3]: *** [complex.o] Error 2
All ideas for fixing this would be welcome. I'm not subscribed to the
mailing list, so personal copies would be appreciated, but I will be
monitoring the web archives of the list to catch responses posted to
the list only.
Regards,
--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
More information about the R-devel
mailing list