* installing *source* package ‘fcwtr’ ... ** using staged installation checking for gcc... clang-18 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang-18 accepts -g... yes checking for clang-18 option to enable C11 features... none needed checking how to run the C preprocessor... clang-18 -E checking for brew... no checking whether the compiler supports GNU C++... yes checking whether clang++-18 -std=gnu++17 accepts -g... yes checking for clang++-18 -std=gnu++17 option to enable C++11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for fftw3.h... yes checking for library containing fftwf_free... -lfftw3f checking for omp.h... yes checking for library containing fftwf_plan_with_nthreads... -lfftw3f_omp checking for clang++-18 -std=gnu++17 option to support OpenMP... -fopenmp configure: creating ./config.status config.status: creating src/Makevars -------------------------------------------------- Configuration for fcwtr 0.2.0 cppflags: cxxflags: -fopenmp ldflags: libs: -lfftw3f_omp -lfftw3f -------------------------------------------------- ** libs using C++ compiler: ‘Debian clang version 18.1.6 (1)’ using C++17 clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I. -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -fopenmp -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:5: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/declarations.hpp:13: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I. -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -fopenmp -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c fcwt.cpp -o fcwt.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I. -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -fopenmp -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c interface_fcwt.cpp -o interface_fcwt.o In file included from interface_fcwt.cpp:1: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o fcwtr.so cpp11.o fcwt.o interface_fcwt.o -lfftw3f_omp -lfftw3f -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/fcwtr.Rcheck/00LOCK-fcwtr/00new/fcwtr/libs ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘fcwtr’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/srv/hornik/tmp/CRAN/fcwtr.Rcheck/00LOCK-fcwtr/00new/fcwtr/libs/fcwtr.so': /srv/hornik/tmp/CRAN/fcwtr.Rcheck/00LOCK-fcwtr/00new/fcwtr/libs/fcwtr.so: undefined symbol: __kmpc_for_static_init_4 Error: loading failed Execution halted ERROR: loading failed * removing ‘/srv/hornik/tmp/CRAN/fcwtr.Rcheck/fcwtr’