[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compilation under AIX (xlc)



I'm trying to build openldap under AIX 4.3.3 with xlc.  I get the following:

  Entering subdirectory servers
Making all in /var/opt/pepsi/ldap/src/openldap-2.1.17/servers
  Entering subdirectory slapd
building static backends...

  cd back-ldbm; make  all

[deleted text]

        /bin/sh /var/opt/pepsi/ldap/src/openldap-2.1.17/libtool
--mode=compile  cc_r -g -I../../../include   
     -I../../../include -I.. -I./..  -I/var/opt/pepsi/ldap/include
-L//var/opt/pepsi/ldap/lib    -c extended.c
cc_r -g -I../../../include -I../../../include -I.. -I./..
-I/var/opt/pepsi/ldap/include -L//var/opt/pepsi/ldap/lib -c extended.c
-DPIC
"../slap.h", line 1679.18: 1506-112 (W) Duplicate type qualifier "volatile"
ignored.
"../slap.h", line 1680.18: 1506-112 (W) Duplicate type qualifier "volatile"
ignored.
"extended.c", line 28.1: 1506-343 (S) Redeclaration of ldbm_back_extended
differs from previous declaration on line 24 of "external.h".
"extended.c", line 28.1: 1506-377 (I) The type "unsigned char**" of
parameter 9 differs from the previous type "const unsigned char**".
"extended.c", line 49.33: 1506-280 (W) Function argument assignment between
types "const unsigned char**" and "unsigned char**" is not allowed.
make: 1254-004 The error code from the last command is 1.


Any ideas?  The code looke fine to me.  Using gcc is not an option.

TIA,
John

John Fortin - Pepsi Bottling Group
(914) 767-7844

Singing is Life - The Rest is Just Details!!
http://www.newyorkerschorus.org
http://www.spebsqsa.org