[exim-dev] [Bug 1761] New: 4.87_RC2 dns.c compile error on O…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 1761] New: 4.87_RC2 dns.c compile error on OpenBSD 5.8 - 'struct in6_addr' has no member named '__in6_u'
https://bugs.exim.org/show_bug.cgi?id=1761

            Bug ID: 1761
           Summary: 4.87_RC2 dns.c compile error on OpenBSD 5.8 - 'struct
                    in6_addr' has no member named '__in6_u'
           Product: Exim
           Version: N/A
          Hardware: x86-64
                OS: OpenBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Networking
          Assignee: nigel@???
          Reporter: km@???
                CC: exim-dev@???


Build fails with error: 'struct in6_addr' has no member named '__in6_u':

gcc dns.c
dns.c: In function 'dns_return':
dns.c:561: warning: format '%lx' expects type 'long unsigned int', but argument
5 has type 'unsigned int'
dns.c: In function 'dns_basic_lookup':
dns.c:610: warning: format '%lx' expects type 'long unsigned int', but argument
5 has type 'unsigned int'
dns.c: In function 'dns_special_lookup':
dns.c:990: warning: suggest explicit braces to avoid ambiguous 'else'
dns.c: In function 'dns_address_from_rr':
dns.c:1149: error: 'struct in6_addr' has no member named '__in6_u'
dns.c:1151: warning: array size (1) smaller than bound length (50)
*** Error 1 in build-OpenBSD-amd64 (Makefile:569 'dns.o': @gcc -c -O2 -Wall -I.
-I/usr/local/include -I/usr/local/include dns.c)
*** Error 1 in /krot/home/km/src/exim-4.87_RC2 (Makefile:29 'all')

In general, building Exim on OpenBSD generates a whole lot of warnings. If
there is no OpenBSD animal yet, there should be added one.

--
You are receiving this mail because:
You are on the CC list for the bug.