From plindsey@luc.ac.be  Wed May 27 15:40:32 1998
From: plindsey@luc.ac.be (Patrick Lindsey)
Date: Wed, 27 May 1998 16:40:32 +0200 (MET DST)
Subject: Problems compiling libraries with todays snapshot.
Message-ID: <9805271440.AA01439@alpha.luc.ac.be>

I am currently running Slakware V3.4 with g77 and R is a 0.62 snapshot of the 27th of May.
There appear to be linking problems with the libraries.
The error output from mva and eda can be found below.
My own libraries also have similar problems.

Errors when compiling mva:

116 /usr/local/src/R/src/library #R INSTALL mva
Warning:  package `-html' does not exist
Warning:  package `-latex' does not exist
Installing package `mva' ...
libs
ld  -o mva.so dblcen.o dist.o hclust.o
ld: warning: cannot find entry symbol _start; defaulting to 08048080
dist.o: In function `euclidean':
/usr/local/src/R/src/library/mva/src/dist.c:43: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:43: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:51: undefined reference to `realNA'
/usr/local/src/R/src/library/mva/src/dist.c:53: undefined reference to `sqrt'
dist.o: In function `maximum':
/usr/local/src/R/src/library/mva/src/dist.c:64: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:64: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:74: undefined reference to `realNA'
dist.o: In function `manhattan':
/usr/local/src/R/src/library/mva/src/dist.c:85: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:85: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:92: undefined reference to `realNA'
dist.o: In function `canberra':
/usr/local/src/R/src/library/mva/src/dist.c:105: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:105: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:112: undefined reference to `realNA'
dist.o: In function `binary':
/usr/local/src/R/src/library/mva/src/dist.c:127: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:127: undefined reference to `isFinite'
/usr/local/src/R/src/library/mva/src/dist.c:140: undefined reference to `realNA'
dist.o: In function `dist':
/usr/local/src/R/src/library/mva/src/dist.c:169: undefined reference to `error'
make: *** [mva.so] Error 1
cp: *.so: No such file or directory

Compiling eda:

117 /usr/local/src/R/src/library #R INSTALL eda
Installing package `eda' ...
libs
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/src/library/eda/src/line.c:5: undefined reference to `floor'
line.o: In function `iu':
/usr/local/src/R/src/library/eda/src/line.c:10: undefined reference to `ceil'
line.o: In function `line':
/usr/local/src/R/src/library/eda/src/line.c:23: undefined reference to `rsort'
/usr/local/src/R/src/library/eda/src/line.c:48: undefined reference to `rsort'
/usr/local/src/R/src/library/eda/src/line.c:54: undefined reference to `rsort'
/usr/local/src/R/src/library/eda/src/line.c:61: undefined reference to `rsort'
make: *** [eda.so] Error 1
cp: *.so: No such file or directory
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Problems compiling libraries with todays snapshot.
Patrick Lindsey