$ make
Building a Verilator-based simulation of thruwire
g++ -I/usr/share/verilator/include -I obj_dir \
/usr/share/verilator/include/verilated.cpp \
thruwire.cpp obj_dir/Vthruwire__ALL.a \
-o thruwire
/usr/bin/ld: /tmp/ccZsNn1l.o: in function `VerilatedContext::threadPoolp()':
verilated.cpp:(.text+0xbd8e): undefined reference to `VlThreadPool::VlThreadPool(VerilatedContext*, unsigned int)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:44: thruwire] Error 1
Do I miss any environment setting? The very same error happens when I try the make in example ex-01-maskbus. My system is a standard Debian 12 Linux, and comes with verilator version 5.006:
$ verilator -V
Verilator 5.006 2023-01-22 rev (Debian 5.006-3)
Copyright 2003-2023 by Wilson Snyder. Verilator is free software; you can
redistribute it and/or modify the Verilator internals under the terms of
either the GNU Lesser General Public License Version 3 or the Perl Artistic
License Version 2.0.
See https://verilator.org for documentation
Summary of configuration:
Compiled in defaults if not in environment:
SYSTEMC =
SYSTEMC_ARCH =
SYSTEMC_INCLUDE =
SYSTEMC_LIBDIR =
VERILATOR_ROOT = /usr/share/verilator
SystemC system-wide = 1
Environment:
MAKE =
PERL =
SYSTEMC =
SYSTEMC_ARCH =
SYSTEMC_INCLUDE =
SYSTEMC_LIBDIR =
VERILATOR_BIN =
VERILATOR_ROOT =
Supported features (compiled-in or forced by environment):
COROUTINES = 1
SYSTEMC = 1