|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:9 F6 ]/ D* h; N( x" m
我用的开发板是TL138/1808/6748F-EasyEVM,
% D- f; a) E, \% P
1 r9 A0 }5 Z: | @+ o1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
9 \% p; h" ^& W( n9 X执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:; h; q2 T8 y! J# X8 O. n
*** Unable to find the ncurses libraries or the. b( X% Z+ K& J8 L! G/ t5 g
*** required header files. G z$ x% \& T9 Y; w: r9 c
*** 'make menuconfig' requires the ncurses libraries.
$ \& M: _; g% j; m- `' y ***
4 S& I, H2 `9 X( L *** Install ncurses (ncurses-devel) and try again.( M1 s* E1 X, c; @" o( [; P/ O6 F
*** " N- ]6 B z! L9 Z* b5 P. \4 _
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1+ H4 X2 ]5 O* {& n
make: *** [menuconfig] Error 2
' s' s( }2 e% W& i2 ?+ M6 ]+ V i这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
# m4 \( ]2 T, l- O. `& l: Q
4 X5 N) B, k/ l$ ?! W* l第2个问题:& _3 K; Z$ Q/ b) u: M: U9 ?7 o
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
- j$ H8 u% L- |6 U O1 Fon your host. Do you have administrator privilieges?
8 _5 [! E. E0 P4 T+ o$ M; D4 _Type 'y' to continue or 'n' to exit the installation: y, X4 I9 T7 S- r/ O
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
+ R* X; Y0 [9 |1 U+ K! aReading package lists... Done
; t9 \0 I9 H: P1 l, SBuilding dependency tree
, u* r) |! s; T1 m, z: |7 H1 j: BReading state information... Done
! f* N. w7 Q, y# o G( V, eE: Couldn't find package xinetd9 Q* `9 s( u6 S: K$ I, |
Failed setup, aborting..+ L3 p4 @7 m* `: K' M P) b
Failed setup, aborting..
# l& l: E u: I K5 P$ t; |+ S& X" X6 Q8 g. D- ^
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|