在 Ubuntu 20.04.4 LTS 环境中,编译diagnose-tools, 执行make deps时报错
checking whether gcc -m32 makes executables we can run... no
configure: WARNING: not running biarch tests, gcc -m32 does not work
checking for flex... yes
checking for bison... yes
checking for gawk... no
configure: error: gawk needed in maintainer mode
make[1]: Entering directory '/home/jack/code/diagnose-tools/deps/elfutils'
make[1]: *** No rule to make target 'install'. Stop.
make[1]: Leaving directory '/home/jack/code/diagnose-tools/deps/elfutils'
make: *** [Makefile:62: deps] Error 2
解决办法:
sudo apt install gawk