kFreeBSD: LITTLE_ENDIAN, BYTE_ORDER, ... redefined #1684

Closed
zeha opened this Issue Aug 30, 2014 · 1 comment

Projects

None yet

2 participants

@zeha
Collaborator
zeha commented Aug 30, 2014

Build log excerpt:

libtool: compile:  i586-kfreebsd-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../pdns -D_FORTIFY_SOURCE=2 -I../.. -I../.. -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c binddnssec.cc  -fPIC -DPIC -o .libs/binddnssec.o
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/dnsparser.hh:33,
                 from ../../pdns/dnsrecords.hh:26,
                 from ../../pdns/dnssecinfra.hh:4,
                 from ../../pdns/dnsseckeeper.hh:34,
                 from bindbackend2.cc:34:
../../pdns/dns.hh:217:0: warning: "LITTLE_ENDIAN" redefined
 # define LITTLE_ENDIAN   1234    /* least-significant byte first (vax, pc) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.cc:24:
/usr/include/endian.h:45:0: note: this is the location of the previous definition
 # define LITTLE_ENDIAN __LITTLE_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/dnsparser.hh:33,
                 from ../../pdns/dnsrecords.hh:26,
                 from ../../pdns/dnssecinfra.hh:4,
                 from ../../pdns/dnsseckeeper.hh:34,
                 from bindbackend2.cc:34:
../../pdns/dns.hh:218:0: warning: "BIG_ENDIAN" redefined
 # define BIG_ENDIAN      4321    /* most-significant byte first (IBM, net) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.cc:24:
/usr/include/endian.h:46:0: note: this is the location of the previous definition
 # define BIG_ENDIAN __BIG_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/dnsparser.hh:33,
                 from ../../pdns/dnsrecords.hh:26,
                 from ../../pdns/dnssecinfra.hh:4,
                 from ../../pdns/dnsseckeeper.hh:34,
                 from bindbackend2.cc:34:
../../pdns/dns.hh:219:0: warning: "PDP_ENDIAN" redefined
 # define PDP_ENDIAN      3412    /* LSB first in word, MSW first in long (pdp) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.cc:24:
/usr/include/endian.h:47:0: note: this is the location of the previous definition
 # define PDP_ENDIAN __PDP_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/dnsparser.hh:33,
                 from ../../pdns/dnsrecords.hh:26,
                 from ../../pdns/dnssecinfra.hh:4,
                 from ../../pdns/dnsseckeeper.hh:34,
                 from bindbackend2.cc:34:
../../pdns/dns.hh:226:0: warning: "BYTE_ORDER" redefined
 # define BYTE_ORDER      LITTLE_ENDIAN
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.cc:24:
/usr/include/endian.h:48:0: note: this is the location of the previous definition
 # define BYTE_ORDER __BYTE_ORDER
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/lock.hh:27,
                 from bindbackend2.hh:39,
                 from binddnssec.cc:22:
../../pdns/dns.hh:217:0: warning: "LITTLE_ENDIAN" redefined
 # define LITTLE_ENDIAN   1234    /* least-significant byte first (vax, pc) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.hh:22,
                 from binddnssec.cc:22:
/usr/include/endian.h:45:0: note: this is the location of the previous definition
 # define LITTLE_ENDIAN __LITTLE_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/lock.hh:27,
                 from bindbackend2.hh:39,
                 from binddnssec.cc:22:
../../pdns/dns.hh:218:0: warning: "BIG_ENDIAN" redefined
 # define BIG_ENDIAN      4321    /* most-significant byte first (IBM, net) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.hh:22,
                 from binddnssec.cc:22:
/usr/include/endian.h:46:0: note: this is the location of the previous definition
 # define BIG_ENDIAN __BIG_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/lock.hh:27,
                 from bindbackend2.hh:39,
                 from binddnssec.cc:22:
../../pdns/dns.hh:219:0: warning: "PDP_ENDIAN" redefined
 # define PDP_ENDIAN      3412    /* LSB first in word, MSW first in long (pdp) */
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.hh:22,
                 from binddnssec.cc:22:
/usr/include/endian.h:47:0: note: this is the location of the previous definition
 # define PDP_ENDIAN __PDP_ENDIAN
 ^
In file included from ../../pdns/misc.hh:57:0,
                 from ../../pdns/lock.hh:27,
                 from bindbackend2.hh:39,
                 from binddnssec.cc:22:
../../pdns/dns.hh:226:0: warning: "BYTE_ORDER" redefined
 # define BYTE_ORDER      LITTLE_ENDIAN
 ^
In file included from /usr/include/ctype.h:39:0,
                 from /usr/include/c++/4.9/cctype:42,
                 from /usr/include/c++/4.9/bits/localefwd.h:42,
                 from /usr/include/c++/4.9/string:43,
                 from bindbackend2.hh:22,
                 from binddnssec.cc:22:
/usr/include/endian.h:48:0: note: this is the location of the previous definition
 # define BYTE_ORDER __BYTE_ORDER
 ^
@zeha zeha added the auth label Aug 30, 2014
@zeha zeha added this to the auth-3.4.0 milestone Aug 30, 2014
@Habbie
Member
Habbie commented Sep 2, 2014

Is this a blocker at any level?

@Habbie Habbie closed this in #1698 Sep 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment