$make config
我嘗試編譯使用
$make
整個Linux內核然而,它拋出一個錯誤如下配置中的.conf各種選項之後:
[email protected]:/LinuxKernel/linux-3.13# make
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
[email protected]:/LinuxKernel/linux-3.13#
我試圖通過使用搜索.conf:
$find -name ".conf"
然而它沒有結果。但由於make config的工作,我假設.config必須存在的地方。
請告訴我如何克服這個煩人的問題。我是第一次這樣做,我不確定在編譯內核之前是否需要安裝任何依賴項。您的反饋非常感謝。
這個問題似乎是脫離主題,因爲它是關於Linux管理員,並可能在unix.stackexchange.com更好 –
@Chris,我認爲它超越了Linux管理。我遇到從源代碼編譯內核的問題。我相信只有Linux內核開發人員可以令人信服地解決這個問題。 – Ace