|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
$ S+ Z$ k0 K' e: x" J我用的开发板是TL138/1808/6748F-EasyEVM,
0 h& @% W% ]4 R+ L Z' J
% x/ X% j; L. U) w" ]) b- l- v1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
' x/ c% i" j: w% f执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:! s5 |3 S" M% g6 P ^5 Q
*** Unable to find the ncurses libraries or the7 D* ]) o7 g! m
*** required header files.
0 N- ^" J$ m# _6 N *** 'make menuconfig' requires the ncurses libraries.7 I2 C2 X o" T
*** , U# L$ U6 C' u! F& R u
*** Install ncurses (ncurses-devel) and try again.% [% T6 G* t. ?
***
/ U( {' P9 y1 t# K9 imake[1]: *** [scripts/kconfig/dochecklxdialog] Error 1, @( t1 Q5 S8 k3 K: N* k
make: *** [menuconfig] Error 20 X7 m' K0 d$ k. I" h& B
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
6 Q+ d6 P- K& R0 Q/ u1 l/ a+ t7 L# [7 L
第2个问题:& l3 x( x0 ^& t; o
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
{5 G) _7 h2 Q lon your host. Do you have administrator privilieges?8 _0 v Z8 B$ r: o2 m% Q& U
Type 'y' to continue or 'n' to exit the installation: y
5 u0 O7 O r, q7 @Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake* j. m+ |8 g$ P" w5 y( E
Reading package lists... Done
1 h% w* e# G! Y# X* @5 ^ L# hBuilding dependency tree 8 o* g0 b# B. ~7 p9 |
Reading state information... Done
2 p1 p+ D& h) K8 |E: Couldn't find package xinetd6 C6 j, b6 ~2 W$ m, K1 i
Failed setup, aborting.." B4 a# c0 N4 Z; D" H( W& f) T
Failed setup, aborting..
3 J7 O. Y& [* |# U4 q& S/ J, V$ x) A, h) [3 @- l& b0 D
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|