|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
" Q5 c; j4 I0 j1 c我用的开发板是TL138/1808/6748F-EasyEVM, W6 k" R& a, j \4 \
- @1 F1 l3 K# }: Q2 ]7 d$ X; Z
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,3 _# [2 H8 O8 y5 ] w
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:! e$ b; k" Q. q6 p$ y ?& O& V C o
*** Unable to find the ncurses libraries or the
0 l' r8 |! ~. H0 q @ *** required header files.
1 z* G: E+ h9 s *** 'make menuconfig' requires the ncurses libraries.
$ C& ^9 [2 H0 [ ***
/ x$ \' E! u. Q! Z9 `+ n& p *** Install ncurses (ncurses-devel) and try again.
1 J7 P% V: e. c7 V8 x *** 7 L& F* X8 p( \/ l0 \/ |( W
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1+ K. A( p9 }) m
make: *** [menuconfig] Error 2
, i' g; v, [5 }( N0 Y) o9 G3 r r* e这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 ' l, ~* ]5 R8 ^; g: B
3 W! i/ n$ h; s8 t6 W- s% t第2个问题:0 u; A" p3 f, n0 ?/ \/ J0 C
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:* _& C3 Y3 H, [0 Q X: S5 }
on your host. Do you have administrator privilieges?
# {; s" q- j$ H% ?6 LType 'y' to continue or 'n' to exit the installation: y
( t9 r4 ?& r! O" P u: Q# cPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake9 W! J, z( M- H/ N3 q
Reading package lists... Done- h& W! M7 D+ s: e4 s- w' w# m% c
Building dependency tree
* S+ ~ z5 a0 e/ i9 {Reading state information... Done" m W8 @- o4 b
E: Couldn't find package xinetd
( G3 y5 \" ?, z- T" rFailed setup, aborting..
3 u! ]: m) h9 ]0 L( mFailed setup, aborting..% `/ P* R* c: E( n, j6 d+ z
}" u. S2 G* ]
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|