PDA

View Full Version : Compiling QT on AIX 6.1



image2x
4th December 2010, 00:39
Hello,

I've been unsuccessful in getting QT to install on AIX 6.1.

This is the output the ./configure:



Creating qmake. Please wait...
xlC -o "/appdata/depot/software/qt/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o -bmaxdata:0x80000000
ld: 0711-224 WARNING: Duplicate symbol: fc_softc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
ld: 0711-317 ERROR: Undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE
ld: 0711-317 ERROR: Undefined symbol: _ZN6Option6mkfile7do_depsE
ld: 0711-317 ERROR: Undefined symbol: _ZN6Option9host_modeE
ld: 0711-317 ERROR: Undefined symbol: ._Znam
ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
ld: 0711-317 ERROR: Undefined symbol: ._Znwm
ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
ld: 0711-317 ERROR: Undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
... many more similar errors until ...
gmake: *** [/appdata/depot/software/qt/bin/qmake] Error 8


Any assistance would be greatly appreciated.

Thanks,
-- John

image2x
6th December 2010, 21:55
Any pointers? Can I provide any additional info?

Thanks. -- John

image2x
7th December 2010, 04:06
nevermind... a make clean in the qmake directory did the trick.

Added after 8 minutes:

ugh... spoke too soon...

After a good 80 minutes into the compile, it came to an swift halt in the src/declarative directory:



cd src/declarative/ && gmake -f Makefile
gmake[1]: Entering directory `/appdata/depot/software/qt/src/declarative'
/appdata/depot/software/qt/bin/qmake -spec ../../mkspecs/aix-xlc -o Makefile declarative.pro
gmake[1]: Leaving directory `/appdata/depot/software/qt/src/declarative'
gmake[1]: Entering directory `/appdata/depot/software/qt/src/declarative'
xlC_r -c -+ -qstrict -O3 -qthreaded -DQT_SHARED -DQT_BUILD_DECLARATIVE_LIB -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/aix-xlc -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui -I../../include/QtXmlPatterns -I../../include/QtSql -I../../include/QtSvg -I../../include/QtScript -I../../include -I../../include/QtDeclarative -I.rcc/release-shared -Iutil -Igraphicsitems -Iqml -Iqml/parser -Iqml/rewriter -Idebugger -I.moc/release-shared -o .obj/release-shared/qdeclarativeutilmodule.o util/qdeclarativeutilmodule.cpp
"../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 173.42: 1540-1109 (S) The use of undefined class "QMetaTypeId2<QObject *>" is not valid.
"../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 185.5: 1540-0700 (I) The previous message was produced while processing "qRegisterMetaType<QObject *>(const char *, QObject **)".
"../../include/QtDeclarative/../../src/declarative/qml/qdeclarative.h", line 335.1: 1540-0700 (I) The previous message was produced while processing "QMetaTypeId<QObject *>::qt_metatype_id()".
"../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 173.42: 1540-1109 (S) The use of undefined class "QMetaTypeId2<QVariant>" is not valid.
"../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 185.5: 1540-0700 (I) The previous message was produced while processing "qRegisterMetaType<QVariant>(const char *, QVariant *)".
"../../include/QtDeclarative/../../src/declarative/qml/qdeclarative.h", line 336.1: 1540-0700 (I) The previous message was produced while processing "QMetaTypeId<QVariant>::qt_metatype_id()".
gmake[1]: *** [.obj/release-shared/qdeclarativeutilmodule.o] Error 1
gmake[1]: Leaving directory `/appdata/depot/software/qt/src/declarative'
gmake: *** [sub-declarative-make_default-ordered] Error 2


:( ideas?

nezticle
21st January 2011, 10:18
Were you ever able to come to a conclusion on how to solve this issue? It seems that this will occur anytime Qt calls qRegisterMetaType on a type that has already been registered.