|
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统 驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe |
我在ICCAVR6。28上通不过呀!提示错误! |
作者:pitieniu 栏目:单片机 |
编译时通不过。提示如下: C:\icc\bin\imakew -f ucos_ii.mak ICCAVR -o ucos_ii -LC:\icc\lib\ -g -Wl-W -bfunc_lit:0x1a.0x2000 -dram_end:0x25f -bdata:0x60.0x25f -dhwstk_size:16 -beeprom:1.512 -O -fihx_coff -S0 @ucos_ii.lk 3061 words before Code Compression, 2648 after. 13% reduction. DEVICE 68% full. warning: Studio version below 4.06 does not SUPPORT 'const' data type warning: COFF no struct tag 'os_tcb' found for symbol index 744 warning: COFF no struct tag 'os_tcb' found for symbol index 746 warning: COFF no struct tag 'os_tcb' found for symbol index 748 warning: COFF no struct tag 'os_tcb' found for symbol index 750 warning: COFF no struct tag 'os_tcb' found for symbol index 752 warning: COFF no struct tag '.1' found for symbol index 765 warning: COFF no struct tag '.1' found for symbol index 767 Done. complie file to OUTPUT 时,出错: ERROR file 'crtavr.o':undefined symbol '_main' ERROR file 'os_cpu_a.o':underfined symbol '_osTimeTicl" .... 这些我看到在os_cpu_a.s中都用汇编定义拉 我不明白怎么回事,请各位 仁兄帮帮我。 |
2楼: | >>参与讨论 |
作者: wanglele 于 2004/5/29 18:07:00 发布:
你定义了它不支持的格式 软件在编译时找不到,你最好把程序贴上来。 |
3楼: | >>参与讨论 |
作者: 音乐乐乐 于 2004/5/29 20:56:00 发布:
icc的一大缺陷! 文件都是记录的绝对路径而不是相对路径。 别人编译通过的程序到你机器上就会出很多问题,除非你把你的所有路径都设置成和原来通过时一样。 |
4楼: | >>参与讨论 |
作者: pitieniu 于 2004/5/31 10:20:00 发布:
那有什么解决的好方法吗?有一次我无意中调通拉,后来有不行呀! |
5楼: | >>参与讨论 |
作者: 音乐乐乐 于 2004/6/2 18:17:00 发布:
把除了源文件外的所有文件删除 包括pjt文件,然后新建一个工程,加入这些文件,试试看把 |
|
|
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入 |
Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号 |