Dear R users, I would need some help in building R using minGW in windows 8.1. After using the command *configure *(./configure --enable-R-shlib --with-readline=no --with-x=no), I use the command *make. *This results in the following error:
[...] make[2]: Leaving directory `/home/Edoardo/r-3.1.2/src/nmath' make[2]: Entering directory `/home/Edoardo/r-3.1.2/src/unix' make[3]: Entering directory `/home/Edoardo/r-3.1.2/src/unix' gcc -std=gnu99 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c dynload.c -o dynload.o dynload.c: In function 'Rf_InitFunctionHashing': dynload.c:69:32: warning: assignment from incompatible pointer type [enabled by default] R_osDynSymbol->loadLibrary = loadLibrary; ^ dynload.c:71:33: warning: assignment from incompatible pointer type [enabled by default] R_osDynSymbol->closeLibrary = closeLibrary; ^ dynload.c: At top level: dynload.c:97:13: error: conflicting types for 'closeLibrary' static void closeLibrary(HINSTANCE handle) ^ dynload.c:59:13: note: previous declaration of 'closeLibrary' was here static void closeLibrary(void *handle); ^ dynload.c:59:13: warning: 'closeLibrary' used but never defined [enabled by default] make[3]: *** [dynload.o] Error 1 make[3]: Leaving directory `/home/Edoardo/r-3.1.2/src/unix' make[2]: *** [R] Error 2 make[2]: Leaving directory `/home/Edoardo/r-3.1.2/src/unix' make[1]: *** [R] Error 1 make[1]: Leaving directory `/home/Edoardo/r-3.1.2/src' make: *** [R] Error 1 I am not an expert programmer and would appreciate some help. My final objective is to install R as shared library in order to use RHIPE. Thanks Edoardo [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.