Ad Widget

Collapse

PATCH: Zabbix 1.4.4 AIX agent patch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiago.info
    Junior Member
    • Feb 2008
    • 28

    #16
    Originally posted by hoyt
    What version of gcc are you using? I had this problem on AIX systems that had a *really* old version of gcc installed (v2.9).
    You can get a newer gcc from:



    --John
    Hey John, I'm not using an old gcc version, see this:
    gcc -v
    Using built-in specs.
    Target: powerpc-ibm-aix5.1.0.0
    Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.1.0.0
    Thread model: aix
    gcc version 4.0.0

    Comment

    • hoyt
      Member
      • Aug 2007
      • 31

      #17
      Originally posted by thiago.info
      Hey John, I'm not using an old gcc version, see this:
      gcc -v
      Using built-in specs.
      Target: powerpc-ibm-aix5.1.0.0
      Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.1.0.0
      Thread model: aix
      gcc version 4.0.0
      I think your problem is that you are using a gcc made for AIX 5.1 not 5.3.

      Here is the output from gcc -v on our system:

      Using built-in specs.
      Target: powerpc-ibm-aix5.3.0.0
      Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0
      Thread model: aix
      gcc version 4.2.0


      Notice that the Target: is 5.3 whereas yours is 5.1 .

      --John

      Comment

      • thiago.info
        Junior Member
        • Feb 2008
        • 28

        #18
        Originally posted by hoyt
        I think your problem is that you are using a gcc made for AIX 5.1 not 5.3.

        Here is the output from gcc -v on our system:

        Using built-in specs.
        Target: powerpc-ibm-aix5.3.0.0
        Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0
        Thread model: aix
        gcc version 4.2.0


        Notice that the Target: is 5.3 whereas yours is 5.1 .

        --John
        Hum, probably this is my the problem here! What fix level are yours ? I'll try to update my AIX system to TL7 now.

        Comment

        • hoyt
          Member
          • Aug 2007
          • 31

          #19
          Originally posted by thiago.info
          Hum, probably this is my the problem here! What fix level are yours ? I'll try to update my AIX system to TL7 now.
          % oslevel -r
          5300-02

          Which is really a failed install ML4 (don't ask). I think the only thing you need
          to do is down load and install a new gcc from the link above for AIX5.3.
          That is all I did to fix my gcc compile issues.

          --John

          Comment

          • thiago.info
            Junior Member
            • Feb 2008
            • 28

            #20
            Originally posted by hoyt
            % oslevel -r
            5300-02

            Which is really a failed install ML4 (don't ask). I think the only thing you need
            to do is down load and install a new gcc from the link above for AIX5.3.
            That is all I did to fix my gcc compile issues.

            --John
            It worked now! Thanks a lot John.

            Best Regards,
            Thiago

            Comment

            Working...