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

(ITS#5928) build without SSL fails



Full_Name: Quanah Gibson-Mount
Version: HEAD/RE24
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.29.239)


If you build OpenLDAP with --without-tls and --without-cyrus-sasl, the build
fails:

  Entering subdirectory libldap
make[3]: Entering directory
`/home/build/p4/main/ThirdParty/openldap/openldap-2.4.14.2z/libraries/libldap'
/bin/sh ../../libtool  --mode=compile cc -g -O0 -I../../include       
-I../../include   -I/opt/zimbra/bdb-4.7.25.3/include 
-I/opt/zimbra/libtool-2.2.6a/include    -DLDAP_LIBRARY -c tls2.c
 cc -g -O0 -I../../include -I../../include -I/opt/zimbra/bdb-4.7.25.3/include
-I/opt/zimbra/libtool-2.2.6a/include -DLDAP_LIBRARY -c tls2.c  -fPIC -DPIC -o
.libs/tls2.o
tls2.c: In function `ldap_pvt_tls_ctx_free':
tls2.c:81: error: `tls_imp' undeclared (first use in this function)
tls2.c:81: error: (Each undeclared identifier is reported only once
tls2.c:81: error: for each function it appears in.)
tls2.c: At top level:
tls2.c:85: error: syntax error before '*' token
tls2.c: In function `tls_ctx_ref':
tls2.c:87: error: `ctx' undeclared (first use in this function)
tls2.c:89: error: `tls_imp' undeclared (first use in this function)
tls2.c: In function `ldap_int_tls_destroy':
tls2.c:102: error: structure has no member named `ldo_tls_ctx'
tls2.c:103: error: structure has no member named `ldo_tls_ctx'
tls2.c:104: error: structure has no member named `ldo_tls_ctx'
tls2.c:107: error: structure has no member named `ldo_tls_certfile'
tls2.c:108: error: structure has no member named `ldo_tls_certfile'
tls2.c:109: error: structure has no member named `ldo_tls_certfile'
tls2.c:111: error: structure has no member named `ldo_tls_keyfile'
tls2.c:112: error: structure has no member named `ldo_tls_keyfile'
tls2.c:113: error: structure has no member named `ldo_tls_keyfile'
tls2.c:115: error: structure has no member named `ldo_tls_dhfile'
tls2.c:116: error: structure has no member named `ldo_tls_dhfile'
tls2.c:117: error: structure has no member named `ldo_tls_dhfile'
tls2.c:119: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:120: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:121: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:123: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:124: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:125: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:127: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:128: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:129: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:131: error: structure has no member named `ldo_tls_crlfile'
tls2.c:132: error: structure has no member named `ldo_tls_crlfile'
tls2.c:133: error: structure has no member named `ldo_tls_crlfile'
tls2.c: In function `ldap_pvt_tls_destroy':
tls2.c:148: error: `tls_imp' undeclared (first use in this function)
tls2.c: At top level:
tls2.c:156: error: syntax error before '*' token
tls2.c: In function `tls_init':
tls2.c:166: error: `impl' undeclared (first use in this function)
tls2.c: In function `ldap_pvt_tls_init':
tls2.c:182: error: `tls_imp' undeclared (first use in this function)
tls2.c: In function `ldap_int_tls_init_ctx':
tls2.c:192: error: `tls_impl' undeclared (first use in this function)
tls2.c:192: error: `ti' undeclared (first use in this function)
tls2.c:192: error: `tls_imp' undeclared (first use in this function)
tls2.c:193: error: variable `lts' has initializer but incomplete type
tls2.c:193: error: structure has no member named `ldo_tls_info'
tls2.c:193: error: storage size of 'lts' isn't known
tls2.c:195: error: structure has no member named `ldo_tls_ctx'
tls2.c:237: error: structure has no member named `ldo_tls_ctx'
tls2.c:238: error: structure has no member named `ldo_tls_ctx'
tls2.c:249: error: structure has no member named `ldo_tls_ctx'
tls2.c:250: error: structure has no member named `ldo_tls_ctx'
tls2.c:251: error: structure has no member named `ldo_tls_ctx'
tls2.c: At top level:
tls2.c:283: error: syntax error before '*' token
tls2.c: In function `alloc_handle':
tls2.c:286: error: `tls_ctx' undeclared (first use in this function)
tls2.c:286: error: `ctx' undeclared (first use in this function)
tls2.c:287: error: `tls_session' undeclared (first use in this function)
tls2.c:287: error: `ssl' undeclared (first use in this function)
tls2.c:294: error: structure has no member named `ldo_tls_ctx'
tls2.c:297: error: `tls_imp' undeclared (first use in this function)
tls2.c: At top level:
tls2.c:306: error: syntax error before "tls_session"
tls2.c: In function `update_flags':
tls2.c:308: error: `sb' undeclared (first use in this function)
tls2.c:311: error: `tls_imp' undeclared (first use in this function)
tls2.c:311: error: `ssl' undeclared (first use in this function)
tls2.c:311: error: `rc' undeclared (first use in this function)
tls2.c: In function `ldap_int_tls_connect':
tls2.c:332: error: `tls_session' undeclared (first use in this function)
tls2.c:332: error: `ssl' undeclared (first use in this function)
tls2.c:338: error: `tls_ctx' undeclared (first use in this function)
tls2.c:338: error: `ctx' undeclared (first use in this function)
tls2.c:340: error: structure has no member named `ldo_tls_ctx'
tls2.c:350: error: `tls_imp' undeclared (first use in this function)
tls2.c:355: error: structure has no member named `ldo_tls_ctx'
tls2.c:356: error: structure has no member named `ldo_tls_ctx'
tls2.c:359: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:360: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:361: error: structure has no member named `ldo_tls_connect_arg'
tls2.c:362: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:362: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:363: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:364: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:364: error: structure has no member named `ldo_tls_connect_arg'
tls2.c: In function `ldap_pvt_tls_accept':
tls2.c:414: error: `tls_session' undeclared (first use in this function)
tls2.c:414: error: `ssl' undeclared (first use in this function)
tls2.c:426: error: `tls_imp' undeclared (first use in this function)
tls2.c: In function `ldap_pvt_tls_get_peer_dn':
tls2.c:483: error: `tls_session' undeclared (first use in this function)
tls2.c:483: error: `session' undeclared (first use in this function)
tls2.c:487: error: `tls_imp' undeclared (first use in this function)
tls2.c: In function `ldap_pvt_tls_check_hostname':
tls2.c:498: error: `tls_session' undeclared (first use in this function)
tls2.c:498: error: `session' undeclared (first use in this function)
tls2.c:500: error: `tls_imp' undeclared (first use in this function)
tls2.c: In function `ldap_pvt_tls_get_option':
tls2.c:604: error: structure has no member named `ldo_tls_mode'
tls2.c:607: error: structure has no member named `ldo_tls_ctx'
tls2.c:608: error: structure has no member named `ldo_tls_ctx'
tls2.c:609: error: structure has no member named `ldo_tls_ctx'
tls2.c:613: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:614: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:617: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:618: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:621: error: structure has no member named `ldo_tls_certfile'
tls2.c:622: error: structure has no member named `ldo_tls_certfile'
tls2.c:625: error: structure has no member named `ldo_tls_keyfile'
tls2.c:626: error: structure has no member named `ldo_tls_keyfile'
tls2.c:629: error: structure has no member named `ldo_tls_dhfile'
tls2.c:630: error: structure has no member named `ldo_tls_dhfile'
tls2.c:633: error: structure has no member named `ldo_tls_crlfile'
tls2.c:634: error: structure has no member named `ldo_tls_crlfile'
tls2.c:637: error: structure has no member named `ldo_tls_require_cert'
tls2.c:640: error: structure has no member named `ldo_tls_crlcheck'
tls2.c:643: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:644: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:647: error: structure has no member named `ldo_tls_protocol_min'
tls2.c:650: error: structure has no member named `ldo_tls_randfile'
tls2.c:651: error: structure has no member named `ldo_tls_randfile'
tls2.c:666: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:669: error: structure has no member named `ldo_tls_connect_arg'
tls2.c: In function `ldap_pvt_tls_set_option':
tls2.c:710: error: structure has no member named `ldo_tls_mode'
tls2.c:718: error: structure has no member named `ldo_tls_ctx'
tls2.c:719: error: structure has no member named `ldo_tls_ctx'
tls2.c:720: error: structure has no member named `ldo_tls_ctx'
tls2.c:721: error: structure has no member named `ldo_tls_ctx'
tls2.c:724: error: structure has no member named `ldo_tls_connect_cb'
tls2.c:727: error: structure has no member named `ldo_tls_connect_arg'
tls2.c:730: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:730: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:731: error: structure has no member named `ldo_tls_cacertfile'
tls2.c:734: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:734: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:735: error: structure has no member named `ldo_tls_cacertdir'
tls2.c:738: error: structure has no member named `ldo_tls_certfile'
tls2.c:738: error: structure has no member named `ldo_tls_certfile'
tls2.c:739: error: structure has no member named `ldo_tls_certfile'
tls2.c:742: error: structure has no member named `ldo_tls_keyfile'
tls2.c:742: error: structure has no member named `ldo_tls_keyfile'
tls2.c:743: error: structure has no member named `ldo_tls_keyfile'
tls2.c:746: error: structure has no member named `ldo_tls_dhfile'
tls2.c:746: error: structure has no member named `ldo_tls_dhfile'
tls2.c:747: error: structure has no member named `ldo_tls_dhfile'
tls2.c:750: error: structure has no member named `ldo_tls_crlfile'
tls2.c:750: error: structure has no member named `ldo_tls_crlfile'
tls2.c:751: error: structure has no member named `ldo_tls_crlfile'
tls2.c:761: error: structure has no member named `ldo_tls_require_cert'
tls2.c:771: error: structure has no member named `ldo_tls_crlcheck'
tls2.c:776: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:776: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:777: error: structure has no member named `ldo_tls_ciphersuite'
tls2.c:782: error: structure has no member named `ldo_tls_protocol_min'
tls2.c:788: error: structure has no member named `ldo_tls_randfile'
tls2.c:788: error: structure has no member named `ldo_tls_randfile'
tls2.c:789: error: structure has no member named `ldo_tls_randfile'
tls2.c:794: error: structure has no member named `ldo_tls_ctx'
tls2.c:795: error: structure has no member named `ldo_tls_ctx'
tls2.c:796: error: structure has no member named `ldo_tls_ctx'
tls2.c: In function `ldap_int_tls_start':
tls2.c:822: error: `tls_imp' undeclared (first use in this function)
tls2.c:838: error: structure has no member named `ldo_tls_require_cert'
tls2.c: In function `ldap_pvt_tls_get_strength':
tls2.c:863: error: `tls_session' undeclared (first use in this function)
tls2.c:863: error: `session' undeclared (first use in this function)
tls2.c:865: error: `tls_imp' undeclared (first use in this function)
make[3]: *** [tls2.lo] Error 1
make[3]: Leaving directory
`/home/build/p4/main/ThirdParty/openldap/openldap-2.4.14.2z/libraries/libldap'
make[2]: *** [all-common] Error 1
make[2]: Leaving directory
`/home/build/p4/main/ThirdParty/openldap/openldap-2.4.14.2z/libraries'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/build/p4/main/ThirdParty/openldap/openldap-2.4.14.2z'
make: *** [build] Error 2