所以我尝试重新编译我的内核(它没有uinput支持,但是nm支持)。我遵循了如何在14.04上安装所需的Qt包来构建内核?上的说明,但是
当我运行~/Downloads/linux-2.6.32.68$ 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]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'. Stop. make: *** [xconfig] Error 2我认为这可能是一个升级错误,因为即使我有qt5,它也抱怨它找不到qt3。从努克出发,我该怎么解决这个问题?
发布于 2015-09-21 12:24:52
要么您需要安装一些库才能可靠,要么您必须走不需要库的道路。
要使用
make xconfig您必须安装QT3库,并且可以下载和安装精确的包。为此,请下载libqt3-mt-dev并使用sudo dpkg -i进行安装。但是,您必须安装更多的依赖项。
您需要qt3的唯一原因是您运行了make xconfig。还有其他不需要qt3的方法来配置内核以进行编译。我年轻的时候是这样做的:
make menuconfig
或者,非常古老的学校:
make config
在配置步骤之后,运行
make -j3如果你有两个核心(核心+ 1)
make modules_install
make installhttps://askubuntu.com/questions/675823
复制相似问题