Darren Reed wrote:
Marttti,
Have a look at this page:
http://sourceforge.net/tracker/index.php?func=detail&aid=1794544&group_id=169098&atid=849053
and try the patch attached to that.
ROOT fw:/usr/src/sys/arch/amd64/compile/FW> make
making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.o' is up to date.
# compile FW/fil.o
cc -pipe -mcmodel=kernel -mno-red-zone -ffreestanding
-fno-zero-initialized-in-bss -g -O2 -fno-omit-frame-pointer -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing -Damd64
-Dx86_64 -I. -I../../../../contrib/dev/ath/netbsd
-I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc
-DMSGBUFSIZE=65536 -DMAXUSERS=128 -D_KERNEL -D_KERNEL_OPT
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I../../../../dist/ipf -c ../../../../dist/ipf/netinet/fil.c
cc1: warnings being treated as errors
../../../../dist/ipf/netinet/fil.c: In function 'frpr_fragment6':
../../../../dist/ipf/netinet/fil.c:674: warning: unused variable 'nxt'
*** Error code 1
I removed 'nxt' and I'm testing it right now...