[R] unsuccesfully making libRmath.a

Ramon Diaz-Uriarte ramon-diaz at teleline.es
Mon Oct 30 01:02:58 CET 2000

Dear All,

I am having problems making and using the standalone library, after succesfully
installing R from the tar.gz file (I am using Linux, with R-patched, but I have
similar problems with R-devel).   

First, when I do: 
root at ligarto:/usr/lib/R-patched/src/nmath/standalone > make
ar: mlutils.o: No such file or directory 
make[1]: *** [libRmath.a] Error 1
make[1]: Leaving directory `/usr/lib/R-patched/src/nmath/standalone' make: ***
[archive] Error 2 

I tried directly giving the names of the object files to ar, and it seems to
work... but not really:

> gcc -I/usr/lib/R-patched/src/include-L/usr/lib/R-patched/src/nmath/standalone  test.c -lRmath 

/tmp/ccJAm46E.o: In function `main': 
/tmp/ccJAm46E.o(.text+0x22): undefined reference to `qnorm5'
collect2: ld returned 1 exit status                           

What am I doing wrong?


Ramón Díaz-Uriarte
Triana 47
28016 Madrid

email:ramon-diaz at teleline.es
Phone: +-34-918-513-966

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