SunStudio compile

2008-08-22 Thread Anil
I am trying to compile python ldap with SunStudio, I get this error. Any idea? ... /opt/SUNWspro/bin/CC -I/opt/coolstack/include -DNDEBUG -fast -xipo -xtarget=generic -xcode=pic32 -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.5 -IModules -I/opt/coolstack/include -I/opt/coolstack/include

Re: SunStudio compile

2008-08-22 Thread Matej Vela
Anil <[EMAIL PROTECTED]> writes: > I am trying to compile python ldap with SunStudio, I get this error. Any > idea? [...] > "Modules/options.c", line 108: Error: Formal argument 1 of type > ldapcontrol** in call to LDAPControl_List_DEL(ldapcontrol**) is being > passed void*. The type checking

Re: SunStudio compile

2008-08-22 Thread Michael Ströder
Matej Vela wrote: > Anil <[EMAIL PROTECTED]> writes: > >> I am trying to compile python ldap with SunStudio, I get this error. Any >> idea? > [...] >> "Modules/options.c", line 108: Error: Formal argument 1 of type >> ldapcontrol** in call to LDAPControl_List_DEL(ldapcontrol**) is being >> pass

Re: SunStudio compile

2008-08-22 Thread Anil
Thanks, that worked! I am able to compile it now, but if I enable sasl, it also fails: "Modules/LDAPObject.c", line 568: Warning: String literal converted to char* in formal argument format in call to _PyObject_CallMethod_SizeT(_object*, char*, char*, ...). "Modules/LDAPObject.c", line 614: Err

Re: SunStudio compile

2008-08-22 Thread Michael Ströder
Anil wrote: > Thanks, that worked! I am able to compile it now, but if I enable sasl, > it also fails: > > "Modules/LDAPObject.c", line 568: Warning: String literal converted to > char* in formal argument format in call to > _PyObject_CallMethod_SizeT(_object*, char*, char*, ...). > "Modules/LD