Re: sys/netinet/ipfw/ip_fw2.c:2600: error: 'fw_one_pass' undeclared

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Fri, 4 Dec 2009 23:10:29 +0100
On Fri, Dec 04, 2009 at 11:04:38AM -0800, David Wolfskill wrote:
> Running
> 
> FreeBSD d254.dwolf.juniper.net. 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r200055: Thu Dec  3 17:04:59 PST 2009     root_at_d254.dwolf.juniper.net.:/common/S4/obj/usr/src/sys/CANARY  i386
> 
> Sources updated to r200098; kernel build fails:

hmmm, i just completed a build with r200098
though without vnet enabled, which may be the difference ?

Can you replace line p_fw2.c 2060 with
-                if (fw_one_pass) {
+                if (V_fw_one_pass) {
and see if it fixes the problem ?

	cheers
	luigi

> /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 appears in.)
Received on Fri Dec 04 2009 - 21:02:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC