文章的方法去編譯核心
開始時都沒有什麼問題,直到 make-kpkg binary-arch 這個步驟時產生了錯誤訊息,之後就無法再繼續了
所以我就把 /usr/src/kernel-source-2.4.22 整個目錄都殺掉
然後 libncurses5-dev、kernel-package 也都殺掉在重新安裝
但是再重新作一遍時都產生以下錯誤訊息
debook:/usr/src# cd kernel-source-2.4.22
debook:/usr/src/kernel-source-2.4.22# make-kpkg clean
/usr/share/kernel-package/rules:381: *** extraneous `endif'. Stop.
debook:/usr/src/kernel-source-2.4.22# make-kpkg --revision 2.4.22.custom-1 --append-to-version -custom -config menuconfig
I note you are using a hyphen in the revision number.
Please ensure that the upstream and debian revision
numbers are policy compliant enough that dpkg and
shall not choke on them at the end of the compile
Please hit return to continue
/usr/share/kernel-package/rules:381: *** extraneous `endif'. Stop.
debook:/usr/src/kernel-source-2.4.22#
請問我該怎麼辦??