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)
errors.c:138: (Each undeclared identifier is reported only once
errors.c:138: for each function it appears in.)
errors.c: In function `Rf_warningcall':
errors.c:176: `__builtin_va_alist' undeclared (first use in this
function)
errors.c: In function `Rf_errorcall':
errors.c:286: `__builtin_va_alist' undeclared (first use in this
function)
errors.c: In function `Rf_error':
errors.c:311: `__builtin_va_alist' undeclared (first use in this
function)
errors.c: In function `Rf_ErrorMessage':
errors.c:529: `__builtin_va_alist' undeclared (first use in this
function)
errors.c: In function `Rf_WarningMessage':
errors.c:562: `__builtin_va_alist' undeclared (first use in this
function)
*** Error code 1
make: Fatal error: Command failed for target `errors.o'
Current working directory /export/home/yuelin/R-1.1.0/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /export/home/yuelin/R-1.1.0/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /export/home/yuelin/R-1.1.0/src
*** Error code 1
make: Fatal error: Command failed for target `R'
-----------
My CPPFLAGS and LIBS variables are as follows:
CPPFLAGS="-I/usr/include -I/usr/openwin/share/include/X11
-I/usr/ucbinclude -I/opt/Summertime_98.sparc/include
-I/opt/Summertime_98.sparc/include/readline
-I/opt/Summertime_98.sparc/include/g++
-I/opt/Summertime_98.sparc/include/gtk
-I /opt/Summertime_98.sparc/include/gck -I/usr/include/sys"
LIBS="-L/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib
-L/usr/share/lib/usr/dt/lib -L/usr/ccs/lib -L/usr/xpg4/lib
-L/usr/proc/lib -L/opt/Summertime_98.sparc/Perl/lib
-L/opt/Summertime_98.sparc/lib"
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yuelin Li, Ph.D. (215) 590-6895 (office)
(215) 590-2378 (fax)
Research Assistant Professor 3535 Market St. Suite 1029
Outcomes Research Center
Dept. of Anesthesiology Children's Hospital of
The School of Medicine Philadelphia
University of Pennsylvania Philadelphia, PA 19104
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._