Re: [Rd] Lapack calls from fortran

2005-06-22 Thread Douglas Bates
On 6/22/05, Paul Gilbert <[EMAIL PROTECTED]> wrote: > I am trying to call the lapack routine dgesv in the R distribution from > the fortran code for a package, but when I dyn.load("dse1.so") I get an > error about undefined symbol: dgesv_ > > I thought the proper incantation was > > MAKEFLAG="FLI

[Rd] Lapack calls from fortran

2005-06-22 Thread Paul Gilbert
I am trying to call the lapack routine dgesv in the R distribution from the fortran code for a package, but when I dyn.load("dse1.so") I get an error about undefined symbol: dgesv_ I thought the proper incantation was MAKEFLAG="FLIBS=/path to/R-2.1.1/libRlapack.so" R CMD SHLIB dse1.f but appar