From owner-freebsd-ports@FreeBSD.ORG Sun May 30 12:27:00 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7CD21065679 for ; Sun, 30 May 2010 12:27:00 +0000 (UTC) (envelope-from david.marec@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id AB94C8FC22 for ; Sun, 30 May 2010 12:26:57 +0000 (UTC) Received: from david.marec (unknown [93.28.76.178]) by smtp.lamaiziere.net (Postfix) with ESMTPSA id 66DDE633169 for ; Sun, 30 May 2010 14:26:56 +0200 (CEST) From: David Marec To: freebsd-ports@freebsd.org Date: Sun, 30 May 2010 14:26:55 +0200 User-Agent: KMail/1.13.3 (FreeBSD/8.1-PRERELEASE; KDE/4.4.3; amd64; ; ) References: <20100530102113.GA61971@ravenloft.kiev.ua> In-Reply-To: <20100530102113.GA61971@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201005301426.55538.david.marec@davenulle.org> Subject: Re: DosBox upgrade failed. 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: Sun, 30 May 2010 12:27:01 -0000 Le dimanche 30 mai 2010 12:21:13, Alex Kozlov a =E9crit : > On Sun, May 30, 2010 at 10:58:42AM +0200, David Marec wrote: > > I got the following issue, upgrading Dosbox to the 0.74 release: > >=20 > > =3D=3D=3D > > Making all in core_dynrec > > g++44 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include > > - I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=3D1 > > -D_REENTRANT -O2 -pipe -march=3Dnative -fno-strict-aliasing -MT > > callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.cpp > > mv -f .deps/callback.Tpo .deps/callback.Po > > g++44 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include > > - I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=3D1 > > -D_REENTRANT -O2 -pipe -march=3Dnative -fno-strict-aliasing -MT cpu.o = =2DMD > > -MP -MF .deps/cpu.Tpo - c -o cpu.o cpu.cpp > > In file included from cpu.cpp:29: > > ../../include/setup.h:247: error: 'FILE' has not been declared > > ../../include/setup.h:280: error: 'FILE' has not been declared > > ../../include/setup.h:315: error: 'FILE' has not been declared > > *** Error code 1 > > Any idea to solve this ? >=20 > Try to add 'include ', if it's not help, use base gcc (4.2.1) > instead of lang/gcc44. My bad. I did not pay attention that gcc4 was installed buy another port. As Gcc4 knobs were still activated in /etc/make.conf: =2D .if exists(/usr/local/bin/gcc44) - Gcc4 was the the default compiler. disabling it did the trick. Thanks.