Le dimanche 30 mai 2010 12:21:13, Alex Kozlov a écrit : > 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: > > > > === > > 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=1 > > -D_REENTRANT -O2 -pipe -march=native -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=1 > > -D_REENTRANT -O2 -pipe -march=native -fno-strict-aliasing -MT cpu.o -MD > > -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 ? > > Try to add 'include <cstdio>', 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: - .if exists(/usr/local/bin/gcc44) - Gcc4 was the the default compiler. disabling it did the trick. Thanks. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"