From owner-freebsd-bugs@FreeBSD.ORG Sun Oct 17 08:50:32 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28CDA16A4CE for ; Sun, 17 Oct 2004 08:50:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF9A343D31 for ; Sun, 17 Oct 2004 08:50:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9H8oVPi066003 for ; Sun, 17 Oct 2004 08:50:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9H8oVgW066002; Sun, 17 Oct 2004 08:50:31 GMT (envelope-from gnats) Resent-Date: Sun, 17 Oct 2004 08:50:31 GMT Resent-Message-Id: <200410170850.i9H8oVgW066002@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Krzysztof Kowalewski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31F5E16A4CE for ; Sun, 17 Oct 2004 08:42:54 +0000 (GMT) Received: from kam.pl (bsd.kam.pl [195.205.77.13]) by mx1.FreeBSD.org (Postfix) with SMTP id E3C7D43D2D for ; Sun, 17 Oct 2004 08:42:52 +0000 (GMT) (envelope-from pyzmen@kam.pl) Received: (qmail 65737 invoked by uid 1008); 17 Oct 2004 08:42:47 -0000 Message-Id: <20041017084247.65736.qmail@kam.pl> Date: 17 Oct 2004 08:42:47 -0000 From: Krzysztof Kowalewski To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/72783: ipfilter will not compile with LARGE_NAT defined on FreeBSD 5.x X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Krzysztof Kowalewski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 08:50:32 -0000 >Number: 72783 >Category: kern >Synopsis: ipfilter will not compile with LARGE_NAT defined on FreeBSD 5.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 17 08:50:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Krzysztof Kowalewski >Release: FreeBSD 5.2.1-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD nemesis.kam.pl 5.2.1-RELEASE-p11 FreeBSD 5.2.1-RELEASE-p11 #2: Sat Oct 16 01:44:39 CEST 2004 root@nemesis.kam.pl:/usr/obj/usr/src/sys/nemesis i386 >Description: ipfilter will not compile with '#define LARGE_NAT' in src/sys/contrib/ipfilter/netinet/ip_nat.h. While compiling kernel it returns error message: cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc I -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../contrib/ipfilter/netinet/ip_nat.c ../../../contrib/ipfilter/netinet/ip_nat.c: In function `nat_log': ../../../contrib/ipfilter/netinet/ip_nat.c:2912: warning: unused variable `np' ../../../contrib/ipfilter/netinet/ip_nat.c:2916: warning: unused variable `rulen' *** Error code 1 >How-To-Repeat: define LARGE_NAT in src/sys/contrib/ipfilter/netinet/ip_nat.h >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: