From: Alain S. <asp...@gm...> - 2007-03-26 12:30:23
|
I get this error # gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386 -mtune=3Dgeneric -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3D2.3 -IModules -I/usr/local/openldap-2.3/include -I/usr/include/sasl -I/usr/include/python2.4 -c Modules/functions.c -o build/temp.linux-i686-2.= 4 /Modules/functions.o Modules/functions.c:143: error: 'l_ldap_dn2str' undeclared here (not in a function) regarding # grep -ir dn2str . .... ./Lib/ldap/dn.py:def dn2str(dn): ./Modules/functions.c: { "dn2str", (PyCFunction)l_ldap_dn2str, METH_VARARGS }, I removed the dn2str definition from ./Modules/functions.c and now it works BR On 3/23/07, Michael Str=F6der <mi...@st...> wrote: > > HI! > > Thanks to David we made good progress getting current HEAD code updated > to reflect changes in OpenLDAP's C SDK. > > I'd like to release 2.3 soon since there are some important improvements > in HEAD but not yet released. Therefore testing of HEAD is needed! > > Please provide feedback ideally on the mailing list. Thanks. > > Ciao, Michael. > > Current CHANGES: > > ---------------------------------------------------------------- > Released 2.3.0 2007-03-xx > > Changes since 2.2.1: > > * OpenLDAP 2.3+ required now to build. > * Added support for Cancel operation ext. op. if supported > in OpenLDAP API of the libs used for the build. > > Modules/ > * Removed deprecated code for setting options by name > * Added l_ldap_cancel() > * Some modifications related to PEP 353 for > Python 2.5 on 64-bit platforms (see SF#1467529) > * Added new function l_ldap_str2dn(), removed functions > l_ldap_explode_dn() and l_ldap_explode_rdn() (see SF#1657848) > > Lib/ > * Added method ldapobject.LDAPObject.cancel() > * ldap.schema.subentry.urlfetch() now can do non-anonymous > simple bind if the LDAP URL provided contains extensions > 'bindname' and 'X-BINDPW'. (see SF#1589206) > * ldap.filter.escape_filter_chars() has new a key-word argument > escape_mode now which defines which chars to be escaped > (see SF#1193271). > * Various important fixes to ldapobject.ReconnectLDAPObject > * Moved all DN-related functions to sub-module ldap.dn, > import them in ldap.functions for backward compability > * ldap.dn.explode_dn() and ldap.dn.explode_rdn() use the new > wrapper function ldap.dn.str2dn() (related to SF#1657848) > * changetype issue partially fixed (see SF#1683746) > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > --=20 -- Alain Spineux aspineux gmail com May the sources be with you |