Subject: Re: build fails at netinet/ip_flow.c
To: Frederick Bruckman <fb@enteract.com>
From: None <Anders.Hjalmarsson@economics.gu.se>
List: current-users
Date: 01/28/1999 23:02:22
I use a 386 and did not get a warning, I did however get problems with
forwarding packets (checksum errors on the receiving host) so there
is probably something wrong with the new code. (Using ip_flow 1.9 a new
kernel works ok)

Anders


> I get this when trying to build -current against today's (Jan 28's) sup:
> 
> 
> cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-ari
th -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="
0x3c" -DZSTTY_RING_SIZE="0x1000" -DSETUIDSCRIPTS -DM68040 -DFPSP -DLKM -DDIAGNO
STIC -DMAXUSERS=16 -D_KERNEL -Dmac68k  -c ../../../../netinet/ip_flow.c
> cc1: warnings being treated as errors
> ../../../../netinet/ip_flow.c: In function `ipflow_fastforward':
> ../../../../netinet/ip_flow.c:200: warning: comparison is always 1 due to lim
ited range of data type
> [1]+  Exit 1                  ( make depend && make )>&mklog
> *** Error code 1
> 
> Stop.
> 
> 
> 
>