The problems when using a new ubuntu 18.04

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

 

上一篇:POJ2151Check the difficulty of problems


下一篇:001HTML+CSS导学