List:General Discussion« Previous MessageNext Message »
From:Chris White Date:July 24 2006 3:46pm
Subject:Re: Compilation Failure
View as plain text  
On Monday 24 July 2006 08:36 am, Ben Clewett wrote:
> 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

Well, looking things over either a) glibc headers are jacked up (which is 
what /usr/include/sys/mman.h is installed by).  If things worked before, 
check if any updates to glibc were done.  Otherwise I'd just google around a 
bit for AIX+mmap64 and see what comes up.

Chris White
PHP Programmer/DBit
Compilation FailureBen Clewett24 Jul
  • Re: Compilation FailureChris White24 Jul
    • Re: Compilation FailureBen Clewett24 Jul
      • Re: Compilation FailureJoerg Bruehe24 Jul