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

(ITS#9084) Build issue when slaps is not included



Full_Name: Michael Felt
Version: 2.4.48
OS: AIX
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (109.104.126.147)


Build of 2.4.46 proceeds with no issue.

When using the same command to build 2.4.48 the build stops with an undefined
variable error:

root@x066:[/data/prj/aixtools/src]grep LDAP_OPT_X_TLS *46/* *48/*
openldap-2.4.46/CHANGES:        Added libldap LDAP_OPT_X_TLS_PACKAGE (ITS#6969)
openldap-2.4.48/CHANGES:        Added libldap LDAP_OPT_X_TLS_PACKAGE (ITS#6969)
root@x066:[/data/prj/aixtools/src]find *46 *48 | xargs grep
LDAP_OPT_X_TLS_ECNAME
openldap-2.4.48/include/ldap.h:#define LDAP_OPT_X_TLS_ECNAME            0x6012
openldap-2.4.48/libraries/libldap/tls2.c:       case LDAP_OPT_X_TLS_ECNAME:
openldap-2.4.48/libraries/libldap/tls2.c:       case LDAP_OPT_X_TLS_ECNAME:
openldap-2.4.48/servers/slapd/bconfig.c:        case CFG_TLS_ECNAME:    flag =
LDAP_OPT_X_TLS_ECNAME;   break;

>From above, it appears that LDAP_OPT_X_TLS_ECNAME should be defined, but I
question that as I get the following error when compiling...

 Entering subdirectory libldap
make[2]: Entering directory
'/data/prj/aixtools/static/openldap-2.4.48/libraries/libldap'
/bin/sh ../../libtool  --mode=compile xlc_r -I/opt/include -O2 -qmaxmem=-1
-I../../include        -I../../../../src/openldap-2.4.48/include  
-I/opt/include   -DLDAP_LIBRARY -c
../../../../src/openldap-2.4.48/libraries/libldap/tls2.c
 xlc_r -I/opt/include -O2 -qmaxmem=-1 -I../../include
-I../../../../src/openldap-2.4.48/include -I/opt/include -DLDAP_LIBRARY -c
../../../../src/openldap-2.4.48/libraries/libldap/tls2.c -o tls2.o
"../../../../src/openldap-2.4.48/libraries/libldap/tls2.c", line 658.14:
1506-045 (S) Undeclared identifier LDAP_OPT_X_TLS_ECNAME.
"../../../../src/openldap-2.4.48/libraries/libldap/tls2.c", line 658.14:
1506-051 (S) Case expression must be a valid integral constant.
"../../../../src/openldap-2.4.48/libraries/libldap/tls2.c", line 781.14:
1506-045 (S) Undeclared identifier LDAP_OPT_X_TLS_ECNAME.
"../../../../src/openldap-2.4.48/libraries/libldap/tls2.c", line 781.14:
1506-051 (S) Case expression must be a valid integral constant.
make[2]: *** [Makefile:413: tls2.lo] Error 1
make[2]: Leaving directory
'/data/prj/aixtools/static/openldap-2.4.48/libraries/libldap'
make[1]: *** [Makefile:297: all-common] Error 1
make[1]: Leaving directory
'/data/prj/aixtools/static/openldap-2.4.48/libraries'
make: *** [Makefile:313: all-common] Error 1

Researching further...

Michael