[R] problem installing package mgcv

Deborah Swayne dfs at research.att.com
Mon Aug 5 20:56:17 CEST 2002

$ R CMD INSTALL mgcv_0.8-1.tar.gz 
* Installing *source* package 'mgcv' ...
** libs
gcc -I/usr/common/R-1.5.1/lib/R/include  -I/usr/common/include     -g -O2 -c gcv.c -o gcv.o
gcc -I/usr/common/R-1.5.1/lib/R/include  -I/usr/common/include     -g -O2 -c matrix.c -o matrix.o
as: Error: /var/tmp/cchKSJb3.s, line 25046: register expected
      dmtc1 244($sp),$f0
as: Error: /var/tmp/cchKSJb3.s, line 25046: Undefined symbol: 244
gmake: *** [matrix.o] Error 1
ERROR: compilation failed for package 'mgcv'

R version: 1.5.1
gcc version: 3.0.2

If I compile it directly without optimization, it compiles fine.
Is there an argument to INSTALL that lets me turn off optimization?

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

More information about the R-help mailing list