Digi Embedded Linux (DEL) graphical project or kernel configuration fails with:
make -k xconfig
HOSTCXX scripts/kconfig/qconf.o
make: ***[xconfig] Error 2 Sometimes you see more details, e.g.:
or:
Those kinds of failures point to a wrong version of the moc (Qt Meta Object Compiler) for your host=development PC. Digi has tested (and delivers Kubuntu) with:
If you have updated to Qt 4.x you need to rollback to Qt 3:
sudo update-alternatives --config moc
[sudo] password for your username:
There are 2 choices for the alternative moc (providing /usr/bin/moc)
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/moc-qt4 40 automode
* 1 /usr/bin/moc-qt3 10 manual mode
2 /usr/bin/moc-qt4 40 manual mode
Press enter to keep the current choice[*], or type selection number: 1
If up/downgrading to a matching Qt version fails, you may fallback to run the non-graphical menu driver configuration with:
make -k menuconfig
from you local project directory $WORKSPACE/$PROJECT/
You should disable automatic Kubuntu updates to avoid similar packages or newer versions getting installed and breaking functionality within Digi ESP.
Last updated:
Jan 11, 2024