|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:2 }8 }3 C( n- e5 B; ]/ f- V& Y
我用的开发板是TL138/1808/6748F-EasyEVM,8 A" E+ R. d* C
! V& i9 B, j8 g& P% b8 Z& O
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,# \0 i. j2 t2 J9 _
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
- Z M9 J9 M4 ?- D *** Unable to find the ncurses libraries or the
6 g$ R6 X" e6 m% F$ l *** required header files.0 }; P( ~ x. h( N
*** 'make menuconfig' requires the ncurses libraries.
5 G$ V9 D0 k! Q3 e *** 6 |, [3 X/ {4 U. d- W
*** Install ncurses (ncurses-devel) and try again." V$ E8 |6 e* h
***
- K3 D9 j, h6 o1 @) K0 m7 ?* k6 umake[1]: *** [scripts/kconfig/dochecklxdialog] Error 1/ m' H" [+ X3 r* g: H' M
make: *** [menuconfig] Error 2
0 U& H7 s' i; y. _这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
6 Y' p- R2 w3 g; D s3 q+ B7 h y7 Z# U: F$ d$ h( K N7 `
第2个问题:9 n5 l: W. h! q! u& r
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:8 B' ^/ E& M* H( j
on your host. Do you have administrator privilieges?: P0 V) `" @3 ~8 a- q0 X
Type 'y' to continue or 'n' to exit the installation: y" V( }* {* \0 Q& e: `' r U
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake: V" D( g6 ~, [
Reading package lists... Done* N6 H- o+ j- W- p, A! h
Building dependency tree 4 `2 `, j. K8 C2 F, S
Reading state information... Done
) l, P' b4 Y3 z" }6 l1 p6 TE: Couldn't find package xinetd$ Z4 V* r! I* @& o
Failed setup, aborting..' I- h Z, j0 x
Failed setup, aborting..4 x4 J0 O3 s" S: X4 V; Z+ e
0 m# o2 ]9 G5 n7 d ^& p
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|