内核编译错误解决方法
2013-04-21 17:40
369 查看
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”是最新的。
CC kernel/bounds.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
kernel/bounds.c:1: error: unknown ABI (apcs-gnu) for -mabi= switch
kernel/bounds.c:1: error: bad value (armv5t) for -march= switch
kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch
make[1]: *** [kernel/bounds.s] 错误 1
make: *** [prepare0] 错误 2
内核编译时出现上述错误时,采用如下方法:
命令行加入 ARCH=arm CROSS_COMPILE="arm-linux-"或
export CROSS_COMPILE="arm-linux-"
export ARCH=arm
make zImage
CHK include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”是最新的。
CC kernel/bounds.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
kernel/bounds.c:1: error: unknown ABI (apcs-gnu) for -mabi= switch
kernel/bounds.c:1: error: bad value (armv5t) for -march= switch
kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch
make[1]: *** [kernel/bounds.s] 错误 1
make: *** [prepare0] 错误 2
内核编译时出现上述错误时,采用如下方法:
命令行加入 ARCH=arm CROSS_COMPILE="arm-linux-"或
export CROSS_COMPILE="arm-linux-"
export ARCH=arm
make zImage
相关文章推荐
- 编译内核,提示内核过大错误解决方法
- 在VMware上编译linux内核出现VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) 错误的解决方法
- GCC-4.6.3编译linux2.6.32.12内核出现“重复的成员‘page’”错误的解决方法
- linux内核编译linux 内核编译常见错误及解决方法
- 编译3.10内核 出现错误 “undefined reference to...." 解决方法
- 编译3.10内核 出现错误 “undefined reference to...." 解决方法
- iscsitarget 在Linux2.6.32内核上编译 若干编译错误与解决方法(备忘)
- linux内核编译过程中出现两个错误的解决方法~!
- uClinux 内核编译常见错误及解决方法(zt)
- Ldd3 学习笔记2 — simple 2.6.10以上内核版本编译错误解决方法!!!
- 编译升级linux由2.4.20-8到2.6.10内核时,遇到的错误,以及解决方法
- make menuconfig内核编译时,Error opening terminal: xterm 错误解决方法
- linux内核编译错误 No rule to make target menuconfig解决方法
- linux-2.6.32内核 linux-fusion-8.1.1编译错误解决方法
- Linux内核笔记 - 内核编译错误及解决方法记录
- make menuconfig内核编译时,Error opening terminal: xterm 错误解决方法
- 关于编译时报implicit-function-declaration(隐式声明)错误的解决方法
- 解决 内核编译 Install ncurses (ncurses-devel) and try again 错误
- 编译内核是出现No rule to make target `firmware/sd8686_helper.bin', 错误的解决
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法