lezard 发表于 2010-12-21 16:49:26

GCC编译UCOS II时的问题

E:\work\avr pro\test\..\102-UCOS\ucosii/os_core.c:1188: undefined reference to `OS_CPU_SR_Restore(unsigned char)'
E:\work\avr pro\test\..\102-UCOS\ucosii/os_core.c:1190: undefined reference to `OS_CPU_SR_Save()'
E:\work\avr pro\test\..\102-UCOS\ucosii/os_core.c:1192: undefined reference to `OS_CPU_SR_Restore(unsigned char)'
类似这样的报错,有几十个,UCOS需要的C文件和H文件都已经装载了,include也定位好了,求教高手答疑

Eppo 发表于 2015-3-10 18:54:45

楼主,当初你这个问题是怎么解决的?我现在也遇到同样的问题,刚用gcc不久,求指教
页: [1]
查看完整版本: GCC编译UCOS II时的问题