|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:, `3 v. `- i8 G9 c8 m/ ^
我用的开发板是TL138/1808/6748F-EasyEVM, R* A7 m. u! v: m7 f. z/ G1 F
0 z: |8 f# {) J/ R1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
4 @% N/ s* T- V' ~0 M3 n执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
3 U# x( M, T) @ K1 A( Q *** Unable to find the ncurses libraries or the, J3 A: g; U: G% Y( I
*** required header files.
4 d I2 Z; d& g {3 h$ L0 i8 g *** 'make menuconfig' requires the ncurses libraries.7 ]# e# z1 S2 J+ j- h
*** ! O! O5 V* H4 W$ Y, [ a
*** Install ncurses (ncurses-devel) and try again.
/ B# Y' k1 O2 l/ f! y1 K2 W! l *** " l8 U2 k: Y( Q# M0 B: X
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1# r9 ?- G: \7 b3 c! `5 |" L
make: *** [menuconfig] Error 2
4 \8 @1 u; z5 t5 N$ F2 E$ {" U这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
" @, y) p. |4 x5 I; E k& W$ k: ^& Z& d9 B& [5 g6 h
第2个问题:/ f# h* C, q; l) x3 W2 F8 j0 z
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
- L. O) a' U& G S/ Von your host. Do you have administrator privilieges?
# _7 _! E" j& z" V- L3 eType 'y' to continue or 'n' to exit the installation: y
% L8 G5 M4 H1 LPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake+ y1 k: Y/ K$ G7 ?2 Q8 h
Reading package lists... Done! b! R. V; |/ u; K9 T
Building dependency tree " H/ ^1 P5 g3 [0 ^( i |, g/ b* ?' X
Reading state information... Done
' y9 s V/ ]5 w6 v2 IE: Couldn't find package xinetd$ M' O: ~9 a; b- I& l
Failed setup, aborting..
# w# p; l( w! [5 E$ c+ L* vFailed setup, aborting..
) }' J# u5 ^5 `' k$ [4 \/ H( X, k T" P
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|