Subject: ipf.c, sys/netinet/ip_compat.h:1249:1: "COPYIN" redefined
To: None <current-users@NetBSD.org>
From: Ben Collver <collver1@comcast.net>
List: current-users
Date: 03/31/2004 11:50:38
Good morning,

I tried to build -current this morning and ran into an error in ipf.  The
error log follows this message.

Cheers,

Ben


#   compile  ipf/ipf.o
/usr/ben/netbsd/objdir/tooldir.NetBSD-1.6.2-i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   -I.  -I/usr/ben/netbsd/src/dist/ipf -I/usr/ben/netbsd/src/dist/ipf/tools -I/usr/ben/netbsd/src/sys -I/usr/ben/netbsd/src/sys/netinet -DSTATETOP -D__UIO_EXPOSE  -nostdinc -isystem /usr/ben/netbsd/destdir/usr/include  -c    /usr/ben/netbsd/src/dist/ipf/tools/ipf.c
In file included from /usr/ben/netbsd/src/dist/ipf/ipf.h:71,
                 from /usr/ben/netbsd/src/dist/ipf/tools/ipf.c:17:
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:1249:1: "COPYIN" redefined
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:751:1: this is the location of the previous definition
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:1250:1: "COPYOUT" redefined
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:752:1: this is the location of the previous definition
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:1251:1: "BCOPYIN" redefined
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:753:1: this is the location of the previous definition
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:1252:1: "BCOPYOUT" redefined
/usr/ben/netbsd/src/sys/netinet/ip_compat.h:754:1: this is the location of the previous definition

*** Failed target:  ipf.o