From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 7 16:44:38 2005 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3497616A420 for ; Mon, 7 Nov 2005 16:44:38 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2439143D48 for ; Mon, 7 Nov 2005 16:44:27 +0000 (GMT) (envelope-from alistair.sutton@gmail.com) Received: by nproxy.gmail.com with SMTP id o25so117294nfa for ; Mon, 07 Nov 2005 08:44:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WdeIiAbqJmu3n10ZrNR55Txt4+PDaX012fwIlvvJWw00VWElpCiqGkPbt6KOIt+QGEg7uFKSOFy7+JA0mjgg1Aweonouvz1egbhQpl1XdnMt+a67nRcatXiPQent8eZ/CQV+wjOfidoOcSUEqXMC0FnP7h+pW3HlJfj9gzsoPzE= Received: by 10.48.49.8 with SMTP id w8mr872137nfw; Mon, 07 Nov 2005 08:44:26 -0800 (PST) Received: by 10.48.1.7 with HTTP; Mon, 7 Nov 2005 08:44:26 -0800 (PST) Message-ID: Date: Mon, 7 Nov 2005 16:44:26 +0000 From: Alistair Sutton To: Francesco Di Filippo In-Reply-To: <436B6BA2.1020207@ops.tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <436B6BA2.1020207@ops.tin.it> Cc: gnome@freebsd.org Subject: Re: error on port of firefox X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 16:44:38 -0000 On 04/11/05, Francesco Di Filippo wrote: > Hello, > > this is error (excuse me I don't speak english very well): > > c++ -o nsDNSService2.o -c -DOSTYPE=3D\"FreeBSD5\" -DOSARCH=3D\"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 -W > overloaded-virtual -Wsynth -Wno-ctor-dtor-privacy-Wno-non-virtual-dtor > -Wno-long-long -O2 -fno-strict-aliasing -march=3Dpentiumpro-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 notype > 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 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' > with no type > nsDNSService2.cpp: In member function `virtual nsresult > nsDNSRecord::GetCanonicalName(nsACString&)': > nsDNSService2.cpp:95: error: 'class nsDerivedSafe' has no > member named 'addr_info' > nsDNSService2.cpp:96: error: 'class nsDerivedSafe' 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' has no > member named 'addr_info' > nsDNSService2.cpp:113: error: 'class nsDerivedSafe' 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 > `/var/tmp/usr/ports/www/firefox/work/mozilla/netwerk > /dns/src' > gmake[3]: *** [libs] Error 2 > gmake[3]: Leaving directory > `/var/tmp/usr/ports/www/firefox/work/mozilla/netwerk > /dns' > gmake[2]: *** [libs] Error 2 > gmake[2]: Leaving directory > `/var/tmp/usr/ports/www/firefox/work/mozilla/netwerk > ' > gmake[1]: *** [tier_9] Error 2 > gmake[1]: Leaving directory `/var/tmp/usr/ports/www/firefox/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > Stop in /usr/ports/www/firefox. > *** Error code 1 > > Stop in /usr/ports/www/firefox. Upgrade/reinstall your devel/nspr port. Al -- GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg