Le 06/04/10 08:36, Romain Francois a écrit : > > Le 06/04/10 06:12, Dan Kulp a écrit : >> Hey, >> I just installed Rcpp RInside successful using CRAN, but when I try >> to "make rinside_sample0" I get the following linking errors: >> >> ld warning: option -s is obsolete and being ignored >> Undefined symbols: >> "SEXPREC* Rcpp::grow<Rcpp::Named>(Rcpp::Named const&, SEXPREC*)", >> referenced from: >> SEXPREC* Rcpp::pairlist<Rcpp::Function, Rcpp::Named, >> Rcpp::Named>(Rcpp::Function const&, Rcpp::Named const&, Rcpp::Named >> const&)in libRInside.a(RInside.o) >> SEXPREC* Rcpp::pairlist<Rcpp::Function, Rcpp::Named, >> Rcpp::Named>(Rcpp::Function const&, Rcpp::Named const&, Rcpp::Named >> const&)in libRInside.a(RInside.o) >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> make: *** [rinside_sample0] Error 1 >> >> >> Is this an OSX specific thing, or is the example code not sync'd with >> the library from CRAN?.... or something else? > > Not sure yet. I need to have a look. What versions of Rcpp and RInside > are you using ?
In addition, can you send the result of these : $ Rscript -e "RInside:::CxxFlags()" $ Rscript -e "RInside:::LdFlags()" This will help diagnostic. Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/9aKDM9 : embed images in Rd documents |- http://tr.im/OIXN : raster images and RImageJ |- http://tr.im/OcQe : Rcpp 0.7.7 _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
