[R] packages installation failed on Linux

Liaw, Andy andy_liaw at merck.com
Tue Dec 19 17:11:04 CET 2000


Hi all,

I've successfully compiled R-1.2 on a Linux box (Mandrake 7.1).  However,
when I installed packages from sources, I run into problems with the
packages logspline and tseries.  The error messages are as follows.  Can
anyone help?  The compiler is gcc 2.95.3, if that helps.

Andy
================================================
Installing source package `logspline' ...
 libs
gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES  -fPIC  -g -O2 -c logsplin.c -o logsplin.o
g77   -fPIC  -g -O2 -c mpack.f -o mpack.o
ld: warning: cannot find entry symbol _start; defaulting to 08048080
logsplin.o: In function `logcensor':
/tmp/R.INSTALL.14651/logspline/src/logsplin.c:101: undefined reference to
`printf'
/tmp/R.INSTALL.14651/logspline/src/logsplin.c:117: undefined reference to
`pow'

[ Lots of similar errors deleted... ]

make: *** [logspline.so] Error 1
ERROR: Compilation failed for package `logspline'                      


Installing source package `tseries' ...
 libs
gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES  -fPIC  -g -O2 -c arma.c -o arma.o
gcc -I/usr/local/lib/R/include  -I/usr/local/include -mieee-fp
-D__NO_MATH_INLINES  -fPIC  -g -O2 -c bdstest.c -o bdstest.o
bdstest.c:41: `DEBUG' redeclared as different kind of symbol
/usr/local/lib/R/include/Rinternals.h:773: previous declaration of `DEBUG'
bdstest.c:41: warning: `DEBUG' was declared `extern' and later `static'
make: *** [bdstest.o] Error 1
ERROR: Compilation failed for package `tseries' 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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