Hi,

I don't know if I'm sending this to the right place but I've looked throught
tens and tens of topics on http://tolstoy.newcastle.edu.au/ and finally
found that email address where I can maybe find some help.

Well my main goal is to get to use the lapack library within my R package
(which can be done using calls from C). But in order to do this I have to
create a file src/Makevars with the following line : PKG_LIBS=$(LAPACK_LIBS)
$(BLAS_LIBS) $(FLIBS)

However when I create this file, my package won't build anymore. Actually
the checking results in the following :

mingw32\bin\ld.exe: cannot find -lg2c
collect2: ld returned 1 exit status
make[3]: *** [PACKAGE.dll] Error 1
make[2]: *** [srcDynlib] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-PACKAGE] Error 2
*** Installation of PACKAGE failed ***

I've installed all the following tools :
     mingw-runtime-3.12.tar.gz
     w32api-3.9.tar.gz
     binutils-2.17.50-20060824-1.tar.gz
     gcc-core-3.4.5-20060117-1.tar.gz
     gcc-g++-3.4.5-20060117-1.tar.gz
     gcc-g77-3.4.5-20060117-1.tar.gz
So I don't know what to do next for the package to build... Any help would
be greatly appreciated.

I am using R v. 2.5.0

Thanks!

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to