Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-971

Issue compiling the latest version from Git

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.9.4
    • None
    • None
    • None
    • Ubuntu
    • 1

    Description

      Hello,

      I am facing a segmentation fault with cbc when creating a user, so I tried to compile the latest version of libcouchbase (and tools) I found on GitHub. Alas, at 96% of the build I get an error. libuv is properly installed, configure reports no error before make.

       

      Here is the error:

       

      [ 96%] Building C object plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c: In function ‘start_connect’:

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c:333:5: error: unknown type name ‘uv_os_fd_t

           uv_os_fd_t fd = INVALID_SOCKET;

           ^

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c:371:11: warning: implicit declaration of function ‘uv_fileno[-Wimplicit-function-declaration]

           ret = uv_fileno((uv_handle_t *)&sock->tcp, &fd);

                 ^

      plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/build.make:62: recipe for target 'plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o’ failed

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            vincent.lextrait Vincent Lextrait
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty