The problems when using a new ubuntu 18.04
阿新 • • 發佈:2019-02-02
question del vim this mod his pda modify arch
1. gcc and binutils must be installed.
errors: “CONFIG_X86_X32 enabled but no binutils support”
sudo apt-get install gcc
sudo apt-get install binutils
2. makefile in vs code, the tab key will be auto relaced by blank. so you can use vim or gedit to modify the makefile.
3. vs code install
download the package from official web.
sudo dpkg -i xx.deb
sudo apt-get update
sudo apt-get install libgconf-2-4 when this lib is not installed.
4. cc1: error: code model kernel does not support PIC mode
sudo gedit ../../../linux-headers-4.15.0-29/arch/x86/Makefile
The problems when using a new ubuntu 18.04