QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2161|回复: 1

移植U-BOOT出错!!!

[复制链接]
发表于 2008-4-11 22:11:33 | 显示全部楼层 |阅读模式
我先cd u-boot-1.1.3
       make hek2410_config
然后
[hek@localhost u-boot-1.1.3]$ make CROSS_COMPILE=arm-unknown-linux-gnu-
make[1]: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make[1]: “.depend”是最新的。
make[1]: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make[1]: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/examples'
make[1]: “.depend”是最新的。
make[1]: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/examples'
make[1]: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/post'
make[1]: “.depend”是最新的。
make[1]: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/post'
make[1]: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/post/cpu'
make[1]: “.depend”是最新的。
make[1]: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/post/cpu'
make -C tools all
make[1]: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O  -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c mkimage.c
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c crc32.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c envcrc.c
在包含自 envcrc.c:32 的文件中:
../include/config.h:2:36: 错误:configs/hek2410_config.h:没有那个文件或目录
make[1]: *** [envcrc.o] 错误 1
make[1]: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make: *** [tools] 错误 2


configs/hek2410_config.h:没有那个文件或目录   
我是以复制smdk2410来制作的,然后进行修改,本身也就没有smdk2410_config.h的
高手指导下,我是新手没有悬赏分,还是恳请高手帮忙.谢谢!
发表于 2008-4-19 13:48:54 | 显示全部楼层
既然没有,你为什么还要在代码里面引用?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-3-28 22:00 , Processed in 0.047758 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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