[R] error in gmake CrossCompileBuild

Steve Dutky sdutky at starpower.net
Sat Jan 29 00:16:08 CET 2005


Dear all,

I expect that I am on thin ice trying to build this on 
freeBSD 4.10, however, after tweaking Makefile-rcb v11Oct04
/* MAKE=gmake; MINGW_CROSS = mingw-cross4 */, I encounter:

mingw32-gcc -isystem ~/RCrossBuild/cross-
tools/mingw32/include -O2 -Wall -pedantic -I../include -I. -
DHAVE_CONFIG_H -DR_DLL_BUILD  -c dynload.c -o dynload.o
dynload.c: In function `R_loadLibrary':
dynload.c:94: warning: implicit declaration of function 
`_controlfp'
dynload.c:94: error: `_MCW_IC' undeclared (first use in this 
function)
dynload.c:94: error: (Each undeclared identifier is reported 
only once
dynload.c:94: error: for each function it appears in.)
dynload.c:95: warning: implicit declaration of function 
`_clearfp'
dynload.c:99: error: `_MCW_EM' undeclared (first use in this 
function)
dynload.c:99: error: `_MCW_RC' undeclared (first use in this 
function)
dynload.c:99: error: `_MCW_PC' undeclared (first use in this 
function)
gmake[5]: *** [dynload.o] Error 1
gmake[4]: *** [../../bin/R.dll] Error 2
gmake[3]: *** [rbuild] Error 2
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `~/RCrossBuild/WinR/R-
2.0.0/src/gnuwin32'
...<snip>...

I see _controlfp is declared in ~/RCrossBuild/cross-
tools/<snip>/include/float.h but does not appear to be 
defined elsewhere.

Any advice greatly appreciated.  

Thanks, Steve Dutky
sdutky at terpalum.umd.edu




More information about the R-help mailing list