* installing *source* package ‘lfe’ ... ** 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... clang-18 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether clang-18 is Clang... yes checking whether pthreads work with "-pthread" and "-lpthread"... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for timed semaphore wait... yes checking for library containing pthread_setname_np... none required configure: creating ./config.status config.status: creating src/Makevars config.status: creating src/config.h config.status: src/config.h is unchanged ** libs using C compiler: ‘Debian clang version 18.1.8 (12)’ clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -pthread -fpic -g -O3 -Wall -pedantic -c crowsum.c -o crowsum.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -pthread -fpic -g -O3 -Wall -pedantic -c demean.c -o demean.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -pthread -fpic -g -O3 -Wall -pedantic -c factor.c -o factor.o factor.c:25:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | curoff = (int*)Calloc(nlev + 1, int); | ^ factor.c:25:35: error: expected expression 25 | curoff = (int*)Calloc(nlev + 1, int); | ^ factor.c:31:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | Free(curoff); | ^ factor.c:31:3: note: did you mean 'free'? /usr/include/stdlib.h:687:13: note: 'free' declared here 687 | extern void free (void *__ptr) __THROW; | ^ factor.c:162:17: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | stack = (int*)Calloc(numvert * 4, int); | ^ factor.c:162:37: error: expected expression 162 | stack = (int*)Calloc(numvert * 4, int); | ^ factor.c:236:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | Free(stack); | ^ factor.c:251:24: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | int *newlist = (int*)Calloc(N, int); | ^ factor.c:251:34: error: expected expression 251 | int *newlist = (int*)Calloc(N, int); | ^ factor.c:252:34: error: expected expression 252 | int *oldlist = (int*)Calloc(N, int); | ^ factor.c:255:42: error: expected expression 255 | int *facmat = (int*)Calloc(numfac * N, int); | ^ factor.c:301:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | Free(facmat); | ^ factor.c:425:20: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | gpsiz = (double*)Calloc(comps, double); | ^ factor.c:425:34: error: expected expression 425 | gpsiz = (double*)Calloc(comps, double); | ^ factor.c:426:29: error: expected expression 426 | idx = (int*)Calloc(comps, int); | ^ factor.c:434:3: error: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | Free(gpsiz); | ^ factor.c:435:32: error: expected expression 435 | levtrl = (int*)Calloc(comps, int); | ^ 16 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:195: factor.o] Error 1 ERROR: compilation failed for package ‘lfe’ * removing ‘/srv/hornik/tmp/CRAN_pretest/lfe.Rcheck/lfe’