Date: Fri, 25 Nov 2005 09:20:39 +0000 From: Alistair Sutton <alistair.sutton@gmail.com> To: Odhiambo Washington <wash@wananchi.com>, freebsd-questions@freebsd.org Subject: Re: Mozilla Firefox - anyone succeeded in installing? Message-ID: <fa8f05950511250120s1a4da896i@mail.gmail.com> In-Reply-To: <20051124161913.GB74982@ns2.wananchi.com> References: <20051124161913.GB74982@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/11/05, Odhiambo Washington <wash@wananchi.com> 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<nsHostRecord>' has no m= ember named 'addr_info' > nsDNSService2.cpp:99: error: 'class nsDerivedSafe<nsHostRecord>' 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<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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fa8f05950511250120s1a4da896i>