[Rd] trouble building r-devel

Mark.Bravington at csiro.au Mark.Bravington at csiro.au
Tue Mar 22 00:09:30 CET 2005


I haven't been able to build yesterday's R-devel (or, as a test,
R-devel_2005-03-11) on Windows XP. The error message I'm getting is to
do with 'arithmetic.c', as shown below.

Current R-patched seems to build fine, and I've built previous R-devels
from source fairly often in the past-- though I have no understanding
whatsoever of what's going on. FWIW the only changes I made to MkRules
are (i) WINHELP=NO and (ii) TCL_HOME=C:/R/Tcl, which are the same ones I
always make.

Any help appreciated!

Mark

C:\R\R-devel\src\gnuwin32> make
<< some OK bits of output, to help show where the problem is>>
...
making vfonts.d from vfonts.c
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c CConverters.c -o CConverters.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c CommandLineArgs.c -o CommandLineArg
s.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c Rdynload.c -o Rdynload.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c Renviron.c -o Renviron.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c RNG.c -o RNG.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c apply.c -o apply.o
gcc  -O2 -Wall -pedantic -DLEA_MALLOC -I../include -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c arithmetic.c -o arithmetic.o
arithmetic.c: In function `do_math1':
arithmetic.c:887: `acosh' undeclared (first use in this function)
arithmetic.c:887: (Each undeclared identifier is reported only once
arithmetic.c:887: for each function it appears in.)
arithmetic.c:888: `asinh' undeclared (first use in this function)
arithmetic.c:889: `atanh' undeclared (first use in this function)
make[4]: *** [arithmetic.o] Error 1
make[3]: *** [rlibs] Error 2
make[2]: *** [../../bin/R.dll] Error 2
make[1]: *** [rbuild] Error 2
make: *** [all] Error 2



Mark Bravington
CSIRO Mathematical & Information Sciences
Marine Laboratory
Castray Esplanade
Hobart 7001
TAS

ph (+61) 3 6232 5118
fax (+61) 3 6232 5012
mob (+61) 438 315 623



More information about the R-devel mailing list