Please read R-admin section 3.1 - as you'll notice it doesn't say
anything about running ./configure since that's only for unix.
http://r.research.att.com/man/R-admin.html#Building-from-source
Cheers,
Simon
On Jan 2, 2015, at 12:33 PM, Edoardo Baldoni <edoardo.baldoni at
gmail.com> wrote:
> 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-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>