环境 Ubuntu 18.04 源码:linux-2.26.35 交叉编译工具:arm-none-eabi 目标机器:S5PC100 configure使用默认配置 make s5pc100.defconfig,然后make,出错和解决如下 code model kernel does not support PIC mode 解决: 在顶层makefile中添加编译选项 -fno-pie KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-</