[Rcpp-devel] r-forge error: undefined symbol: zgetri_
Dirk Eddelbuettel
edd at debian.org
Fri Aug 20 16:07:42 CEST 2010
On 20 August 2010 at 09:41, baptiste auguie wrote:
| Indeed, I had forgotten to rerun roxygen before my last commit, sorry.
| It should be OK now.
|
| I've also put the source tarball from R CMD BUILD here,
|
| http://dl.dropbox.com/u/352834/cda_1.0.tar.gz
This works for me on Ubuntu 10.4 / amd64 once I drop the Depends: on
the package constants which is not on CRAN:
edd at max:/tmp/cda$ R CMD INSTALL .
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘cda’ ...
** libs
g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/RcppArmadillo/include" -fpic -O3 -g0 -Wall -pipe -c cda.cpp -o cda.o
cda.cpp: In function ‘int progress_bar(double, double)’:
cda.cpp:36: warning: no return statement in function returning non-void
cda.cpp: In function ‘Rcpp::List linearExtinction(const arma::mat&, const arma::cx_mat&, double)’:
cda.cpp:285: warning: unused variable ‘pi’
g++ -shared -o cda.so cda.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib64/R/lib -lR
installing to /usr/local/lib/R/site-library/cda/libs
** R
** inst
** preparing package for lazy loading
Loading required package: reshape
Loading required package: plyr
Loading required package: grid
Loading required package: proto
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (cda)
edd at max:/tmp/cda$ r -lcda -e'cat("Hello cda world\n")'
Hello cda world
edd at max:/tmp/cda$
FWIW on Debian and Ubuntu R uses external lapack and blas libraries.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list