Subject: bin/29748: "IFFBITS" redefined in brconfig.c
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <fun@naobsd.org>
List: netbsd-bugs
Date: 03/20/2005 14:50:00
>Number:         29748
>Category:       bin
>Synopsis:       "IFFBITS" redefined in brconfig.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 20 14:50:00 +0000 2005
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 2.99.16 / 2005-03-20 HEAD source
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD tr1.naobsd.org 2.99.16 NetBSD 2.99.16 (TR1) #1: Sun Feb 27 23:58:30 JST 2005 fun@tr1.naobsd.org:/home/fun/src/sys/arch/i386/compile/TR1 i386
Architecture: i386
Machine: i386
>Description:
	I got following error,

	:
#   compile  brconfig/brconfig.o
/home/t/i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings  -Werror    -nostdinc -isystem /home/d/i386/usr/include  -c    /usr/src/sbin/brconfig/brconfig.c
/usr/src/sbin/brconfig/brconfig.c:157:1: "IFFBITS" redefined
In file included from /usr/src/sbin/brconfig/brconfig.c:54:
/home/d/i386/usr/include/net/if.h:334:1: this is the location of the previous definition
	:

$ ident src/sbin/brconfig/brconfig.c
src/sbin/brconfig/brconfig.c:
     $NetBSD: brconfig.c,v 1.9 2005/01/20 15:47:51 xtraeme Exp $
     $NetBSD: brconfig.c,v 1.9 2005/01/20 15:47:51 xtraeme Exp $
>How-To-Repeat:
	build.sh release
>Fix:
	Remove #define IFFBITS ... from brconfig.c