Subject: port-amiga/8174: Errors/files missing with ecgs-1.1.1
To: None <gnats-bugs@gnats.netbsd.org>
From: Jim Dutton <jimd@port33.aixdialin.siu.edu>
List: netbsd-bugs
Date: 08/08/1999 01:20:54
>Number:         8174
>Category:       port-amiga
>Synopsis:       "machine/_G_config.h" missing; "g++/libio.h" has numerous syntax errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amiga-maintainer (NetBSD/amiga Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug  8 01:20:01 1999
>Last-Modified:
>Originator:     Jim Dutton
>Organization:
	
>Release:        NetBSD-1.4.0
>Environment:
	
System: NetBSD port33.aixdialin.siu.edu 1.4 NetBSD 1.4 (GENERIC) #91: Sun Jun 27 22:42:09 MEST 1999 is@jocelyn:/usr/obj/kernel/GENERIC amiga


>Description:
	Whilst compiling Mozilla-19990128, the following errors with egcs-1.1.1
	have cropped up:

	1) /usr/include/g++/_G_config.h refers to a /usr/include/machine/_G_config.h
	   which DOES NOT EXIST

	2) /usr/include/g++/libio.h:238 (and :236) are missing "#define" keywords

	3) numerous other syntax errors within libio.h are reported:


cd src; gmake libs
gmake[2]: Entering directory `/var/stage2/mozilla/xpcom/src'
c++ -o nsRepository.o  [...]
ude -I/usr/local/include  -I/usr/X11R6/include  nsRepository.cpp
In file included from /usr/include/g++/streambuf.h:36,
                 from /usr/include/g++/iostream.h:31,
                 from nsRepository.cpp:25:
/usr/include/g++/libio.h:238: warning: `_IO_off_t' redefined
/usr/include/g++/libio.h:35: warning: this is the location of the previous definition
In file included from /usr/include/g++/streambuf.h:36,
                 from /usr/include/g++/iostream.h:31,
                 from nsRepository.cpp:26:
/usr/include/g++/libio.h:278: `read' was not declared in this scope
/usr/include/g++/libio.h:278: type specifier omitted for parameter
/usr/include/g++/libio.h:278: function `int _G_ssize_t(struct _IO_FILE *, void *)' is initialized like a variable
/usr/include/g++/libio.h:279: `write' was not declared in this scope
/usr/include/g++/libio.h:279: type specifier omitted for parameter
/usr/include/g++/libio.h:279: function `int _G_ssize_t(struct _IO_FILE *, const void *)' is initialized like a variable
/usr/include/g++/libio.h:279: declaration of C function `int _G_ssize_t(struct _IO_FILE *, const void *)' conflicts with
/usr/include/g++/libio.h:278: previous declaration `int _G_ssize_t(struct _IO_FILE *, void *)' here
/usr/include/g++/libio.h:280: `seek' was not declared in this scope
/usr/include/g++/libio.h:280: type specifier omitted for parameter
/usr/include/g++/libio.h:280: syntax error before `;'
/usr/include/g++/libio.h:280: function `int _G_fpos_t(...)' is initialized like a variable
/usr/include/g++/libio.h:345: type specifier omitted for parameter
/usr/include/g++/libio.h:346: type specifier omitted for parameter
/usr/include/g++/libio.h:347: syntax error before `('
/usr/include/g++/libio.h:348: syntax error before `('
/usr/include/g++/libio.h:354: syntax error before `('
/usr/include/g++/libio.h:355: syntax error before `('
In file included from /usr/include/g++/iostream.h:31,
                 from nsRepository.cpp:26:
/usr/include/g++/streambuf.h:37: syntax error before `}'
gmake[2]: *** [nsRepository.o] Error 1
gmake[2]: Leaving directory `/var/stage2/mozilla/xpcom/src'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/var/stage2/mozilla/xpcom'
gmake: *** [libs] Error 2

amiga1/jimd: g++ --version
egcs-1.1.1

>How-To-Repeat:
	Attempt recompile.
>Fix:
	
>Audit-Trail:
>Unformatted: