找回密码
 注册
查看: 3046|回复: 1

模块编译报错怎么解决

[复制链接]
发表于 2009-6-7 11:50:09 | 显示全部楼层 |阅读模式
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版本的内核就报上面的错误!!!
麻烦那位高手指教一下,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-5 19:00 , Processed in 0.022297 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表