Re: Build problem: LDAP_CALL undefined!

Jean-Francois Ducarroz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.macosx
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
I found the problem! I had a ldap.h file in /usr/include. I don't know 
where it comes from but removing/renaming it fix my build issue!

JFD

Peter Van der Beken wrote:
> Jean-Francois Ducarroz wrote:
> 
>> The build chokes while compiling nsLDAPProtocolModule.cpp because 
>> LDAP_CALL used in the included file ldappr.h is not defined! LDAP_CALL 
>> seems to be defined in various files but only for windows!!!
> 
> 
> What file only defines it for Windows? All files that define LDAP_CALL 
> define it for all platforms afaict. Did you move the include of 
> ldappr.h? Was the ldap-standard.h file correctly generated from 
> ldap-standard-tmpl.h?
> 
> Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.