Subject: Re: PF status
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Jon Olsson <jon@joshua.haninge.kth.se>
List: tech-net
Date: 09/05/2003 13:01:54
hi again,

On Mon, Sep 01, 2003 at 09:57:56AM +0900, Jun-ichiro itojun Hagino wrote:
> 	in case people are wondering what have happend to PF-on-netbsd:
> 
> 	i'm still awaiting kjc to update/clarify PF/ALTQ api portion.  other
> 	than that there's no major issue - PF-on-netbsd is working fine
> 	on my home router.

I'm trying to build this now, but it fails miserably:

cc   -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc -DUCONSOLE -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c ../../../../net/pf.c
cc1: warnings being treated as errors
../../../../net/pf.c: In function `pf_socket_lookup':
../../../../net/pf.c:2072: warning: passing arg 1 of `in6_pcblookup_connect' from incompatible pointer type
../../../../net/pf.c:2074: warning: passing arg 1 of `in6_pcblookup_bind' from incompatible pointer type

*** Failed target:  pf.o
*** Failed command: cc   -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc -DUCONSOLE -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c ../../../../net/pf.c
*** Error code 1

Stop.
make: stopped in /home/jon/tmpsrc/src/sys/arch/i386/compile/APA

Sources checked out on Sep  3 11:47.

Cheers,
Jon