NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/53070: configure tests fail for resolv.h & arpa/nameser.h in src/tools/compat



>Number:         53070
>Category:       lib
>Synopsis:       configure tests fail for resolv.h & arpa/nameser.h in src/tools/compat
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 03 17:50:00 +0000 2018
>Originator:     Sevan Janiyan
>Release:        NetBSD 8.99.12
>Organization:
>Environment:
>Description:
During the NetBSD build process, the configure stage for src/tools/compat complains about resolv.h & arpa/nameser.h

Reporting
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h:     check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the compiler's result
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to lib-bug-people%NetBSD.org@localhost ##
configure: WARNING:     ## ---------------------------------------- ##
checking for resolv.h... no
checking arpa/nameser.h usability... no
checking arpa/nameser.h presence... yes
configure: WARNING: arpa/nameser.h: present but cannot be compiled
configure: WARNING: arpa/nameser.h:     check for missing prerequisite headers?
configure: WARNING: arpa/nameser.h: see the Autoconf documentation
configure: WARNING: arpa/nameser.h:     section "Present But Cannot Be Compiled"
configure: WARNING: arpa/nameser.h: proceeding with the compiler's result
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to lib-bug-people%NetBSD.org@localhost ##
configure: WARNING:     ## ---------------------------------------- ##
checking for arpa/nameser.h... no

This is present in the daily releng builds from HEAD, e.g:
http://releng.netbsd.org/builds/HEAD/201803030830Z/macppc.build

from the config.log:
configure:4119: checking resolv.h usability
configure:4119: cc -c -O  conftest.c >&5
In file included from /usr/include/resolv.h:67:0,
                 from conftest.c:105:
/usr/include/arpa/nameser.h:116:9: error: unknown type name 'u_char'
 typedef u_char ns_nname[NS_MAXNNAME];
         ^~~~~~
/usr/include/arpa/nameser.h:117:15: error: unknown type name 'u_char'
 typedef const u_char *ns_nname_ct;
               ^~~~~~
/usr/include/arpa/nameser.h:118:9: error: unknown type name 'u_char'
 typedef u_char *ns_nname_t;
         ^~~~~~
/usr/include/arpa/nameser.h:130:8: error: unknown type name 'u_char'
  const u_char *_msg, *_eom;
        ^~~~~~
/usr/include/arpa/nameser.h:132:8: error: unknown type name 'u_char'
  const u_char *_sections[ns_s_max];
        ^~~~~~
/usr/include/arpa/nameser.h:135:8: error: unknown type name 'u_char'
  const u_char *_msg_ptr;
        ^~~~~~
/usr/include/arpa/nameser.h:144:8: error: unknown type name 'u_char'
  const u_char *dnptrs[25];
        ^~~~~~
/usr/include/arpa/nameser.h:145:8: error: unknown type name 'u_char'
  const u_char **lastdnptr;
        ^~~~~~
/usr/include/arpa/nameser.h:170:8: error: unknown type name 'u_char'
  const u_char * rdata;
        ^~~~~~
/usr/include/arpa/nameser.h:181:2: error: unknown type name 'u_int'
  u_int  ttl;
  ^~~~~
/usr/include/arpa/nameser.h:183:8: error: unknown type name 'u_char'
  const u_char * rdata;
        ^~~~~~
