From owner-freebsd-current@FreeBSD.ORG Sun Oct 24 19:47:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4EB816A4CE for ; Sun, 24 Oct 2004 19:47:53 +0000 (GMT) Received: from lakermmtao04.cox.net (lakermmtao04.cox.net [68.230.240.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B2D543D31 for ; Sun, 24 Oct 2004 19:47:53 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.30.24]) by lakermmtao04.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041024194745.RKLM4599.lakermmtao04.cox.net@dolphin.local.net> for ; Sun, 24 Oct 2004 15:47:45 -0400 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id i9OJlmi1057685 for ; Sun, 24 Oct 2004 14:47:48 -0500 (CDT) (envelope-from conrads@cox.net) Date: Sun, 24 Oct 2004 14:47:43 -0500 From: "Conrad J. Sabatier" To: freebsd-current@freebsd.org Message-ID: <20041024144743.37fb5c69@dolphin.local.net> In-Reply-To: <20041024133045.40733f45@dolphin.local.net> References: <417B128B.7080904@gddsn.org.cn> <20041024133045.40733f45@dolphin.local.net> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: make buildkernel failed related to ip_divert module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 19:47:53 -0000 On Sun, 24 Oct 2004 13:30:45 -0500, "Conrad J. Sabatier" wrote: > On Sun, 24 Oct 2004 10:25:15 +0800, wsk wrote: > > > rm -f hack.c > > MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh > > WSK cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -W missing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -fformat-extensions -st d=c99 -nostdinc -I- -I. > > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/us > > r/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath > > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/sr c/sys/contrib/ngatm > > -D_KERNEL -include opt_global.h -fno-common -finline-limit=8 000 > > --param inline-unit-growth=100 --param large-function-growth=1000 > > -mno-alig n-long-strings -mpreferred-stack-boundary=2 -ffreestanding > > -Werror vers.c linking kernel > > ip_divert.o(.text+0x1238): In function `div_modevent': > > : undefined reference to `ip_divert_ptr' > > ip_divert.o(.text+0x12c2): In function `div_modevent': > > : undefined reference to `ip_divert_ptr' > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/WSK. > > *** Error code 1 > > Same deal with amd64. For a further bit of clarification (I know, should have done this the first time): This problem is occurring with the following kernel options: options IPDIVERT options IPFILTER options IPFILTER_LOG The only workaround at this time is adding "options IPFIREWALL". -- Conrad J. Sabatier -- "In Unix veritas"