|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
" e- Q- @9 ~) a. m! L& H, m我用的开发板是TL138/1808/6748F-EasyEVM,
8 C) M! x( v. w/ y% P$ c 6 P, ]+ @" N( g" \' m
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
1 N3 C8 y- x8 h执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
# c1 b2 q. a. N& H *** Unable to find the ncurses libraries or the" L }1 K0 m9 l+ E' U
*** required header files.
( z5 q1 Z. {( m5 }) o' q *** 'make menuconfig' requires the ncurses libraries.- x6 o/ r7 p) \* b! d" G8 |/ i
***
6 G( X8 W, X! @2 N0 E$ I *** Install ncurses (ncurses-devel) and try again.
0 H/ a1 o# @" M6 w ***
l: R7 X$ r) k; I1 Amake[1]: *** [scripts/kconfig/dochecklxdialog] Error 18 F/ ^) V- G- C6 R Q( B
make: *** [menuconfig] Error 2( q" M! m* p% }& N" p/ ^
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 w& ^- S. c/ O
6 V2 p! Q% e) B: d第2个问题:% D' M7 j+ h5 u" i* V! y
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
' [& K. C( ?2 { q( U$ qon your host. Do you have administrator privilieges?
5 \- s1 @0 j* s2 d; }! iType 'y' to continue or 'n' to exit the installation: y1 `; N4 m4 p5 J. ]
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake/ U1 C6 z1 n2 H+ w2 @& Y, P- o6 x
Reading package lists... Done R" z$ N5 j6 I$ D ^- O: K' p" l& k
Building dependency tree 4 q* X4 }, y: q- a
Reading state information... Done
: d5 r+ N+ z! P& D7 TE: Couldn't find package xinetd. k3 v% a4 A) H9 @7 W4 w- _) L
Failed setup, aborting..( d( O& g0 X5 n
Failed setup, aborting..
' p! y. W- ^- ]" S; k2 ?* D/ F5 s4 Q% x( h8 C
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|