* installing *source* package ‘pegs’ ... ** this is package ‘pegs’ version ‘0.1’ ** using staged installation ** libs using C++ compiler: ‘Debian clang version 21.1.5 (1)’ clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c PEGS_lapack.cpp -o PEGS_lapack.o PEGS_lapack.cpp:150:5: error: no matching function for call to 'dgemm_' 150 | F77_CALL(dgemm)(&transa, &transb, &p, &k, &n0, &alpha, X_ptr, &n0, y.data(), &n0, &beta, tilde.data(), &p ADD_FC_LEN2); | ^~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :263:1: note: expanded from here 263 | dgemm_ | ^~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/BLAS.h:220:1: note: candidate function not viable: requires 15 arguments, but 13 were provided 220 | F77_NAME(dgemm)(const char *transa, const char *transb, const BLAS_INT *m, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | const BLAS_INT *n, const BLAS_INT *k, const double *alpha, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | const double *a, const BLAS_INT *lda, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | const double *b, const BLAS_INT *ldb, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | const double *beta, double *c, const BLAS_INT *ldc | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | FCLEN FCLEN); | ~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :330:1: note: expanded from here 330 | dgemm_ | ^ PEGS_lapack.cpp:183:9: error: no matching function for call to 'dpotrf_' 183 | F77_CALL(dpotrf)(&uplo, &k, LHS.data(), &k, &info ADD_FC_LEN); | ^~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :265:1: note: expanded from here 265 | dpotrf_ | ^~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/Lapack.h:859:1: note: candidate function not viable: requires 6 arguments, but 5 were provided 859 | F77_NAME(dpotrf)(const char* uplo, const La_INT* n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 860 | double* a, const La_INT* lda, La_INT* info FCLEN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :475:1: note: expanded from here 475 | dpotrf_ | ^ PEGS_lapack.cpp:189:9: error: no matching function for call to 'dpotrs_' 189 | F77_CALL(dpotrs)(&uplo, &k, &nrhs, LHS.data(), &k, RHS.data(), &k, &info ADD_FC_LEN); | ^~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :266:1: note: expanded from here 266 | dpotrs_ | ^~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/Lapack.h:883:1: note: candidate function not viable: requires 9 arguments, but 8 were provided 883 | F77_NAME(dpotrs)(const char* uplo, const La_INT* n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 884 | const La_INT* nrhs, const double* a, const La_INT* lda, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 885 | double* b, const La_INT* ldb, La_INT* info FCLEN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :479:1: note: expanded from here 479 | dpotrs_ | ^ PEGS_lapack.cpp:209:7: error: no matching function for call to 'dgemm_' 209 | F77_CALL(dgemm)(&transa, &transb, &k, &k, &p, &alpha, b.data(), &p, tilde.data(), &p, &beta, TildeHat.data(), &k ADD_FC_LEN2); | ^~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :269:1: note: expanded from here 269 | dgemm_ | ^~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/BLAS.h:220:1: note: candidate function not viable: requires 15 arguments, but 13 were provided 220 | F77_NAME(dgemm)(const char *transa, const char *transb, const BLAS_INT *m, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | const BLAS_INT *n, const BLAS_INT *k, const double *alpha, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | const double *a, const BLAS_INT *lda, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | const double *b, const BLAS_INT *ldb, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | const double *beta, double *c, const BLAS_INT *ldc | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | FCLEN FCLEN); | ~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :330:1: note: expanded from here 330 | dgemm_ | ^ PEGS_lapack.cpp:232:7: error: no matching function for call to 'dsyev_' 232 | F77_CALL(dsyev)(&jobz, &uplo_eig, &k, vb_copy.data(), &k, eigvals.data(), work.data(), &lwork, &info_eig ADD_FC_LEN2); | ^~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :270:1: note: expanded from here 270 | dsyev_ | ^~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/Lapack.h:1300:1: note: candidate function not viable: requires 11 arguments, but 9 were provided 1300 | F77_NAME(dsyev)(const char* jobz, const char* uplo, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1301 | const La_INT* n, double* a, const La_INT* lda, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1302 | double* w, double* work, const La_INT* lwork, La_INT* info | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1303 | FCLEN FCLEN); | ~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :18:1: note: expanded from here 18 | dsyev_ | ^ PEGS_lapack.cpp:245:7: error: no matching function for call to 'dpotrf_' 245 | F77_CALL(dpotrf)(&uplo_inv, &k, vb_copy.data(), &k, &info_inv ADD_FC_LEN); | ^~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :271:1: note: expanded from here 271 | dpotrf_ | ^~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/Lapack.h:859:1: note: candidate function not viable: requires 6 arguments, but 5 were provided 859 | F77_NAME(dpotrf)(const char* uplo, const La_INT* n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 860 | double* a, const La_INT* lda, La_INT* info FCLEN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :475:1: note: expanded from here 475 | dpotrf_ | ^ PEGS_lapack.cpp:247:9: error: no matching function for call to 'dpotri_' 247 | F77_CALL(dpotri)(&uplo_inv, &k, vb_copy.data(), &k, &info_inv ADD_FC_LEN); | ^~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :272:1: note: expanded from here 272 | dpotri_ | ^~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/Lapack.h:877:1: note: candidate function not viable: requires 6 arguments, but 5 were provided 877 | F77_NAME(dpotri)(const char* uplo, const La_INT* n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 878 | double* a, const La_INT* lda, La_INT* info FCLEN); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :478:1: note: expanded from here 478 | dpotri_ | ^ PEGS_lapack.cpp:283:5: error: no matching function for call to 'dgemm_' 283 | F77_CALL(dgemm)(&transb_final, &transb_final, &n0, &k, &p, &alpha, X_ptr, &n0, b.data(), &p, &beta, hat.data(), &n0 ADD_FC_LEN2); | ^~~~~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^~~~~~ :273:1: note: expanded from here 273 | dgemm_ | ^~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/BLAS.h:220:1: note: candidate function not viable: requires 15 arguments, but 13 were provided 220 | F77_NAME(dgemm)(const char *transa, const char *transb, const BLAS_INT *m, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | const BLAS_INT *n, const BLAS_INT *k, const double *alpha, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | const double *a, const BLAS_INT *lda, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | const double *b, const BLAS_INT *ldb, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | const double *beta, double *c, const BLAS_INT *ldc | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | FCLEN FCLEN); | ~~~~~~~~~~~ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:102:24: note: expanded from macro 'F77_NAME' 102 | #define F77_NAME(x) F77_CALL(x) | ^ /home/hornik/tmp/R-d-clang-21/include/R_ext/RS.h:98:22: note: expanded from macro 'F77_CALL' 98 | # define F77_CALL(x) x ## _ | ^ :330:1: note: expanded from here 330 | dgemm_ | ^ 8 errors generated. make: *** [/home/hornik/tmp/R-d-clang-21/etc/Makeconf:209: PEGS_lapack.o] Error 1 ERROR: compilation failed for package ‘pegs’ * removing ‘/srv/hornik/tmp/CRAN_pretest/pegs.Rcheck/pegs’