[Rcpp-devel] Problem compling rinside_sample0 on OSX

Romain Francois romain.francois at dbmail.com
Tue Apr 6 08:36:25 CEST 2010


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 ?

> THanks,
> Dan
>
>
> --
> Dan Kulp, PhD
> Postdoctoral Fellow
> Biosciences Division, B-9
> Los Alamos National Laboratory
> Los Alamos,NM 87545

-- 
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




More information about the Rcpp-devel mailing list