From owner-freebsd-current Sat Aug 5 21:50:13 2000 Delivered-To: freebsd-current@freebsd.org Received: from hun.org (hun.org [216.190.28.252]) by hub.freebsd.org (Postfix) with ESMTP id 5508137BA03 for ; Sat, 5 Aug 2000 21:50:08 -0700 (PDT) (envelope-from attila@hun.org) Received: (from attila@localhost) by hun.org (8.9.3/8.9.3) id EAA44099; Sun, 6 Aug 2000 04:50:06 GMT (envelope-from attila) Date: Sun, 6 Aug 2000 04:50:06 GMT Message-Id: <200008060450.EAA44099@hun.org> From: attila! Content-Type: text/plain; charset=ISO-8859-1 ; format=flowed Content-Transfer-Encoding: 8bit; Content-Disposition: Inline Organization: hun.org, over 40 years beyond the fringe home for unpenitent hackers and anarcho-cryptophreaks Mailer: FreeBSD 5.0-20000609 with XEmacs V21.1.10 (see alt.religion.emacs) Ballistic: N 37.218497 W 113.614979 To: freebsd-current@freebsd.org Subject: re: Kernel build failing in ip6_input.c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG the same errors appear in ip6_output.c and the declarations probably should have been made in ip6protosw.h for pfil_hook_... #ifdef PFIL_HOOKS /* * Run through list of hooks for input packets. If there are any * filters which require that additional packets in the flow are * not fast-forwarded, they must clear the M_CANFASTFWD flag. * Note that filters must _never_ set this flag, as another filter * in the list may have previously cleared it. */ m0 = m; pfh = pfil_hook_get(PFIL_IN, &inetsw[ip_protox[IPPROTO_IPV6]].pr_pfh); from my CVS update log, it appears the code changed 31 Jul 00: Edit src/sys/netinet6/ip6_input.c Add delta 1.14 2000.07.31.13.11.42 darrenr Edit src/sys/netinet6/ip6_output.c Add delta 1.16 2000.07.31.13.11.42 darrenr Edit src/sys/netinet6/ip6protosw.h Add delta 1.4 2000.08.02.01.02.42 peter or, the declarations could be missing in which was also updated: Edit src/sys/net/pfil.h Add delta 1.4 2000.07.31.23.35.08 ache Add delta 1.5 2000.08.01.00.12.27 ache Add delta 1.6 2000.08.01.00.40.32 ache attila out... on Sat, 5 Aug 2000 20:49:21 -0300 (ADT), Brandon Hume wrote: > I went about a week without updating my source tree, but yesterday when I > went to build a kernel (and day), I get the following: > ... > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../netinet6/ip6_input.c > ../../netinet6/ip6_input.c: In function `ip6_input': > ../../netinet6/ip6_input.c:312: `inetsw' undeclared (first use in this > function) > ../../netinet6/ip6_input.c:312: (Each undeclared identifier is reported only once > ../../netinet6/ip6_input.c:312: for each function it appears in.) > ../../netinet6/ip6_input.c:312: `ip_protox' undeclared (first use in this function) > *** Error code 1 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message