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]> |
Hi,
I am trying to build a fresh mozilla tree under Panther using gcc
version 3.1.
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!!!
nsLDAPProtocolModule.cpp
c++ -o nsLDAPProtocolModule.o -c -DOSTYPE=\"Darwin7.2.0\"
-DOSARCH=\"Darwin\" -DHAVE_DEPENDENT_LIBS -I../../../../dist/public/ldap
-I../../../../dist/include/xpcom -I../../../../dist/include/string
-I../../../../dist/include/necko -I../../../../dist/include/mozldap
-I../../../../dist/include
-I/sources/seamonkey/mozilla/dist/include/nspr -I. -fPIC
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp
-fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -DDEBUG
-D_DEBUG -DDEBUG_ducarroz -DTRACING -g -DMOZILLA_CLIENT -include
../../../../mozilla-config.h -Wp,-MD,.deps/nsLDAPProtocolModule.pp
nsLDAPProtocolModule.cpp
In file included from nsLDAPProtocolModule.cpp:44:
../../../../dist/public/ldap/ldappr.h:48: syntax error before `(' token
Any help would be welcome.
Thanks,
Jean-Francois