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

扫描二维码关注公众号,回复: 5143010 查看本文章

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

猜你喜欢

转载自www.cnblogs.com/zjbfvfv/p/10348887.html
今日推荐