登录 免费注册 首页 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

我在ICCAVR6。28上通不过呀!提示错误!

作者:pitieniu 栏目:单片机
我在ICCAVR6。28上通不过呀!提示错误!
编译时通不过。提示如下:
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
你定义了它不支持的格式
软件在编译时找不到,你最好把程序贴上来。

3楼: >>参与讨论
音乐乐乐
icc的一大缺陷!
文件都是记录的绝对路径而不是相对路径。

别人编译通过的程序到你机器上就会出很多问题,除非你把你的所有路径都设置成和原来通过时一样。

4楼: >>参与讨论
pitieniu
那有什么解决的好方法吗?有一次我无意中调通拉,后来有不行呀!
 
5楼: >>参与讨论
音乐乐乐
把除了源文件外的所有文件删除
包括pjt文件,然后新建一个工程,加入这些文件,试试看把

参与讨论
昵称:
讨论内容:
 
 
相关帖子
ICCAVR很难用,尤其是它的汇编器!有没有比它好用的AVR C编译器?
求助
新手请教:在中断程序中使用 WDR指令后,程序复位了……
请问atmaga16怎样接PC机串口(新手哭求)
在GCC中,如何指定一个数组是分配在EEPROM中?
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入


Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号