[R] problems compiling R packages with Linux
Ulf Mehlig
umehlig at uni-bremen.de
Fri Jan 8 09:38:04 CET 1999
Peter Dalgaard <p.dalgaard at biostat.ku.d> wrote:
> * extract to (say) /usr/local/src/R-contrib/ctest and then just
> R INSTALL /usr/local/src/R-contrib/ctest
>
> * upgrade to 0.63.1
Thanks! Unfortunately, neither one of your suggestions works.
Observing the built of R-0.63.1, I got similar error messages like
yesterday when I tried to INSTALL the libraries; afterwards I
re-compiled 0.63.0 for control purpose, and got the errors, too!
Apparently I overlooked them when building the first time in November;
nevertheless, both versions produce working executables, but 0.63.1
won't install them like 0.63.0 ... *not* working (0.63.0) is building
of eda.so and similarly modreg.so as well as mva.so -- you see, I
rather didn't check anything thoroughly when building then :-(
With R-0.63.1, the make process fails completely, but at the same
place (see logs of make's activities below).
Do you need further informations (output of configure, Makefile etc.)?
I don't want to molest people on the list by posting lengthy error
logs, so if somebody thinks he/she could give me a hint how to
proceed, please tell me, which information we need to find the cause
of trouble.
Many thanks!
Ulf
----------------------------------------------------------------------
log of make [0.63.0]:
[...]
ld -lblas -o eda.so line.o smooth.o
ld: warning: cannot find entry symbol _start; defaulting to 080481e0
line.o: In function `il':
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:6: undefined reference to `floor'
line.o: In function `iu':
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:11: undefined reference to `ceil'
line.o: In function `line':
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:24: undefined reference to `rsort'
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:49: undefined reference to `rsort'
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:55: undefined reference to `rsort'
/usr/local/src/R/R-0.63/src/library/eda/src/line.c:62: undefined reference to `rsort'
/usr/lib/libblas.so: undefined reference to `strcpy'
/usr/lib/libblas.so: undefined reference to `sqrt'
[...]
----------------------------------------------------------------------
log of make [0.63.1]:
ld -o eda.so line.o smooth.o
ld: warning: cannot find entry symbol _start; defaulting to 08048080
line.o: In function `il':
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:6: undefined reference to `floor'
line.o: In function `iu':
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:11: undefined reference to `ceil'
line.o: In function `line':
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:24: undefined reference to `rsort'
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:49: undefined reference to `rsort'
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:55: undefined reference to `rsort'
/usr/local/src/R/R-0.63.1/src/library/eda/src/line.c:62: undefined reference to `rsort'
make[4]: *** [eda.so] Error 1
make[4]: Leaving directory `/usr/local/src/R/R-0.63.1/src/library/eda/src'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/usr/local/src/R/R-0.63.1/src/library/eda'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/usr/local/src/R/R-0.63.1/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/usr/local/src/R/R-0.63.1/src'
make: *** [R] Error 1
--
======================================================================
Ulf Mehlig <umehlig at zmt.uni-bremen.de>
Center for Tropical Marine Ecology/ZMT, Bremen, Germany
----------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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