Subject: port-amiga/8459: db.1.85 compile abends with many sys file syntax errors
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jimd@siu.edu>
List: netbsd-bugs
Date: 09/21/1999 00:54:45
>Number:         8459
>Category:       port-amiga
>Synopsis:       db.1.85 recompile abends with many sys file syntax errs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amiga-maintainer (NetBSD/amiga Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 21 00:50:02 1999
>Last-Modified:
>Originator:     Jim Dutton
>Organization:
	
>Release:        NetBSD-1.4.1
>Environment:
	
System: NetBSD port59.aixdialin.siu.edu 1.4.1 NetBSD 1.4.1 (GENERIC) #101: Sat Aug 14 20:22:26 MEST 1999 is@jocelyn:/usr/obj/kernel/GENERIC amiga


>Description:
	Recompiling db.1.85 under NetBSD-1.4.1,
        	gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release),
	results in many syntax errors reported for several system include
	files:

amiga1/jimd: pwd
/var/stage/db.1.85/PORT/NetBSD-1.4.1
amiga1/jimd: make
cc -c -D__DBINTERFACE_PRIVATE -O -I. -Iinclude -I../../hash ../../hash/hash.c
In file included from /usr/include/sys/time.h:168,
                 from /usr/include/sys/stat.h:50,
                 from ../../hash/hash.c:42:
/usr/include/time.h:93: syntax error before `__aconst'
/usr/include/time.h:109: syntax error before `char'
In file included from ../../hash/hash.c:42:
/usr/include/sys/stat.h:268: syntax error before `__RENAME'
/usr/include/sys/stat.h:269: syntax error before `__RENAME'
/usr/include/sys/stat.h:268: syntax error before `__RENAME'
/usr/include/sys/stat.h:269: syntax error before `__RENAME'
/usr/include/sys/stat.h:278: syntax error before `__RENAME'
In file included from ../../hash/hash.c:44:
/usr/include/errno.h:60: syntax error before `__RENAME'
/usr/include/errno.h:61: syntax error before `__RENAME'
In file included from ../../hash/hash.c:47:
/usr/include/stdlib.h:109: syntax error before `char'
/usr/include/stdlib.h:218: syntax error before `char'
In file included from ../../hash/hash.c:48:
/usr/include/string.h:66: syntax error before `char'
In file included from ../../hash/hash.c:49:
/usr/include/unistd.h:122: syntax error before `char'
/usr/include/unistd.h:143: syntax error before `char'
/usr/include/unistd.h:206: syntax error before `char'
/usr/include/unistd.h:259: syntax error before `__RENAME'
/usr/include/unistd.h:298: syntax error before `char'
/usr/include/unistd.h:322: syntax error before `char'
/usr/include/unistd.h:329: syntax error before `__RENAME'
*** Error code 1

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