############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL LEA ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘LEA’ ... ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_LFMM.c -o R_LFMM.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_crossEntropy.c -o R_crossEntropy.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_createDataSet.c -o R_createDataSet.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_sNMF.c -o R_sNMF.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ancestrymap2geno.c -o R_ancestrymap2geno.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ancestrymap2lfmm.c -o R_ancestrymap2lfmm.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_geno2lfmm.c -o R_geno2lfmm.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_lfmm2geno.c -o R_lfmm2geno.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_pca.c -o R_pca.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ped2geno.c -o R_ped2geno.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_ped2lfmm.c -o R_ped2lfmm.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_vcf2geno.c -o R_vcf2geno.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_tracyWidom.c -o R_tracyWidom.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c R_init_LEA.c -o R_init_LEA.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c bituint/bituint.c -o bituint/bituint.o bituint/bituint.c:30:28: error: call to undeclared function 'Calloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *dat = (bituint *) Calloc(N * (*Mp) * sizeof(bituint), bituint); ^ bituint/bituint.c:30:64: error: unexpected type name 'bituint': expected expression *dat = (bituint *) Calloc(N * (*Mp) * sizeof(bituint), bituint); ^ 2 errors generated. make: *** [bituint/bituint.o] Error 1 ERROR: compilation failed for package ‘LEA’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/LEA’