Hi,

I got the following error when i try to compiling IPF 4.1.13 on FreeBSD 5.4.

cc -c -O -pipe  -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/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Werror  ../../../contrib/ipfilter/netinet/mlfk_ipl.c
../../../contrib/ipfilter/netinet/mlfk_ipl.c:33: warning: redundant
redeclaration of 'ipfselwait'
../../../contrib/ipfilter/netinet/ip_compat.h:1541: warning: previous
declaration of 'ipfselwait' was here
*** Error code 1

mlfk_ipl.c:

33:extern  struct  selinfo ipfselwait[IPL_LOGSIZE];

ip_compat.h:

1541:extern struct selinfo ipfselwait[];


-- 
Necati Ersen SISECI
EnderUnix Core Team Member
EnderUnix SDT ~ Turkey 
http://www.enderunix.org


Reply via email to