当前位置: 技术问答>linux和unix
编译linux内核,AS工具不识别,应该怎么办?
来源: 互联网 发布时间:2016-02-24
本文导语: AS arch/powerpc/kernel/head_4xx.o include/asm/dcr.h: Assembler messages: include/asm/dcr.h:36: Error: Unrecognized opcode: `struct' include/asm/dcr.h:37: Error: Unrecognized opcode: `extern' include/asm/dcr.h:38: Error: Unrecognized opcode: `unsigned' include/...
AS arch/powerpc/kernel/head_4xx.o
include/asm/dcr.h: Assembler messages:
include/asm/dcr.h:36: Error: Unrecognized opcode: `struct'
include/asm/dcr.h:37: Error: Unrecognized opcode: `extern'
include/asm/dcr.h:38: Error: Unrecognized opcode: `unsigned'
include/asm/dcr.h:39: Error: Unrecognized opcode: `extern'
include/asm/dcr.h:40: Error: Unrecognized opcode: `unsigned'
我是用交叉工具编译的,如果想升级一下编译工具,应该怎么办?头一次搞,都不是很清楚。
include/asm/dcr.h: Assembler messages:
include/asm/dcr.h:36: Error: Unrecognized opcode: `struct'
include/asm/dcr.h:37: Error: Unrecognized opcode: `extern'
include/asm/dcr.h:38: Error: Unrecognized opcode: `unsigned'
include/asm/dcr.h:39: Error: Unrecognized opcode: `extern'
include/asm/dcr.h:40: Error: Unrecognized opcode: `unsigned'
我是用交叉工具编译的,如果想升级一下编译工具,应该怎么办?头一次搞,都不是很清楚。
|
有点难度哦
|
如果是交叉环境:看看Makefile直接指定你的交叉编译as试试看..
ls -l include/asm
看看该链接是不是指定的结构体系..
ls -l include/asm
看看该链接是不是指定的结构体系..