|
在本网站上download一个Mega8的操作系统实例(μCOS-Ⅱ Mega8 源代码 , ICCAVR格式,作者:zhifeng),修改编译后提示一下错误:
C:\icc\bin\iccavr -IE:\资料文件\RTOS操作系统\网上下载源码例程\阿莫网站\_m8_iccavr_by_ym\iccavr\source -IE:\资料文件\RTOS操作系统\网上下载源码例程\阿莫网站\_m8_iccavr_by_ym\iccavr\test -IC:\icc\include -e -DATMega8 -l -g -Mavr_enhanced_small -Wa-W -Wf-r20_23 -LC:\icc\lib -Wl-W -bfunc_lit:0x26.0x2000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:16 -beeprom:1.512 -fihx_coff -S1 E:\资料文件\RTOS操作系统\网上下载源码例程\阿莫网站\_m8_iccavr_by_ym\iccavr\test\test2.c -lcavrgr
!ERROR file 'test2.o': undefined symbol '_OSInit'
!ERROR file 'test2.o': undefined symbol '_init164'
!ERROR file 'test2.o': undefined symbol '_OSTaskCreate'
!ERROR file 'test2.o': undefined symbol '_OSStart'
!ERROR file 'test2.o': undefined symbol '_write164'
!ERROR file 'test2.o': undefined symbol '_OSTickISR'
!ERROR file 'test2.o': undefined symbol '_OSTimeDly'
Done: there are error(s). Exit code: 1
怎么修改也不知到那里连接出了问题,实在是晕!!! |
|