mozilla firefox 1.0.6 building bug

Thomas Vogt freebsdlists at bsdunix.ch
Tue Sep 6 07:44:48 PDT 2005


Hi

I guess you need to update your devel/nspr port first.

Regards,
Thomas

Am Dienstag, den 06.09.2005, 17:33 +0300 schrieb Vitaliy Biliyenko:
> uname -a
>  FreeBSD spider 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon Aug 22
> 16:14:53 EEST 2005
>  root at spider:/usr/obj/usr/src/sys/CUSTOM3  i386
> 
> 
> timestamps
>  $FreeBSD: ports/www/firefox/Makefile,v 1.129 2005/09/02 05:00:03 marcus Exp $
>  $MCom: ports-stable/www/firefox/Makefile,v 1.18 2005/08/20 21:53:54 mezz Exp $
> 
> 
> I have a problem building the latest Firefox 1.0.6. Exactly the same I
> get when trying to build Thunderbird 1.0.6. For some time I had
> Firefox 1.0.4 and Thunderbird 1.0.2 installed and working perfectly.
> So, this is what I get during the build
>  
> ...
>  c++ -o nsDNSService2.o -c -DOSTYPE=\"FreeBSD5\" -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/X11R6/include   -fPIC  -I/usr/X11R6/include
> -I/usr/local/include  -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-non-virtual-dtor -Wno-long-long -O -pipe -fshort-wchar -pipe 
> -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/include -I/usr/local/include 
> -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<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:96: error: 'class nsDerivedSafe<nsHostRecord>' 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<nsHostRecord>' has
> no member named 'addr_info'
> nsDNSService2.cpp:113: error: 'class nsDerivedSafe<nsHostRecord>' 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
> 
> Stop in /usr/ports/www/firefox.
> 
> I get this every time I try to build it.
> I would be very thankful for every advice



More information about the freebsd-gnome mailing list