[R] problems compiling under solaris

Sul, Young L
Mon, 08 May 2006 20:14:29 -0000

Hi!
I've been trying to compile R with gcc version 3.4.2 on a box running
Solaris 2.6.

I keep on hitting this error during the compile:

gcc -I. -I../../src/include -I../../src/include  -I/usr/local/include
-DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c dynload.c -o dynload.o
In file included from dynload.c:33:
../../src/include/Defn.h:943: error: parse error before "mbstate_t"
make[3]: *** [dynload.o] Error 1

Has anyone else hit this kind of compile error?

TIA,
-y

	[[alternative HTML version deleted]]