|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:4 J+ h, _. z) X: p$ o
我用的开发板是TL138/1808/6748F-EasyEVM,
, H- W( q3 z% a9 M3 G1 b ' W+ h. ?6 O" c. L; {
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,: P. M7 Q9 B" e X* d
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:7 V3 P% u- {6 b8 A
*** Unable to find the ncurses libraries or the
: _ `1 l: g3 \8 p4 n# I$ s5 [ *** required header files.
s5 c# S3 o$ ^, K$ l/ N& s- ^' R: @ *** 'make menuconfig' requires the ncurses libraries.1 h7 y( X* s0 e
*** + f3 ]! R& T% f3 R
*** Install ncurses (ncurses-devel) and try again.
1 @ `( @9 f% h0 V# C9 G *** 5 t4 A+ e9 U1 k5 y5 f
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
- N8 I* y/ Z( V: L9 \2 z$ Cmake: *** [menuconfig] Error 23 b: b" m/ @# W
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
. E$ o- h# H& f9 Q3 M/ ^. R7 z6 d, @ ~7 k/ x; J# ~2 H/ d0 a+ O
第2个问题:
) B& L7 @/ j+ b# I5 N N在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
3 h8 k8 }# b& Xon your host. Do you have administrator privilieges?; x: B/ o \7 S8 W6 f. n. s& R% d
Type 'y' to continue or 'n' to exit the installation: y
0 d2 X1 e# _* V% kPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
q* S. |) D: J! {7 W, fReading package lists... Done
" R" l* N( l- S1 U2 ^" qBuilding dependency tree
3 P. o# u+ _+ B% i# {" j3 |3 cReading state information... Done
- E1 |; E1 q8 g i8 nE: Couldn't find package xinetd
! g/ f# M: ?; l! A1 b3 t+ pFailed setup, aborting..
/ i" M6 ^0 ~9 oFailed setup, aborting..
6 B. p" W/ y+ t `- j1 X4 r# G$ T
现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|