Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.5.1 build error in AIX 6.1
Qt 6.11 is out! See what's new in the release blog

Qt 5.5.1 build error in AIX 6.1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 4 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DaryongD Offline
    DaryongD Offline
    Daryong
    wrote on last edited by A Former User
    #1

    Hi.

    I get an error when building qt 5.5.1 in AIX 6.1.

    < error >
    ./configure -platform aix-g++
    ...

    Preparing build tree...
    Creating qmake...
    ....
    /opt/qt5/qt-everywhere-opensource-src-5.5.1/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:39:21: error: cstddef: No such file or directory
    ....

    <qglobal.h>
    #ifdef __cplusplus
    # include <cstddef> <------- error line
    #endif

    I found that file(cstddef) in
    ./opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/c++/cstddef
    ./opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.2.0/include/c++/cstddef
    What should I do?

    < my env >
    AUTHSTATE=compat
    CATALINA_HOME=/home/tomcat4
    CLASSPATH=.:/home/tomcat4/common/lib/ojdbc14.jar:/home/tomcat4/common/lib/servlet.jar
    EDITOR=/usr/bin/vi
    ERRNO=0
    FCEDIT=/usr/bin/ed
    G_BROKEN_FILENAMES=1
    HOME=/
    IFS='
    '
    JAVA_HOME=/usr/java14
    LANG=C
    LC__FASTMSG=true
    LINENO=1
    LOCPATH=/usr/lib/nls/loc
    LOGIN=root
    LOGNAME=root
    MAIL=/usr/spool/mail/root
    MAILCHECK=600
    MAILMSG='[YOU HAVE NEW MAIL]'
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    ODMDIR=/etc/objrepos
    OLDPWD=/opt/qt5
    OPTIND=1
    PATH=.:/usr/vacpp/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb://bin:/usr/bin/X11:/sbin:/usr/java14/bin
    PPID=311416
    PS1='nim109@root:$PWD#> '
    PS2='> '
    PS3='#? '
    PS4='+ '
    PWD=/opt/qt5/build
    RANDOM=28868
    SECONDS=2141
    SHELL=/usr/bin/ksh
    TERM=xterm
    TERM_DEFAULT=lft
    TMOUT=0
    TOMCAT_HOME=/home/tomcat4
    TZ=Asia/Seoul
    USER=root
    VISUAL=/usr/bin/vi
    _=env

    thanks .....

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I haven't use that platform but are you cross-compiling ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      DaryongD 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        I haven't use that platform but are you cross-compiling ?

        DaryongD Offline
        DaryongD Offline
        Daryong
        wrote on last edited by Daryong
        #3

        @SGaist Hi,

        I am currently using it for AIX, linux, and window 7(msdev2013), and linux builds the source directly.

        Thanks.

        1 Reply Last reply
        0
        • Paul H.P Offline
          Paul H.P Offline
          Paul H.
          wrote on last edited by
          #4

          It doesn't look like your environment is setup for the gcc / g++ compilers. Are you able to compile a simple Hello World program with g++ from the command line? If not, you can try exporting the following environment variables before configuring:

          export PATH=/path/to/g++/bin:$PATH
          export CPLUS_INCLUDE_PATH=/path/to/g++/include
          export C_INCLUDE_PATH=/path/to/gcc/include
          export LIBRARY_PATH=/path/to/g++/lib
          
          1 Reply Last reply
          0
          • T Offline
            T Offline
            TommyTank
            wrote on last edited by
            #5

            You need to install the 'libstdc++-devel' and link the installs in order to fix this issue.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved