From Kurt.Hornik@ci.tuwien.ac.at  Fri Jun 16 06:35:35 2000
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Fri, 16 Jun 2000 07:35:35 +0200 (CEST)
Subject: [Rd] Missing -lc for compilation on AIX (R 1.1.0) (PR#571)
In-Reply-To: <200006151742.TAA25549@pubhealth.ku.dk>
References: <200006151742.TAA25549@pubhealth.ku.dk>
Message-ID: <14665.48295.450473.518062@aragorn.ci.tuwien.ac.at>

>>>>> tov  writes:

> Hi,
>   Kudos to all who've worked on getting 1.1 out.  It installs cleanly on
>   Linux and Sun.  But AIX, of course, is a problem...

>   When linking shared libs, the symbols from libc.a are not found.  I
>   apologize for not investigating this further at the moment - they
>   may not be properly or not all exported from R.bin.

>   Fix: I've added ' -lc' to SHLIBLDFLAGS in Makeconf and etc/Makeconf in
>   my build directory after running configure.  Then compilation proceeds
>   without problems.
>   (Alternatively, you could use cc instead of ld to link.)

Yes.  I definitely want to switch back to using the C compiler rather
than ld for linking.  Give us a few days ...

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


[Rd] Missing -lc for compilation on AIX (R 1.1.0) (PR#571)
Kurt Hornik