* installing *source* package ‘rcppbugs’ ... ** package ‘rcppbugs’ successfully unpacked and MD5 sums checked ** libs *** arch - i386 g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/Rcpp/include" -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/RcppArmadillo/include" -I./cppbugs -fPIC -g -O2 -c helpers.cpp -o helpers.o g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/Rcpp/include" -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/RcppArmadillo/include" -I./cppbugs -fPIC -g -O2 -c interface.cpp -o interface.o In file included from interface.cpp:24: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Normal<T>& cppbugs::Normal<T>::dnorm4(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.normal.hpp:46: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedNormal<T>& cppbugs::ObservedNormal<T>::dnorm4(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.normal.hpp:58: error: from this location In file included from interface.cpp:25: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Uniform<T>& cppbugs::Uniform<T>::dunif(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.uniform.hpp:47: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedUniform<T>& cppbugs::ObservedUniform<T>::dunif(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.uniform.hpp:59: error: from this location In file included from interface.cpp:26: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Gamma<T>& cppbugs::Gamma<T>::dgamma(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.gamma.hpp:50: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedGamma<T>& cppbugs::ObservedGamma<T>::dgamma(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.gamma.hpp:62: error: from this location In file included from interface.cpp:27: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Beta<T>& cppbugs::Beta<T>::dbeta(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.beta.hpp:49: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBeta<T>& cppbugs::ObservedBeta<T>::dbeta(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.beta.hpp:61: error: from this location In file included from interface.cpp:28: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Binomial<T>& cppbugs::Binomial<T>::dbinom(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.binomial.hpp:46: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBinomial<T>& cppbugs::ObservedBinomial<T>::dbinom(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.binomial.hpp:58: error: from this location In file included from interface.cpp:29: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Bernoulli<T>& cppbugs::Bernoulli<T>::dbern(const U&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.bernoulli.hpp:74: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBernoulli<T>& cppbugs::ObservedBernoulli<T>::dbern(const U&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.bernoulli.hpp:86: error: from this location interface.cpp: In function ‘SEXPREC* getHistory(cppbugs::MCMCObject*) [with T = arma::Col<double>]’: interface.cpp:173: error: using ‘typename’ outside of template interface.cpp: In function ‘SEXPREC* getHistory(cppbugs::MCMCObject*) [with T = double]’: interface.cpp:191: error: using ‘typename’ outside of template make: *** [interface.o] Error 1 g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/Rcpp/include" -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/RcppArmadillo/include" -I./cppbugs -fPIC -g -O2 -c interface.cpp -o interface.o In file included from interface.cpp:24: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Normal<T>& cppbugs::Normal<T>::dnorm4(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.normal.hpp:46: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedNormal<T>& cppbugs::ObservedNormal<T>::dnorm4(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.normal.hpp:58: error: from this location In file included from interface.cpp:25: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Uniform<T>& cppbugs::Uniform<T>::dunif(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.uniform.hpp:47: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedUniform<T>& cppbugs::ObservedUniform<T>::dunif(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.uniform.hpp:59: error: from this location In file included from interface.cpp:26: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Gamma<T>& cppbugs::Gamma<T>::dgamma(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.gamma.hpp:50: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedGamma<T>& cppbugs::ObservedGamma<T>::dgamma(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.gamma.hpp:62: error: from this location In file included from interface.cpp:27: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Beta<T>& cppbugs::Beta<T>::dbeta(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.beta.hpp:49: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBeta<T>& cppbugs::ObservedBeta<T>::dbeta(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.beta.hpp:61: error: from this location In file included from interface.cpp:28: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Binomial<T>& cppbugs::Binomial<T>::dbinom(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.binomial.hpp:46: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBinomial<T>& cppbugs::ObservedBinomial<T>::dbinom(const U&, const V&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.binomial.hpp:58: error: from this location In file included from interface.cpp:29: ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::Bernoulli<T>& cppbugs::Bernoulli<T>::dbern(const U&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.bernoulli.hpp:74: error: from this location ./cppbugs/cppbugs/mcmc.stochastic.hpp: In member function ‘cppbugs::ObservedBernoulli<T>& cppbugs::ObservedBernoulli<T>::dbern(const U&)’: ./cppbugs/cppbugs/mcmc.stochastic.hpp:34: error: object missing in reference to ‘cppbugs::Stochastic::likelihood_functor’ ./cppbugs/cppbugs/mcmc.bernoulli.hpp:86: error: from this location interface.cpp: In function ‘SEXPREC* getHistory(cppbugs::MCMCObject*) [with T = arma::Col<double>]’: interface.cpp:173: error: using ‘typename’ outside of template interface.cpp: In function ‘SEXPREC* getHistory(cppbugs::MCMCObject*) [with T = double]’: interface.cpp:191: error: using ‘typename’ outside of template make: *** [interface.o] Error 1 ERROR: compilation failed for package ‘rcppbugs’ * removing ‘/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/results/2.15/rcppbugs.Rcheck/rcppbugs’