[R-pkg-devel] undefined reference to `R_registerRoutines' on Windows-devel

Sergio Ibarra-Espinosa @erg|o@|b@rr@ @end|ng |rom u@p@br
Mon Feb 8 15:54:02 CET 2021


I have been trying to pass an R package (https://github.com/atmoschem/vein)
to CRAN but I`m finding this error on Windows-devel:

init.o:init.c:(.text+0x2c): undefined reference to
init.o:init.c:(.text+0x3c): undefined reference to
collect2.exe: error: ld returned 1 exit status
no DLL was created

I have used .Fortran without problems, but after a discussion in this
forum, I have started using dotCall64::.C64 with OMP

I created the init.c
with tools::package_native_routine_registration_skeleton(".") with the
correct number of arguments.

Thank you very much for your help


*Sergio Ibarra Espinosa*
Postdoc in Atmospheric Sciences, Universidade de São Paulo

+  <++8617643016295>55 11 934 909 778  | +55 11 974 253 791
<+55+11+974+253+791> | sergio.ibarra using usp.br

www.sergioibarra.blogspot.com | *Skype*:
Rua do Matão, 1226 - Cidade Universitária São Paulo-SP - Brasil - 05508-090

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list