在搭建完9.0编译环境后,编译7.1 kernel 报错
sudo apt-get install gcc-multilib
apt-get install lzop
sudo apt install g++-multilib
sudo apt install gperf
sudo apt install libxml2-utils
sudo apt install curl
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install m4
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
只需安装python-dev,它是Python的头文件和静态库包:
sudo apt-get install python-dev
第一次在 RK3399 编译 Android 8.1 的系统,编译内核过程中报错如下:
/bin/sh: 1: lz4c: not found
make[1]: *** [arch/arm64/boot/Image.lz4] 错误 1
make: *** [Image.lz4] 错误 2
提示指令 lz4c 未找到,安装指令包即可
$ sudo apt-get install liblz4-tool
Unable to find the ncurses libraries的解决办法
2016-12-13 23:37:01 梦幽阁 阅读数 6314更多
我们在更新CentOS或者Ubuntu的内核时,执行make menuconfig可能看如这样的错误:
*** Unable to find the ncurses libraries or the
*** required header files.
*** ‘make menuconfig’ requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
解决办法如下:
CentOS:
yum install -y ncurses-devel
Ubuntu:
sudo apt-get install ncurses-dev