1

I am cross-compiling a Linux kernel for an embedded ARM system, on Ubuntu 14.10 (64-bit) desktop. However, I now receive the following errors related to package.

khaled@khaled:~/felabs/sysdev/tinysystem/linux-2.6.34$ make ARCH=arm CROSS_COMPILE=arm-linux- 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.
Makefile:460: recipe for target 'xconfig' failed
make: *** [xconfig] Error 2
1

You are missing the Qt GUI framework.

From https://help.ubuntu.com/community/Kernel/Compile :

Before you run make menuconfig or make xconfig (which is what the next step tells you to do), make sure you have the necessary packages:

sudo apt-get install qt3-dev-tools libqt3-mt-dev # if you plan to use 'make xconfig'
sudo apt-get install libncurses5 libncurses5-dev # if you plan to use 'make menuconfig'
  • E: Unable to locate package qt3-dev-tools – Jbali Khaled Jan 11 '15 at 1:04
  • @JbaliKhaled does the package libqt4-dev satisfy make xconfig? – Lucas Jan 11 '15 at 4:55
  • no, libqt4-dev alreday installed but i can't install qt3-apps-dev – Jbali Khaled Jan 12 '15 at 23:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.