Subject: install/23115: linux and tools/compat/db.h both #define __BIT_TYPES_DEFINED__
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <munch@acm.org>
List: netbsd-bugs
Date: 10/09/2003 23:18:53
>Number:         23115
>Category:       install
>Synopsis:       linux <types.h> and tools/compat/db.h both #define __BIT_TYPES_DEFINED__
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 09 23:19:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     j paulson
>Release:        -current
>Organization:
>Environment:
slackware linux 2.4.21 i386
>Description:
Both linux's <types.h> and tools/compat/db.h #define 
the same name, but with different bodies.
>How-To-Repeat:
USETOOLS=yes ./build.sh -U -j3 -m i386 -O /usr/src/netbsd-obj tools kernel=GENERIC.MP
>Fix:
Index: tools/compat/db.h
===================================================================
RCS file: /cvsroot/src/tools/compat/db.h,v
retrieving revision 1.2
diff -r1.2 db.h
3a4
> #ifndef __BIT_TYPES_DEFINED__
4a6
> #endif

or, better, don't use the build-host's <types.h> file.

>Release-Note:
>Audit-Trail:
>Unformatted: