Categories
Linux/Unix

编译 64bit Linux Kernel 时报 genksyms 找不到

可以使用

$ make mrproper
$ make cloneconfig
$ make prepare-all

来解决。

不过如果报错:“/bin/sh: scripts/genksyms/genksyms: No such file or directory”,可以将 “make prepare-all” 改为 “make prepare scripts”。如下:

$ make mrproper
$ make cloneconfig
$ make prepare scripts

 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.