From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 09:20:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 619E516A41F for ; Fri, 25 Nov 2005 09:20:41 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A21BE43D45 for ; Fri, 25 Nov 2005 09:20:40 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: by nproxy.gmail.com with SMTP id l23so307451nfc for ; Fri, 25 Nov 2005 01:20:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XiNwssdcalxxhijLWaO3pHAI/nsJlDEnsC6n4ju2UVTGR65sLU386VjbCWgtyUbOR+ZR/K00s4/eTScLxAqnzvq75gaKgcDG7TL2SCOEy6MS0J7hRx1jih6Gp5mCFGj3Oh0XUOTrnj1OoSGkM5I6LL6nAuxf/LO6JlV0/TvySN4= Received: by 10.48.163.1 with SMTP id l1mr58519nfe; Fri, 25 Nov 2005 01:20:39 -0800 (PST) Received: by 10.48.3.11 with HTTP; Fri, 25 Nov 2005 01:20:39 -0800 (PST) Message-ID: Date: Fri, 25 Nov 2005 09:20:39 +0000 From: Alistair Sutton To: Odhiambo Washington , freebsd-questions@freebsd.org In-Reply-To: <20051124161913.GB74982@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051124161913.GB74982@ns2.wananchi.com> Cc: Subject: Re: Mozilla Firefox - anyone succeeded in installing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 09:20:41 -0000 On 24/11/05, Odhiambo Washington wrote: > > All attempts at compiling firefox on 5.4-STABLE fail at the same point: > > > c++ -o nsDNSService2.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=3D\"FreeBSD5\"= -DOSARCH=3D\"FreeBSD\" -DBUILD_ID=3D0000000000 -DIMPL_NS_NET -I./../../bas= e/s > rc -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/l= ocal/include -I/usr/local/include -I../../../dist/sdk/include -I/usr/X1 > 1R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/usr/X1= 1R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconv > ersion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-cto= r-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-alia > sing -pipe -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/inclu= de -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -DMO > ZILLA_CLIENT -include ../../../mozilla-config.h nsDNSService2.cpp > In file included from nsDNSService2.h:40, > from nsDNSService2.cpp:38: > nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' w= ith no type > nsHostResolver.h:95: error: expected `;' before '*' token > nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() co= nst': > nsHostResolver.h:99: error: `addr_info' undeclared (first use this functi= on) > nsHostResolver.h:99: error: (Each undeclared identifier is reported only = once for each function it appears in.) > nsHostResolver.h: At global scope: > nsHostResolver.h:209: error: `PRAddrInfo' has not been declared > nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' w= ith no type > nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetC= anonicalName(nsACString_internal&)': > nsDNSService2.cpp:98: error: 'class nsDerivedSafe' has no m= ember named 'addr_info' > nsDNSService2.cpp:99: error: 'class nsDerivedSafe' has no m= ember named 'addr_info' > nsDNSService2.cpp:99: error: `PR_GetCanonNameFromAddrInfo' undeclared (fi= rst use this function) > nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetN= extAddr(PRUint16, PRNetAddr*)': > nsDNSService2.cpp:115: error: 'class nsDerivedSafe' has no = member named 'addr_info' > nsDNSService2.cpp:116: error: 'class nsDerivedSafe' has no = member named 'addr_info' > nsDNSService2.cpp:116: error: `PR_EnumerateAddrInfo' undeclared (first us= e this function) > nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLoo= kup(const nsACString_internal&)': > nsDNSService2.cpp:537: error: `PR_AF_UNSPEC' undeclared (first use this f= unction) > gmake[4]: *** [nsDNSService2.o] Error 1 > gmake[4]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/ne= twerk/dns/src' > gmake[3]: *** [libs] Error 2 > gmake[3]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/ne= twerk/dns' > gmake[2]: *** [libs] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla/ne= twerk' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/firefox-devel/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > Stop in /usr/ports/www/firefox-devel. Upgrade your devel/nspr port. (I think that is the one to do anyway, memory is a bit hazy this morning). Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg