亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3850 | 回復(fù): 8
打印 上一主題 下一主題

U-boot 編譯出錯 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-08-05 21:01 |只看該作者 |倒序瀏覽
大家好, 我是LINUX新手,我編譯U-boot時出現(xiàn)以下錯誤:
[root@localhost build_uboot]# cd u-boot
[root@localhost u-boot]# make gec2440_config
Configuring for gec2440 board...
[root@localhost u-boot]# make
make[1]: Entering directory `/root/build_uboot/u-boot/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/build_uboot/u-boot/tools'
make[1]: Entering directory `/root/build_uboot/u-boot/examples'
Makefile:174: /rules.mk: No such file or directory
make[1]: *** No rule to make target `/rules.mk'.  Stop.
make[1]: Leaving directory `/root/build_uboot/u-boot/examples'
make[1]: Entering directory `/root/build_uboot/u-boot/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/build_uboot/u-boot/post'
make[1]: Entering directory `/root/build_uboot/u-boot/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/build_uboot/u-boot/post/cpu'
make -C tools all
make[1]: Entering directory `/root/build_uboot/u-boot/tools'
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g  -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
make[1]: Leaving directory `/root/build_uboot/u-boot/tools'
make -C examples all
make[1]: Entering directory `/root/build_uboot/u-boot/examples'
Makefile:174: /rules.mk: No such file or directory
make[1]: *** No rule to make target `/rules.mk'.  Stop.
make[1]: Leaving directory `/root/build_uboot/u-boot/examples'
make: *** [examples] Error 2
[root@localhost u-boot]#
希望得到論壇高人的指點,,因為對LINUX有強烈的興趣,身邊又沒有朋友搞這個的,所以來此多交幾個朋友.

論壇徽章:
0
2 [報告]
發(fā)表于 2008-08-05 21:17 |只看該作者

回復(fù) #1 bo115891 的帖子

我遇到這種問題一般會先執(zhí)行一下make clean
然后再make。試試看。。。

論壇徽章:
0
3 [報告]
發(fā)表于 2008-08-05 22:01 |只看該作者
Makefile:174: /rules.mk: No such file or directory


檢查下

論壇徽章:
0
4 [報告]
發(fā)表于 2008-08-06 08:41 |只看該作者

回復(fù) #3 bitmilong 的帖子

你干嘛用gcc編譯, 應(yīng)該用arm-linux-gcc編譯.

論壇徽章:
0
5 [報告]
發(fā)表于 2008-08-06 09:57 |只看該作者

回復(fù) #4 rodgerluo 的帖子

恩,交叉編譯的東西要能上arm運行的

論壇徽章:
0
6 [報告]
發(fā)表于 2008-08-06 10:36 |只看該作者
好象編譯uboot這樣的問題 需要提交的基本信息還有  ARMGCC版本 UBOOT版本吧,我早先編譯1.1.4的時候查了半天,最后都有現(xiàn)成改好的例子,這個編譯錯誤哐哐貼,委實眼暈啊...

論壇徽章:
0
7 [報告]
發(fā)表于 2008-08-06 10:39 |只看該作者
找個合適平臺的tool-chain就是了

論壇徽章:
0
8 [報告]
發(fā)表于 2008-08-06 16:20 |只看該作者
我看過這個Makefile 說的正是以下這行。
/example/makefile
#174 include $(SRCTREE)/rules.mk
我的U-boot文件里只找到/post/目錄下有個rules.mk
而且我不知道變量$(SRCTREE)的值是多少。
我的環(huán)境:FC9  cross_compile=2.95.3
               u-boot 是廣嵌中心提供的,不過我用U-boot-1.1.4  1.1.6 都試過同樣的問題
除非在主Makefile里將example注釋掉才能編譯成功,但我不知道example去掉后是否影響引導(dǎo)LINUX.
因為我還沒有將U-boot.bin下載到板子上運行.

論壇徽章:
0
9 [報告]
發(fā)表于 2008-08-08 15:24 |只看該作者
建議使用matchbox編譯
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP