* installing *source* package ‘qtlmt’ ... ** package ‘qtlmt’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/qtlmt/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c qtlmt.cc -o qtlmt.o qtlmt.cc: In function 'void chol(double**, int, double*)': qtlmt.cc:155:16: error: 'error' was not declared in this scope; did you mean 'perror'? 155 | error(_("Cholesky decomposition failed...\n")); | ^~~~~ | perror qtlmt.cc: In function 'void i_to_a(int, char*, int)': qtlmt.cc:354:7: error: 'error' was not declared in this scope; did you mean 'perror'? 354 | error(_("Array provided is too short!\n")); | ^~~~~ | perror qtlmt.cc: In function 'void lud(double**, int, int*, double*)': qtlmt.cc:382:10: error: 'error' was not declared in this scope; did you mean 'perror'? 382 | error(_("Singular matrix in routine ludcmp...\n")); | ^~~~~ | perror qtlmt.cc: In function 'void largest(T*, int, T*, int, int*)': qtlmt.cc:904:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 904 | error(_("largest: cann't get more numbers than given...\n")); | ^~~~~ qtlmt.cc:904:7: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) qtlmt.cc: In function 'double quantile(T*, int, double)': qtlmt.cc:1023:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 1023 | error(_("misspecified p!\n")); | ^~~~~ qtlmt.cc: In function 'void sample(T*, int, T*, int, long int*, bool)': qtlmt.cc:1098:10: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 1098 | error(_("Cannot sample from a smaller group without replacement...\n")); | ^~~~~ qtlmt.cc: In function 'void smallest(T*, int, int, T*, int*)': qtlmt.cc:1143:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 1143 | error(_("largest: cann't get more numbers than given...\n")); | ^~~~~ qtlmt.cc: In function 'double var(T*, int)': qtlmt.cc:1238:7: error: there are no arguments to 'error' that depend on a template parameter, so a declaration of 'error' must be available [-fpermissive] 1238 | error(_("var not exits!\n")); | ^~~~~ qtlmt.cc: In function 'double sureEst(double**, int, int, double**, int, int*, int*, double*, double**, int, int, double)': qtlmt.cc:1390:7: error: 'error' was not declared in this scope; did you mean 'perror'? 1390 | error(_("sureEst: wrong ini_sigma ...\n")); | ^~~~~ | perror qtlmt.cc: In function 'bool sureAdd1(double**, int, int, double**, int, int*, int*, int*, int*, double**, int*, int, double)': qtlmt.cc:1510:13: error: 'error' was not declared in this scope; did you mean 'perror'? 1510 | error(_("sure add1: out of upper...\n")); | ^~~~~ | perror qtlmt.cc: In function 'bool sureDrop1(double**, int, int, double**, int, int*, int*, int*, int*, double**, int*, int, double)': qtlmt.cc:1603:13: error: 'error' was not declared in this scope; did you mean 'perror'? 1603 | error(_("sure drop1: not incude lower...\n")); | ^~~~~ | perror qtlmt.cc: In function 'void myf1(int**, int, int, int*)': qtlmt.cc:1697:13: error: 'error' was not declared in this scope; did you mean 'perror'? 1697 | error(_("vin in sureStep: wrong info...\n")); | ^~~~~ | perror qtlmt.cc: In function 'void myf2(int**, int*, int, int, int*)': qtlmt.cc:1710:7: error: 'error' was not declared in this scope; did you mean 'perror'? 1710 | error(_("Number of predictors: something was wrong...\n")); | ^~~~~ | perror qtlmt.cc: In function 'void sureStep(double**, int, int, double**, int, int*, int*, int*, int*, double, int, int**, double*, int, int, int, double)': qtlmt.cc:1723:7: error: 'error' was not declared in this scope; did you mean 'perror'? 1723 | error(_("sureStep: wrong direction...\n")); | ^~~~~ | perror qtlmt.cc: In function 'double getprob(int, int, double, double)': qtlmt.cc:1869:7: error: 'error' was not declared in this scope; did you mean 'perror'? 1869 | error(_("wrong marker information!\n")); | ^~~~~ | perror qtlmt.cc: In function 'double _Loglik_(double*, double**, double**, double**, int, int, int, int, double*, double*, double)': qtlmt.cc:1994:16: error: 'error' was not declared in this scope; did you mean 'perror'? 1994 | else {error(_("m: wrong info...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fz(double*, double**, double**, double**, int, int, int, int, double*, double*, double, double**)': qtlmt.cc:2036:16: error: 'error' was not declared in this scope; did you mean 'perror'? 2036 | else {error(_("m: wrong info...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fa(double*, double**, double**, double**, int, int, int, int, double*, double*)': qtlmt.cc:2060:16: error: 'error' was not declared in this scope; did you mean 'perror'? 2060 | else {error(_("m: wrong info...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fsigma(double*, double**, double**, double**, int, int, int, int, double*, double*, double&)': qtlmt.cc:2132:16: error: 'error' was not declared in this scope; did you mean 'perror'? 2132 | else {error(_("m: wrong info...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'double mimEst(double*, double**, double**, double**, int, int, int, int, double*, double*, double&, int, int, double)': qtlmt.cc:2154:22: error: 'error' was not declared in this scope; did you mean 'perror'? 2154 | else if(m>1){error(_("mimEst: either m or k wrong...\n")); } | ^~~~~ | perror qtlmt.cc: In function 'double Loglik(double**, int, int, double**, int, double**, double**, double**, double)': qtlmt.cc:2233:13: error: 'error' was not declared in this scope; did you mean 'perror'? 2233 | else {error(_("np: wrong...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fmb(int, double**, int, int*, int*, double*, double**)': qtlmt.cc:2286:10: error: 'error' was not declared in this scope; did you mean 'perror'? 2286 | else {error(_("np: wrong...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fz(double**, int, int, double**, int, double**, double**, double**, double**)': qtlmt.cc:2318:10: error: 'error' was not declared in this scope; did you mean 'perror'? 2318 | else {error(_("np: wrong...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'void fb(double**, int, int, double**, int, int*, int*, double**, double**, double**, double**, double*)': qtlmt.cc:2385:14: error: 'error' was not declared in this scope; did you mean 'perror'? 2385 | if(np<=1){error(_("b: no exits...\n"));} | ^~~~~ | perror qtlmt.cc: In function 'double getp(int, int, double, int)': qtlmt.cc:2545:7: error: 'error' was not declared in this scope; did you mean 'perror'? 2545 | error(_("Only allowed: BC-1, RIL-selfing-2 or RIL-brother-sister-mating-3...\n")); | ^~~~~ | perror qtlmt.cc: In instantiation of 'double var(T*, int) [with T = double]': qtlmt.cc:1129:16: required from 'double sd(T*, int) [with T = double]' qtlmt.cc:2156:26: required from here qtlmt.cc:1238:12: error: 'error' was not declared in this scope; did you mean 'perror'? 1238 | error(_("var not exits!\n")); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: qtlmt.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/qtlmt/src' ERROR: compilation failed for package ‘qtlmt’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/qtlmt-lib/qtlmt’ Command exited with non-zero status 1 Time 0:02.72, 2.36 + 0.29