././include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory 解决办法

  When I was writing the kernel driver modules reported a very strange error, as shown below:

  

 

 

   I looked in the directory did not find this file, I feel very strange, because I remember previously compiled module is not wrong, so I can not write the code in question.

  Access to a lot of information said to regenerate the .config clear the configuration and the like, which I did. It did not use eggs.

  The last discovery because I performed make mrproper (or make distclean), make mrproper execute print information is as follows:

  

 

  Obviously make mrproper cleared generated under this directive stuff.

  The solution is to recompile the kernel again: make zImage

 

Guess you like

Origin www.cnblogs.com/Suzkfly/p/11763948.html