Hi all! I'm trying to build Mozilla 1.6 from source on my FreeBSD 4.9-RELEASE box. I've got the following error:
gmake[4]: Entering directory `/var/tmp/mozilla/netwerk/dns/src' nsDNSService2.cpp c++ -o nsDNSService2.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/unicharutil -I../../../dist/include/necko -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -pedantic -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDNSService2.pp nsDNSService2.cpp In file included from nsDNSService2.h:40, from nsDNSService2.cpp:37: nsHostResolver.h:86: syntax error before `*' nsHostResolver.h: In method `PRBool nsHostRecord::HasResult() const': nsHostResolver.h:90: syntax error before `||' nsHostResolver.h:90: warning: control reaches end of non-void function `nsHostRecord::HasResult() const' nsHostResolver.h: At top level: nsHostResolver.h:183: syntax error before `*' nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetCanonicalName(nsACString &)': nsDNSService2.cpp:87: invalid use of type decl `struct addrinfo' as expression nsDNSService2.cpp:88: invalid use of type decl `struct addrinfo' as expression nsDNSService2.cpp:88: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function) nsDNSService2.cpp:88: (Each undeclared identifier is reported only once nsDNSService2.cpp:88: for each function it appears in.) nsDNSService2.cpp:86: warning: `const char * cname' might be used uninitialized in this function nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetNextAddr(short unsigned int, PRNetAddr *)': nsDNSService2.cpp:104: invalid use of type decl `struct addrinfo' as expression nsDNSService2.cpp:105: invalid use of type decl `struct addrinfo' as expression nsDNSService2.cpp:105: `PR_EnumerateAddrInfo' undeclared (first use this function) gmake[4]: *** [nsDNSService2.o] Error 1 gmake[4]: Leaving directory `/var/tmp/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/mozilla/netwerk/dns' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/mozilla/netwerk' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/mozilla' gmake: *** [default] Error 2 Does someone know what could be the exact problem and how to fix it? Vlady P.S. Please, put a CC with my e-mail in your reply, because i'm not a member of these mail lists. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"