• unknown's avatar
    Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 · 36bb8de9
    unknown authored
    5.1 specific fixes so cluster will build on AIX (with IBM compiler)
    
    
    config/ac-macros/ha_ndbcluster.m4:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (1)
      
      build NDB binaries as static on AIX. because that actually
      *works*.
      
      when building dynamic, with the IBM compiler (xlC_r), and
      the build breaks on AIX due to missing symbols
      (__vec__delete2 et al.), try adding -lhC to the Makefile.
    storage/ndb/src/mgmclient/Makefile.am:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (2)
      
      fix path
    storage/ndb/src/ndbapi/NdbScanOperation.cpp:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (3)
      
      __align is a keyword in xlC_r
    storage/ndb/test/ndbapi/testIndexStat.cpp:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
      
      gptr is now uchar*
      
      template can't be static on xlC_r?
    storage/ndb/test/ndbapi/test_event_merge.cpp:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
      
      gptr is now uchar*
    storage/ndb/test/run-test/main.cpp:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
      
      gptr is now uchar*
    storage/ndb/test/src/NDBT_Test.cpp:
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
      
      gptr is now uchar*
    36bb8de9
ha_ndbcluster.m4 11.7 KB