bnoordhuis/lua-uv — Issue #2: compilation failure against latest libuv
Author: richardhundt
Created: 2012-02-26 13:32:30+00:00
State: open

$ make
cc -I../libuv/include -g -c -o uv_wrap.o uv_wrap.c
cc -I../libuv/include -g -c -o uv_wrap_gen.o uv_wrap_gen.c
uv_wrap_gen.c: In function ‘wrap_uv_fs_event_init’:
uv_wrap_gen.c:348: error: too few arguments to function ‘uv_fs_event_init’
uv_wrap_gen.c: In function ‘wrap_uv_pipe_connect’:
uv_wrap_gen.c:1334: error: void value not ignored as it ought to be
uv_wrap_gen.c: In function ‘wrap_uv_pipe_init’:
uv_wrap_gen.c:1352: error: too few arguments to function ‘uv_pipe_init’
uv_wrap_gen.c: In function ‘wrap_uv_std_handle’:
uv_wrap_gen.c:1520: error: ‘uv_std_type’ undeclared (first use in this function)
uv_wrap_gen.c:1520: error: (Each undeclared identifier is reported only once
uv_wrap_gen.c:1520: error: for each function it appears in.)
uv_wrap_gen.c:1520: error: expected ‘;’ before ‘type’
uv_wrap_gen.c:1521: error: ‘type’ undeclared (first use in this function)
uv_wrap_gen.c:1524: warning: cast to pointer from integer of different size
uv_wrap_gen.c: In function ‘wrap_uv_tty_init’:
uv_wrap_gen.c:1837: error: too few arguments to function ‘uv_tty_init’
uv_wrap_gen.c: In function ‘luaopen_uv_wrap’:
uv_wrap_gen.c:2434: error: ‘UV_EACCESS’ undeclared (first use in this function)
uv_wrap_gen.c:2509: error: ‘UV_ENOPROTOOPT’ undeclared (first use in this function)
uv_wrap_gen.c:2545: error: ‘UV_EAINONAME’ undeclared (first use in this function)
uv_wrap_gen.c:2728: error: ‘UV_STDIN’ undeclared (first use in this function)
uv_wrap_gen.c:2731: error: ‘UV_STDOUT’ undeclared (first use in this function)
uv_wrap_gen.c:2734: error: ‘UV_STDERR’ undeclared (first use in this function)
make: *** [uv_wrap_gen.o] Error 1