build error
bycn82
bycn82 at gmail.com
Mon Jun 2 23:38:53 UTC 2014
root at FB10Head:/usr/src/sbin/ipfw # make
cc -O2 -pipe -DPF -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/sbin/ipfw/ipfw2.c
cc -O2 -pipe -DPF -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/sbin/ipfw/dummynet.c
/usr/src/sbin/ipfw/dummynet.c:251:19: error: use of undeclared identifier 'DN_IS_ECN'; did you
mean 'DN_IS_RED'?
if (fs->flags & DN_IS_ECN)
^~~~~~~~~
DN_IS_RED
/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared here
DN_IS_RED = 0x0020,
^
/usr/src/sbin/ipfw/dummynet.c:1060:17: error: use of undeclared identifier 'DN_IS_ECN'; did
you mean 'DN_IS_RED'?
fs->flags |= DN_IS_ECN;
^~~~~~~~~
DN_IS_RED
/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared here
DN_IS_RED = 0x0020,
^
/usr/src/sbin/ipfw/dummynet.c:1185:23: error: use of undeclared identifier 'DN_IS_ECN'; did
you mean 'DN_IS_RED'?
if ((fs->flags & DN_IS_ECN) && !(fs->flags & DN_IS_RED))
^~~~~~~~~
DN_IS_RED
/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared here
DN_IS_RED = 0x0020,
^
/usr/src/sbin/ipfw/dummynet.c:1192:21: error: use of undeclared identifier 'DN_IS_ECN'; did
you mean 'DN_IS_RED'?
if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th))
^~~~~~~~~
DN_IS_RED
/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared here
DN_IS_RED = 0x0020,
^
/usr/src/sbin/ipfw/dummynet.c:1195:25: error: use of undeclared identifier 'DN_IS_ECN'; did
you mean 'DN_IS_RED'?
else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th))
^~~~~~~~~
DN_IS_RED
/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared here
DN_IS_RED = 0x0020,
^
5 errors generated.
*** Error code 1
Stop.
make: stopped in /usr/src/sbin/ipfw
More information about the freebsd-ipfw
mailing list