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 should CFunTab be declared extern in Rdynload.c? I did not have this problem with 1.2 builds. TIA, Osman -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
It's a known problem that we hope to fix for 1.4 and in the patches tree as soon as we can get access to an HP machine for testing. luke On Tue, Sep 25, 2001 at 09:29:46AM -0400, U-E59264-Osman F Buyukisik wrote:> 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 > > > should CFunTab be declared extern in Rdynload.c? > > I did not have this problem with 1.2 builds. > > TIA, > Osman > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-- Luke Tierney University of Minnesota Phone: 612-625-7843 School of Statistics Fax: 612-624-8868 313 Ford Hall, 224 Church St. S.E. email: luke at stat.umn.edu Minneapolis, MN 55455 USA WWW: http://www.stat.umn.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 1The 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._