Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created November 9, 2013 01:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save isaacs/7380526 to your computer and use it in GitHub Desktop.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C out BUILDTYPE=Release V=
CXX(target) /Users/isaacs/dev/js/node-master/out/Release/obj.target/node/src/spawn_sync.o
../src/spawn_sync.cc:359:13: error: no matching function for call to
'uv_read_start'
int r = uv_read_start(uv_stream(), AllocCallback, ReadCallback);
^~~~~~~~~~~~~
../deps/uv/include/uv.h:634:15: note: candidate function not viable: no known
conversion from 'uv_buf_t (uv_handle_t *, size_t)' to 'uv_alloc_cb' (aka
'void (*)(uv_handle_t *, size_t, uv_buf_t *)') for 2nd argument
UV_EXTERN int uv_read_start(uv_stream_t*, uv_alloc_cb alloc_cb,
^
../src/spawn_sync.cc:661:7: error: no matching function for call to 'uv_spawn'
r = uv_spawn(uv_loop_, &uv_process_, uv_process_options_);
^~~~~~~~
../deps/uv/include/uv.h:1508:15: note: candidate function not viable: no known
conversion from 'uv_process_options_t' (aka 'uv_process_options_s') to
'const uv_process_options_t *' (aka 'const uv_process_options_s *') for
3rd argument; take the address of the argument with &
UV_EXTERN int uv_spawn(uv_loop_t* loop,
^
../src/spawn_sync.cc:916:30: error: non-const lvalue reference to type
'char *' cannot bind to a value of unrelated type 'const char *'
r = CopyJsString(js_cwd, uv_process_options_.cwd);
^~~~~~~~~~~~~~~~~~~~~~~
../src/spawn_sync.cc:191:57: note: passing argument to parameter 'target' here
static int CopyJsString(Local<Value> js_value, char*& target);
^
3 errors generated.
make[1]: *** [/Users/isaacs/dev/js/node-master/out/Release/obj.target/node/src/spawn_sync.o] Error 1
make: *** [node] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment