打印

模块编译报错怎么解决

模块编译报错怎么解决

cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
我编译模块是指定linux-2.6.29的版本内核没有问题,当我指定linux-2.6.30-rc7版本的内核就报上面的错误!!!
麻烦那位高手指教一下,谢谢!

TOP