免费注册 查看新帖 |

Chinaunix

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

移植UBOOT1.20到EP9302的CPU [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-11 09:26 |只看该作者 |倒序浏览
在移植UBOOT1.20到EP9302的CPU时出现以下的错误码是原因呢,望请高手们赐教,谢谢.
/home/dev/edb9302/u-boot2/common/exports.c:30: undefined reference to `udelay'
common/libcommon.a(xyzModem.o): In function `CYGACC_COMM_IF_GETC_TIMEOUT':
/home/dev/edb9302/u-boot2/common/xyzModem.c:110: undefined reference to `udelay'
common/libcommon.a(xyzModem.o): In function `xyzModem_get_hdr':
/home/dev/edb9302/u-boot2/common/xyzModem.c:414: undefined reference to `udelay'
common/libcommon.a(xyzModem.o): In function `xyzModem_stream_open':
/home/dev/edb9302/u-boot2/common/xyzModem.c:598: undefined reference to `udelay'
common/libcommon.a(xyzModem.o): In function `xyzModem_stream_terminate':
/home/dev/edb9302/u-boot2/common/xyzModem.c:801: undefined reference to `udelay'
lib_generic/libgeneric.a(vsprintf.o):/home/dev/edb9302/u-boot2/lib_generic/vspri ntf.c:382: more undefined references to `udelay' follow
cpu/arm920t/libarm920t.a(cpu.o): In function `do_reset':
/home/dev/edb9302/u-boot2/cpu/arm920t/cpu.c:135: undefined reference to `reset_c pu'
make: *** [u-boot] 错误 1

论坛徽章:
0
2 [报告]
发表于 2008-07-02 15:30 |只看该作者
`udelay'common/libcommon.a(cmd_misc.o): In function `do_sleep':
/home/u-boot/u-boot-1.2.0/common/cmd_misc.c:34: undefined reference to `get_timer'
/home/u-boot/u-boot-1.2.0/common/cmd_misc.c:48: undefined reference to `udelay'
/home/u-boot/u-boot-1.2.0/common/cmd_misc.c:44: undefined reference to `get_timer'
common/libcommon.a(cmd_nvedit.o): In function `_do_setenv':
/home/u-boot/u-boot-1.2.0/common/cmd_nvedit.c:249: undefined reference to `udelay'
/home/u-boot/u-boot-1.2.0/common/cmd_nvedit.c:255: undefined reference to `serial_setbrg'
/home/u-boot/u-boot-1.2.0/common/cmd_nvedit.c:256: undefined reference to `udelay'
common/libcommon.a(console.o): In function `serial_printf':
/home/u-boot/u-boot-1.2.0/common/console.c:112: undefined reference to `serial_puts'
common/libcommon.a(console.o): In function `getc':
/home/u-boot/u-boot-1.2.0/common/console.c:171: undefined reference to `serial_getc'
common/libcommon.a(console.o): In function `tstc':
/home/u-boot/u-boot-1.2.0/common/console.c:182: undefined reference to `serial_tstc'
common/libcommon.a(console.o): In function `putc':
/home/u-boot/u-boot-1.2.0/common/console.c:197: undefined reference to `serial_putc'
common/libcommon.a(console.o): In function `puts':
/home/u-boot/u-boot-1.2.0/common/console.c:213: undefined reference to `serial_puts'
common/libcommon.a(devices.o): In function `devices_init':
/home/u-boot/u-boot-1.2.0/common/devices.c:209: undefined reference to `serial_putc'
/home/u-boot/u-boot-1.2.0/common/devices.c:209: undefined reference to `serial_puts'
/home/u-boot/u-boot-1.2.0/common/devices.c:209: undefined reference to `serial_getc'
/home/u-boot/u-boot-1.2.0/common/devices.c:209: undefined reference to `serial_tstc'
common/libcommon.a(exports.o): In function `jumptable_init':
/home/u-boot/u-boot-1.2.0/common/exports.c:39: undefined reference to `get_timer'
/home/u-boot/u-boot-1.2.0/common/exports.c:39: undefined reference to `udelay'
common/libcommon.a(xyzModem.o): In function `CYGACC_COMM_IF_GETC_TIMEOUT':
/home/u-boot/u-boot-1.2.0/common/xyzModem.c:110: undefined reference to `udelay'common/libcommon.a(xyzModem.o): In function `xyzModem_get_hdr':
/home/u-boot/u-boot-1.2.0/common/xyzModem.c:414: undefined reference to `udelay'common/libcommon.a(xyzModem.o): In function `xyzModem_stream_open':
/home/u-boot/u-boot-1.2.0/common/xyzModem.c:598: undefined reference to `udelay'common/libcommon.a(xyzModem.o): In function `xyzModem_stream_terminate':
/home/u-boot/u-boot-1.2.0/common/xyzModem.c:801: undefined reference to `udelay'lib_generic/libgeneric.a(vsprintf.o):/home/u-boot/u-boot-1.2.0/lib_generic/vsprintf.c:382: more undefined references to `udelay' follow
board/S3C2410/libS3C2410.a(flash.o): In function `flash_erase':
/home/u-boot/u-boot-1.2.0/board/S3C2410/flash.c:218: undefined reference to `reset_timer_masked'
/home/u-boot/u-boot-1.2.0/board/S3C2410/flash.c:238: undefined reference to `get_timer_masked'
/home/u-boot/u-boot-1.2.0/board/S3C2410/flash.c:278: undefined reference to `udelay_masked'
board/S3C2410/libS3C2410.a(flash.o): In function `write_hword':
/home/u-boot/u-boot-1.2.0/board/S3C2410/flash.c:327: undefined reference to `reset_timer_masked'
/home/u-boot/u-boot-1.2.0/board/S3C2410/flash.c:335: undefined reference to `get_timer_masked'
cpu/arm920t/libarm920t.a(cpu.o): In function `do_reset':
/home/u-boot/u-boot-1.2.0/cpu/arm920t/cpu.c:132: undefined reference to `reset_cpu'
make: *** [u-boot] Error
这些错误整了我好几天了   谢谢

论坛徽章:
0
3 [报告]
发表于 2008-07-03 09:55 |只看该作者
编译器版本是什么?
传说uboot1.2.0用3.2比较好,不过我没实践过
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP