* installing *source* package 'o2plsda' ... ** using staged installation ** libs 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.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c misc.cpp -o misc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c oplsda.cpp -o oplsda.o g++ -std=gnu++17 -shared -s -static-libgcc -o o2plsda.dll tmp.def RcppExports.o misc.o oplsda.o -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: oplsda.o:oplsda.cpp:(.text+0x27d1): undefined reference to `dtrtrs_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x17e7): undefined reference to `dgemm_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x18ec): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x1b36): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x1d04): undefined reference to `dsyrk_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2021): undefined reference to `dgemm_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2120): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2205): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2779): undefined reference to `dgemm_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2887): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2965): undefined reference to `dgemv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text.hot+0x2d84): undefined reference to `dsyrk_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE]+0x52b): undefined reference to `ilaenv_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE]+0x65e): undefined reference to `dgelsd_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib16solve_approx_svdINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEESA_RKNS_4BaseIS8_S7_EE]+0x79c): undefined reference to `dgelsd_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE]+0x1a9): undefined reference to `dlansy_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE]+0x1d2): undefined reference to `dpotrf_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE]+0x216): undefined reference to `dpotrs_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib17solve_sympd_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_8pod_typeEEERbRS8_SA_RKNS_4BaseIS8_S7_EE]+0x2da): undefined reference to `dpocon_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE]+0x36b): undefined reference to `dgbtrf_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE]+0x3e2): undefined reference to `dgbtrs_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib23solve_band_rcond_commonINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeERKS9_jjRKNS_4BaseIS8_S7_EE]+0x510): undefined reference to `dgbcon_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x101): undefined reference to `dtrcon_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib16solve_rect_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib16solve_rect_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE]+0x4a5): undefined reference to `dgels_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib16solve_rect_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib16solve_rect_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE]+0x766): undefined reference to `dgels_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib8lu_rcondIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib8lu_rcondIdEET_RKNS_3MatIS2_EES2_]+0xca): undefined reference to `dgecon_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE]+0x183): undefined reference to `dlange_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE]+0x1b0): undefined reference to `dgetrf_' D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: oplsda.o:oplsda.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE[_ZN4arma6auxlib18solve_square_rcondINS_3GenINS_3MatIdEENS_7gen_eyeEEEEEbRNS3_INT_9elem_typeEEERNS7_8pod_typeESA_RKNS_4BaseIS8_S7_EE]+0x265): undefined reference to `dgetrs_' collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'o2plsda' * removing 'd:/RCompile/CRANincoming/R-devel/lib/o2plsda'