Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 07:38:47 +0800
From:      "bycn82" <bycn82@gmail.com>
To:        <freebsd-ipfw@FreeBSD.org>
Subject:   build error 
Message-ID:  <003301cf7ebb$cedae5b0$6c90b110$@gmail.com>

next in thread | raw e-mail | index | archive | help
root@FB10Head:/usr/src/sbin/ipfw # make

cc -O2 -pipe   -DPF -std=3Dgnu99 -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=3Dgnu99 -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       =3D 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 |=3D DN_IS_ECN;

                                     ^~~~~~~~~

                                     DN_IS_RED

/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared =
here

        DN_IS_RED       =3D 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       =3D 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 >=3D =
fs->max_th))

                                  ^~~~~~~~~

                                  DN_IS_RED

/usr/include/netinet/ip_dummynet.h:105:2: note: 'DN_IS_RED' declared =
here

        DN_IS_RED       =3D 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       =3D 0x0020,

        ^

5 errors generated.

*** Error code 1

=20

Stop.

make: stopped in /usr/src/sbin/ipfw




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301cf7ebb$cedae5b0$6c90b110$>