On 8 February 2011 at 14:54, Dirk Eddelbuettel wrote:
| | right?  The output of nm -g applied to that shared object does list
| | the major, minor and patch members of the arma_version struct but has
| | them as undefined
| | 
| |                  U _ZN4arma12arma_version5majorE
| |                  U _ZN4arma12arma_version5minorE
| |                  U _ZN4arma12arma_version5patchE
| | 
| | I checked and I don't have any of the Ubuntu packages associated with
| | armadillo installed.
| | 
| | I really don't know what is going on.
| 
| I don't have them! 
| 
| edd@max:~$ nm 
/usr/local/lib/R/site-library/RcppArmadillo/libs/RcppArmadillo.so | wc -l
| 218
| edd@max:~$ nm 
/usr/local/lib/R/site-library/RcppArmadillo/libs/RcppArmadillo.so | grep version
| 0000000000004ba0 T armadillo_version
| edd@max:~$ 

PS armadillo_function() works fine as an unexported R function:

edd@max:~$ r -e'print(RcppArmadillo:::armadillo_version())' 
major minor patch 
    1     1     0 
edd@max:~$ 


Dirk

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to