[R] hpux10.20 build for R-1.3.1

Thomas Vogels tov at ece.cmu.edu
Tue Sep 25 19:08:22 CEST 2001


U-E59264-Osman F Buyukisik <absd00t at c1186.ae.ge.com> writes:

> Hello,
>  I am trying to build R-1.3.1 on hpux10.20 with gcc and HP's
> fort77. here is my configure:
> ./configure --prefix=/home/absd00t/local --with-readline
> --with-gnome=no --with-f77=fort77
> 
> I also set CXXFLAGS= -I/usr/include/Motif1.2 -I/usr/include/X11R6
> -I/home/absd00t/local/include
> and LIBS= -L/home/absd00t/local/lib
> 
> so that readline.h and libs would be found. I have parts of gnome libs so I
> need to set --with-gnome=no.
> This is what make produces:
> ...
> make[3]: Entering directory `/annex/.absd00t/absd00t/tools/R-1.3.1/src/main'
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H   -I/usr/include/Motif1.1 -I/usr/include/X11R4 -c CConverters.c -o CConverters.o
> gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H   -I/usr/include/Motif1.1 -I/usr/include/X11R4 -c Rdynload.c -o Rdynload.o
> Rdynload.c: In function `R_FindSymbol':
> Rdynload.c:781: `CFunTab' undeclared (first use in this function)
> Rdynload.c:781: (Each undeclared identifier is reported only once
> Rdynload.c:781: for each function it appears in.)
> make[3]: *** [Rdynload.o] Error 1
> make[3]: Leaving directory `/annex/.absd00t/absd00t/tools/R-1.3.1/src/main'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/annex/.absd00t/absd00t/tools/R-1.3.1/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/annex/.absd00t/absd00t/tools/R-1.3.1/src'
> make: *** [R] Error 1


The same problem appears on an AIX machine, well sometimes at least...

(From an email exchange between Kurt and me:)
> -- (New) problem in Rdynload.c
> 
> I get an undefined symbol CFunTab when compiling src/main/Rdynload.c.
> This appears when I force the preprocessor to be 'cc -E' but not with
> CPP=/lib/cpp  Odd.  I'll ignore that for the moment.

So could you please dig through config.log and see if there are any
problems with detecting the C preprocessor?  

BTW, why are you setting CXXFLAGS?  Are you also setting CFLAGS?

  -tom

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