From pyzmen@kam.pl  Sun Oct 17 08:42:54 2004
Return-Path: <pyzmen@kam.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 31F5E16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <pyzmen@kam.pl>
Reply-To: Krzysztof Kowalewski <pyzmen@kam.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ipfilter will not compile with LARGE_NAT defined on FreeBSD 5.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 17 08:50:31 GMT 2004
>Closed-Date:    Fri Dec 17 15:59:48 GMT 2004
>Last-Modified:  Fri Dec 17 15:59:48 GMT 2004
>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:
Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun Oct 17 17:28:49 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72783 
State-Changed-From-To: open->closed 
State-Changed-By: darrenr 
State-Changed-When: Fri Dec 17 15:59:36 GMT 2004 
State-Changed-Why:  
patches committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72783 
>Unformatted:
