|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:- ]* W0 a- [: u3 M
我用的开发板是TL138/1808/6748F-EasyEVM,6 k- ?% h8 Z3 U1 h% i
% R4 _8 `5 m) o9 G0 [$ Y1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
( ]1 C% g# o: d7 s. d执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
" l/ _( U( L! q# m* W4 x *** Unable to find the ncurses libraries or the6 d5 ~# j8 C8 y! Y) t) N2 E
*** required header files.
& t6 U1 g! @1 c) U *** 'make menuconfig' requires the ncurses libraries.6 ~, E* c9 o w0 x; T& F$ z4 b
***
% o( a3 ~; P! c- R *** Install ncurses (ncurses-devel) and try again.4 h5 Y, K6 z, Q
*** - r( M6 C8 @& O& ~% L9 J+ [
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
6 X0 m& u9 \: S4 l3 j1 j' y0 H. t9 e, dmake: *** [menuconfig] Error 22 k9 N, J" r# |/ P! J
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
) V) [5 B; _# w( w
4 K- M5 M, p6 u! d- o+ _第2个问题:2 z3 K; G4 Y) R; z
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:) K/ w, t' w4 i5 m' C |( k- }- p! b9 ]
on your host. Do you have administrator privilieges?
7 S# Q, c" E8 T3 o' W8 iType 'y' to continue or 'n' to exit the installation: y
$ U* A6 C0 O+ z4 w# A% vPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
/ ?) R$ [) v. b) WReading package lists... Done
/ m( ]4 \7 `! z* `- UBuilding dependency tree 5 e+ H; g. |6 J# @2 R9 I
Reading state information... Done: H" U6 z" z2 g3 o/ `) m" k" @
E: Couldn't find package xinetd
% d6 ^: e$ j' G7 `9 P+ O6 L* Z+ p% DFailed setup, aborting..
, S6 r" c N+ d0 w* LFailed setup, aborting..8 D0 i6 H+ a: K3 p! @1 }( [
; o* Y" s0 ~& [
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|