Problem of Qt 5.6.0 Cross Compile for Olimex A20 Micro With Debian Jessie?
-
Thanks jsulm,
I dont know whether how many out of 18 disabled things I do not need in future.
Means As I can see Mysql or SQLite2 in disabled list.
If I continue 'make' with errors which I seen when ./configure...command.
& In future if I want to create QT application which use those Mysql or SQLite2 etc things...then? -
Then you will need to rebuild at least parts of Qt later
-
Thanks jsulm,
I foundTurn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue.
So I use ' -v -continue' in ./configure command, Then run command:-
make -d -j4
I got error as follows:-
Live child 0x00ab0210 (.obj/qlatincodec.o) PID 14536 Reaping losing child 0x00ab0210 PID 14536 make[2]: *** [.obj/qlatincodec.o] Error 1 Removing child 0x00ab0210 PID 14536 from chain. make[2]: Leaving directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap' Reaping losing child 0x01b77a70 PID 14531 make[1]: *** [sub-bootstrap-make_first] Error 2 Removing child 0x01b77a70 PID 14531 from chain. make[1]: Leaving directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src' Reaping losing child 0x01b49420 PID 14521 make: *** [sub-src-make_first] Error 2 Removing child 0x01b49420 PID 14521 from chain.
Any help?
-
Are there any other messages before?
-
Yes there are lots (huge log due to '-d' option in 'make') of
- Considering target file
- Looking for an implicit rule for
- Trying pattern rule with stem
- Trying implicit prerequisite
- Avoiding implicit rule recursion.
- Looking for a rule with intermediate file
- Avoiding implicit rule recursion.
- No need to remake target
I found that one error which I miss to put in previous post:-
g++: error: unrecognized command line option ‘-std=c++14’The log as below:-
make[2]: Entering directory `/usr/local/qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap' g++ -c -pipe -ffunction-sections -O2 -fPIC -std=c++14 -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_LIBINPUT -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I. -I../../3rdparty/zlib -I../../../include -I../../../include/QtCore -I../../../include/QtCore/5.6.0 -I../../../include/QtCore/5.6.0/QtCore -I../../../include/QtXml -I../../../include/QtXml/5.6.0 -I../../../include/QtXml/5.6.0/QtXml -I../../../mkspecs/linux-g++ -o .obj/qlatincodec.o ../../corelib/codecs/qlatincodec.cpp Putting child 0x00ab0210 (.obj/qlatincodec.o) PID 14536 on the chain. Commands of `.obj/qlatincodec.o' are being run. Considering target file `.obj/qtextcodec.o'. File `.obj/qtextcodec.o' does not exist. Considering target file `../../corelib/codecs/qtextcodec.cpp'. Looking for an implicit rule for `../../corelib/codecs/qtextcodec.cpp'. Trying pattern rule with stem `qtextcodec.cpp'. Trying implicit prerequisite `../../corelib/codecs/qtextcodec.cpp,v'. Trying pattern rule with stem `qtextcodec.cpp'. Trying implicit prerequisite `../../corelib/codecs/RCS/qtextcodec.cpp,v'. Trying pattern rule with stem `qtextcodec.cpp'. Trying implicit prerequisite `../../corelib/codecs/RCS/qtextcodec.cpp'. Trying pattern rule with stem `qtextcodec.cpp'. Trying implicit prerequisite `../../corelib/codecs/s.qtextcodec.cpp'. Trying pattern rule with stem `qtextcodec.cpp'. Trying implicit prerequisite `../../corelib/codecs/SCCS/s.qtextcodec.cpp'. No implicit rule found for `../../corelib/codecs/qtextcodec.cpp'. Finished prerequisites of target file `../../corelib/codecs/qtextcodec.cpp'. No need to remake target `../../corelib/codecs/qtextcodec.cpp'. Considering target file `../../../mkspecs/linux-g++/qplatformdefs.h'. Looking for an implicit rule for `../../../mkspecs/linux-g++/qplatformdefs.h'. Trying pattern rule with stem `qplatformdefs.h'. Trying implicit prerequisite `../../../mkspecs/linux-g++/qplatformdefs.h,v'. Trying pattern rule with stem `qplatformdefs.h'. Trying implicit prerequisite `../../../mkspecs/linux-g++/RCS/qplatformdefs.h,v'. Trying pattern rule with stem `qplatformdefs.h'. Trying implicit prerequisite `../../../mkspecs/linux-g++/RCS/qplatformdefs.h'. Trying pattern rule with stem `qplatformdefs.h'. Trying implicit prerequisite `../../../mkspecs/linux-g++/s.qplatformdefs.h'. Trying pattern rule with stem `qplatformdefs.h'. Trying implicit prerequisite `../../../mkspecs/linux-g++/SCCS/s.qplatformdefs.h'. No implicit rule found for `../../../mkspecs/linux-g++/qplatformdefs.h'. Finished prerequisites of target file `../../../mkspecs/linux-g++/qplatformdefs.h'. No need to remake target `../../../mkspecs/linux-g++/qplatformdefs.h'. Pruning file `../../../include/QtCore/qglobal.h'. Pruning file `../../corelib/global/qglobal.h'. Pruning file `../../../include/QtCore/qconfig.h'. Pruning file `../../corelib/global/qconfig.h'. Pruning file `../../../include/QtCore/qfeatures.h'. Pruning file `../../corelib/global/qfeatures.h'. Pruning file `../../../include/QtCore/qsystemdetection.h'. Pruning file `../../corelib/global/qsystemdetection.h'. Pruning file `../../../include/QtCore/qprocessordetection.h'. Pruning file `../../corelib/global/qprocessordetection.h'. Pruning file `../../../include/QtCore/qcompilerdetection.h'. Pruning file `../../corelib/global/qcompilerdetection.h'. Pruning file `../../../include/QtCore/qtypeinfo.h'. Pruning file `../../corelib/global/qtypeinfo.h'. Pruning file `../../../include/QtCore/qtypetraits.h'. g++: error: unrecognized command line option ‘-std=c++14’
-
For some reason -std=c++14 compiler option was passed to the compiler. Your GCC version does not support it. Actually in your previous post it was stated that C++14 was disabled. So, I'm wondering why this flag was passed to the compiler. You can check whether it is possible to specify which C++ standard should be used when you call configure (configure -h).
-
Thanks jsulm,
I found '-std=c++14' in following files- /qt-everywhere-opensource-src-5.6.0/qtbase/mkspecs/common/g++-base.conf has
QMAKE_CXXFLAGS_CXX11 = -std=c++14
- qt-everywhere-opensource-src-5.6.0/qtbase/src/tools/bootstrap/Makefile has
CXXFLAGS = -pipe -ffunction-sections -O2 -fPIC -std=c++14 -fno-exceptions -Wall -W -D_REENTRANT $(DEFINES)
Steps taken:-
- After ./configure command I run make command & got error.
After it I run make clean.
Qustion:-
- Is my ./configure command wrong?
My configure command as below:-
./configure -v -continue -opengl es2 -device linux-a20olimex-g++ -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- -sysroot /mnt/a20 -opensource -confirm-license -optimized-qmake -release -make libs -prefix /usr/local/qt5a20 -no-pch -nomake tests -no-xcb -eglfs -v -tslib -dbus -icu -pulseaudio -glib -no-cups -qt-harfbuzz -gtkstyle
-
Should I edit those two files where I found c++14?
-
What about other disable things? Previously I found 18 things as disable but after make clean & might due to -v option in ./configure command I found more things as disabled which as below:-
1 to 18 in first question I mentioned.
19. PulseAudio
20. OpenGL ES 3.0
21. OpenGL ES 3.1
22. libudev
23. xkbcommon
24. GBM
25. KMS
26. Mir client
27. EGL-X11
28. eglfs-brcm
29. eglfs-egldevice
30. eglfs-mali
31. eglfs-viv
32. OpenVG
33. OpenVG (lc includes)
34. alsa
Need Guidance!
Thanks, -
You can try to replace
QMAKE_CXXFLAGS_CXX11 = -std=c++14
with
QMAKE_CXXFLAGS_CXX11 = -std=c++11
in qt-everywhere-opensource-src-5.6.0/qtbase/mkspecs/common/g++-base.conf
And then run configure and make again.Regarding other disabled things: it really depends on your needs. Do you need any of them? If not then just build. If you need any of them then you need to make sure you have header files and libraries needed to use them.
-
Thanks jsulm,
I change g++-base.conf as per instructions.
Then I run 'make' command.
There are errors while make command run.
In /mnt/a20/usr/lib/arm-linux-gnueabihf/- librt.so
- libdl.so
- libz.so
- libdl.so
- libglib-2.0.so
- libm.so
I found in /mnt/a20 ie in Olimex A20 Debian OS has arm-linux-gnueabihf
when I use command 'ls -al', those including those 6 so files total 25 has something problem in softlink (it shown in Red color)- libanl.so -> /lib/arm-linux-gnueabihf/libanl.so.1
- libBrokenLocale.so -> /lib/arm-linux-gnueabihf/libBrokenLocale.so.1
- libcidn.so -> /lib/arm-linux-gnueabihf/libcidn.so.1
- libcrypt.so -> /lib/arm-linux-gnueabihf/libcrypt.so.1
- libcidn.so -> /lib/arm-linux-gnueabihf/libcidn.so.1
- libdl.so -> /lib/arm-linux-gnueabihf/libdl.so.2
- libexpat.so -> /lib/arm-linux-gnueabihf/libexpat.so.1.6.0
- libglib-2.0.so -> /lib/arm-linux-gnueabihf/libglib-2.0.so.0
- libm.so -> /lib/arm-linux-gnueabihf/libm.so.6
- libnsl.so -> /lib/arm-linux-gnueabihf/libnsl.so.1
- libnss_compat.so -> /lib/arm-linux-gnueabihf/libnss_compat.so.2
- libnss_dns.so -> /lib/arm-linux-gnueabihf/libnss_dns.so.2
- libnss_files.so -> /lib/arm-linux-gnueabihf/libnss_files.so.2
- libnss_hesiod.so -> /lib/arm-linux-gnueabihf/libnss_hesiod.so.2
- libnss_nisplus.so -> /lib/arm-linux-gnueabihf/libnss_nisplus.so.2
- libnss_nis.so -> /lib/arm-linux-gnueabihf/libnss_nis.so.2
- libpcre.so -> /lib/arm-linux-gnueabihf/libpcre.so.3
- libpng12.so.0 -> /lib/arm-linux-gnueabihf/libpng12.so.0
- libresolv.so -> /lib/arm-linux-gnueabihf/libresolv.so.2
- librt.so -> /lib/arm-linux-gnueabihf/librt.so.1
- libthread_db.so -> /lib/arm-linux-gnueabihf/libthread_db.so.1
- libudev.so -> /lib/arm-linux-gnueabihf/libudev.so.1.6.4
- libusb-1.0.so -> /lib/arm-linux-gnueabihf/libusb-1.0.so.0.1.0
- libutil.so -> /lib/arm-linux-gnueabihf/libutil.so.1
- libz.so -> /lib/arm-linux-gnueabihf/libz.so.1.2.8
I think arm-linux-gnueabihf is not install properly?
For reference Error log as below:-/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/librt.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libdl.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libz.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libdl.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libglib-2.0.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/librt.so: No such file or directory /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /mnt/a20/usr/lib/arm-linux-gnueabihf/libm.so: No such file or directory .obj/qlibrary_unix.o:qlibrary_unix.cpp:function qdlerror(): error: undefined reference to 'dlerror' .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::unload_sys(): error: undefined reference to 'dlclose' .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::resolve_sys(char const*): error: undefined reference to 'dlsym' .obj/qlibrary_unix.o:qlibrary_unix.cpp:function QLibraryPrivate::load_sys(): error: undefined reference to 'dlopen' .obj/qlibrary_unix.o:qlibrary_unix.cpp:function qt_linux_find_symbol_sys(char const*): error: undefined reference to 'dlsym' .obj/qbytearray.o:qbytearray.cpp:function qUncompress(unsigned char const*, int): error: undefined reference to 'uncompress' .obj/qbytearray.o:qbytearray.cpp:function qCompress(unsigned char const*, int, int): error: undefined reference to 'compress2' .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'pow' .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'floorf' .obj/qdatetime.o:qdatetime.cpp:function fromIsoTimeString(QStringRef const&, Qt::DateFormat, bool*): error: undefined reference to 'pow' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeCosineCurve(double): error: undefined reference to 'cos' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutSine(double): error: undefined reference to 'cos' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeSineCurve(double): error: undefined reference to 'sin' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutCurve(double): error: undefined reference to 'sin' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutCirc(double): error: undefined reference to 'sqrt' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutCirc(double): error: undefined reference to 'sqrt' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutCirc(double): error: undefined reference to 'sqrt' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInCirc(double): error: undefined reference to 'sqrt' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutInSine(double): error: undefined reference to 'cos' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeOutInSine(double): error: undefined reference to 'sin' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutExpo(double): error: undefined reference to 'pow' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInOutExpo(double): error: undefined reference to 'pow' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInSine(double): error: undefined reference to 'cos' .obj/qeasingcurve.o:qeasingcurve.cpp:function easeInCurve(double): error: undefined reference to 'sin' .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin' .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin' .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin' .obj/qeasingcurve.o:qeasingcurve.cpp:function ElasticEase::value(double): error: undefined reference to 'asin' .obj/qline.o:qline.cpp:function QLineF::angle() const: error: undefined reference to 'atan2' .obj/qline.o:qline.cpp:function QLineF::setAngle(double): error: undefined reference to 'sincos' .obj/qline.o:qline.cpp:function QLineF::fromPolar(double, double): error: undefined reference to 'sincos' .obj/qline.o:qline.cpp:function QLineF::angle(QLineF const&) const: error: undefined reference to 'acos' .obj/qlocale_tools.o:qlocale_tools.cpp:function qdtoa(double, int, int, int*, int*, char**, char**): error: undefined reference to 'feholdexcept' .obj/qlocale_tools.o:qlocale_tools.cpp:function qdtoa(double, int, int, int*, int*, char**, char**): error: undefined reference to 'fesetenv' .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'floor' .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'ceil' .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'floor' .obj/qrect.o:qrect.cpp:function QRectF::toAlignedRect() const: error: undefined reference to 'ceil' .obj/qtimeline.o:qtimeline.cpp:function QTimeLine::frameForTime(int) const: error: undefined reference to 'ceil' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>): error: undefined reference to 'g_main_context_iteration' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>): error: undefined reference to 'g_main_context_iteration' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::hasPendingEvents(): error: undefined reference to 'g_main_context_pending' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_remove_poll' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_remove_poll' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_remove_poll' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_destroy' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_source_unref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_main_context_pop_thread_default' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::~QEventDispatcherGlib(): error: undefined reference to 'g_main_context_unref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_ref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_push_thread_default' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_new' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_can_recurse' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_set_priority' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_source_attach' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_new' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_default' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*): error: undefined reference to 'g_main_context_ref' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*): error: undefined reference to 'g_source_add_poll' .obj/qeventdispatcher_glib.o:qeventdispatcher_glib.cpp:function QEventDispatcherGlib::wakeUp(): error: undefined reference to 'g_main_context_wakeup' collect2: error: ld returned 1 exit status make[2]: *** [../../lib/libQt5Core.so.5.6.0] Error 1
-
Hello everyone,
Here is the same problem.
Anyone a solution for that?