Sorry, my bad. I forgot an #include.
In sys/netinet/ip_fw.c add this #include:
@@ -48,6 +47,7 @@
I have committed it.
In message <[EMAIL PROTECTED]>, Kenneth Wayne
>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
>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
>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?
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-current" in the body of the message
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message