Displaying 1 result from an estimated 1 matches for "my_c_file".
Did you mean:
__c_file
2015 Mar 25
4
F77_CALL/NAME problem
...nv)
{
...
F77_CALL(DGESV)(p, p, Ain, p, ipiv, Bin, p, &info);
}
In order to create the ".so" file to load in R I downloaded the dgesv.f file
as well as the dependencies (dgetf2.f dgetrf.f dgetrs.f dlaswp.f). As I was
used to I ran in a terminal
R CMD COMPILE *.f
R CMD SHLIB MY_C_FILE.c *.o
to get the MY_C_FILE.so file. However, when I try to load it in a R session
I get the following error message "undefined symbol: DGESV_". Similar errors
are occurring with some other (old) C files that I was used to use a couple
of years ago. In this connection I have to say that t...