An error occurred during kernal compilation today: GNU awk is required for lib/memtype. h made by memtypes. awk .. After checking the information, it turns out that gawk is not installed.
If you use apt-Get install gawk, the installation is not successful. Then I went to the website and installed a gawk package. The compilation is successful. The following describes how to install gawk.
1. Download a gawkfile at http://ftp.gnu.org/gnu/gawk.
2. copy to the virtual machine, and then tar zxvf gawk-4.0.1.tar.gz.
3. After decompression, enter the directory. Then
./Configure -- prefix =/usr -- libexecdir =/usr/lib
Make
Make check
Make install
MV-V/usr/bin/find/bin
CP-v doc/{awkforai.txt, *. {EPS, PDF, JPG}/usr/share/doc/gawk-3.1.7
Then gawk is installed successfully. Then compiled.
Thank you very much for helping http://blog.chinaunix.net/uid-26552184-id-3634871.html. There are many solutions to the problem. Thank you!
Gawk compilation fails, but gawk is not installed.