|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:7 _2 t6 Z. g4 @( y6 c8 x
我用的开发板是TL138/1808/6748F-EasyEVM,+ U2 A+ d8 p( i3 G9 d* a, ~
! m1 |3 z# W2 m: u1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
2 F; R6 I7 h, p, u% p, w执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
3 v5 [2 Q8 k7 O q *** Unable to find the ncurses libraries or the* g0 F3 ]! ]9 W4 d" k+ e3 ^
*** required header files.7 F6 Z. M Q( C
*** 'make menuconfig' requires the ncurses libraries.$ C; B3 s0 @; w8 [; _% h/ I# o0 l; w) Z
*** + W5 h, N8 d7 ^6 T+ [
*** Install ncurses (ncurses-devel) and try again.
4 z* q7 |( y& L7 x r' u/ e *** B" ^! Y l& Z0 W0 M
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
& h& O( o% n. \; p8 p4 Dmake: *** [menuconfig] Error 2
, O I& H/ N& a$ M/ F# d# E这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
% S& S) ^, t! W6 o& p
6 w( ?5 b+ j- H第2个问题:7 w; x9 E7 ?6 d2 k {
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:- B$ X9 S; O; T7 K [+ u
on your host. Do you have administrator privilieges?
+ h+ D+ y, ]% d% U4 l& r, cType 'y' to continue or 'n' to exit the installation: y
. b7 K9 s m N% Z* k7 WPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake2 y8 y+ V$ B0 e$ o) ~
Reading package lists... Done
; _' `* Z" B! q1 S' GBuilding dependency tree
( v: t: I$ R6 S* Y8 U0 zReading state information... Done. p+ U( I. [3 y* ~- O
E: Couldn't find package xinetd8 F% o: J* N, ^! a# _- J
Failed setup, aborting..) F0 z2 a; P5 S2 X- ]8 B
Failed setup, aborting..: @: y) v3 J7 P$ F5 m0 `2 {; w- O1 V) u
- u6 \* ~7 l/ C5 Y7 r2 ^6 `5 {* [
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|