problem compiling ipfw
Max Laier
max at love2party.net
Thu May 19 01:05:05 GMT 2005
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, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20050519/6e1ce735/attachment.bin
More information about the freebsd-ipfw
mailing list