当前位置: 技术问答>linux和unix
急!!~~大家帮我看看啊,错了很久了
来源: 互联网 发布时间:2016-08-11
本文导语: 我用的飞思卡尔的IMX21的板子,现在要移植2.6的内核上去,但是编译的时候在这里一直通不过,请大家帮忙看看,谢谢了 CHK include/linux/compile.h AS arch/arm/kernel/head.o arch/arm/kernel/head.S: Assembler messages...
我用的飞思卡尔的IMX21的板子,现在要移植2.6的内核上去,但是编译的时候在这里一直通不过,请大家帮忙看看,谢谢了
CHK include/linux/compile.h
AS arch/arm/kernel/head.o
arch/arm/kernel/head.S: Assembler messages:
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: garbage following instruction -- `ldr r4,=(((0xc0000000UL)+0x00008000)-0x4000)'
arch/arm/kernel/head.S:332: Error: missing ')'
arch/arm/kernel/head.S:332: Error: missing ')'
arch/arm/kernel/head.S:332: Error: garbage following instruction -- `orr r6,r7,#((0xc0000000UL)&0xff000000)'
arch/arm/kernel/head.S:333: Error: missing ')'
arch/arm/kernel/head.S:333: Error: missing ')'
arch/arm/kernel/head.S:333: Error: junk at end of line, first unrecognized character is `U'
arch/arm/kernel/head.S:334: Error: missing ')'
arch/arm/kernel/head.S:334: Error: missing ')'
arch/arm/kernel/head.S:334: Error: garbage following instruction -- `orr r6,r6,#((0xc0000000UL)&0x00f00000)'
make[1]: *** [arch/arm/kernel/head.o] Error 1
make: *** [arch/arm/kernel] Error 2
CHK include/linux/compile.h
AS arch/arm/kernel/head.o
arch/arm/kernel/head.S: Assembler messages:
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: missing ')'
arch/arm/kernel/head.S:267: Error: garbage following instruction -- `ldr r4,=(((0xc0000000UL)+0x00008000)-0x4000)'
arch/arm/kernel/head.S:332: Error: missing ')'
arch/arm/kernel/head.S:332: Error: missing ')'
arch/arm/kernel/head.S:332: Error: garbage following instruction -- `orr r6,r7,#((0xc0000000UL)&0xff000000)'
arch/arm/kernel/head.S:333: Error: missing ')'
arch/arm/kernel/head.S:333: Error: missing ')'
arch/arm/kernel/head.S:333: Error: junk at end of line, first unrecognized character is `U'
arch/arm/kernel/head.S:334: Error: missing ')'
arch/arm/kernel/head.S:334: Error: missing ')'
arch/arm/kernel/head.S:334: Error: garbage following instruction -- `orr r6,r6,#((0xc0000000UL)&0x00f00000)'
make[1]: *** [arch/arm/kernel/head.o] Error 1
make: *** [arch/arm/kernel] Error 2
|
换一个新一点版本的gcc看看?
|
head.S应该有语法错误,请检查这个文件是否对。
|
是不是不小心修改了head.S,删了啥符号或者加了什么符号.
|
或者是AS ,LD等的参数不对?
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。