Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2005 13:42:10 +0100
From:      Riemer Palstra <riemer@palstra.com>
To:        Bachilo Dmitry <root@solink.ru>
Cc:        ports@freebsd.org
Subject:   Re: Firefox is broken
Message-ID:  <20051221124210.GC43802@p3.a152.palstra.com>
In-Reply-To: <200512211608.06455.root@solink.ru>
References:  <200512211608.06455.root@solink.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 21, 2005 at 04:08:05PM +0600, Bachilo Dmitry wrote:
> 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_internal&)':
> nsDNSService2.cpp:98: error: 'class nsDerivedSafe<nsHostRecord>' has no member 
> named 'addr_info'
> nsDNSService2.cpp:99: error: 'class nsDerivedSafe<nsHostRecord>' has no member 
> named 'addr_info'
> nsDNSService2.cpp:99: error: `PR_GetCanonNameFromAddrInfo' undeclared (first 
> use this function)
> nsDNSService2.cpp: In member function `virtual nsresult 
> nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
> nsDNSService2.cpp:115: error: 'class nsDerivedSafe<nsHostRecord>' has no 
> member named 'addr_info'
> nsDNSService2.cpp:116: error: 'class nsDerivedSafe<nsHostRecord>' has no 
> member named 'addr_info'
> nsDNSService2.cpp:116: error: `PR_EnumerateAddrInfo' undeclared (first use 
> this function)
> nsDNSService2.cpp: In member function `PRUint16 
> nsDNSService::GetAFForLookup(const nsACString_internal&)':
> nsDNSService2.cpp:537: error: `PR_AF_UNSPEC' undeclared (first use this 
> function)
> gmake[4]: *** [nsDNSService2.o] ?????? 1
> gmake[4]: Leaving directory 
> `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
> gmake[3]: *** [libs] ?????? 2
> gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns'

Try rebuilding/updating /usr/ports/devel/nspr up first, and then restart
your build of firefox.

-- 
Riemer Palstra		     		      Amsterdam, The Netherlands
riemer@palstra.com				 http://www.palstra.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051221124210.GC43802>