Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2005 14:55:54 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Bram Moolenaar <Bram@moolenaar.net>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Firefox 1.0.7 port fails to build
Message-ID:  <1127501754.98415.26.camel@shumai.marcuscom.com>
In-Reply-To: <200509231844.j8NIib6C087110@moolenaar.net>
References:  <200509231844.j8NIib6C087110@moolenaar.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-LU2eSsy3yiAqdXfOHx+p
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2005-09-23 at 20:44 +0200, Bram Moolenaar wrote:
> With current cvsup'ed ports, in www/firefox, "make" results in these
> errors:
>=20
> nsDNSService2.cpp
> c++ -o nsDNSService2.o -c -DOSTYPE=3D\"FreeBSD5\" -DOSARCH=3D\"FreeBSD\" =
 -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../di=
st/include/pref -I../../../dist/include/unicharutil -I../../../dist/include=
/necko -I../../../dist/include -I/usr/local/include/nspr -I/usr/local/inclu=
de -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 -Woverload=
ed-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-l=
ong -O -pipe -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/inclu=
de -I/usr/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZIL=
LA_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
>=20
> etc.
>=20
> Any hint on how to solve this?  Known problem?

Yes, update your devel/nspr port.

Joe

>=20
> I'm running 5.3 RELEASE.
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-LU2eSsy3yiAqdXfOHx+p
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDNE+6b2iPiv4Uz4cRAnICAJ4iJJLvLyFuH/pku4cblBlYOWb06QCgg91B
3XK6HTApT9b5kTEC2d9diBs=
=QKB4
-----END PGP SIGNATURE-----

--=-LU2eSsy3yiAqdXfOHx+p--




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