这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 求救 ucosII编译报错 unkonwn opcode......

共5条 1/1 1 跳转至

求救 ucosII编译报错 unkonwn opcode......

菜鸟
2011-12-07 19:45:05     打赏
我现在正在研究Keil uVision4,当我用它来编译UC/OS-II系统(想移植到基于cortex-m3的内核的MCU上)时,结果有很多错误,急求各位大侠高人指点,感激不尽...

第一类错误如下:
assembling
OS_CPU_A.ASM...
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(23): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(24): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(25): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(26): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(28): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(29): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(30): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(32): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(33): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(34): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(35): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(36): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(37): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(38): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(40): error: A1163E: Unknown opcode LARGE , expecting opcode or Macro

第二类错误如下:
compiling OS_CPU_C.C...
F:\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(254): warning:  #223-D: function "FP_SEG" declared implicitly
F:\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(255): warning:  #223-D: function "FP_OFF" declared implicitly
F:\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(261): warning:  #223-D: function "MK_FP" declared implicitly
F:\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(262): warning:  #223-D: function "memcpy" declared implicitly
F:\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(262): error:  #20: identifier "_SS" is undefined



关键词: 求救     ucosII     编译     报错     unkonwn     o    

工程师
2011-12-08 11:30:17     打赏
2楼
直接去错误的地方找!

院士
2011-12-08 21:28:13     打赏
3楼
LZ,很抱歉,我帮不到你啊

工程师
2011-12-10 21:50:43     打赏
4楼

都是些没有定义的符号,在c文件中河asm文件中,好好检查下


高工
2012-01-07 16:34:30     打赏
5楼
你怎么把X86的汇编代码都给弄在里面呢?你的目标是ARM Cortex M3啊,不报错才怪呢

共5条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]