我的主机是XP+虚拟机+redhat9完全安装,今天用主板自带的交叉编译器编译程序时,出现如下的错误,上网搜了一下,仍不明白,望高人指教一下。
我的交叉编译器版本是3.3.2.错误代码如下:
/tmp/ccNCMOJH.s: Assembler messages:
/tmp/ccNCMOJH.s:23: Warning: rest of line ignored; first ignored character is `@'
/tmp/ccNCMOJH.s:24: Warning: rest of line ignored; first ignored character is `@'
/tmp/ccNCMOJH.s:25: Error: too many memory references for `mov'
/tmp/ccNCMOJH.s:26: Error: no such instruction: `stmfd sp!,{fp,ip,lr,pc}'
/tmp/ccNCMOJH.s:27: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:28: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:29: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:30: Error: no such instruction: `ldrr3,.L12+16'
/tmp/ccNCMOJH.s:31: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:32: Error: too many memory references for `add'
/tmp/ccNCMOJH.s:33: Error: expecting operand after ','; got nothing
/tmp/ccNCMOJH.s:34: Error: too many memory references for `mov'
/tmp/ccNCMOJH.s:35: Error: expecting operand after ','; got nothing
/tmp/ccNCMOJH.s:36: Error: no such instruction: `bl memset'
/tmp/ccNCMOJH.s:37: Error: no such instruction: `ldr r2,.L12+20'
/tmp/ccNCMOJH.s:38: Error: expecting operand after ','; got nothing
/tmp/ccNCMOJH.s:39: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:40: Error: invalid char '[' beginning operand 2 `[lr'
/tmp/ccNCMOJH.s:41: Error: no such instruction: `ldr r2,.L12+24'
/tmp/ccNCMOJH.s:42: Error: expecting operand after ','; got nothing
/tmp/ccNCMOJH.s:43: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:44: Error: invalid char '[' beginning operand 2 `[r1'
/tmp/ccNCMOJH.s:45: Error: no such instruction: `ldr r2,.L12+28'
/tmp/ccNCMOJH.s:46: Error: expecting operand after ','; got nothing
/tmp/ccNCMOJH.s:47: Error: too many memory references for `sub'
/tmp/ccNCMOJH.s:48: Error: invalid char '[' beginning operand 2 `[lr'
/tmp/ccNCMOJH.s:49: Error: no such instruction: `ldr r2,.L12+32'