Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2009 11:04:38 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   sys/netinet/ipfw/ip_fw2.c:2600: error: 'fw_one_pass' undeclared
Message-ID:  <20091204190438.GD1130@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--mSxgbZZZvrAyzONB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Running

FreeBSD d254.dwolf.juniper.net. 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r200055:=
 Thu Dec  3 17:04:59 PST 2009     root@d254.dwolf.juniper.net.:/common/S4/o=
bj/usr/src/sys/CANARY  i386

Sources updated to r200098; kernel build fails:

=2E..
>>> Kernel build for CANARY started on Fri Dec  4 10:30:32 PST 2009
=2E..
>>> stage 3.2: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/CANARY; MAKEOBJDIRPREFIX=3D/usr/obj  MACHINE_ARCH=
=3Di386  MACHINE=3Di386  CPUTYPE=3D  GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/=
legacy/usr/b
in  GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  GRO=
FF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac  _SHLIBDIRPREFIX=
=3D/usr
/obj/usr/src/tmp  VERSION=3D"FreeBSD 9.0-CURRENT i386 900003"  INSTALL=3D"s=
h /usr/src/tools/install.sh"  PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/=
usr/ob
j/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj=
/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr
/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=3D1 /usr/obj/usr/src/make.i386/=
make KERNEL=3Dkernel all -DNO_MODULES_OBJ
cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
 -
Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys =
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
 opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=
=3D100 --param large-function-growth=3D1000  -mno-align-long-strings -mpref=
erred-s
tack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffrees=
tanding -fstack-protector -Werror  /usr/src/sys/netinet/ipfw/ip_fw2.c -I/us=
r/
src/sys/contrib/pf
/usr/src/sys/netinet/ipfw/ip_fw2.c: In function 'ipfw_chk':
/usr/src/sys/netinet/ipfw/ip_fw2.c:2600: error: 'fw_one_pass' undeclared (f=
irst use in this function)
/usr/src/sys/netinet/ipfw/ip_fw2.c:2600: error: (Each undeclared identifier=
 is reported only once
/usr/src/sys/netinet/ipfw/ip_fw2.c:2600: error: for each function it appear=
s in.)
*** Error code 1

Stop in /common/S4/obj/usr/src/sys/CANARY.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


This appears to be fallout from r200059, but I could easily be wrong
about that.

Here's what I see when I look for fw_one_pass:

d254(9.0-C)[27] grep -nwr fw_one_pass /sys
/sys/netinet/ipfw/ip_fw2.c:171:    CTLFLAG_RW | CTLFLAG_SECURE3, &VNET_NAME=
(fw_one_pass), 0,
/sys/netinet/ipfw/ip_fw2.c:2578:                 * If fw_one_pass !=3D 0 th=
en just accept it.
/sys/netinet/ipfw/ip_fw2.c:2582:                if (fw_one_pass) {
/sys/netinet/ip_fw.h:656:VNET_DECLARE(int, fw_one_pass);
/sys/netinet/ip_fw.h:658:#define        V_fw_one_pass           VNET(fw_one=
_pass)
/sys/netinet/ip_input.c:234:VNET_DEFINE(int, fw_one_pass) =3D 1;
d254(9.0-C)[28]=20

And ip_fw2.c does #include ip_fw.h, as expected....

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--mSxgbZZZvrAyzONB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksZXUYACgkQmprOCmdXAD0r6wCeNELGNT1cThPFUb5x7MZD2MhB
n9UAnRPu6U7Fx28PasXz/aiVZce6iAZp
=rceI
-----END PGP SIGNATURE-----

--mSxgbZZZvrAyzONB--



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