|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:3 p5 e" F: J8 K9 C. E, Q+ v% w9 K3 @
我用的开发板是TL138/1808/6748F-EasyEVM,/ l5 L1 G& R0 x+ m
& k6 x% @* t4 c5 ?- c
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,7 j6 R6 S8 W v$ m; `( ]
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
5 t! [1 w* z7 M! ] *** Unable to find the ncurses libraries or the1 H& i# k( {. m+ A
*** required header files. P- S' b' p3 t; k& K. R
*** 'make menuconfig' requires the ncurses libraries.
4 W# c* P$ S6 p9 B2 ?" x ***
. s# N6 `2 `, z5 x6 U# F+ C *** Install ncurses (ncurses-devel) and try again.7 d! i: ]; v" n) ^8 ]' N- J
***
/ [3 q: C* ~% V* Pmake[1]: *** [scripts/kconfig/dochecklxdialog] Error 19 J- W/ B/ ~% d9 L5 k* Q) c9 g
make: *** [menuconfig] Error 26 }5 {! X# H' U+ L& V# K
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 # C' x1 X) _' v' D% V8 O+ n
$ W# u! p( {6 u. G第2个问题:
" R$ d1 Y4 g3 U" r. F在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:$ H* E5 Z7 z6 H ?; Q" m
on your host. Do you have administrator privilieges?2 H ` L# e7 m8 W
Type 'y' to continue or 'n' to exit the installation: y
7 R1 L7 v" ?7 y, Z+ IPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake$ n: w% y+ Y! \# ] B2 ]& I* H
Reading package lists... Done5 R- x4 F3 g/ L3 l+ w7 Q7 c% h
Building dependency tree & g k% z" g$ ^" v/ [
Reading state information... Done
9 m8 l9 a- `9 O" E( x9 E! j; zE: Couldn't find package xinetd0 C, Y$ [/ s5 t0 |
Failed setup, aborting..8 f: {: e! h& x
Failed setup, aborting..
7 N+ }+ T! Z+ |7 }( u0 I6 [( _. s1 q: P' B7 E
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|