|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:- |2 @- V6 Q5 ]# W& b3 k
我用的开发板是TL138/1808/6748F-EasyEVM,
9 A8 f! _4 X$ q0 j8 P& _
/ u7 i/ \( d8 N3 k5 U2 h1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
$ K4 L0 i, `* B1 \8 h执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
* i6 S' S! k% B' L *** Unable to find the ncurses libraries or the+ s: y% S/ p9 N" O; u. ~
*** required header files.
) a% Y O4 A G *** 'make menuconfig' requires the ncurses libraries.5 o5 G" V0 H' U8 u! a W7 U! _
*** * c& O% k% w. a3 M5 e
*** Install ncurses (ncurses-devel) and try again.
, r+ Z( A, H4 V4 \2 U *** 4 O: S( O' S: L, F" I) b
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1* ]2 S: p. Z' U- W4 j9 W; A9 G; |
make: *** [menuconfig] Error 24 G1 r h& w& ^# G- W4 V
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
# I) P: S2 g% B7 e
$ c q$ x8 x) Q; l' R* K: u第2个问题:. N, ^' M+ d) l3 X* R& _. t/ K% {7 B
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
9 _$ I2 |- W7 D, T, f9 x3 ~on your host. Do you have administrator privilieges?
5 P6 r: B0 u& s( H5 \# ?# JType 'y' to continue or 'n' to exit the installation: y
7 M5 j. k( c1 ePerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake! g0 h4 I1 Z s; t; q& {. I0 U' v
Reading package lists... Done
: w% G) ?! ], ?3 J9 h; q3 {0 G* G YBuilding dependency tree
* Y% w5 q, [0 @$ n. E6 k4 HReading state information... Done
: ~ H7 D+ q Q8 R9 t# r5 jE: Couldn't find package xinetd
* p3 V' g1 X) cFailed setup, aborting../ S+ Z: N# v' @/ p3 \5 y
Failed setup, aborting..( i; m2 E) z4 \: ?0 `7 u
) [. k+ u" ~2 x# z! i- \现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|