Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.2, 3.5.0
    • Component/s: c client
    • Labels:
      None
    • Environment:

      freebsd 6.4

    • Hadoop Flags:
      Reviewed

      Description

      EAI_NODATA and EAI_ADDRFAMILY have been deprecated in FreeBSD. I'm getting this error:

      src/zookeeper.c: In function `getaddrinfo_errno':
      src/zookeeper.c:446: error: `EAI_NODATA' undeclared (first use in this function)
      src/zookeeper.c:446: error: (Each undeclared identifier is reported only once
      src/zookeeper.c:446: error: for each function it appears in.)
      src/zookeeper.c: In function `getaddrs':
      src/zookeeper.c:581: error: `EAI_ADDRFAMILY' undeclared (first use in this function)

      I'll submit a patch.

      --Michi

        Attachments

        1. ZOOKEEPER-1323.patch
          1.0 kB
          Michi Mutsuzaki

          Activity

            People

            • Assignee:
              michim Michi Mutsuzaki
              Reporter:
              michim Michi Mutsuzaki
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: