* installing *source* package 'SurvivalBayes' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c settingInterval.cpp -o settingInterval.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANincoming/R-devel/lib/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c updateRP_genomic_cpp.cpp -o updateRP_genomic_cpp.o updateRP_genomic_cpp.cpp: In function 'Rcpp::List updateBH_list_cpp(Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, double)': updateRP_genomic_cpp.cpp:69:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 69 | for (unsigned int g = 0; g < S; ++g) | ~~^~~ updateRP_genomic_cpp.cpp:83:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 83 | for (unsigned int j = 0; j < J_tmp; ++j) | ~~^~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o SurvivalBayes.dll tmp.def RcppExports.o init.o settingInterval.o updateRP_genomic_cpp.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x108): undefined reference to `_BayesSurvive_calJpost_helper_cpp' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x120): undefined reference to `_BayesSurvive_matProdVec' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x138): undefined reference to `_BayesSurvive_settingInterval_cpp' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x150): undefined reference to `_BayesSurvive_sumMatProdVec' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x168): undefined reference to `_BayesSurvive_updateBH_cpp' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x180): undefined reference to `_BayesSurvive_updateBH_list_cpp' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: init.o:init.c:(.rdata+0x198): undefined reference to `_BayesSurvive_updateRP_genomic_cpp' collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'SurvivalBayes' * removing 'd:/RCompile/CRANincoming/R-devel/lib/SurvivalBayes'