|
内核编译报错
发表于 2017-1-9 16:17:19
浏览:6660
|
回复:3
打印
只看该作者
[复制链接]
楼主
最近学习Linux和rk3288,在编写hello world驱动时编译内核报错,以下是报错信息:
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target 'drivers/sai/hello.o' failed
make[2]: *** [drivers/sai/hello.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/sai' failed
make[1]: *** [drivers/sai] Error 2
Makefile:812: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Makefile和Kconfig文件都是根据阿sai版主的教学视频改的,不知道是不是配置错误。请大神指导一下小弟。万分感谢!
|
|