rocksing 发表于 2016-12-30 16:10:49

编译RK3288内核失败

版主好:
我按照
http://developer.t-firefly.com/thread-10907-1-1.html
编译内核失败。
编译环境:PC 机安装Ubuntu 12.04,
1. 下载内核:https://github.com/T-Firefly/firefly-3.14-kernel
2. 下载RK3288内核编译工具链下载:https://pan.baidu.com/s/1sl7v1EX
3. cd ~/UbuntuDev/firefly-3.14-kernel/
4. export ARCH=arm
5. export CROSS_COMPILE=./../toolchain/arm-eabi-4.6/bin/arm-eabi-
6. make firefly-rk3288_defconfig
7. make -j4 zImage

最后一步出现以前错误.请帮我看看什么错误?多谢



./../toolchain/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ./../toolchain/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected
scripts/kconfig/conf --silentoldconfig Kconfig
Makefile:634: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
./../toolchain/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ./../toolchain/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected

22222 发表于 2016-12-30 17:19:16

交叉编译工具不行吧,换一个版本试试

winterner 发表于 2016-12-30 19:54:20

一开始用32位Ubuntu开发也遇到了类似的问题,后来用64位Ubuntu可以通过
页: [1]
查看完整版本: 编译RK3288内核失败