编译linux2.6.27出错 invalid option `abi=aapcs-linux' - 博文 - 社区 - ChinaAET电子技术应用网
2011-06-24 15:34
633 查看
编译内核出错:invalid option `abi=aapcs-linux'
使用arm-linux-gcc 3.4.1编译器,编译出错:gouwa@gouwa:~/project/kernel/linux-2.6.27$ arm-linux-gcc -v
Reading specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs
Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2 --with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.1
错误信息如下:
gouwa@gouwa:~/project/kernel/linux-2.6.27$ make
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: error: invalid option `abi=aapcs-linux'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
错误分析:
arm-linux-gcc 3.4.1编译器可能是用OABI的,而配置内核时又选择了使用EABI的,修改内核配置:
Kernel Features ---->Use the ARM EABIto compile the kernel
不选EABI,编译器再编译,通过。
引文来源 编译linux2.6.27出错 invalid option `abi=aapcs-linux' - 博文 - 社区 - ChinaAET电子技术应用网
相关文章推荐
- 2.6.32内核编译出错cc1: error: invalid option `abi=aapcs-linux'
- linux-2.6.30.4内核编译出错cc1: error: invalid option `abi=aapcs-linux'
- 编译内核出错:invalid option `abi=aapcs-linux' 解决办法
- 编译内核出错cc1: error: invalid option `abi=aapcs-linux'
- 编译内核出错:invalid option `abi=aapcs-linux' 解决办法
- 编译基于arm平台的内核,出现error: invalid option `abi=aapcs-linux'
- 编译基于arm平台的内核,出现error: invalid option `abi=aapcs-linux'
- linux 内核编译出现:cc1: error: invalid option `abi=aapcs-linux'
- linux2.6.32 内核编译 cc1: error: invalid option `abi=aapcs-linux'
- linux2.6.32 内核编译 cc1: error: invalid option `abi=aapcs-linux'
- [转载]编译内核出错:invalid option `abi=aapcs-linux'
- 记录22--invalid option `abi=aapcs-linux'错误提示
- 编译内核出错:invalid option `abi=aapcs-linux' 解决办法
- 内核编译记录--cc1: error: invalid option `abi=aapcs-linux'
- 编译内核错误:cc1: error: invalid option `abi=aapcs-linux'
- linux2.6.32 内核编译 cc1: error: invalid option `abi=aapcs-linux'
- linux2.6.32 内核编译 cc1: error: invalid option `abi=aapcs-linux'
- 编译内核出错:invalid option `abi=aapcs-linux'
- linux 编译ffmpeg 出错:error: 'UINT64_C' was not declared in this scope
- 内核编译记录--cc1: error: invalid option `abi=aapcs-linux'