[R] Trying to build R-1.6.2 under sparc-sun-solaris2.9.

Rolf Turner rolf at math.unb.ca
Mon Mar 17 17:30:35 CET 2003


This is a follow-up to a message I posted yesterday concerning
building R-1.6.2.

After a deafening silence regarding that first message I decided
to be fool-hardy and just comment out the line that seemed to
be giving trouble in the file /usr/include/sys/stream.h.

This worked for a while, but soon another error resulted:

===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
gcc -I. -I../../../src/include -I../../../src/include  -DHAVE_CONFIG_H  -fPIC  -g -O2 -c Rsock.c -o Rsock.lo
Rsock.c: In function `R_SockConnect':
Rsock.c:378: `len' undeclared (first use in this function)
Rsock.c:378: (Each undeclared identifier is reported only once
Rsock.c:378: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `Rsock.lo'
Current working directory /tmp/Rtmp/R-1.6.2/src/modules/internet
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /tmp/Rtmp/R-1.6.2/src/modules/internet
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /tmp/Rtmp/R-1.6.2/src/modules
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /tmp/Rtmp/R-1.6.2/src
*** Error code 1
make: Fatal error: Command failed for target `R'
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===

Now this (Rsock.c) is actually dinky-di R code, but of course the
error has probably been induced by the previous error involving
``stream.h'' and possibly aggravated by my commenting out the
offending line in stream.h.

Has anyone out there a clue as to what is going on, and what
I might do to fix it?

Everlastingly grateful for any suggestions.

				cheers,

					Rolf Turner
					rolf at math.unb.ca



More information about the R-help mailing list