############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.21-bioc/R/bin/R CMD INSTALL chromstaR ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.21-bioc/R/site-library’ * installing *source* package ‘chromstaR’ ... ** this is package ‘chromstaR’ version ‘1.33.1’ ** using staged installation ** libs using C++ compiler: ‘g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’ g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -fopenmp -fpic -g -O2 -DR_NO_REMAP -c R_interface.cpp -o R_interface.o g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -fopenmp -fpic -g -O2 -DR_NO_REMAP -c densities.cpp -o densities.o densities.cpp: In constructor ‘ZiNB::ZiNB(int*, int, double, double, double)’: densities.cpp:25:66: error: expected primary-expression before ‘double’ 25 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ densities.cpp:25:48: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 25 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ | calloc densities.cpp: In destructor ‘virtual ZiNB::~ZiNB()’: densities.cpp:40:17: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 40 | Free(this->lxfactorials); | ^~~~ | free densities.cpp: In constructor ‘NegativeBinomial::NegativeBinomial(int*, int, double, double)’: densities.cpp:347:66: error: expected primary-expression before ‘double’ 347 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ densities.cpp:347:48: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 347 | this->lxfactorials = (double*) Calloc(max_obs+1, double); | ^~~~~~ | calloc densities.cpp: In destructor ‘virtual NegativeBinomial::~NegativeBinomial()’: densities.cpp:362:17: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 362 | Free(this->lxfactorials); | ^~~~ | free densities.cpp: In member function ‘virtual void MVCopulaApproximation::calc_logdensities(double*)’: densities.cpp:881:50: error: expected primary-expression before ‘double’ 881 | double* z = (double*) Calloc(this->Nmod, double); | ^~~~~~ densities.cpp:881:31: error: ‘Calloc’ was not declared in this scope; did you mean ‘calloc’? 881 | double* z = (double*) Calloc(this->Nmod, double); | ^~~~~~ | calloc densities.cpp:976:9: error: ‘Free’ was not declared in this scope; did you mean ‘free’? 976 | Free(z); | ^~~~ | free make: *** [/home/biocbuild/bbs-3.21-bioc/R/etc/Makeconf:202: densities.o] Error 1 ERROR: compilation failed for package ‘chromstaR’ * removing ‘/home/biocbuild/bbs-3.21-bioc/R/site-library/chromstaR’