[R] Trouble compiling R-2.10.0

zacz zkzac at stanford.edu
Fri Jan 7 22:50:31 CET 2011


Hi,

I am having trouble compiling R-2.10.0 on the Solaris x86_64 platform using
the native solaris-studio cc/F99 compilers.
I am pretty sure that I have all my environment set up for a 64-bit compile.
However, when doing a make I get the following error:

/opt/solstudio12.2/bin/cc -m64 -I./api -I. -I../../../src/include
-I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H  -KPIC  -xO3 -c
alone_decoder.c -o alone_decoder.o
"sysdefs.h", line 126: invalid type combination
"sysdefs.h", line 126: warning: useless declaration
"sysdefs.h", line 126: warning: typedef declares no type name
cc: acomp failed for alone_decoder.c
*** Error code 2
make: Fatal error: Command failed for target `alone_decoder.o'
Current working directory /gtools/src/R-2.10.0/src/extra/xz
*** Error code 1
The following command caused the error:
make liblzma.a
make: Fatal error: Command failed for target `R'
Current working directory /gtools/src/R-2.10.0/src/extra/xz
*** Error code 1
The following command caused the error:
(cd xz; make)
make: Fatal error: Command failed for target `make.xz'
Current working directory /gtools/src/R-2.10.0/src/extra
*** Error code 1
The following command caused the error:
for d in scripts include extra appl nmath unix main modules library; do \
  (cd ${d} && make R) || exit 1; \
done
make: Fatal error: Command failed for target `R'
Current working directory /gtools/src/R-2.10.0/src
*** Error code 1
The following command caused the error:
for d in m4 tools doc etc share src tests  po; do \
  (cd ${d} && make R) || exit 1; \
done
make: Fatal error: Command failed for target `R'

I am perplexed as what could be wrong? Any help would be much appreciated.


-- 
View this message in context: http://r.789695.n4.nabble.com/Trouble-compiling-R-2-10-0-tp3200883p3200883.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list