From owner-freebsd-mozilla@FreeBSD.ORG Thu May 20 03:25:51 2004 Return-Path: Delivered-To: freebsd-mozilla@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2799616A4CE; Thu, 20 May 2004 03:25:51 -0700 (PDT) Received: from sun-fish.com (blah.sun-fish.com [62.176.125.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB8EB43D39; Thu, 20 May 2004 03:25:48 -0700 (PDT) (envelope-from vladimir.terziev@sun-fish.com) Received: by sun-fish.com (Postfix, from userid 1008) id EB9C714AA8; Thu, 20 May 2004 12:25:40 +0200 (CEST) Received: from daemon.cmotd.com (daemon.cmotd.com [192.168.3.104]) by sun-fish.com (Postfix) with SMTP id 5BCE314AA7; Thu, 20 May 2004 12:25:40 +0200 (CEST) Date: Thu, 20 May 2004 13:25:41 +0300 From: Vladimir Terziev To: freebsd-mozilla@freebsd.org Message-Id: <20040520132541.1e0eae3d@daemon.cmotd.com> Organization: SunFish Ltd. X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-unknown-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Mozilla 1.6 (Gtk 1.2) on FreeBSD 4.9-Release compilation problem X-BeenThere: freebsd-mozilla@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mozilla browser issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 10:25:51 -0000 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.