* installing *source* package ‘mcrPioda’ ... ** using staged installation checking for gcc... clang-18 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 the compiler supports GNU C... yes checking whether clang-18 accepts -g... yes checking for clang-18 option to enable C11 features... none needed checking whether the compiler supports GNU Fortran... no checking whether flang-new-18 accepts -g... yes checking for gsl-config... /usr/bin/gsl-config checking if GSL version >= 2.2... yes configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘Debian clang version 18.1.8 (9)’ using Fortran compiler: ‘Debian flang-new version 18.1.8 (9)’ clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c PaBaAlgorithm.c -o PaBaAlgorithm.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c calcRegression.c -o calcRegression.o calcRegression.c:188:17: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | double *ans = Calloc(N*(N-1)/2, double); /* (n(n-1)/2) x 1 */ | ^ calcRegression.c:188:35: error: expected expression 188 | double *ans = Calloc(N*(N-1)/2, double); /* (n(n-1)/2) x 1 */ | ^ calcRegression.c:272:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | Free(ans); | ^ calcRegression.c:272:3: note: did you mean 'free'? /usr/include/stdlib.h:687:13: note: 'free' declared here 687 | extern void free (void *__ptr) __THROW; | ^ calcRegression.c:277:39: error: expected expression 277 | double *mcres_intercept = Calloc(N, double); | ^ 4 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:195: calcRegression.o] Error 1 ERROR: compilation failed for package ‘mcrPioda’ * removing ‘/srv/hornik/tmp/CRAN/mcrPioda.Rcheck/mcrPioda’