主题 : 移植U-Boot1.2.0到mini2440上编译出现问题。。。。。。。 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 9787
精华: 0
发帖: 4
金钱: 25 两
威望: 8 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2009-10-13
最后登录: 2010-11-21
楼主  发表于: 2010-01-14 10:43

 移植U-Boot1.2.0到mini2440上编译出现问题。。。。。。。

管理提醒: 本帖被 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]# 希望哪位大侠能帮忙看一下,小弟在此谢过了!!!!!!!!!!!!!!!!!!!!!!
专注的力量成就梦想!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-01-14 13:11
/tmp/uboot1.2.0/u-boot-1.2.0/include/configs/mini2440.h:29:1: error: unterminated #ifndef
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."