Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: c client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Seems there is an issue for Ubuntu (I'm on 13.04), however I'm only seeing it on trunk and not branch 34

      make check
      make  zktest-st zktest-mt
      make[1]: Entering directory `/home/phunt/dev/svn/svn-zookeeper/src/c'
      g++ -DHAVE_CONFIG_H -I.  -I./include -I./tests -I./generated  -DUSE_STATIC_LIB -DZKSERVER_CMD="\"./tests/zkServer.sh\"" -DZOO_IPV6_ENABLED -g -O2 -MT zktest_st-TestReconfigServer.o -MD -MP -MF .deps/zktest_st-TestReconfigServer.Tpo -c -o zktest_st-TestReconfigServer.o `test -f 'tests/TestReconfigServer.cc' || echo './'`tests/TestReconfigServer.cc
      tests/TestReconfigServer.cc: In member function 'bool TestReconfigServer::waitForConnected(zhandle_t*, uint32_t)':
      tests/TestReconfigServer.cc:128:16: error: 'sleep' was not declared in this scope
      make[1]: *** [zktest_st-TestReconfigServer.o] Error 1
      make[1]: Leaving directory `/home/phunt/dev/svn/svn-zookeeper/src/c'
      make: *** [check-am] Error 2
      

      I have

      g++ --version
      g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
      Copyright (C) 2012 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      

        Attachments

        1. ZOOKEEPER-1795.patch
          0.8 kB
          Raul Gutierrez Segales

          Issue Links

            Activity

              People

              • Assignee:
                rgs Raul Gutierrez Segales
                Reporter:
                phunt Patrick Hunt
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: