* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘RQuantLib’ ...
** package ‘RQuantLib’ successfully unpacked and MD5 sums checked
** using staged installation
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 -std=gnu++17 accepts -g... yes
checking for clang++-18 -std=gnu++17 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++-18 -std=gnu++17 -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether clang++-18 -std=gnu++17 accepts -g... (cached) yes
checking for clang++-18 -std=gnu++17 option to enable C++11 features... (cached) none needed
checking for R... yes
checking for quantlib-config... yes
checking for Boost development files... yes
checking for minimal Boost version... yes
configure: creating ./config.status
config.status: creating src/Makevars
Configured RQuantlib 0.4.22
** libs
using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’
make[1]: Entering directory '/tmp/Rtmpi96aci/R.INSTALL1b6af278b16374/RQuantLib/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c affine.cpp -o affine.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c asian.cpp -o asian.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c barrier_binary.cpp -o barrier_binary.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c bermudan.cpp -o bermudan.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c bonds.cpp -o bonds.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c calendars.cpp -o calendars.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c curves.cpp -o curves.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c dates.cpp -o dates.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c daycounter.cpp -o daycounter.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c discount.cpp -o discount.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c hullwhite.cpp -o hullwhite.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c implieds.cpp -o implieds.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c modules.cpp -o modules.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c sabr.cpp -o sabr.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c schedule.cpp -o schedule.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c utils.cpp -o utils.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c vanilla.cpp -o vanilla.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -g -O3 -Wall -pedantic  -I/usr/include -fopenmp  -I../inst/include -I.  -fpic  -g -O3 -Wall -pedantic  -c zero.cpp -o zero.o
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o RQuantLib.so RcppExports.o affine.o asian.o barrier_binary.o bermudan.o bonds.o calendars.o curves.o dates.o daycounter.o discount.o hullwhite.o implieds.o modules.o sabr.o schedule.o utils.o vanilla.o zero.o -Wl,-O1 -L/usr/lib -lQuantLib -fopenmp -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
/usr/bin/ld: cannot find -lomp: No such file or directory
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/share/make/shlib.mk:10: RQuantLib.so] Error 1
make[1]: Leaving directory '/tmp/Rtmpi96aci/R.INSTALL1b6af278b16374/RQuantLib/src'
ERROR: compilation failed for package ‘RQuantLib’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RQuantLib’