|
|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:
% p7 J4 t0 R. ?我用的开发板是TL138/1808/6748F-EasyEVM,
& K6 `+ B( D5 a& ]/ t0 b% j. @ % G: J: ?! l2 T- [; J! o, P
1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,
+ h# ~$ H3 x+ r7 | `7 w执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:1 K6 z" n* Q$ \4 x' R/ d6 P
*** Unable to find the ncurses libraries or the! Q2 B2 C6 S, _6 z7 ^) z
*** required header files.
, e5 g$ {3 f/ r- Z1 m *** 'make menuconfig' requires the ncurses libraries.+ Y/ u. a( {. [% F1 ~3 c, _0 N
***
: z1 d! F3 u6 a- v *** Install ncurses (ncurses-devel) and try again.
. G# E0 U& h% J( R# K4 X ***
5 @( q7 Z0 p; c& K9 v8 umake[1]: *** [scripts/kconfig/dochecklxdialog] Error 15 Q9 v2 r( @" r( v5 x1 G
make: *** [menuconfig] Error 2
) @# n/ k$ z! B) N) [7 I& j" O ?1 ~这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。
( @: z& t$ X5 Y0 @. d
! u2 m$ I, Z+ H- Q第2个问题:6 R- o G3 `, k
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
; l, l! `0 I" L5 n7 mon your host. Do you have administrator privilieges?( {1 Q% o0 `" j! m6 v( c/ W3 K0 u
Type 'y' to continue or 'n' to exit the installation: y+ Q9 u% Z7 ]& j4 d
Performing sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake
0 Z& X' {2 y$ h! _Reading package lists... Done
$ ?/ { J$ k6 Q" ~; \Building dependency tree
" z8 g' ?7 A9 P5 |+ H0 m" iReading state information... Done
; O$ d4 z& H) M! i' {9 ~E: Couldn't find package xinetd7 v8 l" Q# N/ |3 N
Failed setup, aborting..
L+ I5 \1 e$ C( J* Q" HFailed setup, aborting..
7 ^! y4 \0 r- E @' ]9 {" J
# J- B/ s8 |, q6 @# ] v# P& z现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|