|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:$ C' v4 z- [) j% A& h+ M5 }
我用的开发板是TL138/1808/6748F-EasyEVM,# n2 { W% E/ \, |) d$ l: w4 {
+ Z4 o% N+ e9 _1 r
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
) T# J% [# k0 Z执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
! H3 M7 z+ k5 j1 F0 N& M3 r *** Unable to find the ncurses libraries or the2 \! H. P) C- R, A4 Y$ [4 y
*** required header files.
( y3 M% t8 G" C D/ r# z$ X *** 'make menuconfig' requires the ncurses libraries.
9 e$ `/ a. X& F- U% X6 R) O *** . g8 M4 g8 Q" j& M
*** Install ncurses (ncurses-devel) and try again.! x9 ]# n3 A$ A/ T p, s
*** ) i5 d; e4 q9 {. S, P% h
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
& `' s! G+ B s$ c. T$ w- Pmake: *** [menuconfig] Error 28 ~- Z8 B$ P. `4 y6 Z# C
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
* P7 @! i) c1 ^2 ^) t
: r4 U8 m& M- P8 p1 E第2个问题:8 b. k% w& u9 a8 @2 K3 |
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:4 c/ _ N5 I: [; @( i$ s4 x0 e
on your host. Do you have administrator privilieges?
4 {* ^* B3 [, NType 'y' to continue or 'n' to exit the installation: y" S' C6 R9 y, t) J5 N% f/ ^
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake( n& T; r" G3 ?5 R5 ]9 f! ]
Reading package lists... Done
- G# F% z3 H( Z% FBuilding dependency tree ) V0 x7 F* \: h& P) p
Reading state information... Done
# W$ p8 d7 |4 c+ d& v) eE: Couldn't find package xinetd. n+ S9 O) H: D0 F; K3 Z
Failed setup, aborting..3 a; n U- j/ c& S) e! y
Failed setup, aborting..' l4 M. A5 e1 C4 B
6 u9 Q# E3 @2 ? \现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|