[R] Help in building R with minGW

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Fri Jan 2 18:43:17 CET 2015


Please read the posting guide. This subject is off topic (should be on R-devel) and both this list and the R-devel list are plain-text-only mailing lists so your HTML is mangled.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On January 2, 2015 9:05:42 AM PST, 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-help at 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.



More information about the R-help mailing list