Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 22:01:23 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Kenneth Wayne Culver <culverk@wam.umd.edu>
Cc:        freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: -stable build of kernel fails 
Message-ID:  <95133.982702883@critter>
In-Reply-To: Your message of "Tue, 20 Feb 2001 15:43:55 EST." <Pine.GSO.4.21.0102201540410.29135-100000@rac2.wam.umd.edu> 

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

Sorry, my bad.  I forgot an #include.

In sys/netinet/ip_fw.c add this #include:
@@ -48,6 +47,7 @@
 #include <net/route.h>
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
+#include <netinet/in_var.h>
 #include <netinet/in_pcb.h>
 #include <netinet/ip.h>
 #include <netinet/ip_var.h>

I have committed it.

Poul-Henning

In message <Pine.GSO.4.21.0102201540410.29135-100000@rac2.wam.umd.edu>, Kenneth Wayne Culver writes:
>With the recent commits to -STABLE (I'm assuming these are MFC that's why
>I sent to both freebsd-current and freebsd-stable) having to do with the
>ipfw code, I have had a problem compiling the kernel. These are the
>errors.
>
>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  vers.c
>linking kernel
>ip_fw.o: In function `ip_fw_chk':
>ip_fw.o(.text+0xff7): undefined reference to `INADDR_TO_IFP'
>ip_fw.o(.text+0x1017): undefined reference to `INADDR_TO_IFP'
>*** Error code 1
>
>Before anyone asks, I did a make depend first, and I used config -r
>instead of config when config'ing my kernel. 
>
>Did I miss a message or something saying that I need something new in my
>kernel for firewalls?
>
>Ken
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-current" in the body of the message
>

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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