移植U-BOOT出错!!!
我先cd u-boot-1.1.3make hek2410_config
然后
$ make CROSS_COMPILE=arm-unknown-linux-gnu-
make: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make: “.depend”是最新的。
make: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/examples'
make: “.depend”是最新的。
make: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/examples'
make: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/post'
make: “.depend”是最新的。
make: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/post'
make: Entering directory `/home/hek/haha/hek2410/u-boot-1.1.3/post/cpu'
make: “.depend”是最新的。
make: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/post/cpu'
make -C tools all
make: 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
make: Leaving directory `/home/hek/haha/hek2410/u-boot-1.1.3/tools'
make: *** 错误 2
configs/hek2410_config.h:没有那个文件或目录
我是以复制smdk2410来制作的,然后进行修改,本身也就没有smdk2410_config.h的
高手指导下,我是新手没有悬赏分,还是恳请高手帮忙.谢谢! 既然没有,你为什么还要在代码里面引用?
页:
[1]