Building qt592 32 bit on 64bit ubuntu 1604
-
Hi, im trying to build qt592 32bit on 64bit ubuntu 1604
My configure options are:pr="/home/user1/bin/qt592_linux32" src=/home/user1/src/qt-everywhere-opensource-src-5.9.2 logf="conf_run.txt" $src/configure -platform linux-g++-32 \ -recheck -v -confirm-license -opensource \ -skip webengine -skip websockets -skip webchannel \ -skip 3d -skip connectivity -skip declarative -skip location -skip quickcontrols -skip quickcontrols2 -skip script -skip sensors -skip wayland -skip serialbus \ -skip gamepad \ -no-icu -no-sql-mysql \ -no-compile-examples -nomake examples -no-qml-debug -release -force-debug-info -separate-debug-info \ -no-strip -v \ -prefix $pr 2>&1 | tee $logf
configure worked fine, but then make starts, it failed with error:
... /qt-everywhere-opensource-src-5.9.2/qtbase/src/corelib/animation/qabstractanimation.h -o .moc/moc_qabstractanimation.cpp usr/include/c++/5/bits/stl_relops.:67: Parse error at "std" make[3]: *** [.moc/moc_qabstractanimation.cpp] Error 1 Makefile:2193: recipe for target '.moc/moc_qabstractanimation.cpp' failed ...
Line # 67 In /usr/include/c++/5/bits/stl_relops.h is "namespace std _GLIBCXX_VISIBILITY(default)"
Qt592 64 bit on this machine builded ok
-
Hi
it might be a moc issue
https://forum.qt.io/topic/27761/moc-parse-error-at-std-workaround -
Yes, this issue is related
I added "INCLUDEPATH += /usr/include/x86_64-linux-gnu/c++/5/32" in qtbase/mkspecs/linux-g++-32 and build started, but stopped at/qtbase/src/network/kernel/qdnslookup_unix.cpp:58:0: /usr/include/gnu/lib-names.h:8:31: fatal error: gnu/lib-names-32.h: No such file or directory
so topic is "fixed", i`ll try to make a bugreport
-
Hi,
Maybe a silly question but are you sure you properly installed all development packages needed in their 32bit versions ?
-
Hi, yes i dont )
As configure works fine, i thougth i was installed all
But googling again i found https://stackoverflow.com/questions/22359098/compiling-32bits-qt-sources-on-a-64bit-debian-environement and build was successful
So no bug report needed -
@abarmotov, Thank you very much!
INCLUDEPATH += ...
helped.