* installing *source* package ‘gmp’ ... ** package ‘gmp’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... gcc-13 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc-13 accepts -g... yes checking for gcc-13 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc-13 -E checking whether we are using the GNU C++ compiler... yes checking whether g++-13 -std=gnu++17 accepts -g... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for __gmpz_ui_sub in -lgmp... yes configure: creating ./config.status config.status: creating src/Makevars ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/gmp/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -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 apply.cc -o apply.o In file included from Rgmp.h:14, from biginteger.h:18, from bigmod.h:17, from bigvec.h:19, from bigintegerR.h:16, from apply.cc:2: apply.cc: In function 'SEXPREC* gmpMatToListZ(SEXP, SEXP)': apply.cc:6:21: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 6 | #define NEW_LIST(n) allocVector(VECSXP,n) | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ apply.cc:32:26: note: in expansion of macro 'NEW_LIST' 32 | PROTECT (ans = NEW_LIST(matrix.nrow) ); | ^~~~~~~~ apply.cc:6:21: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 6 | #define NEW_LIST(n) allocVector(VECSXP,n) | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ apply.cc:51:26: note: in expansion of macro 'NEW_LIST' 51 | PROTECT (ans = NEW_LIST(ncol) ); | ^~~~~~~~ apply.cc:70:4: error: 'error' was not declared in this scope; did you mean 'perror'? 70 | error("%s",e.what()); | ^~~~~ | perror apply.cc: In function 'SEXPREC* gmpMatToListQ(SEXP, SEXP)': apply.cc:6:21: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 6 | #define NEW_LIST(n) allocVector(VECSXP,n) | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ apply.cc:95:26: note: in expansion of macro 'NEW_LIST' 95 | PROTECT (ans = NEW_LIST(matrix.nrow) ); | ^~~~~~~~ apply.cc:6:21: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 6 | #define NEW_LIST(n) allocVector(VECSXP,n) | ^~~~~~~~~~~ /data/gannet/ripley/R/R-devel/include/Rinternals.h:371:36: note: in definition of macro 'PROTECT' 371 | #define PROTECT(s) Rf_protect(s) | ^ apply.cc:111:26: note: in expansion of macro 'NEW_LIST' 111 | PROTECT (ans = NEW_LIST(ncol) ); | ^~~~~~~~ apply.cc:130:5: error: 'error' was not declared in this scope; did you mean 'perror'? 130 | error("%s",e.what()); | ^~~~~ | perror apply.cc: In function 'SEXPREC* gmpMatToListZ(SEXP, SEXP)': apply.cc:71:3: warning: control reaches end of non-void function [-Wreturn-type] 71 | } | ^ apply.cc: In function 'SEXPREC* gmpMatToListQ(SEXP, SEXP)': apply.cc:131:3: warning: control reaches end of non-void function [-Wreturn-type] 131 | } | ^ make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:200: apply.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/gmp/src' ERROR: compilation failed for package ‘gmp’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/gmp-lib/gmp’ Command exited with non-zero status 1 Time 0:10.87, 4.40 + 2.47