From: Anil <an...@en...> - 2008-08-22 14:58:08
|
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 |