* installing *source* package ‘bitrugs’ ... ** package ‘bitrugs’ successfully unpacked and MD5 sums checked ** using staged installation ** libs make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src' /usr/local/gcc10/bin/gcc -I"/data/gannet/ripley/R/R-gcc10/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c wgs_functions.c -o wgs_functions.o /usr/local/gcc10/bin/gcc -I"/data/gannet/ripley/R/R-gcc10/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c wgs_mcmc.c -o wgs_mcmc.o wgs_mcmc.c: In function 'network_mcmc': wgs_mcmc.c:39:9: warning: variable 'dmat_can' set but not used [-Wunused-but-set-variable] 39 | int dmat_can[num_sequences][num_sequences]; | ^~~~~~~~ wgs_mcmc.c:37:9: warning: variable 'sqID_can' set but not used [-Wunused-but-set-variable] 37 | int sqID_can[num_sequences]; | ^~~~~~~~ /usr/local/gcc10/bin/gcc -shared -L/usr/local/gcc10/lib64 -L/usr/local/lib64 -o bitrugs.so wgs_functions.o wgs_mcmc.o /usr/bin/ld: wgs_mcmc.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:4: multiple definition of `num_sequences'; wgs_functions.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:4: first defined here /usr/bin/ld: wgs_mcmc.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:1: multiple definition of `num_patients'; wgs_functions.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:1: first defined here /usr/bin/ld: wgs_mcmc.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:2: multiple definition of `studyspan'; wgs_functions.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:2: first defined here /usr/bin/ld: wgs_mcmc.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:5: multiple definition of `allneg'; wgs_functions.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:5: first defined here /usr/bin/ld: wgs_mcmc.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:3: multiple definition of `TP'; wgs_functions.o:/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src/wgsmcmc_head.h:3: first defined here collect2: error: ld returned 1 exit status make[2]: *** [/data/gannet/ripley/R/R-gcc10/share/make/shlib.mk:6: bitrugs.so] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-gcc10/bitrugs/src' ERROR: compilation failed for package ‘bitrugs’ * removing ‘/data/gannet/ripley/R/packages/tests-gcc10/bitrugs.Rcheck/bitrugs’