|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
. ~& ?/ j! q* g- w/ A8 i1 b: d我用的开发板是TL138/1808/6748F-EasyEVM,: }8 j; j: r; H f
. l; n Y( m& v7 ?7 U
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
4 @0 |8 _9 I: Y执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
% ]8 j2 `4 v; p) V" e. n+ w *** Unable to find the ncurses libraries or the! k8 a) B+ k8 T1 ]/ l: ]
*** required header files.
) l k: ~9 j( Z* h& c/ W *** 'make menuconfig' requires the ncurses libraries.5 W, F8 s& k, y
***
0 p# l& a6 n( w- F3 ?5 X% | *** Install ncurses (ncurses-devel) and try again.
; D8 E+ f1 M7 f ***
3 ^. C+ Y# J* f& I7 {# @make[1]: *** [scripts/kconfig/dochecklxdialog] Error 19 I4 P3 A, H' s' n
make: *** [menuconfig] Error 2
% { w ]8 p6 j3 i: ]) [这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 ! c& Z/ ?9 Z! }! D- _
E: r/ l; X. o第2个问题:
- F6 ?$ b) V" L: I0 s1 ]3 w6 {5 a4 y: ]在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:: B; _7 R! R& E3 {" [! O
on your host. Do you have administrator privilieges?
2 U+ V3 q/ r* FType 'y' to continue or 'n' to exit the installation: y
; D" _+ O, b; M4 f* hPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake: w: P; b5 E1 f4 n2 g8 l1 y L; P, R
Reading package lists... Done6 o0 s2 d/ o6 m* b( j3 V& G" l
Building dependency tree ' B6 e2 L; u: Z2 v
Reading state information... Done
- Y! Y) O% c3 Z7 S2 F1 rE: Couldn't find package xinetd7 H R* B$ H8 C0 Y% t1 }
Failed setup, aborting..
2 k' _* V. |! }/ }3 sFailed setup, aborting..
; E3 B9 f% D' h! w: p
8 I) G) O% E; {现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|