Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- batuhangoksu:luv batuhangoksu$ make
- cc -c src/luv.c -o temp/luv.o -Ilibuv/include -g -I/usr/local/include/luajit-2.0 -DLUV_STACK_CHECK -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -fPIC
- In file included from src/luv.c:4:
- src/luv_functions.c:8:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:8:20: error: implicit declaration of function 'uv_last_error' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- uv_err_t err = uv_last_error(uv_default_loop());
- ^
- src/luv_functions.c:8:20: note: did you mean 'uv_strerror'?
- libuv/include/uv.h:494:23: note: 'uv_strerror' declared here
- UV_EXTERN const char* uv_strerror(int err);
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:18:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:30:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:41:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:94:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:104:3: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_cwd(path, size);
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:104:31: error: incompatible integer to pointer conversion passing 'size_t'
- (aka 'unsigned long') to parameter of type 'size_t *' (aka 'unsigned long *'); take the
- address with & [-Werror,-Wint-conversion]
- uv_err_t err = uv_cwd(path, size);
- ^~~~
- &
- libuv/include/uv.h:2159:44: note: passing argument to parameter 'size' here
- UV_EXTERN int uv_cwd(char* buffer, size_t* size);
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:105:10: error: member reference base type 'uv_errno_t' is not a structure or
- union
- if (err.code) {
- ~~~^~~~~
- src/luv_functions.c:113:3: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_chdir(luaL_checkstring(L, 1));
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:114:10: error: member reference base type 'uv_errno_t' is not a structure or
- union
- if (err.code) {
- ~~~^~~~~
- src/luv_functions.c:122:3: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_get_process_title(title, MAX_TITLE_LENGTH);
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:123:10: error: member reference base type 'uv_errno_t' is not a structure or
- union
- if (err.code) {
- ~~~^~~~~
- src/luv_functions.c:132:3: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_set_process_title(title);
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:133:10: error: member reference base type 'uv_errno_t' is not a structure or
- union
- if (err.code) {
- ~~~^~~~~
- src/luv_functions.c:521:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:653:30: error: incompatible pointer types passing 'void (uv_timer_t *, int)' to
- parameter of type 'uv_timer_cb' (aka 'void (*)(uv_timer_t *)')
- [-Werror,-Wincompatible-pointer-types]
- if (uv_timer_start(handle, on_timeout, timeout, repeat)) {
- ^~~~~~~~~~
- libuv/include/uv.h:1441:42: note: passing argument to parameter 'cb' here
- uv_timer_cb cb,
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:654:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- In file included from src/luv.c:4:
- src/luv_functions.c:671:5: error: unknown type name 'uv_err_t'; did you mean 'uv_errno_t'?
- uv_err_t err = uv_last_error(uv_default_loop());
- ^~~~~~~~
- uv_errno_t
- libuv/include/uv.h:176:3: note: 'uv_errno_t' declared here
- } uv_errno_t;
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- make: *** [temp/luv.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement