[R] Errors in Compiling R

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Jun 23 20:53:12 CEST 2000


Yuelin Li <yuelin at mail.med.upenn.edu> writes:

> I am having trouble compiling R-1.1.0 on a Sun Ultra 60 machine 
> running Solaris 7.  Suggestions are greatly appreciated.
>  
> I modified the CPPFLAGS and LIBS variables in the config.site file.
> As far as I can tell, I have included all the non-standard headers 
> and libraries installed on my Sun station.  My GNU stuff is installed 
> in /opt/Summertime_98.sparc/, and at the bottom of this 
> message I attach the modified CPPFLAGS and LIBS. 
> 
> I got these errors when I run make (after configure):
> 
> -----
> gcc -I. -I../../src/include -I../../src/include
> -I../../src/include/R_ext 
> [.... other -I paths omitted] -DHAVE_CONFIG_H   -g -O2 -c errors.c 
> -o errors.o
> 
> errors.c: In function `Rf_warning':
> errors.c:138: `__builtin_va_alist' undeclared (first use in this
> function)

This comes from pretty deep inside the compiler macros. One suspicion
that one gets is that you have a gcc from an earlier version of
Solaris -  that would give that general kind of trouble.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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