|
求助 我也是最近才开始接触这个,在学习创龙的历程时遇到些问题,请帮忙解答:. F" `9 E: F7 x* C5 q4 S' h: l" M! D
我用的开发板是TL138/1808/6748F-EasyEVM,1 c# k; t, G; C& ~5 l
# F( n w9 o' d! T& K3 u0 Y1在学习教程8-1-Linux内核编译方法时,在1.1 编译linux-3.3内核, 1.1.2配置内核时,$ g- v: e& O3 {4 v
执行make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig命令后,提示错误信息:: q% M5 R0 u& [' c
*** Unable to find the ncurses libraries or the
5 y5 t4 W0 t& B7 z4 N *** required header files.
1 H. f: p& a" _& I- a* J *** 'make menuconfig' requires the ncurses libraries.
1 y O+ I+ m+ F" g ***
- b8 j* x8 u }8 }0 g *** Install ncurses (ncurses-devel) and try again.
; R$ ], a$ l2 a5 ` ***
. _% E: Q0 q, Hmake[1]: *** [scripts/kconfig/dochecklxdialog] Error 1' [0 |1 Z& M& D
make: *** [menuconfig] Error 24 G; N+ P6 J b# o. J' z
这个意思应该是缺少ncurses或ncurses-devel文件,我上网查了一下说只要安装libncurses5或libncursesw5就可以了,但我执行安装命令后再重新make menuconfig仍然会出现上面的错误。。。 4 c$ F( h/ ^9 L: L; P5 g
# ~+ ^; H/ M* e1 J/ c# q第2个问题:' d2 q: d' y' b6 `
在进行教程14-MCSDK开发入门中的 设置MCSDK开发环境参数时,在执行sudo ./setup.sh命令后遇到错误信息:首先它会问我是否具有 administrative previlige,这个教程里就没有提到,我输入y进行确认后,又出现如下的错误信息:
$ S* D$ e; v, B9 S' F4 v: D/ mon your host. Do you have administrator privilieges?
0 X! Z1 Z1 G7 NType 'y' to continue or 'n' to exit the installation: y
$ Y' U# C" I" Y4 E9 p- t4 \, p9 ZPerforming sudo apt-get install xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage automake8 h0 V5 ^4 R' ?; c
Reading package lists... Done0 O5 ]4 d& `0 H! F# x
Building dependency tree 9 _! w* J& m- J
Reading state information... Done
1 R5 B" \$ ?$ w# BE: Couldn't find package xinetd
3 F6 S! J! [; I& ~3 cFailed setup, aborting..9 [: W0 ~$ }2 `6 v
Failed setup, aborting..9 P1 m, o* a, {; |: c1 J+ x3 `
" H( t; ` e- ?& S- x! f2 _1 l现在这两个问题都没有解决,不知你是否遇到过类似问题,如何解决的呢?谢谢 |
|