我在安裝在windows 7 pc上的vmware上使用ubuntu 12.04 ...我試圖編譯linux-2.6.0源文件(從kernel.org下載)...我跟着步驟在網絡上告訴,但有問題...在編譯ubuntu上的內核時出現錯誤
所以我搜查了一下,碰到this ...我遵循的方式告訴答案,但仍然執行第二步後,當我繼續前進執行第三步(make menuconfig進行)我得到以下錯誤..
make[1]: `scripts/fixdep' is up to date.
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91:21: error: static declaration of ‘current_menu’ follows
non-static declaration
scripts/kconfig/lkc.h:63:21: note: previous declaration of ‘current_menu’ was here
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:553:7: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result [-Wunused-result]
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:225:6: warning: ignoring return value of ‘pipe’, declared with
attribute warn_unused_result [-Wunused-result]
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
同樣的錯誤發生了,當我用化妝xconfig的......請告訴我應該怎麼做?提前致謝。
什麼是對使用Linux 2.6.0,這是〜9歲的原因? –
我正在學習操作系統,並希望從更早的版本開始,因此簡單版本 – avinash
Linux 2.6.0和Linux 3.2之間的區別並不會那麼重要。 –