1. ubuntu13.04 16ev200 编译内核时报错
liu@ubuntu:~/hisi/16ev200/Hi3516EV200R001C01SPC011/01.software/board/Hi3516EV200_SDK_V1.0.1.1/osdrv/opensource/kernel/linux-4.9.y$ make ARCH=arm CROSS_COMPILE=arm-himix100-linux- menuconfig
HOSTCC scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:23:0:
scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
2. 百度查需要安装libncurses5-dev 包,安吧,出错了,需要安装依赖包
liu@ubuntu:~/hisi/16ev200/Hi3516EV200R001C01SPC011/01.software/board/Hi3516EV200_SDK_V1.0.1.1/osdrv/opensource/kernel/linux-4.9.y$ sudo apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libncurses5-dev : Depends: libncurses5 (= 5.9-4) but 5.9-10ubuntu4 is to be installed
Depends: libtinfo-dev (= 5.9-4) but it is not going to be installed
Depends: ncurses-bin (= 5.9-4) but 5.9-10ubuntu4 is to be installed
E: Unable to correct problems, you have held broken packages.
3. 从最下面的开始安装,安装成功
liu@ubuntu:~/hisi/16ev200/Hi3516EV200R001C01SPC011/01.software/board/Hi3516EV200_SDK_V1.0.1.1/osdrv/opensource/kernel/linux-4.9.y$ sudo apt-get install ncurses-bin=5.9-4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
ncurses-bin
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
Need to get 151 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.163.com/ubuntu/ precise/main ncurses-bin i386 5.9-4 [151 kB]
Fetched 151 kB in 0s (417 kB/s)
dpkg: warning: downgrading ncurses-bin from 5.9-10ubuntu4 to 5.9-4
(Reading database ... 158961 files and directories currently installed.)
Preparing to replace ncurses-bin 5.9-10ubuntu4 (using .../ncurses-bin_5.9-4_i386.deb) ...
Unpacking replacement ncurses-bin ...
Processing triggers for man-db ...
Setting up ncurses-bin (5.9-4) ...
4. 安装完的那个试一下 是有作用的
liu@ubuntu:~/hisi/16ev200/Hi3516EV200R001C01SPC011/01.software/board/Hi3516EV200_SDK_V1.0.1.1/osdrv/opensource/kernel/linux-4.9.y$ sudo apt-get install libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean th