Firefox 1.0.7 port fails to build
Bram Moolenaar
Bram at moolenaar.net
Fri Sep 23 11:44:21 PDT 2005
With current cvsup'ed ports, in www/firefox, "make" results in these
errors:
nsDNSService2.cpp
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
etc.
Any hint on how to solve this? Known problem?
I'm running 5.3 RELEASE.
--
Advice to worms: Sleep late.
/// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
More information about the freebsd-gnome
mailing list