[Rd] AIX fails on startup with R-1.0.0

Thomas J Vogels Thomas Vogels <tov@ece.cmu.edu>
23 Mar 2000 01:00:09 -0500


Hi,

ok, the main binary builds, but not ctest.so.  Here is the head of the
linker output:

$ ld -bM:SRE -H512 -T512 -bnoentry -bexpall       -bI:../../../../etc/R.exp  -o ct
est.so ansari.o fexact.o kendall.o ks.o prho.o swilk.o  -L/usr/local/lib -L/afs/
ece/usr/tov/opt/arch -lblas  -lxlf90 -lxlf -lxlomp_ser -lm
ld: 0711-317 ERROR: Undefined symbol: .sprintf
ld: 0711-317 ERROR: Undefined symbol: .itrunc

... and so on.  It's dearly missing -lc.  I've tried adding -lc and
that allowed at least ctest.so to link.  But where should -lc be added
for shared libs to link with?

Thanks,
  -tom

(I used rsync to get r-devel (date-stamp is 2000/March/22).)


Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:

[snip]
> Can you have a look at the current r-devel snapshot?  The way I think my
> code works is by adding to R_XTRA_LIBS, which should only be used when
> linking the main binary, but not when creating shared libraries.
> 
> -k

-- 
mailto:tov@ece.cmu.edu (Tom Vogels)   Tel: (412) 268-6638   FAX: -3204
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._