Results 1 to 4 of 4

Thread: Compiling QT on AIX 6.1

  1. #1
    Join Date
    Dec 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Compiling QT on AIX 6.1

    Hello,

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

    This is the output the ./configure:

    Qt Code:
    1. Creating qmake. Please wait...
    2. 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
    3. ld: 0711-224 WARNING: Duplicate symbol: fc_softc
    4. ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    5. ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
    6. ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
    7. ld: 0711-317 ERROR: Undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE
    8. ld: 0711-317 ERROR: Undefined symbol: _ZN6Option6mkfile7do_depsE
    9. ld: 0711-317 ERROR: Undefined symbol: _ZN6Option9host_modeE
    10. ld: 0711-317 ERROR: Undefined symbol: ._Znam
    11. ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
    12. ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
    13. ld: 0711-317 ERROR: Undefined symbol: ._Znwm
    14. ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
    15. ld: 0711-317 ERROR: Undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
    16. ... many more similar errors until ...
    17. gmake: *** [/appdata/depot/software/qt/bin/qmake] Error 8
    To copy to clipboard, switch view to plain text mode 

    Any assistance would be greatly appreciated.

    Thanks,
    -- John

  2. #2
    Join Date
    Dec 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Compiling QT on AIX 6.1

    Any pointers? Can I provide any additional info?

    Thanks. -- John

  3. #3
    Join Date
    Dec 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Compiling QT on AIX 6.1

    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:

    Qt Code:
    1. cd src/declarative/ && gmake -f Makefile
    2. gmake[1]: Entering directory `/appdata/depot/software/qt/src/declarative'
    3. /appdata/depot/software/qt/bin/qmake -spec ../../mkspecs/aix-xlc -o Makefile declarative.pro
    4. gmake[1]: Leaving directory `/appdata/depot/software/qt/src/declarative'
    5. gmake[1]: Entering directory `/appdata/depot/software/qt/src/declarative'
    6. 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
    7. "../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 173.42: 1540-1109 (S) The use of undefined class "QMetaTypeId2<QObject *>" is not valid.
    8. "../../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 **)".
    9. "../../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()".
    10. "../../include/QtCore/../../src/corelib/kernel/qmetatype.h", line 173.42: 1540-1109 (S) The use of undefined class "QMetaTypeId2<QVariant>" is not valid.
    11. "../../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 *)".
    12. "../../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()".
    13. gmake[1]: *** [.obj/release-shared/qdeclarativeutilmodule.o] Error 1
    14. gmake[1]: Leaving directory `/appdata/depot/software/qt/src/declarative'
    15. gmake: *** [sub-declarative-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    ideas?
    Last edited by image2x; 7th December 2010 at 05:06.

  4. #4
    Join Date
    Nov 2008
    Location
    Oslo, Norway
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo
    Thanked 1 Time in 1 Post

    Default Re: Compiling QT on AIX 6.1

    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.

Similar Threads

  1. compiling qt in 64b on mac
    By eric_vi in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2010, 15:42
  2. Compiling 4.4.1 under Mac OSX 10.5.4
    By smwhit in forum Installation and Deployment
    Replies: 0
    Last Post: 13th August 2008, 23:05
  3. Help compiling in qt 4
    By paul_1995 in forum Qt Programming
    Replies: 1
    Last Post: 11th August 2008, 16:39
  4. not compiling
    By sudheer in forum Installation and Deployment
    Replies: 6
    Last Post: 28th November 2007, 13:10
  5. Compiling?
    By Afflicted.d2 in forum Newbie
    Replies: 7
    Last Post: 16th October 2006, 20:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.