Arm学习过程问题记录

1.配置交叉编译工具,找不到文件

linux缺少32位支持:apt-get install lib32ncurses5 lib32z1

如果提示无法定位lib32ncurses5,就改用lib32ncurses-dev

2.编译busybox,缺少头文件

安装ncurses:sudo apt-get install libncurses5-dev libncursesw5-dev

3.编译最小linux系统,缺少libstdc++.so.6库文件

32位库,64位系统没带:sudo apt-get install lib32stdc++6

4.搭建NFS服务器,找不到portmap

新版本Ubuntu中,NFS的两个服务进程portmap被rpcbind代替,所以要把portmap换成rpcbind

5.使用make menuconfig出错

可能是终端界面过小导致,最大化试试

6.编译内核出现“recipe for target 'kernel/timeconst.h' failed”

因为在新版本的(Linux) 上编译老版本的内核版本出现的错误(新版主机linux内核是4.10,被编译版本的内核是3.0的),解决办法是:将kernel/timeconst.pl中第373行的defined()去掉,变成i@val

7.编译boa出错

make: yacc: Command not found——————apt-get install bison

make: lex: Command not found——————apt-get install flex

修改 src/compat.h  #define TIMEZONE_OFFSET(foo) foo##->tm_gmtoff ————#define TIMEZONE_OFFSET(foo) (foo)->tm_gmtoff

猜你喜欢

转载自blog.csdn.net/LKZYnih/article/details/83106221