[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anyone enabled LARGE_NAT for IPNAT in 2.9?



I just commented out the declarations for the unused variables.  No
problems.

On Mon, Aug 20, 2001 at 12:18:57PM -0700, wing chun wrote:
> I get these errors when doing a make on the new kernel:
> 
> cc1: warnings being treated as errors
> /usr/src/sys/arch/i386/compile/CHINOIS-T/../../../../netinet/ip_nat.c: In 
> function `nat_log':
> /usr/src/sys/arch/i386/compile/CHINOIS-T/../../../../netinet/ip_nat.c:2706: 
> warning: unused variable `rulen'
> /usr/src/sys/arch/i386/compile/CHINOIS-T/../../../../netinet/ip_nat.c:2702: 
> warning: unused variable `np'
> *** Error code 1
> 
> Stop in /usr/src/sys/arch/i386/compile/CHINOIS-T (line 1144 of Makefile).


-- 
Brandin Claar
Network Analyst 
Penn State Applied Research Lab