歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> Ubuntu 11.10編譯內核:make xconfig錯誤

Ubuntu 11.10編譯內核:make xconfig錯誤

日期:2017/3/1 10:33:26   编辑:Linux編程

問題:

[email protected]:~/桌面/linux-2.6.30.4# make xconfig
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** 沒有規則可以創建“scripts/kconfig/qconf.o”需要的目標“scripts/kconfig/.tmp_qtcheck”。 停止。
make: *** [xconfig] 錯誤 2

解決辦法:

要先安裝libqt3-compat-headers:

執行

sudo apt-get install libqt3-compat-headers

sudo apt-get install kernel-package
sudo apt-get install build-essential

Copyright © Linux教程網 All Rights Reserved