* installing *source* package ‘FNN’ ... ** package ‘FNN’ 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/FNN/src' g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT -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 ANN.cpp -o ANN.o g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT -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 KNN_ANN.cpp -o KNN_ANN.o KNN_ANN.cpp: In function 'void get_KNN_brute(double*, const int*, const int*, const int*, int*, double*)': KNN_ANN.cpp:37:28: error: 'error' was not declared in this scope; did you mean 'perror'? 37 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void get_KNNX_brute(double*, double*, int*, int*, int*, int*, int*, double*)': KNN_ANN.cpp:98:28: error: 'error' was not declared in this scope; did you mean 'perror'? 98 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp:99:29: error: 'error' was not declared in this scope; did you mean 'perror'? 99 | if(query_pts==NULL) error("Cannot allocate memroy for query data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void get_KNN_kd(double*, const int*, const int*, const int*, int*, double*)': KNN_ANN.cpp:151:28: error: 'error' was not declared in this scope; did you mean 'perror'? 151 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void get_KNNX_kd(double*, double*, int*, int*, int*, int*, int*, double*)': KNN_ANN.cpp:212:28: error: 'error' was not declared in this scope; did you mean 'perror'? 212 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp:213:29: error: 'error' was not declared in this scope; did you mean 'perror'? 213 | if(query_pts==NULL) error("Cannot allocate memroy for query data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void KNN_MLD_brute(double*, const int*, const int*, const int*, double*)': KNN_ANN.cpp:267:28: error: 'error' was not declared in this scope; did you mean 'perror'? 267 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void KNN_MLD_kd(double*, const int*, const int*, const int*, double*)': KNN_ANN.cpp:315:28: error: 'error' was not declared in this scope; did you mean 'perror'? 315 | if(data_pts==NULL) error("Cannot allocate memroy for data matrix!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void KL_divergence(double*, double*, const int*, const int*, const int*, const int*, double*)': KNN_ANN.cpp:367:25: error: 'error' was not declared in this scope; did you mean 'perror'? 367 | if(X_pts==NULL) error("Cannot allocate memroy for X vector!\n"); | ^~~~~ | perror KNN_ANN.cpp:368:25: error: 'error' was not declared in this scope; did you mean 'perror'? 368 | if(Y_pts==NULL) error("Cannot allocate memroy for Y vector!\n"); | ^~~~~ | perror KNN_ANN.cpp: In function 'void KL_dist(double*, double*, const int*, const int*, const int*, const int*, double*)': KNN_ANN.cpp:440:25: error: 'error' was not declared in this scope; did you mean 'perror'? 440 | if(X_pts==NULL) error("Cannot allocate memroy for X vector!\n"); | ^~~~~ | perror KNN_ANN.cpp:441:25: error: 'error' was not declared in this scope; did you mean 'perror'? 441 | if(Y_pts==NULL) error("Cannot allocate memroy for Y vector!\n"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: KNN_ANN.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/FNN/src' ERROR: compilation failed for package ‘FNN’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/FNN-lib/FNN’ Command exited with non-zero status 1 Time 0:04.74, 3.76 + 0.45