These are old compilers (2.95.3 is really old, much older than your OS).
Are they really built for Solaris 10? The underlying problem in both
cases seems to be a mismatch between your OS and your compiler, something
discussed in the R-admin manual as a problem on Solaris.
I would suggest getting a current version of gcc for Solaris 10 and using
that. (www.freesunware.com has 3.4.6, and that works for us on Solaris
8.)
On Tue, 21 Nov 2006, Denise Mauldin wrote:
>
> Hello,
>
> I'm trying to install R 2.4.0 on a SunOS 5.10 Generic_118833-24 sun4v
> sparc SUNW,Sun-Fire-T200 machine. The machine has gcc version 3.3.2 and
> gcc version 2.95.3 20010315 (release). When I try to compile using 3.3.2
> I get an error with signal.h included from dcigettext.c. When I compile
> using gcc 2.95.3 I get an error with va_copy.
>
> "Undefined symbol va_copy first referenced in file connections.o
> ld: fatal: Symbol referencing errors.
> No output written to R.bin
> collect2: ld returned 1 exit status"
>
> A friend suggested this was an error with stdarg.h and so I searched
> through the gcc2.95.3 directories and found a version of it and tried to
> include it using the -I and -L arguments to gcc, but this results in the
> same error. I've tried using both the R-2.4.0 (R-latest) and R-patched
> gzip source files.
>
> Is there any additional information that you need in order to
> help me? What steps should I take to solve this problem?
>
> Thanks,
> Denise
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595