Linux下模块编译错误

cc1: fatal error: include/generated/autoconf.h: No such file or directory
compilation terminated.

 

解决方法:在内核树下面执行make prepare 

 

/bin/sh: scripts/mod/modpost: not found

 

解决方法:在内核树下面执行make scripts 

posted @ 2013-05-18 11:36  yinsua  阅读(1620)  评论(0编辑  收藏  举报