|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
: u" \. @' l* D# C' z6 f我用的开发板是TL138/1808/6748F-EasyEVM,
% y$ E0 U8 E+ e% a3 P7 C 2 A. W ]8 U! w4 R- {
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,0 o0 [$ \, k% n2 l" F, p. ]8 H
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:# e8 e* ~; \) f5 D `0 V
*** Unable to find the ncurses libraries or the( {6 x$ ^$ P* D( n% H- V
*** required header files.4 e# t. w' y- q2 h9 V
*** 'make menuconfig' requires the ncurses libraries.1 j4 W V4 o0 Z8 E8 z4 W
*** ! z) q, G: B9 I3 D7 }
*** Install ncurses (ncurses-devel) and try again.' I. g2 E# d m) I7 b
*** } R* X9 e; ^; c1 f
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 18 O. ^; t- b- P; d+ n
make: *** [menuconfig] Error 2% b3 ^) G" K G* @3 c# m( w; w
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
6 V3 x5 k3 O* L3 Z( P2 X1 S+ Y# p* J b9 ^# ^5 v! s7 a" \4 z
第2个问题:4 d8 C) P. r- o. I
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:% l! e- c5 i( r( K2 Y
on your host. Do you have administrator privilieges?. G3 ^& z9 C# f4 c4 @9 a
Type 'y' to continue or 'n' to exit the installation: y; Z8 s: S7 y; J
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake6 A: R8 \; B @* i* v# M0 }
Reading package lists... Done
3 k6 K4 P: `' w6 t: PBuilding dependency tree
( @6 s k3 n% }Reading state information... Done
" U2 W% K2 W; [' EE: Couldn't find package xinetd
+ S/ h& ^( z* S* U4 B% s3 n( KFailed setup, aborting..
6 a, y; w1 O& ^Failed setup, aborting..
3 j' F2 k; c* h$ z; k7 n2 r. Y- v
. R0 J* i# ~& q- m) \& a4 L, j- ^现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|