From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 04:33:55 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 CDA3816A41F for ; Wed, 19 Oct 2005 04:33:55 +0000 (GMT) (envelope-from eodyna@yahoo.com.au) Received: from web31105.mail.mud.yahoo.com (web31105.mail.mud.yahoo.com [68.142.200.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 44D6943D4C for ; Wed, 19 Oct 2005 04:33:55 +0000 (GMT) (envelope-from eodyna@yahoo.com.au) Received: (qmail 78281 invoked by uid 60001); 19 Oct 2005 04:33:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=O/T/A8l9wLybfF+A2Az5x9nNiikBGRyyV5TydK+bWf3VR8L4i3KYgCRJvxA7ahg8yIHsC5mNMwySC+qzqmC4jONrqJNJQC9W9zF9wvwYBQqw4cJ4zjYEYAzO5GwEdLqh2gzjWyOa51GrUTHcaSclMXY9MI2kfvaHl3VNs14cV58= ; Message-ID: <20051019043354.78279.qmail@web31105.mail.mud.yahoo.com> Received: from [203.8.18.100] by web31105.mail.mud.yahoo.com via HTTP; Wed, 19 Oct 2005 14:33:54 EST Date: Wed, 19 Oct 2005 14:33:54 +1000 (EST) From: eodyna To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Fwd: firefox error - solved 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: Wed, 19 Oct 2005 04:33:56 -0000 fixed it by upgrading nspr --- eodyna wrote: > Date: Wed, 19 Oct 2005 12:05:31 +1000 (EST) > From: eodyna > Subject: firefox error > To: freebsd-questions@freebsd.org > > hi everyone, > > I tried to install firefox 1.07 from > /usr/ports/www/firefox > > but i get the following error > > > -I/usr/X11R6/include -I/usr/X11R6/include > -DMOZILLA_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' with no type > nsHostResolver.h:95: error: expected `;' before '*' > token > nsHostResolver.h: In member function `PRBool > nsHostRecord::HasResult() const': > nsHostResolver.h:99: error: `addr_info' undeclared > (first use this function) > 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' with no type > nsDNSService2.cpp: In member function `virtual > nsresult > nsDNSRecord::GetCanonicalName(nsACString&)': > nsDNSService2.cpp:95: error: 'class > nsDerivedSafe' has no member named > 'addr_info' > nsDNSService2.cpp:96: error: 'class > nsDerivedSafe' has no member named > 'addr_info' > nsDNSService2.cpp:96: error: > `PR_GetCanonNameFromAddrInfo' undeclared (first use > this function) > nsDNSService2.cpp: In member function `virtual > nsresult nsDNSRecord::GetNextAddr(PRUint16, > PRNetAddr*)': > nsDNSService2.cpp:112: error: 'class > nsDerivedSafe' has no member named > 'addr_info' > nsDNSService2.cpp:113: error: 'class > nsDerivedSafe' has no member named > 'addr_info' > nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' > undeclared (first use this function) > nsDNSService2.cpp: In member function `PRUint16 > nsDNSService::GetAFForLookup(const nsACString&)': > nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' > undeclared (first use this function) > gmake[4]: *** [nsDNSService2.o] Error 1 > gmake[4]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src' > gmake[3]: *** [libs] Error 2 > gmake[3]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/netwerk/dns' > gmake[2]: *** [libs] Error 2 > gmake[2]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/netwerk' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory > `/usr/ports/www/firefox/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > anyone know how i can fix this as i m not sure what > the nsHOstResolver error is > > thakns in advance > > --ams > > > > ____________________________________________________ > > Do you Yahoo!? > Yahoo! Photos: Now with unlimited storage > http://au.photos.yahoo.com > ____________________________________________________ Do you Yahoo!? Try Yahoo! Photomail Beta: Send up to 300 photos in one email! http://au.photomail.mail.yahoo.com