日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

busybox arm-linux-gcc 4.4.4库的路径,BUSYBOX编译错误及解决方法总结

發(fā)布時間:2024/9/18 linux 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 busybox arm-linux-gcc 4.4.4库的路径,BUSYBOX编译错误及解决方法总结 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

編譯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)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。