busybox arm-linux-gcc 4.4.4库的路径,BUSYBOX编译错误及解决方法总结
編譯busybox的組合:
busybox-1.0.0 arm-linux-gcc-2.95.3 (AT91rm9200開發(fā)板)
經(jīng)典參考:
http://www.doczj.com/doc/caf6ca7e31b765ce050814eb.html/downloads/ 下載busy box
http://www.doczj.com/doc/caf6ca7e31b765ce050814eb.html/balloon/releases/v0.7/roots/ 文件系統(tǒng)制作
移植基本過程:
1. 到http://www.doczj.com/doc/caf6ca7e31b765ce050814eb.html/downloads/busybox-1.7.3.tar.bz2下載busybox;
2. 解壓busybox1.7.3
tar jxvf busy box-1.7.3.tar.bz2
3. make defconf ig
4. make menuconfig
在[build options]中選擇[Build busybox as a static binary]
主要是C庫的連接方式,安裝目錄等。
5. make
6. 創(chuàng)建rootfs目錄
7. make install
編譯過程可能出現(xiàn)以下錯誤,解決方法如下:可能會出現(xiàn)的錯誤:
1. 出現(xiàn)如下錯誤
CC miscutils/taskset.o
miscutils/taskset.c:17: error: parse error before '*' token
miscutils/taskset.c:18: warning: function declaration isn't a prototype
miscutils/taskset.c: In function `__from_cpuset':
miscutils/taskset.c:22: error: `CPU_SETSIZE' undeclared (first use in this f unction) miscutils/taskset.c:22: error: (Each undeclared identif ier is reported only once
miscutils/taskset.c:22: error: for each function it appears in.)
miscutils/taskset.c:26: warning: implicit declaration of function `CPU_ISSET'
miscutils/taskset.c:26: error: `mask' undeclared (first use in this function)
miscutils/taskset.c: In function `taskset_main':
miscutils/taskset.c:47: error: `cpu_set_t' undeclared (first use in this function)
miscutils/taskset.c:47: error: parse error before "mask"
miscutils/taskset.c:68: warning: implicit declaration of function `CPU_ZERO'
miscutils/taskset.c:68: error: `new_mask' undeclared (first use in this function)
miscutils/taskset.c:69: error: `CPU_SETSIZE' undeclared (first use in this f unction) miscutils/taskset.c:71: warning: implicit declaration of function `CPU_SET'
miscutils/taskset.c:78: error: `mask' undeclared (first use in this function)
總結(jié)
以上是生活随笔為你收集整理的busybox arm-linux-gcc 4.4.4库的路径,BUSYBOX编译错误及解决方法总结的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 生铁落的功效与作用、禁忌和食用方法
- 下一篇: linux怎么开机默认进入桌面图标,如何