Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2000 20:49:21 -0300 (ADT)
From:      Brandon Hume <hume@Den.BOFH.Halifax.NS.Ca>
To:        freebsd-current@freebsd.org
Subject:   Kernel build failing in ip6_input.c
Message-ID:  <200008052349.UAA28618@Den.BOFH.Halifax.NS.Ca>

next in thread | raw e-mail | index | archive | help
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

Stop in /build/src/sys/compile/JASHUGAN.
...


I can't find a declaration of ip_protox anywhere in the netinet6/* code,
although something called inetsw is declared in netinet/ip_input.c as extern,
so perhaps ip6_input.c is missing an extern?

(I apologize if I missed an obvious commit message or warning, I've been busy
this week and just mass-deleting mailing list email)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008052349.UAA28618>