cc1: error: code model kernel does not support PIC mode /usr/src/linux-2.6.35.5/./Kbuild:35: recipe

错误:

CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
cc1: error: code model kernel does not support PIC mode
/usr/src/linux-2.6.35.5/./Kbuild:35: recipe for target ‘kernel/bounds.s’ failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:924: recipe for target ‘prepare0’ failed
make: *** [prepare0] Error 2

解决:Ubuntu版本太高 更改Ubuntu版本至12.04

Ubuntu安装Linux2.6.35内核编译

你可能感兴趣的:(linux)