tov@infiniti.ece.cmu.edu
2000-Jun-15 17:42 UTC
[Rd] Missing -lc for compilation on AIX (R 1.1.0) (PR#571)
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.) Regards, -tom P.S. Any reason the status field is empty? It is stable, right? ;-) --please do not edit the information below-- Version: platform = powerpc-ibm-aix4.3.2.0 arch = powerpc os = aix4.3.2.0 system = powerpc, aix4.3.2.0 status = major = 1 minor = 1.0 year = 2000 month = June day = 15 language = R Search Path: .GlobalEnv, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kurt Hornik
2000-Jun-16 05:35 UTC
[Rd] 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._