https://bugzilla.mindrot.org/show_bug.cgi?id=1663
Fr33z3m4n <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #22 from Fr33z3m4n <[email protected]> 2012-01-30 23:16:46 EST --- > Created attachment 1850 [details] > Full patch containing LDAP part Thx for that Patch, but it won´t build. gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-strict-aliasing -fno-builtin-memset -fstack-protector-all -I. -I. -DWITH_LDAP_PUBKEY -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ldapconf.c ldapconf.c: In function âprocess_config_lineâ: ldapconf.c:204: error: âLDAP_SCOPE_SUBTREEâ undeclared (first use in this function) ldapconf.c:204: error: (Each undeclared identifier is reported only once ldapconf.c:204: error: for each function it appears in.) ldapconf.c:206: error: âLDAP_SCOPE_ONELEVELâ undeclared (first use in this function) ldapconf.c:208: error: âLDAP_SCOPE_BASEâ undeclared (first use in this function) ldapconf.c:222: error: âLDAP_DEREF_NEVERâ undeclared (first use in this function) ldapconf.c:224: error: âLDAP_DEREF_SEARCHINGâ undeclared (first use in this function) ldapconf.c:226: error: âLDAP_DEREF_FINDINGâ undeclared (first use in this function) ldapconf.c:228: error: âLDAP_DEREF_ALWAYSâ undeclared (first use in this function) ldapconf.c:339: error: âLDAP_OPT_X_TLS_NEVERâ undeclared (first use in this function) ldapconf.c:341: error: âLDAP_OPT_X_TLS_HARDâ undeclared (first use in this function) ldapconf.c:343: error: âLDAP_OPT_X_TLS_DEMANDâ undeclared (first use in this function) ldapconf.c:345: error: âLDAP_OPT_X_TLS_ALLOWâ undeclared (first use in this function) ldapconf.c:347: error: âLDAP_OPT_X_TLS_TRYâ undeclared (first use in this function) ldapconf.c: In function âfill_default_optionsâ: ldapconf.c:503: error: âLDAPURLDescâ undeclared (first use in this function) ldapconf.c:503: error: âludpâ undeclared (first use in this function) ldapconf.c:505: warning: implicit declaration of function âldap_url_parseâ ldapconf.c:505: error: âLDAP_SUCCESSâ undeclared (first use in this function) ldapconf.c:507: warning: left-hand operand of comma expression has no effect ldapconf.c:507: warning: value computed is not used ldapconf.c:507: warning: left-hand operand of comma expression has no effect ldapconf.c:509: warning: left-hand operand of comma expression has no effect ldapconf.c:509: warning: value computed is not used ldapconf.c:509: warning: left-hand operand of comma expression has no effect ldapconf.c:511: warning: left-hand operand of comma expression has no effect ldapconf.c:511: warning: value computed is not used ldapconf.c:511: warning: left-hand operand of comma expression has no effect ldapconf.c:519: warning: implicit declaration of function âldap_free_urldescâ ldapconf.c:541: error: âLDAP_SCOPE_SUBTREEâ undeclared (first use in this function) ldapconf.c:543: error: âLDAP_DEREF_NEVERâ undeclared (first use in this function) ldapconf.c:557: error: âLDAP_OPT_X_TLS_HARDâ undeclared (first use in this function) ldapconf.c: At top level: ldapconf.c:622: error: âLDAP_SCOPE_BASEâ undeclared here (not in a function) ldapconf.c:623: error: âLDAP_SCOPE_ONELEVELâ undeclared here (not in a function) ldapconf.c:624: error: âLDAP_SCOPE_SUBTREEâ undeclared here (not in a function) ldapconf.c:628: error: âLDAP_DEREF_NEVERâ undeclared here (not in a function) ldapconf.c:628: error: initializer element is not constant ldapconf.c:628: error: (near initialization for â_deref[0].valueâ) ldapconf.c:629: error: âLDAP_DEREF_SEARCHINGâ undeclared here (not in a function) ldapconf.c:629: error: initializer element is not constant ldapconf.c:629: error: (near initialization for â_deref[1].valueâ) ldapconf.c:630: error: âLDAP_DEREF_FINDINGâ undeclared here (not in a function) ldapconf.c:630: error: initializer element is not constant ldapconf.c:630: error: (near initialization for â_deref[2].valueâ) ldapconf.c:631: error: âLDAP_DEREF_ALWAYSâ undeclared here (not in a function) ldapconf.c:631: error: initializer element is not constant ldapconf.c:631: error: (near initialization for â_deref[3].valueâ) ldapconf.c:645: error: âLDAP_OPT_X_TLS_NEVERâ undeclared here (not in a function) ldapconf.c:645: error: initializer element is not constant ldapconf.c:645: error: (near initialization for â_checkpeer[0].valueâ) ldapconf.c:646: error: âLDAP_OPT_X_TLS_HARDâ undeclared here (not in a function) ldapconf.c:646: error: initializer element is not constant ldapconf.c:646: error: (near initialization for â_checkpeer[1].valueâ) ldapconf.c:647: error: âLDAP_OPT_X_TLS_DEMANDâ undeclared here (not in a function) ldapconf.c:647: error: initializer element is not constant ldapconf.c:647: error: (near initialization for â_checkpeer[2].valueâ) ldapconf.c:648: error: âLDAP_OPT_X_TLS_ALLOWâ undeclared here (not in a function) ldapconf.c:648: error: initializer element is not constant ldapconf.c:648: error: (near initialization for â_checkpeer[3].valueâ) ldapconf.c:649: error: âLDAP_OPT_X_TLS_TRYâ undeclared here (not in a function) ldapconf.c:649: error: initializer element is not constant ldapconf.c:649: error: (near initialization for â_checkpeer[4].valueâ) make: *** [ldapconf.o] Error 1 What can i do ? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
