|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
' ^! ]: T$ e' T% L+ I我用的开发板是TL138/1808/6748F-EasyEVM,
5 J7 y9 a. T$ U5 }. D& ^4 d1 R ' D) `) @& } {5 n- Y
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
" a9 t# z5 {" I/ q9 C; Z. y; d; B执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:* }5 U7 N7 l" v
*** Unable to find the ncurses libraries or the
- x- D7 |, O9 {: `" a* \8 ]" M *** required header files.& t. Q Y# k- Y( z- g
*** 'make menuconfig' requires the ncurses libraries.
0 m' b# \! O8 V, ~7 {+ Y6 X$ R ***
, e3 t- q2 j3 f *** Install ncurses (ncurses-devel) and try again.
. V/ r: f# F2 ?% j4 L ***
_) @ f2 D g7 Cmake[1]: *** [scripts/kconfig/dochecklxdialog] Error 19 s3 ^( @- T& H. v; q( M+ g
make: *** [menuconfig] Error 2
4 P' e' n/ o# F1 b1 K& @8 \9 |这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 M4 H6 m+ O% A1 A# b
; i7 z, L6 B0 ], ~3 v/ Y第2个问题:- Y- _3 N" [" {/ g0 c$ G
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
3 @, j( {: j" m6 C: ~on your host. Do you have administrator privilieges?
) {* ]+ }1 m$ wType 'y' to continue or 'n' to exit the installation: y2 [! F( j( O5 A$ M& ]8 e8 a
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake T4 V+ q" x: r+ H
Reading package lists... Done
0 e' ~* G1 d/ p* A/ DBuilding dependency tree
. [' o4 c/ `3 I+ h) g8 r- o+ AReading state information... Done
+ L' y- M P) h- ]+ cE: Couldn't find package xinetd8 g* j: n$ o- O1 e0 H* U
Failed setup, aborting..
9 V2 j. x- a6 Q* lFailed setup, aborting.." d! \) a7 ]9 f( x
( X5 {/ }% q: t# Q7 T( C
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|