From owner-freebsd-current@FreeBSD.ORG Thu Sep 25 07:59:23 2003 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 D02F016A4B3 for ; Thu, 25 Sep 2003 07:59:23 -0700 (PDT) Received: from vimes.aminor.no (vimes.aminor.no [213.187.177.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D53DF43FF7 for ; Thu, 25 Sep 2003 07:59:22 -0700 (PDT) (envelope-from eivind@aminor.no) Received: from localhost (localhost [127.0.0.1]) by vimes.aminor.no (Postfix) with ESMTP id BD27778EFB for ; Thu, 25 Sep 2003 16:59:21 +0200 (CEST) Received: from vimes.aminor.no ([127.0.0.1]) by localhost (vimes.eivind [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88096-09 for ; Thu, 25 Sep 2003 16:59:10 +0200 (CEST) Received: from hades.ttyl.internal (nextra-3-244.nextra.no [148.122.3.244]) by vimes.aminor.no (Postfix) with ESMTP id 349A278EF7 for ; Thu, 25 Sep 2003 16:59:10 +0200 (CEST) Date: Thu, 25 Sep 2003 17:00:33 +0200 From: Eivind Olsen To: current@freebsd.org Message-Id: <20030925170033.5926f481.eivind@aminor.no> In-Reply-To: <364553788.20030925163114@love2party.net> References: <20030925161259.69a7c248.eivind@aminor.no> <364553788.20030925163114@love2party.net> Organization: Aminor X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at aminor.no Subject: Re: Unable to compile kernel 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: Thu, 25 Sep 2003 14:59:23 -0000 On Thu, 25 Sep 2003 16:31:14 +0200 Max Laier wrote: > This seems to be a problem with ip_fil.c, 1.40. For a quick workaround > add #include in line ~310 (just before fr_check_wrapper()) I've done this and now I get another error: cc -c -O -pipe -march=pentium2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplattach': /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:377: warning: unused variable `ph_inet' /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:379: warning: unused variable `ph_inet6' /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: At top level: /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:318: warning: `fr_check_wrapper' defined but not used /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:328: warning: `fr_check_wrapper6' defined but not used *** Error code 1 Stop in /usr/obj/usr/src/sys/VIMES. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. vimes# -- Regards / Hilsen Eivind Olsen