Skip site navigation (1)Skip section navigation (2)
Date:      17 Oct 2004 08:42:47 -0000
From:      Krzysztof Kowalewski <pyzmen@kam.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/72783: ipfilter will not compile with LARGE_NAT defined on FreeBSD 5.x
Message-ID:  <20041017084247.65736.qmail@kam.pl>
Resent-Message-ID: <200410170850.i9H8oVgW066002@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041017084247.65736.qmail>