List:General Discussion« Previous MessageNext Message »
From:Ben Clewett Date:July 24 2006 3:36pm
Subject:Compilation Failure
View as plain text  
Dear List,

I compiled 5.1.6 on Linux, works perfectly.  Been running for a few 
weeks, now want to port to live server.

Same compilation on AIX 5.2.0.0, I get:


Making all in storage/archive
         if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include 
-I../../include       -DDBUG_OFF -O2 -mpowerpc64 -mminimal-toc -maix64 
-Wa,-many   -MT azio.o -MD -MP -MF ".deps/azio.Tpo" -c -o azio.o azio.c; 
  then mv -f ".deps/azio.Tpo" ".deps/azio.Po"; else rm -f 
".deps/azio.Tpo"; exit 1; fi
In file included from ../../include/my_sys.h:825,
                  from ../../mysys/mysys_priv.h:18,
                  from azlib.h:36,
                  from azio.c:17:
/usr/include/sys/mman.h:115: error: conflicting types for `mmap64'
/usr/include/sys/mman.h:110: error: previous declaration of `mmap64'
In file included from azio.c:17:
azlib.h:147:1: warning: "Z_ASCII" redefined
In file included from azlib.h:34,
                  from azio.c:17:
/opt/freeware/include/zlib.h:175:1: warning: this is the location of the 
previous definition


Are there any AIX experts who may have found/fixed this problem?

Any help would be wonderful!

Regards,

Ben

PS, configure:


./configure \
         --with-low-memory \
         --prefix=$ROOT \
         --enable-thread-safe-clinet \
         --enable-local-infile \
         --with-named-z-libs=no \
         --disable-shared \
         --localstatedir=$DATA \
         --with-unix-socket-path=$SOCKET \
         --includedir=/usr/linux/include \
         --with-charset=utf8 \
         --sysconfdir=$ETC \
         --libexecdir=$SERVER_DIR \
         --with-extra-charsets=complex \
         --with-innodb \
         --with-issam \
         --with-extra-charsets=complex \
         --with-cvs-storage-engine \
         --with-archive-storage-engine \
         --enable-local-infile \
         --enable-assembler \
         --enable-thread-safe-client \
         --with-openssl=/usr/linux \
         --with-openssl-includes=/usr/linux/include \
         --with-openssl-libs=/usr/linux/lib \

Thread
Compilation FailureBen Clewett24 Jul
  • Re: Compilation FailureChris White24 Jul
    • Re: Compilation FailureBen Clewett24 Jul
      • Re: Compilation FailureJoerg Bruehe24 Jul