当前位置: 技术问答>linux和unix
ubuntu10.04(内核2.6.32)编译2.6.10内核
来源: 互联网 发布时间:2017-04-05
本文导语: 我用的是ubuntu 10.04(内核2.6.32)编译内核2.6.10 ,make时出现以下错误 arch/i386/kernel/process.c: Assembler messages: arch/i386/kernel/process.c:384: Error: suffix or operands invalid for `mov' arch/i386/kernel/process.c:385: Error: suffix or operand...
我用的是ubuntu 10.04(内核2.6.32)编译内核2.6.10 ,make时出现以下错误
arch/i386/kernel/process.c: Assembler messages:
arch/i386/kernel/process.c:384: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:385: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:461: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:462: Error: suffix or operands invalid for `mov'
include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov'
include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:583: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:584: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:591: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:592: Error: suffix or operands invalid for `mov'
make[1]: *** [arch i386 kernel process.o] Error 1
make: *** [arch i386 kernel] Error 2
在网上下载linux-2.6-seg-5.patch 到内核源代码所在文件夹,然后 patch -p1,但是机器没反应,不知道为什么,请大虾帮忙,谢谢!
--------------------------------------------------------------------------------
arch/i386/kernel/process.c: Assembler messages:
arch/i386/kernel/process.c:384: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:385: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:461: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:462: Error: suffix or operands invalid for `mov'
include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov'
include/linux/elfcore.h:92: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:583: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:584: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:591: Error: suffix or operands invalid for `mov'
arch/i386/kernel/process.c:592: Error: suffix or operands invalid for `mov'
make[1]: *** [arch i386 kernel process.o] Error 1
make: *** [arch i386 kernel] Error 2
在网上下载linux-2.6-seg-5.patch 到内核源代码所在文件夹,然后 patch -p1,但是机器没反应,不知道为什么,请大虾帮忙,谢谢!
--------------------------------------------------------------------------------
|
patch -p1