天嵌 ARM开发社区

 找回密码
 注册
查看: 2873|回复: 2

求教:bootloader编译错误原因

[复制链接]
halimeimei 发表于 2010-5-9 15:48:32 | 显示全部楼层 |阅读模式
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/project/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/project/u-boot-1.1.6/tools'
make[1]: Entering directory `/project/u-boot-1.1.6/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/project/u-boot-1.1.6/examples'
make[1]: Entering directory `/project/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/project/u-boot-1.1.6/post'
make[1]: Entering directory `/project/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/project/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: Entering directory `/project/u-boot-1.1.6/tools'
gcc -g -Wall -pedantic -idirafter /project/u-boot-1.1.6/include -idirafter /project/u-boot-1.1.6/include2 -idirafter /project/u-boot-1.1.6/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g  -idirafter /project/u-boot-1.1.6/include -idirafter /project/u-boot-1.1.6/include2 -idirafter /project/u-boot-1.1.6/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /project/u-boot-1.1.6/include -idirafter /project/u-boot-1.1.6/include2 -idirafter /project/u-boot-1.1.6/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
make[1]: Leaving directory `/project/u-boot-1.1.6/tools'
make -C examples all
make[1]: Entering directory `/project/u-boot-1.1.6/examples'
make[1]: *** 没有规则可以创建“hello_world.o”需要的目标“/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include/stdarg.h”。 停止。
make[1]: Leaving directory `/project/u-boot-1.1.6/examples'
make: *** [examples] 错误 2


这个是什么错误?
 楼主| halimeimei 发表于 2010-5-9 20:37:05 | 显示全部楼层
高手何在??帮忙帮忙啊!!!!:handshake:handshake
回复

使用道具 举报

wuchguang 发表于 2010-9-3 16:46:49 | 显示全部楼层
1# halimeimei


你使用的是Gcc编译器?
你要使用3.4.5版本交叉编译器来编译Uboot!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-20 07:39 , Processed in 2.049247 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表