Missing -lc for compilation on AIX (R 1.1.0) (PR#571)
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._