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

'make' failing on AIX5.2 with Undeclared identifier (ITS#2990)



Full_Name: Tavia Stone
Version: 2.2.6
OS: AIX 5.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (128.55.16.127)


Using the following configure, I can successfully complete the 'configure' and
'make depend' portions of the build. 


export CPPFLAGS=-I/usr/common/nsg/include
export LDFLAGS=-L/usr/common/nsg/lib
export PATH=$PATH:/usr/vac/bin:/usr/common/nsg/bin

./configure --prefix=/usr/common/nsg --with-berkeleyDB=/usr/common/nsg
--enable-wrappers --disable-cleartext --enable-slapd --with-tls --with-threads
--enable-bdb --with-openssl=/usr/common/nsg


However, when 'make' is run, it fails in the libraries/libldap subdirectory with
an Undeclared identifier...

        /bin/sh /usr/common/nsg/src/prod/openldap/openldap-2.2.6/libtool 
--mode=compile  cc_r -g -I../../include        -I../../include  
-I/usr/common/nsg/include   -DLDAP_LIBRARY -c dnssrv.c
rm -f .libs/dnssrv.lo
cc_r -g -I../../include -I../../include -I/usr/common/nsg/include -DLDAP_LIBRARY
-c dnssrv.c  -DPIC -o .libs/dnssrv.lo
"dnssrv.c", line 263.25: 1506-045 (S) Undeclared identifier T_SRV.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.



We are using BIND4 and the AIX C compiler. I can't find any prior mention of
this problem, but if anyone has seen this before and could shed some light onthe
problem, that would be much appreciated.

Thanks.