|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
+ J9 L1 p. C$ P3 c0 D8 C. ?8 d我用的开发板是TL138/1808/6748F-EasyEVM,1 ]# x1 B/ X, @9 D% h
) n& ?1 K F( J7 a1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
9 O6 v; `2 y& ?+ H9 R执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:8 I5 P7 e7 W% t2 \
*** Unable to find the ncurses libraries or the
$ T/ H( W" ~) F *** required header files.
0 [1 P1 q1 F6 R" M) a q8 T *** 'make menuconfig' requires the ncurses libraries.
% N% f, v, o% U' a; E; l *** 3 d9 c% b. m. ?* `9 x, ~
*** Install ncurses (ncurses-devel) and try again.$ G. {( W: M4 j* V! l9 M
*** 9 F& ~( `, C! O% ]9 W
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
1 q& K2 A( r( { d) Omake: *** [menuconfig] Error 2
2 V) \: L* r7 i- M4 @这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
. M- a6 [/ L( e) Q. o. Q0 v4 `: S8 ~7 n! I0 o% f
第2个问题:
& L1 z, Y, y) F4 a在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
9 D- n# _% Q) j+ a/ ?4 son your host. Do you have administrator privilieges?
7 q* a8 ]0 p+ Q, B a0 q" SType 'y' to continue or 'n' to exit the installation: y
2 |: C9 o8 g! r6 x8 K) y) h1 mPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
1 j" m; h! O7 f- F+ a" o" B7 }. y! BReading package lists... Done* b! h" |$ N: v# Y6 S: B' `
Building dependency tree
6 j, [( w/ I* Z$ N1 iReading state information... Done
, L- f" C! B9 _; D0 u' C* oE: Couldn't find package xinetd! E: }; O9 Y2 ]4 z/ R8 a- u" _4 |+ }' x
Failed setup, aborting..
7 W5 K# v" |1 G& P4 }5 O8 CFailed setup, aborting..
' E5 E5 W4 A4 ^. W' G9 }
; j2 p, U: | ^4 |6 g$ B现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|