[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
making on AIX v5.2 fails on T_SRV (ITS#2996)
Full_Name: Colin Ewart
Version: 2.2.6
OS: AIX v5.2 ML01 + ML02
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.128.252.68)
make of OL v2.2.6 fails on AIX v5.2 (maintenance levels 01 and 02) using C for
AIX v6. Make complains about T_SRV being an undeclared identifier in
libraries/libldap/dnssrv.c:
#> ./configure --prefix=/usr/local --libexecdir=/usr/local/sbin --enable-slapd
--enable-slurpd --enable-dynamic --enable-ldbm=no
#> make depend
"dnssrv.c", line 263.25: 1506-045 (S) Undeclared identifier T_SRV.
#> make
<---snip--->
xlc_r -g -I../../include -I../../include -I/usr/local/include
-I/usr/local/include/openssl -I/usr/local/include/sasl -I/usr/include
-L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/lib/ -L/lib -L/usr/ccs/lib
-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.
making OL v2.1.27 on the same platform does not exhibit this problem. dnssrv.c
from 2.1.27 contains the following:
/* Sometimes this is not defined. */
#ifndef T_SRV
#define T_SRV 33
#endif /* T_SRV */
Workaround/possible fix is adding the above code to 2.2.6 dnssrv.c. This
workaround allows the make to continue past dnssrv.c on v2.2.6.
Bug-posting newbie - go easy on me...
Cheers,
Colin