|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:$ |% e& P9 M: u; a# D' m' D4 A
我用的开发板是TL138/1808/6748F-EasyEVM,1 ]& F3 b+ x' i5 J
; n# O0 _" A/ K4 `; k1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,' s" Q0 g/ M/ w% w
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:
+ @* @, v# R: O- z *** Unable to find the ncurses libraries or the
; {3 x' X9 s/ E! {' O3 E *** required header files.
H" ]& D$ M" g0 I *** 'make menuconfig' requires the ncurses libraries.; j8 K, @, {4 T- r( r
***
+ D- n) Q# k0 k *** Install ncurses (ncurses-devel) and try again.
7 a7 g$ O9 F' X2 u *** " T* L: Q$ L" C
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1# u5 j/ ~: N0 y. f. A. ]. Q
make: *** [menuconfig] Error 2
( H9 j/ ]* y5 d: b( U这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
% b% K! I' Q# H/ a5 R. W J/ b: M( @7 ?8 G# k
第2个问题:2 ~" o: J b% I- }
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
& f/ W6 G [8 c5 Q+ Aon your host. Do you have administrator privilieges?
, o6 r. G: }- s7 l0 t6 E# |Type 'y' to continue or 'n' to exit the installation: y8 T _, S4 o3 s& ^4 |3 ^& m
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake) p' T2 t9 l5 D' G9 H3 m# N
Reading package lists... Done
1 K% P" o9 C9 R0 {' e, VBuilding dependency tree 4 X0 [$ z0 z! S7 M6 \) k$ I3 o# I# t/ y
Reading state information... Done
5 l' o8 t3 ~$ x( JE: Couldn't find package xinetd7 h/ V# y! O) d4 [9 j @- l' C+ G
Failed setup, aborting..9 s, J1 L. g6 F, a
Failed setup, aborting..! o+ y0 ~! O7 x" J+ l
" l2 K v6 \8 t) w+ b6 ~2 P
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|