<quote who="Quanah Gibson-Mount">
>
>
> --On Friday, February 09, 2007 3:38 PM +0000 Gavin Henry
> <[EMAIL PROTECTED]> wrote:
>
>
>>> What am I doing wrong?
>>
>> To define LDAP_DEPRECATED, you need to edit Makefile.PL:
>>
>> 113 |   'DEFINE'        =>      '-DOPENLDAP -DLDAP_DEPRECATED',
>>
>> The make test still fails however:
>
> Just to follow up on this, 2.01 fixes the linking issues (and is now
> available from CPAN), and LDAP_DEPRECATED is not a necessary flag, as the
> module does not use the deprecated routines.

Hmm, I think it still is with 2.01:

LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_open’:
LDAPapi.c:431: warning: implicit declaration of function ‘ldap_open’
LDAPapi.c:431: warning: assignment makes pointer from integer without a cast
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_init’:
LDAPapi.xs:396: warning: implicit declaration of function ‘ldap_init’
LDAPapi.xs:396: warning: assignment makes pointer from integer without a cast
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_unbind’:
LDAPapi.c:657: warning: implicit declaration of function ‘ldap_unbind’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_unbind_s’:
LDAPapi.c:680: warning: implicit declaration of function ‘ldap_unbind_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_abandon’:
LDAPapi.c:731: warning: implicit declaration of function ‘ldap_abandon’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_add’:
LDAPapi.c:756: warning: implicit declaration of function ‘ldap_add’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_add_s’:
LDAPapi.c:781: warning: implicit declaration of function ‘ldap_add_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_bind’:
LDAPapi.c:810: warning: implicit declaration of function ‘ldap_bind’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_bind_s’:
LDAPapi.c:836: warning: implicit declaration of function ‘ldap_bind_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_simple_bind’:
LDAPapi.c:861: warning: implicit declaration of function ‘ldap_simple_bind’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_simple_bind_s’:
LDAPapi.c:886: warning: implicit declaration of function ‘ldap_simple_bind_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modify’:
LDAPapi.c:911: warning: implicit declaration of function ‘ldap_modify’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modify_s’:
LDAPapi.c:936: warning: implicit declaration of function ‘ldap_modify_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modrdn’:
LDAPapi.c:961: warning: implicit declaration of function ‘ldap_modrdn’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modrdn_s’:
LDAPapi.c:986: warning: implicit declaration of function ‘ldap_modrdn_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modrdn2’:
LDAPapi.c:1012: warning: implicit declaration of function ‘ldap_modrdn2’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_modrdn2_s’:
LDAPapi.c:1038: warning: implicit declaration of function ‘ldap_modrdn2_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_compare’:
LDAPapi.c:1064: warning: implicit declaration of function ‘ldap_compare’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_compare_s’:
LDAPapi.c:1090: warning: implicit declaration of function ‘ldap_compare_s’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_delete’:
LDAPapi.c:1114: warning: implicit declaration of function ‘ldap_delete’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_delete_s’:
LDAPapi.c:1138: warning: implicit declaration of function ‘ldap_delete_s’
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_search’:
LDAPapi.xs:656: warning: implicit declaration of function ‘ldap_search’
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_search_s’:
LDAPapi.xs:696: warning: implicit declaration of function ‘ldap_search_s’
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_search_st’:
LDAPapi.xs:744: warning: implicit declaration of function ‘ldap_search_st’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_result2error’:
LDAPapi.c:1672: warning: implicit declaration of function ‘ldap_result2error’
LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_perror’:
LDAPapi.c:1826: warning: implicit declaration of function ‘ldap_perror’
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_explode_dn’:
LDAPapi.xs:961: warning: implicit declaration of function ‘ldap_value_free’
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_get_values’:
LDAPapi.xs:1064: warning: implicit declaration of function ‘ldap_get_values’
LDAPapi.xs:1064: warning: assignment makes pointer from integer without a
cast
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_set_rebind_proc’:
LDAPapi.xs:1136: warning: passing argument 2 of ‘ldap_set_rebind_proc’
from incompatible pointer type
LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_sort_entries’:
LDAPapi.xs:1335: warning: implicit declaration of function
‘ldap_sort_entries’

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to