Since 28.11.2023 hcxdumptool has a full featured BPF compiler.
It can be enabled or disabled by Makefile before compilation:
If the compiler is enabled, it is mandatory to satisfy the dependency libpcap.
e.g. on Debian based systems you have to install libpcap and libpcap-dev:
https://packages.debian.org/sid/libpcap-dev
https://packages.debian.org/source/sid/libpcap
That is mentioned in README.md section Requirements:
You got the fatal error, because these packages are not installed on your system.
By latest commit to git, the BPF compiler is now disabled by default.
It can be enabled or disabled by Makefile before compilation:
Code:
# uncomment to enable BPF compiler
#DEFS += -DWANTLIBPCAP
#LDFLAGS += -lpcap
If the compiler is enabled, it is mandatory to satisfy the dependency libpcap.
e.g. on Debian based systems you have to install libpcap and libpcap-dev:
https://packages.debian.org/sid/libpcap-dev
https://packages.debian.org/source/sid/libpcap
That is mentioned in README.md section Requirements:
Code:
* libpcap and libpcap-dev (if internal BPF compiler has been enabled)
You got the fatal error, because these packages are not installed on your system.
By latest commit to git, the BPF compiler is now disabled by default.