Details
-
Bug
-
Resolution: Fixed
-
Major
-
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