From: David Marec on
Hi all,


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

Stop in /usr/ports/emulators/dosbox/work/dosbox-0.74/src/cpu.
*** Error code 1

Stop in /usr/ports/emulators/dosbox/work/dosbox-0.74/src/cpu.
*** Error code 1

Stop in /usr/ports/emulators/dosbox/work/dosbox-0.74/src.
*** Error code 1

Stop in /usr/ports/emulators/dosbox/work/dosbox-0.74.
*** Error code 1

Stop in /usr/ports/emulators/dosbox/work/dosbox-0.74.
*** Error code 1

Stop in /usr/ports/emulators/dosbox.

===>>> make failed for emulators/dosbox
===>>> Aborting update

===>>> Update for dosbox-0.73_1 failed
===>>> Aborting update
===

Any idea to solve this ?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alex Kozlov on
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.


--
Adios
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: David Marec on
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(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"