Unable to build Qt 4.8.3 on AIX 6.1



  • I am trying to build Qt 4.8.3 on AIX 6.3 with following ./configure options : -no-script -no-multimedia -nowebkit -no-scripttools no-phonon, and during the build process I get the following error :

    @ xlC_r -c -+ -qstrict -q64 -O3 -qthreaded -DQT_SHARED -DQT_EDITION=QT_EDITION_DES
    KTOP -DQT_EVAL -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
    -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
    -DQLIBRARYINFO_EPOCROOT -DQT_USE_ICU -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_
    LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/aix-xlc-64 -I. -I../../in
    clude -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../../tools/shared
    -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/m
    d4 -Iglobal -I.moc/release-shared -o .obj/release-shared/qthread_unix.o thread/q
    thread_unix.cpp
    "thread/qthread_unix.cpp", line 102.30: 1540-2920 (S) The __thread keyword is no
    t recognized unless thread-local storage is enabled by option control.
    "thread/qthread_unix.cpp", line 159.12: 1540-0274 (S) The name lookup for "curre
    ntThreadData" did not find a declaration.
    "thread/qthread_unix.cpp", line 169.5: 1540-0274 (S) The name lookup for "curren
    tThreadData" did not find a declaration.
    "thread/qthread_unix.cpp", line 178.5: 1540-0274 (S) The name lookup for "curren
    tThreadData" did not find a declaration.
    make[2]: *** [.obj/release-shared/qthread_unix.o] Error 1
    make[2]: Leaving directory /lan/fed/etrd/sbox/adityar/aix/qt-src/src/corelib' make[1]: *** [sub-corelib-make_default-ordered] Error 2 make[1]: Leaving directory/lan/fed/etrd/sbox/adityar/aix/qt-src'
    @
    a
    I am following the instructions here : http://doc-snapshot.qt-project.org/5.0/platform-notes-x11.html for the IBM xlC compiler. What does the error relating to the thread local storage mean ? Any help would be greatly appreciated .


  • Moderators

    I never tried building Qt on AIX, sorry, but you might want to look into a commercial license. Digia actually lists AIX 6 as a secondary supported platform, so I am sure they will be able to support you in your endeavor.



  • Did to ever find a fix for this problem, I have it on AIX 7.




Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.