From owner-freebsd-current Tue Feb 20 13: 1:46 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id B645B37B401; Tue, 20 Feb 2001 13:01:37 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f1KL1Nx95135; Tue, 20 Feb 2001 22:01:26 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Kenneth Wayne Culver Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: -stable build of kernel fails In-Reply-To: Your message of "Tue, 20 Feb 2001 15:43:55 EST." Date: Tue, 20 Feb 2001 22:01:23 +0100 Message-ID: <95133.982702883@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry, my bad. I forgot an #include. In sys/netinet/ip_fw.c add this #include: @@ -48,6 +47,7 @@ #include #include #include +#include #include #include #include I have committed it. Poul-Henning In message , 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-current" in the body of the message