|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
, Y1 V4 P$ }7 `6 ^# \3 g我用的开发板是TL138/1808/6748F-EasyEVM,
1 [2 a8 `; O6 j+ J2 o + D/ r( Q- o) y: o" p
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,9 w5 }9 `) B1 X: b- Z# l4 R- x0 o
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:0 G3 l- \, _! Q5 ?
*** Unable to find the ncurses libraries or the
! u# ]/ I# O- b) X *** required header files./ ~( X1 ]) ?, v: c7 h9 Y% f" j
*** 'make menuconfig' requires the ncurses libraries.
2 {8 i. M( [0 s# }# D1 N4 ^ ***
" L0 E' w! K$ D" Q. V# g *** Install ncurses (ncurses-devel) and try again.
0 u) [; v8 X1 U( z8 J" N ***
U( T7 X2 N& u9 @4 ]/ Z, O7 ymake[1]: *** [scripts/kconfig/dochecklxdialog] Error 1' L% c2 f( ^1 s6 L" e& ]1 L& U
make: *** [menuconfig] Error 25 Y1 [# P8 [" K8 C0 f" V1 |
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
0 I4 B& e. D5 ]' X1 j) |* U) q' d& K7 L5 ~7 c: X( C" Y
第2个问题:! l, k! K* E: x5 f2 w
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:/ {/ I. K. `$ t1 A" l: O: k# u
on your host. Do you have administrator privilieges?& b) v, q( x. L3 G1 P6 y
Type 'y' to continue or 'n' to exit the installation: y
+ Z ~( g+ }& Z6 E6 E |2 APerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake4 u. c! |. }9 W, c3 k
Reading package lists... Done
4 b( D% I1 _5 g% V! O, S g- vBuilding dependency tree
0 Y. l, L. I8 Z% p' DReading state information... Done
* k1 f3 X+ V! Q/ @) o! F* w6 qE: Couldn't find package xinetd7 e! L* j( }+ x+ }5 H
Failed setup, aborting..% L- J- L: p8 f- Z, e$ U
Failed setup, aborting..$ ^4 F# a! ]; \* G I4 e9 x
: e& d" ]% t0 a0 a0 ?9 F/ }- W现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|