|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:4 m$ |0 @" T g5 g
我用的开发板是TL138/1808/6748F-EasyEVM,
/ d- e* v1 e, u 8 Y0 F, S# [( [" V6 Q& ^
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,3 z: x/ V8 b% Y3 ]
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:0 c" u: a: w$ O+ T
*** Unable to find the ncurses libraries or the1 P+ F: Q/ @% Q7 I7 r
*** required header files.! o1 o+ N! x+ M; w$ h& Q- x+ N
*** 'make menuconfig' requires the ncurses libraries.
T" s. Q) ]+ g# S& ? *** 6 e5 g$ }9 w2 M- C' m
*** Install ncurses (ncurses-devel) and try again.
( k$ a! ]. M- G5 S3 R' k1 J *** . H$ ]) h4 R' z. x6 j
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
0 W* h% w7 ]; {+ y9 Imake: *** [menuconfig] Error 22 J% B2 F4 \: {. v
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
4 a- w6 t6 Q8 I# w4 D: A% a& u3 [1 A+ B( n4 I0 [( B; D
第2个问题:
$ P1 H3 y- P3 }2 j: e/ C在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:0 W0 U( [0 L, E& _
on your host. Do you have administrator privilieges?
+ d4 i# t8 W }Type 'y' to continue or 'n' to exit the installation: y' l5 f; G( k3 u! z3 r
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake4 {) {0 X- Y' M$ m
Reading package lists... Done% I7 F* Y b1 b1 f& `, d/ } a
Building dependency tree 9 V, h4 V& v% ^' v& z
Reading state information... Done
: s% H8 S% [+ E1 t+ tE: Couldn't find package xinetd/ ?* `1 G3 O! y. } Z& ] ?
Failed setup, aborting..$ M: f% o0 a9 N+ A
Failed setup, aborting..
5 U+ L7 P5 I' c; a. @" b( y! g
, L- w+ L6 }: m1 J& h1 _现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|