|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:1 ?+ v9 d- P. I. r
我用的开发板是TL138/1808/6748F-EasyEVM,
& t* S2 [: J' S
* V9 s, D) N" a9 W1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
3 Q8 \. U- ?$ m* Y8 j7 y; j执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:/ q# x# B: y H( p7 T: `7 B
*** Unable to find the ncurses libraries or the W! b: c# G! K. f" u- S
*** required header files." W! V O" l9 q6 z0 B
*** 'make menuconfig' requires the ncurses libraries.
: C, L+ ]" U0 a: K) k$ I, V% R ***
4 n/ s6 w, X0 K( T3 g *** Install ncurses (ncurses-devel) and try again.
) m& h" ?) W3 _9 q9 B9 A+ {3 S *** 7 ?: k+ }2 O u8 z! s8 g1 ^
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
& p3 c* L9 a" K' u8 Q6 K9 P, ?' kmake: *** [menuconfig] Error 2( a) r- x( M8 e' a2 r3 Z' z
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
- n4 j; T5 m. i5 l! p1 J/ u/ C. Y5 _- v8 J
第2个问题:2 K, R: f, g) H" A, V$ N! M
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
6 @; G. T; R9 m& C pon your host. Do you have administrator privilieges?
$ A8 Y) {" N! x3 T) m+ xType 'y' to continue or 'n' to exit the installation: y$ _/ i5 @2 h, r$ t1 _
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
# Y/ J7 f$ y, t. vReading package lists... Done- ~! }# V$ Y2 _( Q- U+ z I
Building dependency tree
" Z; T5 z( H) y( g! u' ^* B; cReading state information... Done8 W$ e% n/ a+ x1 i% j4 v( L" R
E: Couldn't find package xinetd
; }3 m- R/ Z3 X/ G% [: rFailed setup, aborting.." j r$ T9 h" P4 w7 U1 k
Failed setup, aborting..1 T+ E9 x" r5 i" x4 ]6 O& I
. a- q) `* s& C; N2 b8 p0 G5 ~: {8 P) I) c; K
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|