[R] RH7.0 compilation

apjaworski@mmm.com apjaworski at mmm.com
Thu Dec 21 20:55:36 CET 2000

Hi everyone,

Like most people with RH7.0 Linux, I had problems with their "experimental"
gcc-2.96 compiler.  To circumvent the problem, I installed stock gcc-2.95.2
in the /usr/local tree, so it will be picked up first as /usr/local/bin if
before /usr/bin on my PATH.  With this setup I was able to compile R-1.2.0
straight out of the box (as well as compile Linux kernels).  One problem I
had, however, was that the Matrix package would not link, with linker
complaining about  "undefined versioned symbol name clog@@GLIBC_2.1".

Yesterday I downloaded updated RPMs for the gcc compiler from the RH site.
I installed them and, just to check them out, recompiled R-1.2.0 with it.
It compiled fine and passed all the checks.  Moreover, now the Matrix
package compiles and installs fine.  The only thing I see different is that
while compiling R-1.2.0 I get a bunch of warnings like this:

making devices.d from devices.c
In file included from devices.c:25:../../src/include/Defn.h:73:22: warning:
nothing can be pasted after this token
making dynload.d from dynload.c

and like this

FFTab.h:2:29: warning: pasting would not give a valid preprocessing token



r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list