* installing *source* package ‘hann’ ... ** this is package ‘hann’ version ‘1.0’ ** using staged installation ** libs using C compiler: ‘Debian clang version 19.1.7 (3+b1)’ clang-19 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c common_utils.c -o common_utils.o clang-19 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c energy.c -o energy.o clang-19 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c hann.c -o hann.o clang-19 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c prototype_6.c -o prototype_6.o clang-19 -std=gnu23 -I"/home/hornik/tmp/R/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c prototype_7.c -o prototype_7.o prototype_7.c:186:26: error: use of undeclared identifier 'KC' 186 | O = (double*)R_alloc(KC, sizeof(double)); | ^ prototype_7.c:189:19: error: use of undeclared identifier 'np1' 189 | bias = PARA + np1; | ^ prototype_7.c:193:21: error: use of undeclared identifier 'np1' 193 | grad_bias = GRAD + np1; | ^ prototype_7.c:195:31: error: use of undeclared identifier 'KC' 195 | Deviation = (double*)R_alloc(KC, sizeof(double)); | ^ prototype_7.c:196:27: error: use of undeclared identifier 'KC' 196 | bar_O = (double*)R_alloc(KC, sizeof(double)); | ^ prototype_7.c:201:37: error: use of undeclared identifier 'K' 201 | fast_mat_prod_0(sigma_xi, w, O, K, C, N); | ^ prototype_7.c:201:40: error: use of undeclared identifier 'C' 201 | fast_mat_prod_0(sigma_xi, w, O, K, C, N); | ^ prototype_7.c:201:43: error: use of undeclared identifier 'N' 201 | fast_mat_prod_0(sigma_xi, w, O, K, C, N); | ^ prototype_7.c:203:21: error: use of undeclared identifier 'KC' 203 | for (i = 0; i < KC; i++) | ^ prototype_7.c:204:35: error: use of undeclared identifier 'K' 204 | O[i] = tanh(BETA * O[i] + bias[i/K]); // integer division (i/K) | ^ prototype_7.c:204:14: error: use of undeclared identifier 'BETA' 204 | O[i] = tanh(BETA * O[i] + bias[i/K]); // integer division (i/K) | ^ prototype_7.c:206:9: error: use of undeclared identifier 'control_list' 206 | if (control_list[2]) { | ^ prototype_7.c:207:26: error: use of undeclared identifier 'K' 207 | k = do_error_rate(E, O, K, C); | ^ prototype_7.c:207:29: error: use of undeclared identifier 'C' 207 | k = do_error_rate(E, O, K, C); | ^ prototype_7.c:208:39: error: use of undeclared identifier 'K' 208 | Rprintf("Error rate = %d / %d\n", k, K); | ^ prototype_7.c:212:18: error: use of undeclared identifier 'KC' 212 | for (i = 0; i < KC; i++) | ^ prototype_7.c:217:18: error: use of undeclared identifier 'KC' 217 | for (i = 0; i < KC; i++) { | ^ prototype_7.c:222:18: error: use of undeclared identifier 'KC' 222 | for (i = 0; i < KC; i++) | ^ prototype_7.c:234:15: error: use of undeclared identifier 'BETA' 234 | tmp = 2 * BETA; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [/home/hornik/tmp/R/etc/Makeconf:202: prototype_7.o] Error 1 ERROR: compilation failed for package ‘hann’ * removing ‘/srv/hornik/tmp/CRAN_pretest/hann.Rcheck/hann’