I've got the same error message when building boolector.
I'm running the Makefile provided from here (). Which yields:
tar xf archives/boolector*.tar.gz
cd boolector && ./configure.sh && make
[configure.sh] optimized compilation (no '-g')
[configure.sh] compiling without logging support (default for no debugging)
[configure.sh] disabling PicoSAT: '/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../picosat' missing
[configure.sh] using Lingeling in '/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling'
[configure.sh] not using YalSAT
[configure.sh] not using Druplig
[configure.sh] disabling MiniSAT: '/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../minisat' missing
[configure.sh] linking against 'libm'
[configure.sh] CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING
[configure.sh] LIBS=-Wl\,-rpath\,/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/build -Lbuild -L/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -llgl -lm
[configure.sh] INCS=-Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling
[configure.sh] makefile generated
make[1]: Entering directory '/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorclone.c -o build/btorclone.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btordcr.c -o build/btordcr.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btoraigvec.c -o build/btoraigvec.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorbitvec.c -o build/btorbitvec.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btortrapi.c -o build/btortrapi.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorexp.c -o build/btorexp.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorabort.c -o build/btorabort.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btordbg.c -o build/btordbg.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorchkclone.c -o build/btorchkclone.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorslvsls.c -o build/btorslvsls.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btormc.c -o build/btormc.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorslvaigprop.c -o build/btorslvaigprop.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorbeta.c -o build/btorbeta.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNBTORLOG -DBTOR_USE_LINGELING -Isrc -Ibuild -I/home/marc/packages/symbiyosys-git/src/boolector-2.4.1-with-lingeling-bbc/boolector/../lingeling -c src/btorcore.c -o build/btorcore.o
src/btorcore.c: In function 'btor_sat_btor':
src/btorcore.c:3728:29: error: 'BTOR_OPT_LOGLEVEL' undeclared (first use in this function); did you mean 'BTOR_OPT_SEED'?
btor_set_opt (mclone, BTOR_OPT_LOGLEVEL, 0);