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/sasl -I/opt/coolstack/include/python2.5 -c Modules/message.c -o build/temp.solaris-2.10-sun4u-2.5/Modules/message.o "Modules/message.c", line 39: Warning: String literal converted to char* in formal argument msg in call to LDAPerror(ldap*, char*). "Modules/message.c", line 134: Warning: String literal converted to char* in formal argument msg in call to LDAPerror(ldap*, char*). 2 Warning(s) detected. /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/sasl -I/opt/coolstack/include/python2.5 -c Modules/version.c -o build/temp.solaris-2.10-sun4u-2.5/Modules/version.o /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/sasl -I/opt/coolstack/include/python2.5 -c Modules/options.c -o build/temp.solaris-2.10-sun4u-2.5/Modules/options.o "Modules/options.c", line 108: Error: Formal argument 1 of type ldapcontrol** in call to LDAPControl_List_DEL(ldapcontrol**) is being passed void*. 1 Error(s) detected. error: command '/opt/SUNWspro/bin/CC' failed with exit status 1 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev