Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem building Qt 5.4.2 to embedded linux
maikelo last edited by A Former User
This is my first time in this forum and sorry for my English, it isn't my native language.
I'm trying to build Qt for a custom embedded linux on an intel NUC and I'm getting some problems.
My steps were:
./configure -release -opengl es2 -device linux-d6cx-g++ -device-option CROSS_COMPILE=/home/pf/ssdk-d6cx/host/usr/bin/x86_64-buildroot-linux-gnu- -sysroot /home/pf/ssdk-d6cx/host/usr/x86_64-buildroot-linux-gnu/sysroot -prefix /usr/local/qt5.4-d6cx -opensource -confirm-license -v -qt-xcb -nomake examples
sudo make -j2
and here I'm getting the problem. I got an Illegal instruction (core dumped) when trying to update assistant_da.qm
I pasted the output below:
... ... make: Entering directory `/home/pf/qt5/qtscript' cd src/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qtscript/src/src.pro -o Makefile ) && make -f Makefile make: Entering directory `/home/pf/qt5/qttranslations' cd translations/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qttranslations/translations/translations.pro -o Makefile ) && make -f Makefile make: Entering directory `/home/pf/qt5/qtscript/src' cd script/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qtscript/src/script/script.pro -o Makefile ) && make -f Makefile make: Entering directory `/home/pf/qt5/qttranslations/translations' QMAKE=/home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qttools/bin/lrelease assistant_da.ts -qm assistant_da.qm Updating 'assistant_da.qm'... Illegal instruction (core dumped) make: *** [assistant_da.qm] Error 132 make: Leaving directory `/home/pf/qt5/qttranslations/translations' make: *** [sub-translations-make_first] Error 2 make: Leaving directory `/home/pf/qt5/qttranslations'
I had done some search to see is someone had have this problem before but I have found nothing.
I thought that a possible way to bypass this problem is build Qt without the tools (I don't need its) and I did that but I got other problems whit a libQt5Designer that wasn't found.... that problem was when I did "sudo make install". so I come back to the first configuration.
Could someone help me to solve that error?
Thank you so much in advance!!
maikelo last edited by
I found for myself a way to build qt for that device. I couldn't solve the error I got, but I bypass it. What I did was skip the modules qttools, qttranslations, qtdocs, qtscript, and qtquick1 in the configure. With that configuration I don't get any more the error.