Alan Barrett <[email protected]> wrote: > On Mon, 22 Sep 2014, bycn82 wrote: > >*Now I am building the npfctl, and I met below** > >* > > -Wsign-compare -Wformat=2 -Werror -I/usr/src/usr.sbin/npf/npfctl > >--sysroot=/ -c /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c > >In file included from /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:56:0: > >/usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c: In function > >'npfctl_bpf_table': /usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:610:21: > >error: 'BPF_COP' undeclared (first use in this function) > > BPF_STMT(BPF_MISC+BPF_COP, NPF_COP_TABLE), > > ^ > >/usr/src/usr.sbin/npf/npfctl/npf_bpf_comp.c:610:21: note: each > >undeclared identifier is reported only once for each function it > >appears in > >*** Error code 1 > > > >Stop. > >make: stopped in /usr/src/usr.sbin/npf/npfctl > > I suspect that you have a corrupted source tree. Please take this > to current-users, not tech-kern.
Unlikely. I think he is just trying to build -current code on 6.x system by manually invoking 'make' in the directory. Well, that is not going to work: either build using ./build.sh or build on -current. -- Mindaugas
