* 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 (11)’ 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:12: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | curoff = Calloc(nlev + 1, int); | ^ factor.c:25:29: error: expected expression 25 | curoff = 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:11: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | stack = Calloc(numvert * 4, int); | ^ factor.c:162:31: error: expected expression 162 | stack = 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:18: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | int *newlist = Calloc(N, int); | ^ factor.c:251:28: error: expected expression 251 | int *newlist = Calloc(N, int); | ^ factor.c:252:28: error: expected expression 252 | int *oldlist = Calloc(N, int); | ^ factor.c:255:36: error: expected expression 255 | int *facmat = 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:11: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | gpsiz = Calloc(comps, double); | ^ factor.c:425:25: error: expected expression 425 | gpsiz = Calloc(comps, double); | ^ factor.c:426:23: error: expected expression 426 | idx = 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:26: error: expected expression 435 | levtrl = 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’