Re: [Rd] R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'

2015-07-27 Thread Ignacio Martinez
Thanks, I just got the answer on stackoverflow!! On Mon, Jul 27, 2015 at 3:12 PM Kevin Ushey wrote: > You should be able to set PKG_FCFLAGS="-fno-stack-protector" wh

Re: [Rd] R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'

2015-07-27 Thread Kevin Ushey
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when compiling to ensure that the stack protector is not used. (Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD INSTALL`, compilation of your package succeeded but linking failed saying the DLL 'Fpi' was not found;

[Rd] R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'

2015-07-27 Thread Ignacio Martinez
Hi, I created a R library that uses a Fortran module. Everything works like a charm on linux. Now I'm trying to make it work on Windows. I cloned my git repository on a windows computer, and when I press the build and reload button on Rstudio I get these errors