* installing *source* package ‘distances’ ... ** package ‘distances’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-13 (GCC) 13.2.0’ using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/distances/src' gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c distances-init.c -o distances-init.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c error.c -o error.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c get_dists.c -o get_dists.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c internal.c -o internal.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c max_dists.c -o max_dists.o gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c nn_search.c -o nn_search.o 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 nn_search_ann.cpp -o nn_search_ann.o nn_search_ann.cpp: In function 'bool idist_init_nearest_neighbor_search(SEXP, size_t, const int*, idist_NNSearch**)': nn_search_ann.cpp:67:44: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 67 | const int num_dimensions = INTEGER(getAttrib(R_distances, R_DimSymbol))[0]; | ^~~~~~~~~ | Rf_getAttrib nn_search_ann.cpp: In function 'bool idist_nearest_neighbor_search(idist_NNSearch*, size_t, const int*, uint32_t, bool, double, size_t*, int*, int*)': nn_search_ann.cpp:146:44: error: 'getAttrib' was not declared in this scope; did you mean 'Rf_getAttrib'? 146 | const int num_dimensions = INTEGER(getAttrib(R_distances, R_DimSymbol))[0]; | ^~~~~~~~~ | Rf_getAttrib make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: nn_search_ann.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/distances/src' ERROR: compilation failed for package ‘distances’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/distances-lib/distances’ Command exited with non-zero status 1 Time 0:04.04, 3.21 + 0.55