免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1675 | 回复: 4
打印 上一主题 下一主题

[系统安装] uboot1.1.6移植到s3c2440 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-05-22 16:21 |只看该作者 |倒序浏览
arm-linux-ar crv libmysmdk2440.a mysmdk2440.o flash.o lowlevel_init.o
r - mysmdk2440.o
r - flash.o
r - lowlevel_init.o
make[1]: Leaving directory `/u-boot-1.1.6/board/mysmdk2440'
make -C cpu/arm920t/
make[1]: Entering directory `/u-boot-1.1.6/cpu/arm920t'
arm-linux-gcc  -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000  -I/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/opt/FriendlyARM/toolschain/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4t -mabi=apcs-gnu -c -o start.o start.S
make[1]: Leaving directory `/u-boot-1.1.6/cpu/arm920t'
make -C cpu/arm920t/s3c24x0/
make[1]: Entering directory `/u-boot-1.1.6/cpu/arm920t/s3c24x0'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000  -I/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/opt/FriendlyARM/toolschain/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4t -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o nand_flash.o nand_flash.c
In file included from /u-boot-1.1.6/include/nand.h:29,
                 from nand_flash.c:11:
/u-boot-1.1.6/include/linux/mtd/nand.h:412: error: expected ']' before ';' token
/u-boot-1.1.6/include/linux/mtd/nand.h:413: error: expected ';' before 'int'
make[1]: *** [nand_flash.o] 错误 1
make[1]: Leaving directory `/u-boot-1.1.6/cpu/arm920t/s3c24x0'
make: *** [cpu/arm920t/s3c24x0/libs3c24x0.a] 错误 2

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
2 [报告]
发表于 2013-05-22 17:27 |只看该作者
/u-boot-1.1.6/include/linux/mtd/nand.h:412: error: expected ']' before ';' toke

论坛徽章:
4
CU大牛徽章
日期:2013-03-13 15:29:07CU大牛徽章
日期:2013-03-13 15:29:49CU大牛徽章
日期:2013-03-13 15:30:192015年迎新春徽章
日期:2015-03-04 09:57:09
3 [报告]
发表于 2013-05-22 17:30 |只看该作者
建议楼主去嵌入式版块问问。

论坛徽章:
0
4 [报告]
发表于 2013-05-22 18:13 |只看该作者
回复 3# dooros
嗯谢了,我一开始就是在嵌入式板块问的没人回答,现在问题已经解决了
   

论坛徽章:
0
5 [报告]
发表于 2013-05-22 18:15 |只看该作者
回复 2# wenhq


    实际上是因为没有定义NAND_MAX_CHIPS所致,出现这种乱七八糟的错误,问题已解决谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP