|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
$ ~. S# I# D& }. h `& h6 d6 N7 P我用的开发板是TL138/1808/6748F-EasyEVM,9 W* q% m' W& ]! B
- R% c: y% o2 O7 q* J; W
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
# h; i8 W8 Y4 U% U执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:6 ?# A4 ~9 m7 F/ P2 h
*** Unable to find the ncurses libraries or the/ S+ ^% @. N5 p# r j5 P
*** required header files.. ^; q$ ?. M& j2 Z2 M
*** 'make menuconfig' requires the ncurses libraries.
[9 O7 z6 R) O/ A- H5 | *** 0 z" k3 h3 }; N- T- |( K
*** Install ncurses (ncurses-devel) and try again.
. ~8 x7 \! V3 {) h; U3 l *** + O6 S! X0 q( z
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1) y, I5 j7 Y8 D3 T7 P
make: *** [menuconfig] Error 2, x" }4 v% j; y. S; h
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
; @# t- g; b( d; }% w3 t
+ _, d* u3 Q& H第2个问题:* Y% ^4 q! g! w3 o( R- j
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
7 V, c+ ?/ {, f4 \% i, pon your host. Do you have administrator privilieges?
! c0 F ]- e. D! xType 'y' to continue or 'n' to exit the installation: y
& H9 f9 l G4 z6 @. ~7 F( t% OPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake2 r0 m8 j: E2 G' |
Reading package lists... Done
9 Y6 {% X- T: X9 W) dBuilding dependency tree - U2 ]/ t0 y6 G# ^6 ^: q, V8 }
Reading state information... Done
( g/ b; Y% u7 l( tE: Couldn't find package xinetd
! R: W6 l! @/ u+ FFailed setup, aborting..
( N1 \3 p) Y$ V3 W m) oFailed setup, aborting..; o6 Z) z+ y# {" y9 L4 R* a! {
. t( y7 _' n" ?
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|