charpent@bacbuc.dyndns.org
2000-Dec-18 19:48 UTC
[Rd] R 1.2.0 : logspline does not install from install.packages(). Missing #include | library ? (PR#775)
Full_Name: Emmanuel Charpentier Version: 1.2.0 OS: Linux 2.2.18 (Debian 2.2) Submission from: (NULL) (193.251.31.31) When trying "mass" installation of available packages, the package logspline does not compile, at least when installed through install.packages("logspline"). It seems that it is a small bug, such a missing #include <math.h> or -libm linking switch ? installation output follows (screen copy) :> install.packages("logspline")--20:39:02-- http://cran.r-project.org:80/src/contrib/PACKAGES => `/tmp/fileR2ef9S74b0dc51' Connecting to cran.r-project.org:80... connected! HTTP request sent, awaiting response... 200 OK Length: 29,955 [text/plain] 0K -> .......... .......... ......... [100%] 20:39:03 (43.47 KB/s) - `/tmp/fileR2ef9S74b0dc51' saved [29955/29955] --20:39:03-- http://cran.r-project.org:80/src/contrib/logspline_1.0-2.tar.gz => `/tmp/RinstdirR2ef9S66334873/logspline_1.0-2.tar.gz' Connecting to cran.r-project.org:80... connected! HTTP request sent, awaiting response... 200 OK Length: 41,280 [application/x-tar] 0K -> .......... .......... .......... .......... [100%] 20:39:05 (31.57 KB/s) - `/tmp/RinstdirR2ef9S66334873/logspline_1.0-2.tar.gz' saved [41280/41280] Installing source package `logspline' ... libs gcc -I/usr/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.12079/logspline/src/logsplin.c:101: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:117: undefined reference to `pow' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:184: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:201: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:207: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:276: undefined reference to `log' logsplin.o: In function `removeknot': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:334: undefined reference to `sqrt'logsplin.o: In function `fits': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:350: undefined reference to `log' logsplin.o: In function `iter': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:396: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:405: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:415: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:755: undefined reference to `printf' logsplin.o: In function `erroradjust': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:851: undefined reference to `sqrt'logsplin.o: In function `likeli': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:890: undefined reference to `exp' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:915: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:918: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:924: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:940: undefined reference to `log' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:946: undefined reference to `log' logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:959: more undefined references to `log' follow logsplin.o: In function `linsearch': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1055: undefined reference to `floor' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1086: undefined reference to `pow'logsplin.o: In function `onesearch': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1103: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1112: undefined reference to `log'logsplin.o: In function `numbertester': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1141: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1144: undefined reference to `pow'logsplin.o: In function `expin': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1199: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1205: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1207: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1207: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1208: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1208: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1210: undefined reference to `exp'logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1211: more undefined references to `exp' follow logsplin.o: In function `expin2': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1247: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1253: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1255: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1255: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1256: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1256: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1258: undefined reference to `exp'logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1259: more undefined references to `exp' follow logsplin.o: In function `dens33': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1290: undefined reference to `log'logsplin.o: In function `fun2': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1451: undefined reference to `exp'logsplin.o: In function `coeff': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1530: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1530: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1530: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1533: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1533: undefined reference to `pow'logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:1533: more undefined references to `pow' follow logsplin.o: In function `knotplace': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1929: undefined reference to `floor' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1933: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1951: undefined reference to `floor' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1970: undefined reference to `ceil' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1971: undefined reference to `floor' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:1975: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:2110: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2112: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2126: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2128: undefined reference to `printf' /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2147: undefined reference to `printf' logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:2148: more undefined references to `printf' follow logsplin.o: In function `knotnumber': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2249: undefined reference to `pow'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:2255: undefined reference to `ceil' logsplin.o: In function `middle': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:2443: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:2445: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:2447: undefined reference to `log'logsplin.o: In function `pqexp': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:3037: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3039: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3040: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3043: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3045: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3045: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3046: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3046: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3049: undefined reference to `exp'logsplin.o:/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3049: more undefined re ferences to `exp' follow logsplin.o: In function `pqexpi': /tmp/R.INSTALL.12079/logspline/src/logsplin.c:3142: undefined reference to `log'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3144: undefined reference to `exp'/tmp/R.INSTALL.12079/logspline/src/logsplin.c:3146: undefined reference to `exp'make: *** [logspline.so] Error 1 ERROR: Compilation failed for package `logspline' Delete downloaded files (y/N)? The packages are in /tmp/RinstdirR2ef9S66334873 Warning messages: 1: argument `lib' is missing: using /usr/lib/R/library in: install.packages("logspline") 2: Installation of package logspline had non-zero exit status in: install.packages("logspline")>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._