Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1323

c client doesn't compile on freebsd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.2, 3.5.0
    • c client
    • None
    • freebsd 6.4

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: