Ubuntu11.10编译内核:make xconfig错误

Ubuntu11.10编译内核:make xconfig错误

问题:

root@czu:~/桌面/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

你可能感兴趣的:(ubuntu)