管理提醒: 本帖被 qq2440 从 Linux技术交流专区 移动到本区(2010-02-08)
移植U-Boot1.2.0到mini2440上编译出现问题。。。。。。。
下面是出错信息,希望哪位大侠能帮忙看一下,小弟在此谢过了!!!!!
[root@tom u-boot-1.2.0]# make mini2440_config
Configuring for mini2440 board...[root@tom u-boot-1.2.0]# make
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/tmp/uboot1.2.0/u-boot-1.2.0/tools'
make[1]: Nothing to be done for `_depend'.make[1]: Leaving directory `/tmp/uboot1.2.0/u-boot-1.2.0/tools'
make[1]: Entering directory `/tmp/uboot1.2.0/u-boot-1.2.0/examples'
make[1]: Nothing to be done for `_depend'.make[1]: Leaving directory `/tmp/uboot1.2.0/u-boot-1.2.0/examples'
make[1]: Entering directory `/tmp/uboot1.2.0/u-boot-1.2.0/post'
make[1]: Nothing to be done for `_depend'.make[1]: Leaving directory `/tmp/uboot1.2.0/u-boot-1.2.0/post'
make[1]: Entering directory `/tmp/uboot1.2.0/u-boot-1.2.0/post/cpu'
make[1]: Nothing to be done for `_depend'.make[1]: Leaving directory `/tmp/uboot1.2.0/u-boot-1.2.0/post/cpu'
make -C tools all
make[1]: Entering directory `/tmp/uboot1.2.0/u-boot-1.2.0/tools'
gcc -g -Wall -pedantic -idirafter /tmp/uboot1.2.0/u-boot-1.2.0/include -idirafter /tmp/uboot1.2.0/u-boot-1.2.0/include2 -idirafter /tmp/uboot1.2.0/u-boot-1.2.0/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
In file included from /tmp/uboot1.2.0/u-boot-1.2.0/include/config.h:2, from envcrc.c:32:
/tmp/uboot1.2.0/u-boot-1.2.0/include/configs/mini2440.h:29:1: error: unterminated #ifndef
make[1]: *** [envcrc.o] Error 1
make[1]: Leaving directory `/tmp/uboot1.2.0/u-boot-1.2.0/tools'
make: *** [tools] Error 2
[root@tom u-boot-1.2.0]#
希望哪位大侠能帮忙看一下,小弟在此谢过了!!!!!!!!!!!!!!!!!!!!!!