[Rd] Porting R

G. Sawitzki gs@statlab.uni-heidelberg.de
Wed, 29 Mar 2000 14:27:58 +0200


I am trying to get R 1.0 running on the Mac.

The main target is MacX. Anyone else working on that?

For the recent Macintosh system, I am trying to compile R using MachTen.
The R core compiles and runs without any changes, using the Unix make files.

The libraries give some problems, presumably due to handling of shared
libraries. It seems I am missing something to link. Before I spend my time
hunting it down, maybe someone has an immediate idea.
  gs.

 ==
my output:

make[4]: Entering directory `//local.src/R-1.0.0/src/library/ctest/src'
gcc -shared -Xlsharedlibrary -Xlexpall  -o ctest.so alnorm.o ansari.o
fexact.o kendall.o
 ks.o prho.o swilk.o  -L/usr/lib/gcc-lib/powerpc-apple-machten4/2.8.1 -lg2c -lm
ansari.o: In function `errmsg':
ansari.c:13: undefined reference to `Rf_error'
ansari.o: In function `w_init':
ansari.c:21: undefined reference to `R_chk_calloc'
...
ansari.c:84: undefined reference to `Rf_choose'
ansari.o: In function `pansari':
ansari.c:110: undefined reference to `Rf_choose'
fexact.o: In function `fexact':
...
kendall.c:24: undefined reference to `Rf_sign'
kendall.o: In function `ckendall':
kendall.c:99: undefined reference to `Rf_gammafn'
swilk.o: In function `swilk':
swilk.c:92: undefined reference to `Rf_qnorm5'
swilk.c:166: undefined reference to `Rf_sign'
...


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