From owner-freebsd-ports@FreeBSD.ORG Tue Sep 20 22:46:53 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 190AA16A41F for ; Tue, 20 Sep 2005 22:46:53 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmmtao02.cox.net (eastrmmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5490343D46 for ; Tue, 20 Sep 2005 22:46:52 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by eastrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050920224651.CQIU18634.eastrmmtao02.cox.net@mezz.mezzweb.com>; Tue, 20 Sep 2005 18:46:51 -0400 Date: Tue, 20 Sep 2005 17:47:14 -0500 To: "Greg Lewis" References: <20050921001019.P23154@geri.cc.fer.hr> <20050920224005.GA33442@misty.eyesbeyond.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20050920224005.GA33442@misty.eyesbeyond.com> User-Agent: Opera M2/8.50 (Linux, build 1358) Cc: Ivan Voras , freebsd-ports@freebsd.org Subject: Re: Firefox&Thunderbird compile error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 22:46:53 -0000 On Tue, 20 Sep 2005 17:40:05 -0500, Greg Lewis wrote: > On Wed, Sep 21, 2005 at 12:13:30AM +0200, Ivan Voras wrote: >> I get the following error when I try to build firefox from ports: >> >> c++ -o nsDNSService2.o -c -DOSTYPE=\"FreeBSD6\" -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 -O2 >> -fno-strict-aliasing -fno-strict-aliasing -pipe -march=pentium3 >> -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 > > Looks like something to do with the Firefox/NSPR split that happened > around the end of August. Yep. > Are your ports up to date? Do you have NSPR installed? Update all apps first before install any new ports, so as for Firefox, you need to update nspr first if you want to update or install firefox. Poor us, lazy people don't use search engine. :-( Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org