|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
5 r; x3 z2 }" m7 C) p0 \. `我用的开发板是TL138/1808/6748F-EasyEVM,
3 Y2 d& A2 W m0 O& M, f. Y% p3 r k
' b3 P% f) Q/ G8 Y+ d( D Q1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
, w6 c' X% ?, S! d6 s' @* T3 U& B执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
+ w* b( p5 E/ a& r$ G *** Unable to find the ncurses libraries or the
# s+ o9 _; t7 t* e, C# N+ r% `0 R *** required header files.( o! n% C7 {& T, D6 o
*** 'make menuconfig' requires the ncurses libraries." \: v- u. C5 A
***
7 b' Z4 V+ o& b *** Install ncurses (ncurses-devel) and try again.2 ? h; q( ^0 j m. k R/ h
*** 7 u( O4 ^+ W; i% }. x9 \' J
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
$ V/ Z8 u1 b: ~; J2 r+ t1 P! e- T) Hmake: *** [menuconfig] Error 2
) _8 L5 ^& D2 v- @0 J8 Z2 r这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
- v( z( P- ~( j9 _4 y/ @$ o
; C- _7 ]& E0 V+ Q7 L4 r/ J第2个问题:- G( W+ u: ?/ h& J' u3 E
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:: p2 U) c7 \9 Y& x. B' f
on your host. Do you have administrator privilieges?
5 Z7 k/ R6 u( E. oType 'y' to continue or 'n' to exit the installation: y
% M) G6 Z# _2 Z/ C: W$ X1 IPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
7 o' B) y# u: f/ e% w* A3 IReading package lists... Done' U2 G8 u) e* C- m! G
Building dependency tree
6 P2 x0 _0 Y& M& vReading state information... Done
+ k, x4 ~7 c& \5 cE: Couldn't find package xinetd- o% r( }& o( b3 @" y
Failed setup, aborting..# [: Q4 ?) a9 n! u0 _
Failed setup, aborting..
+ c( R- x0 N: ` g: K8 N, Y
2 ?4 M, O9 K5 W: m现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|