Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 10:51:28 -0400
From:      bsdlogical <kwlogical@bellsouth.net>
To:        Frank Shute <frank@esperance-linux.co.uk>,  freebsd-ports@freebsd.org
Subject:   Re: firefox doesn't build
Message-ID:  <43492E70.50309@bellsouth.net>
In-Reply-To: <20051009124029.GA41449@peach>
References:  <20051009124029.GA41449@peach>

next in thread | previous in thread | raw e-mail | index | archive | help
This has been mentioned on the mailing list before. Try rebuilding 
devel/nspr, that should do it.

bsdlogical

Frank Shute wrote:

>$ uname -a
>
>FreeBSD peach 4.11-RELEASE-p4 FreeBSD 4.11-RELEASE-p4 #0: Tue May  3 13:03:12 BST 2005     root@peach.veggie.com:/usr/obj/usr/src/sys/PEACHFW  i386
>
>
>I'm having problems upgrading firefox using portupgrade or building
>it directly. I've done a cvsup and pkgdb -uvF && portsdb -u, I've tried
>make clean but I've now run out of ideas. Here's where it goes
>pear-shaped:
>
>[root@/usr/ports/www/firefox]# make
>
><snip>
>
>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/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 -D_THREAD_SAFE -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: syntax error before `*'
>nsHostResolver.h: In method `PRBool nsHostRecord::HasResult() const':
>nsHostResolver.h:99: `addr_info' undeclared (first use this function)
>nsHostResolver.h:99: (Each undeclared identifier is reported only once
>nsHostResolver.h:99: for each function it appears in.)
>nsHostResolver.h:99: warning: control reaches end of non-void function `nsHostRe
>cord::HasResult() const'
>nsHostResolver.h: At top level:
>nsHostResolver.h:209: syntax error before `*'
>nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetCanonicalName(nsACString &)':
>nsDNSService2.cpp:95: `class nsDerivedSafe<nsHostRecord>' has no member named `addr_info'
>nsDNSService2.cpp:96: `class nsDerivedSafe<nsHostRecord>' has no member named `addr_info'
>nsDNSService2.cpp:96: implicit declaration of function `int PR_GetCanonNameFromAddrInfo(...)'
>nsDNSService2.cpp:94: warning: `const char * cname' might be used uninitialized in this function
>nsDNSService2.cpp: In method `nsresult nsDNSRecord::GetNextAddr(short unsigned int, PRNetAddr *)':
>nsDNSService2.cpp:112: `class nsDerivedSafe<nsHostRecord>' has no member named `addr_info'
>nsDNSService2.cpp:113: `class nsDerivedSafe<nsHostRecord>' has no member named `addr_info'
>nsDNSService2.cpp:113: implicit declaration of function `int PR_EnumerateAddrInfo(...)'
>nsDNSService2.cpp: In method `PRUint16 nsDNSService::GetAFForLookup(const nsACString &)':
>nsDNSService2.cpp:528: `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.
>
>
>TIA
>
>
>  
>



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