On Thursday 19 May 2005 02:29, Dorijan Jelincic wrote:
> Hello freebsd-ipfw,
>
> I have problem compiling ipfw from last cvs...
> also, since I upgraded my kernel dummynet is not working properly...
> things like ipfw pipe 1000 config bw 0 dont work anymore...
>
> free# ipfw pipe 1000 config bw 0
> ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
>
> this worked before (in snapshot002)
>
> Warning: Object directory not changed from original /usr/src/sbin/ipfw
> cc -O2 -fno-strict-aliasing -pipe   -c ipfw2.c
> ipfw2.c:1056: error: syntax error before '*' token
> ipfw2.c: In function `print_ip6':
> ipfw2.c:1059: error: `cmd' undeclared (first use in this function)
> ipfw2.c:1059: error: (Each undeclared identifier is reported only once
> ipfw2.c:1059: error: for each function it appears in.)
> ipfw2.c:1063: error: `s' undeclared (first use in this function)
> ipfw2.c:1065: error: `O_IP6_SRC_ME' undeclared (first use in this function)

Looks like you are using a stale version of ip_fw.h.  Make sure that you have 
rev. 1.98 or later in /usr/include/netinet - or at least in the searchpath of 
your build.  Doing the safe: "buildworld, buildkernel"-thing should ensure 
that.

-- 
/"\  Best regards,                      | [EMAIL PROTECTED]
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Attachment: pgpDcGTh1x26C.pgp
Description: PGP signature

Reply via email to