Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
haywire hmm 2
----------------------------------------
Cloning submodules
----------------------------------------
----------------------------------------
Compiling wrk
----------------------------------------
CC src/wrk.c
In file included from src/wrk.c:3:0:
src/wrk.h:9:25: fatal error: openssl/ssl.h: No such file or directory
#include <openssl/ssl.h>
^
compilation terminated.
make: *** [obj/wrk.o] Error 1
----------------------------------------
Configuring and compiling for Linux
----------------------------------------
CC(target) builds/unix/debug/obj.target/haywire/src/haywire/connection_consumer.o
In file included from lib/libuv/include/uv.h:61:0,
from src/haywire/connection_consumer.c:3:
lib/libuv/include/uv-unix.h:289:13: error: ‘NI_MAXHOST’ undeclared here (not in a function)
char host[NI_MAXHOST]; \
^
lib/libuv/include/uv.h:1471:3: note: in expansion of macro ‘UV_GETNAMEINFO_PRIVATE_FIELDS’
UV_GETNAMEINFO_PRIVATE_FIELDS
^
lib/libuv/include/uv-unix.h:290:16: error: ‘NI_MAXSERV’ undeclared here (not in a function)
char service[NI_MAXSERV]; \
^
lib/libuv/include/uv.h:1471:3: note: in expansion of macro ‘UV_GETNAMEINFO_PRIVATE_FIELDS’
UV_GETNAMEINFO_PRIVATE_FIELDS
^
src/haywire/connection_consumer.c: In function ‘ipc_read2_cb’:
src/haywire/connection_consumer.c:11:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc;
^
src/haywire/connection_consumer.c: In function ‘ipc_connect_cb’:
src/haywire/connection_consumer.c:40:5: warning: passing argument 3 of ‘uv_read_start’ from incompatible pointer type [enabled by default]
rc = uv_read_start((uv_stream_t*)&ctx->ipc_pipe, ipc_alloc_cb, ipc_read2_cb);
^
In file included from src/haywire/connection_consumer.c:3:0:
lib/libuv/include/uv.h:654:15: note: expected ‘uv_read_cb’ but argument is of type ‘void (*)(struct uv_pipe_t *, ssize_t, const struct uv_buf_t *, enum uv_handle_type)’
UV_EXTERN int uv_read_start(uv_stream_t*,
^
src/haywire/connection_consumer.c:37:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc;
^
src/haywire/connection_consumer.c: In function ‘connection_consumer_new_connection’:
src/haywire/connection_consumer.c:52:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc = 0;
^
src/haywire/connection_consumer.c: In function ‘get_listen_handle’:
src/haywire/connection_consumer.c:74:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc;
^
src/haywire/connection_consumer.c: In function ‘connection_consumer_start’:
src/haywire/connection_consumer.c:98:5: warning: passing argument 3 of ‘uv_async_init’ from incompatible pointer type [enabled by default]
rc = uv_async_init(loop, &ctx->async_handle, connection_consumer_close);
^
In file included from src/haywire/connection_consumer.c:3:0:
lib/libuv/include/uv.h:1363:15: note: expected ‘uv_async_cb’ but argument is of type ‘void (*)(struct uv_async_t *, int)’
UV_EXTERN int uv_async_init(uv_loop_t*,
^
src/haywire/connection_consumer.c:87:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc;
^
make: *** [builds/unix/debug/obj.target/haywire/src/haywire/connection_consumer.o] Error 1
Building [debug]: ['make', 'BUILDTYPE=debug']
Traceback (most recent call last):
File "./lib/libuv/build/gyp/gyp_main.py", line 18, in <module>
sys.exit(gyp.script_main())
File "./lib/libuv/build/gyp/pylib/gyp/__init__.py", line 534, in script_main
return main(sys.argv[1:])
File "./lib/libuv/build/gyp/pylib/gyp/__init__.py", line 527, in main
return gyp_main(args)
File "./lib/libuv/build/gyp/pylib/gyp/__init__.py", line 519, in gyp_main
generator.PerformBuild(data, options.configs, params)
File "./lib/libuv/build/gyp/pylib/gyp/generator/make.py", line 1932, in PerformBuild
subprocess.check_call(arguments)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'BUILDTYPE=debug']' returned non-zero exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.