/usr/include/arpa/nameser.h:586:25: error: unknown type name 'u_char'
 uint16_t ns_get16(const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:587:25: error: unknown type name 'u_char'
 uint32_t ns_get32(const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:588:26: error: unknown type name 'u_char'
 void  ns_put16(uint16_t, u_char *);
                          ^~~~~~
/usr/include/arpa/nameser.h:589:26: error: unknown type name 'u_char'
 void  ns_put32(uint32_t, u_char *);
                          ^~~~~~
/usr/include/arpa/nameser.h:590:25: error: unknown type name 'u_char'
 int  ns_initparse(const u_char *, int, ns_msg *);
                         ^~~~~~
/usr/include/arpa/nameser.h:591:22: error: unknown type name 'u_char'
 int  ns_skiprr(const u_char *, const u_char *, ns_sect, int);
                      ^~~~~~
/usr/include/arpa/nameser.h:591:38: error: unknown type name 'u_char'
 int  ns_skiprr(const u_char *, const u_char *, ns_sect, int);
                                      ^~~~~~
/usr/include/arpa/nameser.h:596:25: error: unknown type name 'u_char'
 int  ns_sprintrrf(const u_char *, size_t, const char *,
                         ^~~~~~
/usr/include/arpa/nameser.h:597:26: error: unknown type name 'u_long'
       ns_class, ns_type, u_long, const u_char *,
                          ^~~~~~
/usr/include/arpa/nameser.h:597:40: error: unknown type name 'u_char'
       ns_class, ns_type, u_long, const u_char *,
                                        ^~~~~~
/usr/include/arpa/nameser.h:600:28: error: expected ')' before 'char'
 int  ns_format_ttl(u_long, char *, size_t);
                            ^~~~
/usr/include/arpa/nameser.h:601:33: error: unknown type name 'u_long'
 int  ns_parse_ttl(const char *, u_long *);
                                 ^~~~~~
/usr/include/arpa/nameser.h:603:25: error: unknown type name 'u_char'
 int  ns_name_ntol(const u_char *, u_char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:603:35: error: unknown type name 'u_char'
 int  ns_name_ntol(const u_char *, u_char *, size_t);
                                   ^~~~~~
/usr/include/arpa/nameser.h:604:25: error: unknown type name 'u_char'
 int  ns_name_ntop(const u_char *, char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:605:33: error: unknown type name 'u_char'
 int  ns_name_pton(const char *, u_char *, size_t);
                                 ^~~~~~
/usr/include/arpa/nameser.h:606:34: error: unknown type name 'u_char'
 int  ns_name_pton2(const char *, u_char *, size_t, size_t *);
                                  ^~~~~~
/usr/include/arpa/nameser.h:607:27: error: unknown type name 'u_char'
 int  ns_name_unpack(const u_char *, const u_char *,
                           ^~~~~~
/usr/include/arpa/nameser.h:607:43: error: unknown type name 'u_char'
 int  ns_name_unpack(const u_char *, const u_char *,
                                           ^~~~~~
/usr/include/arpa/nameser.h:608:15: error: unknown type name 'u_char'
         const u_char *, u_char *, size_t);
               ^~~~~~
/usr/include/arpa/nameser.h:608:25: error: unknown type name 'u_char'
         const u_char *, u_char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:609:28: error: unknown type name 'u_char'
 int  ns_name_unpack2(const u_char *, const u_char *,
                            ^~~~~~
/usr/include/arpa/nameser.h:609:44: error: unknown type name 'u_char'
 int  ns_name_unpack2(const u_char *, const u_char *,
                                            ^~~~~~
/usr/include/arpa/nameser.h:610:16: error: unknown type name 'u_char'
          const u_char *, u_char *, size_t,
                ^~~~~~
/usr/include/arpa/nameser.h:610:26: error: unknown type name 'u_char'
          const u_char *, u_char *, size_t,
                          ^~~~~~
/usr/include/arpa/nameser.h:612:25: error: unknown type name 'u_char'
 int  ns_name_pack(const u_char *, u_char *, int,
                         ^~~~~~
/usr/include/arpa/nameser.h:612:35: error: unknown type name 'u_char'
 int  ns_name_pack(const u_char *, u_char *, int,
                                   ^~~~~~
/usr/include/arpa/nameser.h:613:13: error: unknown type name 'u_char'
       const u_char **, const u_char **);
             ^~~~~~
/usr/include/arpa/nameser.h:613:30: error: unknown type name 'u_char'
       const u_char **, const u_char **);
                              ^~~~~~
/usr/include/arpa/nameser.h:614:31: error: unknown type name 'u_char'
 int  ns_name_uncompress(const u_char *, const u_char *,
                               ^~~~~~
/usr/include/arpa/nameser.h:614:47: error: unknown type name 'u_char'
 int  ns_name_uncompress(const u_char *, const u_char *,
                                               ^~~~~~
/usr/include/arpa/nameser.h:615:12: error: unknown type name 'u_char'
      const u_char *, char *, size_t);
            ^~~~~~
/usr/include/arpa/nameser.h:616:37: error: unknown type name 'u_char'
 int  ns_name_compress(const char *, u_char *, size_t,
                                     ^~~~~~
/usr/include/arpa/nameser.h:617:17: error: unknown type name 'u_char'
           const u_char **, const u_char **);
                 ^~~~~~
/usr/include/arpa/nameser.h:617:34: error: unknown type name 'u_char'
           const u_char **, const u_char **);
                                  ^~~~~~
/usr/include/arpa/nameser.h:618:25: error: unknown type name 'u_char'
 int  ns_name_skip(const u_char **, const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:618:42: error: unknown type name 'u_char'
 int  ns_name_skip(const u_char **, const u_char *);
                                          ^~~~~~
/usr/include/arpa/nameser.h:619:30: error: unknown type name 'u_char'
 void  ns_name_rollback(const u_char *, const u_char **,
                              ^~~~~~
/usr/include/arpa/nameser.h:619:46: error: unknown type name 'u_char'
 void  ns_name_rollback(const u_char *, const u_char **,
                                              ^~~~~~
/usr/include/arpa/nameser.h:620:17: error: unknown type name 'u_char'
           const u_char **);
                 ^~~~~~
/usr/include/arpa/nameser.h:622:14: error: unknown type name 'u_char'
 int  ns_sign(u_char *, int *, int, int, void *,
              ^~~~~~
/usr/include/arpa/nameser.h:623:15: error: unknown type name 'u_char'
         const u_char *, int, u_char *, int *, time_t)
               ^~~~~~
/usr/include/arpa/nameser.h:623:30: error: unknown type name 'u_char'
         const u_char *, int, u_char *, int *, time_t)
                              ^~~~~~
/usr/include/arpa/nameser.h:625:15: error: unknown type name 'u_char'
 int  ns_sign2(u_char *, int *, int, int, void *,
               ^~~~~~
/usr/include/arpa/nameser.h:626:16: error: unknown type name 'u_char'
          const u_char *, int, u_char *, int *, time_t,
                ^~~~~~
/usr/include/arpa/nameser.h:626:31: error: unknown type name 'u_char'
          const u_char *, int, u_char *, int *, time_t,
                               ^~~~~~
/usr/include/arpa/nameser.h:627:10: error: unknown type name 'u_char'
          u_char **, u_char **)
          ^~~~~~
/usr/include/arpa/nameser.h:627:21: error: unknown type name 'u_char'
          u_char **, u_char **)
                     ^~~~~~
/usr/include/arpa/nameser.h:635:18: error: unknown type name 'u_char'
 int  ns_sign_tcp(u_char *, int *, int, int,
                  ^~~~~~
/usr/include/arpa/nameser.h:637:19: error: unknown type name 'u_char'
 int  ns_sign_tcp2(u_char *, int *, int, int,
                   ^~~~~~
/usr/include/arpa/nameser.h:639:7: error: unknown type name 'u_char'
       u_char **, u_char **);
       ^~~~~~
/usr/include/arpa/nameser.h:639:18: error: unknown type name 'u_char'
       u_char **, u_char **);
                  ^~~~~~
/usr/include/arpa/nameser.h:640:37: error: unknown type name 'u_char'
 int  ns_sign_tcp_init(void *, const u_char *, int,
                                     ^~~~~~
/usr/include/arpa/nameser.h:642:1: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
 ^~~~~~
/usr/include/arpa/nameser.h:642:23: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
                       ^~~~~~
/usr/include/arpa/nameser.h:642:33: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
                                 ^~~~~~
/usr/include/arpa/nameser.h:644:16: error: unknown type name 'u_char'
 int  ns_verify(u_char *, int *, void *,
                ^~~~~~
/usr/include/arpa/nameser.h:645:17: error: unknown type name 'u_char'
           const u_char *, int, u_char *, int *,
                 ^~~~~~
/usr/include/arpa/nameser.h:645:32: error: unknown type name 'u_char'
           const u_char *, int, u_char *, int *,
                                ^~~~~~
/usr/include/arpa/nameser.h:649:20: error: unknown type name 'u_char'
 int  ns_verify_tcp(u_char *, int *, ns_tcp_tsig_state *, int);
                    ^~~~~~
/usr/include/arpa/nameser.h:650:39: error: unknown type name 'u_char'
 int  ns_verify_tcp_init(void *, const u_char *, int,
                                       ^~~~~~
/usr/include/arpa/nameser.h:656:21: error: unknown type name 'u_char'
 int  ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *);
                     ^~~~~~
/usr/include/arpa/nameser.h:659:55: error: unknown type name 'u_int'
 void  ns_newmsg_flag(ns_newmsg *handle, ns_flag flag, u_int value);
                                                       ^~~~~
/usr/include/arpa/nameser.h:665:31: error: unknown type name 'u_char'
         uint16_t rdlen, const u_char *rdata);
                               ^~~~~~
/usr/include/arpa/nameser.h:667:32: error: unknown type name 'u_char'
 ssize_t  ns_rdata_unpack(const u_char *, const u_char *, ns_type,
                                ^~~~~~
/usr/include/arpa/nameser.h:667:48: error: unknown type name 'u_char'
 ssize_t  ns_rdata_unpack(const u_char *, const u_char *, ns_type,
                                                ^~~~~~
/usr/include/arpa/nameser.h:668:11: error: unknown type name 'u_char'
     const u_char *, size_t, u_char *, size_t);
           ^~~~~~
/usr/include/arpa/nameser.h:668:29: error: unknown type name 'u_char'
     const u_char *, size_t, u_char *, size_t);
                             ^~~~~~
/usr/include/arpa/nameser.h:670:17: error: unknown type name 'u_char'
           const u_char *, size_t,
                 ^~~~~~
/usr/include/arpa/nameser.h:671:17: error: unknown type name 'u_char'
           const u_char *, size_t);
                 ^~~~~~
/usr/include/arpa/nameser.h:673:11: error: unknown type name 'u_char'
     const u_char *, size_t,
           ^~~~~~
/usr/include/arpa/nameser.h:674:11: error: unknown type name 'u_char'
     const u_char *);
           ^~~~~~
In file included from conftest.c:105:0:
/usr/include/resolv.h:118:18: error: unknown type name 'u_char'
            const u_char **, int *,
                  ^~~~~~
/usr/include/resolv.h:119:12: error: unknown type name 'u_char'
            u_char *, int, int *);
            ^~~~~~
/usr/include/resolv.h:122:18: error: unknown type name 'u_char'
            const u_char *, int, u_char *,
                  ^~~~~~
/usr/include/resolv.h:122:33: error: unknown type name 'u_char'
            const u_char *, int, u_char *,
                                 ^~~~~~
/usr/include/resolv.h:154:2: error: unknown type name 'u_long'
  u_long options;  /*%< option flags - see below. */
  ^~~~~~
/usr/include/resolv.h:160:2: error: unknown type name 'u_short'
  u_short id;   /*%< current message id */
  ^~~~~~~
/usr/include/resolv.h:166:2: error: unknown type name 'u_long'
  u_long pfcode;   /*%< RES_PRF_ flags - see below. */
  ^~~~~~
/usr/include/resolv.h:178:2: error: unknown type name 'res_send_qhook'
  res_send_qhook qhook;  /*%< query hook */
  ^~~~~~~~~~~~~~
/usr/include/resolv.h:179:2: error: unknown type name 'res_send_rhook'
  res_send_rhook rhook;  /*%< response hook */
  ^~~~~~~~~~~~~~
/usr/include/resolv.h:182:2: error: unknown type name 'u_int'
  u_int _flags;   /*%< PRIVATE: see below */
  ^~~~~
/usr/include/resolv.h:183:2: error: unknown type name 'u_int'
  u_int _pad;   /*%< make _u 64 bit aligned */
  ^~~~~
/usr/include/resolv.h:194:2: error: unknown type name 'u_char'
  u_char *_rnd;   /*%< PRIVATE: random state */
  ^~~~~~
/usr/include/resolv.h:319:23: error: unknown type name 'u_char'
 void  fp_nquery(const u_char *, int, FILE *);
                       ^~~~~~
/usr/include/resolv.h:320:22: error: unknown type name 'u_char'
 void  fp_query(const u_char *, FILE *);
                      ^~~~~~
/usr/include/resolv.h:322:21: error: unknown type name 'u_char'
 void  p_query(const u_char *);
                     ^~~~~~
/usr/include/resolv.h:325:19: error: unknown type name 'u_char'
 int  res_opt(int, u_char *, int, int);
                   ^~~~~~
/usr/include/resolv.h:327:53: error: unknown type name 'u_char'
 int  res_mkquery(int, const char *, int, int, const u_char *,
                                                     ^~~~~~
/usr/include/resolv.h:328:17: error: unknown type name 'u_char'
      int, const u_char *, u_char *, int);
                 ^~~~~~
/usr/include/resolv.h:328:27: error: unknown type name 'u_char'
      int, const u_char *, u_char *, int);
                           ^~~~~~
/usr/include/resolv.h:329:40: error: unknown type name 'u_char'
 int  res_query(const char *, int, int, u_char *, int);
                                        ^~~~~~
/usr/include/resolv.h:331:10: error: unknown type name 'u_char'
          u_char *, int);
          ^~~~~~
/usr/include/resolv.h:332:41: error: unknown type name 'u_char'
 int  res_search(const char *, int, int, u_char *, int);
                                         ^~~~~~
/usr/include/resolv.h:333:21: error: unknown type name 'u_char'
 int  res_send(const u_char *, int, u_char *, int);
                     ^~~~~~
/usr/include/resolv.h:333:36: error: unknown type name 'u_char'
 int  res_send(const u_char *, int, u_char *, int);
                                    ^~~~~~
/usr/include/resolv.h:334:27: error: unknown type name 'u_char'
 int  res_sendsigned(const u_char *, int, ns_tsig_key *,
                           ^~~~~~
/usr/include/resolv.h:335:9: error: unknown type name 'u_char'
         u_char *, int);
         ^~~~~~
/usr/include/resolv.h:431:22: error: expected ')' before 'const'
 int  b64_ntop(u_char const *, size_t, char *, size_t);
                      ^~~~~
/usr/include/resolv.h:432:29: error: unknown type name 'u_char'
 int  b64_pton(char const *, u_char *, size_t);
                             ^~~~~~
/usr/include/resolv.h:433:29: error: unknown type name 'u_char'
 int  loc_aton(const char *, u_char *);
                             ^~~~~~
/usr/include/resolv.h:434:29: error: unknown type name 'u_char'
 const char * loc_ntoa(const u_char *, char *);
                             ^~~~~~
/usr/include/resolv.h:435:24: error: unknown type name 'u_char'
 int  dn_skipname(const u_char *, const u_char *);
                        ^~~~~~
/usr/include/resolv.h:435:40: error: unknown type name 'u_char'
 int  dn_skipname(const u_char *, const u_char *);
                                        ^~~~~~
/usr/include/resolv.h:436:25: error: unknown type name 'u_char'
 void  putlong(uint32_t, u_char *);
                         ^~~~~~
/usr/include/resolv.h:437:26: error: unknown type name 'u_char'
 void  putshort(uint16_t, u_char *);
                          ^~~~~~
/usr/include/resolv.h:439:26: error: unknown type name 'u_char'
 uint16_t _getshort(const u_char *);
                          ^~~~~~
/usr/include/resolv.h:440:25: error: unknown type name 'u_char'
 uint32_t _getlong(const u_char *);
                         ^~~~~~
/usr/include/resolv.h:447:7: error: unknown type name 'u_char'
 const u_char * p_cdnname(const u_char *, const u_char *, int, FILE *);
       ^~~~~~
/usr/include/resolv.h:447:32: error: unknown type name 'u_char'
 const u_char * p_cdnname(const u_char *, const u_char *, int, FILE *);
                                ^~~~~~
/usr/include/resolv.h:447:48: error: unknown type name 'u_char'
 const u_char * p_cdnname(const u_char *, const u_char *, int, FILE *);
                                                ^~~~~~
/usr/include/resolv.h:448:7: error: unknown type name 'u_char'
 const u_char * p_cdname(const u_char *, const u_char *, FILE *);
       ^~~~~~
/usr/include/resolv.h:448:31: error: unknown type name 'u_char'
 const u_char * p_cdname(const u_char *, const u_char *, FILE *);
                               ^~~~~~
/usr/include/resolv.h:448:47: error: unknown type name 'u_char'
 const u_char * p_cdname(const u_char *, const u_char *, FILE *);
                                               ^~~~~~
/usr/include/resolv.h:449:7: error: unknown type name 'u_char'
 const u_char * p_fqnname(const u_char *, const u_char *,
       ^~~~~~
/usr/include/resolv.h:449:32: error: unknown type name 'u_char'
 const u_char * p_fqnname(const u_char *, const u_char *,
                                ^~~~~~
/usr/include/resolv.h:449:48: error: unknown type name 'u_char'
 const u_char * p_fqnname(const u_char *, const u_char *,
                                                ^~~~~~
/usr/include/resolv.h:451:7: error: unknown type name 'u_char'
 const u_char * p_fqname(const u_char *, const u_char *, FILE *);
       ^~~~~~
/usr/include/resolv.h:451:31: error: unknown type name 'u_char'
 const u_char * p_fqname(const u_char *, const u_char *, FILE *);
                               ^~~~~~
/usr/include/resolv.h:451:47: error: unknown type name 'u_char'
 const u_char * p_fqname(const u_char *, const u_char *, FILE *);
                                               ^~~~~~
/usr/include/resolv.h:455:28: error: unknown type name 'u_char'
 int  dn_comp(const char *, u_char *, int, u_char **, u_char **);
                            ^~~~~~
/usr/include/resolv.h:455:43: error: unknown type name 'u_char'
 int  dn_comp(const char *, u_char *, int, u_char **, u_char **);
                                           ^~~~~~
/usr/include/resolv.h:455:54: error: unknown type name 'u_char'
 int  dn_comp(const char *, u_char *, int, u_char **, u_char **);
                                                      ^~~~~~
/usr/include/resolv.h:456:22: error: unknown type name 'u_char'
 int  dn_expand(const u_char *, const u_char *, const u_char *,
                      ^~~~~~
/usr/include/resolv.h:456:38: error: unknown type name 'u_char'
 int  dn_expand(const u_char *, const u_char *, const u_char *,
                                      ^~~~~~
/usr/include/resolv.h:456:54: error: unknown type name 'u_char'
 int  dn_expand(const u_char *, const u_char *, const u_char *,
                                                      ^~~~~~
/usr/include/resolv.h:459:1: error: unknown type name 'u_int'
 u_int  res_randomid(void);
 ^~~~~
/usr/include/resolv.h:460:1: error: unknown type name 'u_int'
 u_int  res_nrandomid(res_state);
 ^~~~~
/usr/include/resolv.h:461:52: error: unknown type name 'u_char'
 int  res_nameinquery(const char *, int, int, const u_char *,
                                                    ^~~~~~
/usr/include/resolv.h:462:16: error: unknown type name 'u_char'
          const u_char *);
                ^~~~~~
/usr/include/resolv.h:463:29: error: unknown type name 'u_char'
 int  res_queriesmatch(const u_char *, const u_char *,
                             ^~~~~~
/usr/include/resolv.h:463:45: error: unknown type name 'u_char'
 int  res_queriesmatch(const u_char *, const u_char *,
                                             ^~~~~~
/usr/include/resolv.h:464:17: error: unknown type name 'u_char'
           const u_char *, const u_char *);
                 ^~~~~~
/usr/include/resolv.h:464:33: error: unknown type name 'u_char'
           const u_char *, const u_char *);
                                 ^~~~~~
/usr/include/resolv.h:470:41: error: unknown type name 'u_char'
 void  res_pquery(const res_state, const u_char *, int, FILE *);
                                         ^~~~~~
/usr/include/resolv.h:472:52: error: unknown type name 'u_char'
 int  res_nquery(res_state, const char *, int, int, u_char *, int);
                                                    ^~~~~~
/usr/include/resolv.h:473:53: error: unknown type name 'u_char'
 int  res_nsearch(res_state, const char *, int, int, u_char *, int);
                                                     ^~~~~~
/usr/include/resolv.h:475:21: error: unknown type name 'u_char'
           int, int, u_char *, int);
                     ^~~~~~
/usr/include/resolv.h:477:13: error: unknown type name 'u_char'
       const u_char *, int, const u_char *,
             ^~~~~~
/usr/include/resolv.h:477:34: error: unknown type name 'u_char'
       const u_char *, int, const u_char *,
                                  ^~~~~~
/usr/include/resolv.h:478:7: error: unknown type name 'u_char'
       u_char *, int);
       ^~~~~~
/usr/include/resolv.h:479:33: error: unknown type name 'u_char'
 int  res_nsend(res_state, const u_char *, int, u_char *, int);
                                 ^~~~~~
/usr/include/resolv.h:479:48: error: unknown type name 'u_char'
 int  res_nsend(res_state, const u_char *, int, u_char *, int);
                                                ^~~~~~
/usr/include/resolv.h:480:39: error: unknown type name 'u_char'
 int  res_nsendsigned(res_state, const u_char *, int,
                                       ^~~~~~
/usr/include/resolv.h:481:25: error: unknown type name 'u_char'
          ns_tsig_key *, u_char *, int);
                         ^~~~~~
/usr/include/resolv.h:488:31: error: unknown type name 'u_char'
 int  res_nopt(res_state, int, u_char *, int, int);
                               ^~~~~~
/usr/include/resolv.h:489:37: error: unknown type name 'u_char'
 int  res_nopt_rdata(res_state, int, u_char *, int, u_char *,
                                     ^~~~~~
/usr/include/resolv.h:489:52: error: unknown type name 'u_char'
 int  res_nopt_rdata(res_state, int, u_char *, int, u_char *,
                                                    ^~~~~~
/usr/include/resolv.h:490:9: error: unknown type name 'u_short'
         u_short, u_short, u_char *);
         ^~~~~~~
/usr/include/resolv.h:490:18: error: unknown type name 'u_short'
         u_short, u_short, u_char *);
                  ^~~~~~~
/usr/include/resolv.h:490:27: error: unknown type name 'u_char'
         u_short, u_short, u_char *);
                           ^~~~~~
configure:4119: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnbcompat"
| #define PACKAGE_TARNAME "libnbcompat"
| #define PACKAGE_VERSION "noversion"
| #define PACKAGE_STRING "libnbcompat noversion"
| #define PACKAGE_BUGREPORT "lib-bug-people%NetBSD.org@localhost"
| #define PACKAGE_URL ""
| #define _POSIX_SOURCE 1
| #define _POSIX_C_SOURCE 200112L
| #define _XOPEN_SOURCE 600
| #define PATH_BSHELL "/bin/sh"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBZ 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_SYS_SYSLIMITS_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_RPC_TYPES_H 1
| #define HAVE_SYS_BSWAP_H 1
| #define HAVE_MACHINE_BSWAP_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_MACHINE_ENDIAN_H 1
| #define HAVE_SYS_ENDIAN_H 1
| #define HAVE_SYS_FEATURETEST_H 1
| #define HAVE_ERR_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UTIL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <resolv.h>
configure:4119: result: no
configure:4119: checking resolv.h presence
configure:4119: cc -E  conftest.c
configure:4119: $? = 0
configure:4119: result: yes
configure:4119: WARNING: resolv.h: present but cannot be compiled
configure:4119: WARNING: resolv.h:     check for missing prerequisite headers?
configure:4119: WARNING: resolv.h: see the Autoconf documentation
configure:4119: WARNING: resolv.h:     section "Present But Cannot Be Compiled"
configure:4119: WARNING: resolv.h: proceeding with the compiler's result
configure:4119: checking for resolv.h
configure:4119: result: no
configure:4119: checking arpa/nameser.h usability
configure:4119: cc -c -O  conftest.c >&5
In file included from conftest.c:105:0:
/usr/include/arpa/nameser.h:116:9: error: unknown type name 'u_char'
 typedef u_char ns_nname[NS_MAXNNAME];
         ^~~~~~
/usr/include/arpa/nameser.h:117:15: error: unknown type name 'u_char'
 typedef const u_char *ns_nname_ct;
               ^~~~~~
/usr/include/arpa/nameser.h:118:9: error: unknown type name 'u_char'
 typedef u_char *ns_nname_t;
         ^~~~~~
/usr/include/arpa/nameser.h:130:8: error: unknown type name 'u_char'
  const u_char *_msg, *_eom;
        ^~~~~~
/usr/include/arpa/nameser.h:132:8: error: unknown type name 'u_char'
  const u_char *_sections[ns_s_max];
        ^~~~~~
/usr/include/arpa/nameser.h:135:8: error: unknown type name 'u_char'
  const u_char *_msg_ptr;
        ^~~~~~
/usr/include/arpa/nameser.h:144:8: error: unknown type name 'u_char'
  const u_char *dnptrs[25];
        ^~~~~~
/usr/include/arpa/nameser.h:145:8: error: unknown type name 'u_char'
  const u_char **lastdnptr;
        ^~~~~~
/usr/include/arpa/nameser.h:170:8: error: unknown type name 'u_char'
  const u_char * rdata;
        ^~~~~~
/usr/include/arpa/nameser.h:181:2: error: unknown type name 'u_int'
  u_int  ttl;
  ^~~~~
/usr/include/arpa/nameser.h:183:8: error: unknown type name 'u_char'
  const u_char * rdata;
        ^~~~~~
/usr/include/arpa/nameser.h:586:25: error: unknown type name 'u_char'
 uint16_t ns_get16(const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:587:25: error: unknown type name 'u_char'
 uint32_t ns_get32(const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:588:26: error: unknown type name 'u_char'
 void  ns_put16(uint16_t, u_char *);
                          ^~~~~~
/usr/include/arpa/nameser.h:589:26: error: unknown type name 'u_char'
 void  ns_put32(uint32_t, u_char *);
                          ^~~~~~
/usr/include/arpa/nameser.h:590:25: error: unknown type name 'u_char'
 int  ns_initparse(const u_char *, int, ns_msg *);
                         ^~~~~~
/usr/include/arpa/nameser.h:591:22: error: unknown type name 'u_char'
 int  ns_skiprr(const u_char *, const u_char *, ns_sect, int);
                      ^~~~~~
/usr/include/arpa/nameser.h:591:38: error: unknown type name 'u_char'
 int  ns_skiprr(const u_char *, const u_char *, ns_sect, int);
                                      ^~~~~~
/usr/include/arpa/nameser.h:596:25: error: unknown type name 'u_char'
 int  ns_sprintrrf(const u_char *, size_t, const char *,
                         ^~~~~~
/usr/include/arpa/nameser.h:597:26: error: unknown type name 'u_long'
       ns_class, ns_type, u_long, const u_char *,
                          ^~~~~~
/usr/include/arpa/nameser.h:597:40: error: unknown type name 'u_char'
       ns_class, ns_type, u_long, const u_char *,
                                        ^~~~~~
/usr/include/arpa/nameser.h:600:28: error: expected ')' before 'char'
 int  ns_format_ttl(u_long, char *, size_t);
                            ^~~~
/usr/include/arpa/nameser.h:601:33: error: unknown type name 'u_long'
 int  ns_parse_ttl(const char *, u_long *);
                                 ^~~~~~
/usr/include/arpa/nameser.h:603:25: error: unknown type name 'u_char'
 int  ns_name_ntol(const u_char *, u_char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:603:35: error: unknown type name 'u_char'
 int  ns_name_ntol(const u_char *, u_char *, size_t);
                                   ^~~~~~
/usr/include/arpa/nameser.h:604:25: error: unknown type name 'u_char'
 int  ns_name_ntop(const u_char *, char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:605:33: error: unknown type name 'u_char'
 int  ns_name_pton(const char *, u_char *, size_t);
                                 ^~~~~~
/usr/include/arpa/nameser.h:606:34: error: unknown type name 'u_char'
 int  ns_name_pton2(const char *, u_char *, size_t, size_t *);
                                  ^~~~~~
/usr/include/arpa/nameser.h:607:27: error: unknown type name 'u_char'
 int  ns_name_unpack(const u_char *, const u_char *,
                           ^~~~~~
/usr/include/arpa/nameser.h:607:43: error: unknown type name 'u_char'
 int  ns_name_unpack(const u_char *, const u_char *,
                                           ^~~~~~
/usr/include/arpa/nameser.h:608:15: error: unknown type name 'u_char'
         const u_char *, u_char *, size_t);
               ^~~~~~
/usr/include/arpa/nameser.h:608:25: error: unknown type name 'u_char'
         const u_char *, u_char *, size_t);
                         ^~~~~~
/usr/include/arpa/nameser.h:609:28: error: unknown type name 'u_char'
 int  ns_name_unpack2(const u_char *, const u_char *,
                            ^~~~~~
/usr/include/arpa/nameser.h:609:44: error: unknown type name 'u_char'
 int  ns_name_unpack2(const u_char *, const u_char *,
                                            ^~~~~~
/usr/include/arpa/nameser.h:610:16: error: unknown type name 'u_char'
          const u_char *, u_char *, size_t,
                ^~~~~~
/usr/include/arpa/nameser.h:610:26: error: unknown type name 'u_char'
          const u_char *, u_char *, size_t,
                          ^~~~~~
/usr/include/arpa/nameser.h:612:25: error: unknown type name 'u_char'
 int  ns_name_pack(const u_char *, u_char *, int,
                         ^~~~~~
/usr/include/arpa/nameser.h:612:35: error: unknown type name 'u_char'
 int  ns_name_pack(const u_char *, u_char *, int,
                                   ^~~~~~
/usr/include/arpa/nameser.h:613:13: error: unknown type name 'u_char'
       const u_char **, const u_char **);
             ^~~~~~
/usr/include/arpa/nameser.h:613:30: error: unknown type name 'u_char'
       const u_char **, const u_char **);
                              ^~~~~~
/usr/include/arpa/nameser.h:614:31: error: unknown type name 'u_char'
 int  ns_name_uncompress(const u_char *, const u_char *,
                               ^~~~~~
/usr/include/arpa/nameser.h:614:47: error: unknown type name 'u_char'
 int  ns_name_uncompress(const u_char *, const u_char *,
                                               ^~~~~~
/usr/include/arpa/nameser.h:615:12: error: unknown type name 'u_char'
      const u_char *, char *, size_t);
            ^~~~~~
/usr/include/arpa/nameser.h:616:37: error: unknown type name 'u_char'
 int  ns_name_compress(const char *, u_char *, size_t,
                                     ^~~~~~
/usr/include/arpa/nameser.h:617:17: error: unknown type name 'u_char'
           const u_char **, const u_char **);
                 ^~~~~~
/usr/include/arpa/nameser.h:617:34: error: unknown type name 'u_char'
           const u_char **, const u_char **);
                                  ^~~~~~
/usr/include/arpa/nameser.h:618:25: error: unknown type name 'u_char'
 int  ns_name_skip(const u_char **, const u_char *);
                         ^~~~~~
/usr/include/arpa/nameser.h:618:42: error: unknown type name 'u_char'
 int  ns_name_skip(const u_char **, const u_char *);
                                          ^~~~~~
/usr/include/arpa/nameser.h:619:30: error: unknown type name 'u_char'
 void  ns_name_rollback(const u_char *, const u_char **,
                              ^~~~~~
/usr/include/arpa/nameser.h:619:46: error: unknown type name 'u_char'
 void  ns_name_rollback(const u_char *, const u_char **,
                                              ^~~~~~
/usr/include/arpa/nameser.h:620:17: error: unknown type name 'u_char'
           const u_char **);
                 ^~~~~~
/usr/include/arpa/nameser.h:622:14: error: unknown type name 'u_char'
 int  ns_sign(u_char *, int *, int, int, void *,
              ^~~~~~
/usr/include/arpa/nameser.h:623:15: error: unknown type name 'u_char'
         const u_char *, int, u_char *, int *, time_t)
               ^~~~~~
/usr/include/arpa/nameser.h:623:30: error: unknown type name 'u_char'
         const u_char *, int, u_char *, int *, time_t)
                              ^~~~~~
/usr/include/arpa/nameser.h:625:15: error: unknown type name 'u_char'
 int  ns_sign2(u_char *, int *, int, int, void *,
               ^~~~~~
/usr/include/arpa/nameser.h:626:16: error: unknown type name 'u_char'
          const u_char *, int, u_char *, int *, time_t,
                ^~~~~~
/usr/include/arpa/nameser.h:626:31: error: unknown type name 'u_char'
          const u_char *, int, u_char *, int *, time_t,
                               ^~~~~~
/usr/include/arpa/nameser.h:627:10: error: unknown type name 'u_char'
          u_char **, u_char **)
          ^~~~~~
/usr/include/arpa/nameser.h:627:21: error: unknown type name 'u_char'
          u_char **, u_char **)
                     ^~~~~~
/usr/include/arpa/nameser.h:635:18: error: unknown type name 'u_char'
 int  ns_sign_tcp(u_char *, int *, int, int,
                  ^~~~~~
/usr/include/arpa/nameser.h:637:19: error: unknown type name 'u_char'
 int  ns_sign_tcp2(u_char *, int *, int, int,
                   ^~~~~~
/usr/include/arpa/nameser.h:639:7: error: unknown type name 'u_char'
       u_char **, u_char **);
       ^~~~~~
/usr/include/arpa/nameser.h:639:18: error: unknown type name 'u_char'
       u_char **, u_char **);
                  ^~~~~~
/usr/include/arpa/nameser.h:640:37: error: unknown type name 'u_char'
 int  ns_sign_tcp_init(void *, const u_char *, int,
                                     ^~~~~~
/usr/include/arpa/nameser.h:642:1: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
 ^~~~~~
/usr/include/arpa/nameser.h:642:23: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
                       ^~~~~~
/usr/include/arpa/nameser.h:642:33: error: unknown type name 'u_char'
 u_char  *ns_find_tsig(u_char *, u_char *);
                                 ^~~~~~
/usr/include/arpa/nameser.h:644:16: error: unknown type name 'u_char'
 int  ns_verify(u_char *, int *, void *,
                ^~~~~~
/usr/include/arpa/nameser.h:645:17: error: unknown type name 'u_char'
           const u_char *, int, u_char *, int *,
                 ^~~~~~
/usr/include/arpa/nameser.h:645:32: error: unknown type name 'u_char'
           const u_char *, int, u_char *, int *,
                                ^~~~~~
/usr/include/arpa/nameser.h:649:20: error: unknown type name 'u_char'
 int  ns_verify_tcp(u_char *, int *, ns_tcp_tsig_state *, int);
                    ^~~~~~
/usr/include/arpa/nameser.h:650:39: error: unknown type name 'u_char'
 int  ns_verify_tcp_init(void *, const u_char *, int,
                                       ^~~~~~
/usr/include/arpa/nameser.h:656:21: error: unknown type name 'u_char'
 int  ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *);
                     ^~~~~~
/usr/include/arpa/nameser.h:659:55: error: unknown type name 'u_int'
 void  ns_newmsg_flag(ns_newmsg *handle, ns_flag flag, u_int value);
                                                       ^~~~~
/usr/include/arpa/nameser.h:665:31: error: unknown type name 'u_char'
         uint16_t rdlen, const u_char *rdata);
                               ^~~~~~
/usr/include/arpa/nameser.h:667:32: error: unknown type name 'u_char'
 ssize_t  ns_rdata_unpack(const u_char *, const u_char *, ns_type,
                                ^~~~~~
/usr/include/arpa/nameser.h:667:48: error: unknown type name 'u_char'
 ssize_t  ns_rdata_unpack(const u_char *, const u_char *, ns_type,
                                                ^~~~~~
/usr/include/arpa/nameser.h:668:11: error: unknown type name 'u_char'
     const u_char *, size_t, u_char *, size_t);
           ^~~~~~
/usr/include/arpa/nameser.h:668:29: error: unknown type name 'u_char'
     const u_char *, size_t, u_char *, size_t);
                             ^~~~~~
/usr/include/arpa/nameser.h:670:17: error: unknown type name 'u_char'
           const u_char *, size_t,
                 ^~~~~~
/usr/include/arpa/nameser.h:671:17: error: unknown type name 'u_char'
           const u_char *, size_t);
                 ^~~~~~
/usr/include/arpa/nameser.h:673:11: error: unknown type name 'u_char'
     const u_char *, size_t,
           ^~~~~~
/usr/include/arpa/nameser.h:674:11: error: unknown type name 'u_char'
     const u_char *);
           ^~~~~~
configure:4119: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnbcompat"
| #define PACKAGE_TARNAME "libnbcompat"
| #define PACKAGE_VERSION "noversion"
| #define PACKAGE_STRING "libnbcompat noversion"
| #define PACKAGE_BUGREPORT "lib-bug-people%NetBSD.org@localhost"
| #define PACKAGE_URL ""
| #define _POSIX_SOURCE 1
| #define _POSIX_C_SOURCE 200112L
| #define _XOPEN_SOURCE 600
| #define PATH_BSHELL "/bin/sh"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBZ 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_SYS_SYSLIMITS_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_RPC_TYPES_H 1
| #define HAVE_SYS_BSWAP_H 1
| #define HAVE_MACHINE_BSWAP_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_MACHINE_ENDIAN_H 1
| #define HAVE_SYS_ENDIAN_H 1
| #define HAVE_SYS_FEATURETEST_H 1
| #define HAVE_ERR_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UTIL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <arpa/nameser.h>
configure:4119: result: no
configure:4119: checking arpa/nameser.h presence
configure:4119: cc -E  conftest.c
configure:4119: $? = 0
configure:4119: result: yes
configure:4119: WARNING: arpa/nameser.h: present but cannot be compiled
configure:4119: WARNING: arpa/nameser.h:     check for missing prerequisite headers?
configure:4119: WARNING: arpa/nameser.h: see the Autoconf documentation
configure:4119: WARNING: arpa/nameser.h:     section "Present But Cannot Be Compiled"
configure:4119: WARNING: arpa/nameser.h: proceeding with the compiler's result
configure:4119: checking for arpa/nameser.h
configure:4119: result: no

>How-To-Repeat:
Try to build the NetBSD tools
./build tools
>Fix:





Home | Main Index | Thread Index | Old Index