QT everywhere compiling fails
-
Hi to all. I am trying to get working cross platform programming for A13 ARM from olimex.
I have searched already here but did not find a way to make it work.I have installed Qt Creator 3.5.1 and also installed cross compillers arm-linux-gnueabi and arm-linux-gnueabihf.
Then i did try one million times to compile qt-everywhere-opensource ,,,qt-embedded-linux-opensource-src-4.5.3.tar.gz
qt-everywhere-opensource-src-4.6.2.tar.gz
qt-everywhere-opensource-src-4.7.3.tar.gz
qt-everywhere-opensource-src-4.7.4.tar.gz
qt-everywhere-opensource-src-5.7.0.tar.gz
qt-everywhere-opensource-src-5.8.0.tar.gzwith ./configure -embedded arm -prefix /usr/local/qt -little-endian -no-qt3support -no-cups -no-largefile -optimized-qmake -no-openssl -xplatform qws/linux-arm-g++ -nomake tools -nomake examples -no-webkit -opensource -confirm-license
but always get output from make command
.....
arm-linux-gnueabihf-g++ -mcpu=cortex-a8 -mtune=cortex-a8 -O0 -mfpu=neon -lrt -c -fno-exceptions -D_REENTRANT -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/moc_qnamespace.o .moc/release-shared-emb-arm/moc_qnamespace.cpp
arm-linux-gnueabihf-g++ -mcpu=cortex-a8 -mtune=cortex-a8 -O0 -mfpu=neon -lrt -c -fno-exceptions -D_REENTRANT -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/moc_qthread.o .moc/release-shared-emb-arm/moc_qthread.cpp
/tmp/ccMg97nX.s: Assembler messages:
/tmp/ccMg97nX.s:18059: Error: selected processor does not support `swp r3,r2,[r1]' in Thumb mode
Makefile:17777: recipe for target '.obj/release-shared-emb-arm/qobject.o' failed
make[1]: *** [.obj/release-shared-emb-arm/qobject.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/root/qt-everywhere-opensource-src-4.6.2/src/corelib'and also was trying to changing and combining commands but no luck. Iam not linux professional but just trying by manuals and tutorials.
can someone help? please :)
-
hi
What version of gcc are you using ? -
I did check now in terminal if I did it right then command gcc --version gave me output
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc. -
Hi
Ok, that seems new enough.
It sounds like the process do not support a given instruction which often comes from "config" used.
https://forum.qt.io/topic/7140/qt-for-embedded-platforms-on-lpc3250-thumb-mode-error-on-makeBut it does seems possible to work
https://www.olimex.com/forum/index.php?topic=751.0 -
Hey man looks like you helped me i found in the links that I should try 4.8 so downloaded, configured, and now iam building. Its not done yet but it takes longer than before so I guess its ok.
-
I am back from work and trying next step the problem before is gone after compiling higher version.
Now I got another message
/home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Application finished with exit code 127.I searched the internet already and found some links but no single thread got solution. Would you have an idea?
-
I am back from work and trying next step the problem before is gone after compiling higher version.
Now I got another message
/home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Application finished with exit code 127.I searched the internet already and found some links but no single thread got solution. Would you have an idea?
@zdenekrejci said in QT everywhere compiling fails:
I am back from work and trying next step the problem before is gone after compiling higher version.
Now I got another message
/home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Application finished with exit code 127.I searched the internet already and found some links but no single thread got solution. Would you have an idea?
By the way now Iam downloading qt creator version 5 so will see.
-
@zdenekrejci said in QT everywhere compiling fails:
I am back from work and trying next step the problem before is gone after compiling higher version.
Now I got another message
/home/olimex/untitled: symbol lookup error: /home/olimex/untitled: undefined symbol: _ZN7QWidget8qwsEventEP8QWSEvent
Application finished with exit code 127.I searched the internet already and found some links but no single thread got solution. Would you have an idea?
By the way now Iam downloading qt creator version 5 so will see.
@zdenekrejci said in QT everywhere compiling fails:
By the way now Iam downloading qt creator version 5 so will see.
Do you mean Qt 5? The problem you have isn't related to QtCreator.
-
Yes you right after I downloaded the QT5 the problem remains. By the way the previous problem was solved so iam going to mark this thread as solved and will create another one for the next error.
-
@zdenekrejci said in QT everywhere compiling fails:
By the way now Iam downloading qt creator version 5 so will see.
Do you mean Qt 5? The problem you have isn't related to QtCreator.
@jsulm Yes you right after I downloaded the QT5 the problem remains. By the way the previous problem was solved so iam going to mark this thread as solved and will create another one for the next error.