Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:29: error: unknown type name 'Kevent'
- int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
- ^~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:45: error: unknown type name 'Kevent'
- int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
- ^~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:14:61: error: unknown type name 'Timespec'
- int32 runtime_kevent(int32, Kevent*, int32, Kevent*, int32, Timespec*);
- ^~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpollopen':
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:33:2: error: unknown type name 'Kevent'
- Kevent ev[2];
- ^~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:39:7: error: request for member 'ident' in something not a structure or union
- ev[0].ident = (uint32)fd;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:7: error: request for member 'filter' in something not a structure or union
- ev[0].filter = EVFILT_READ;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:17: error: 'EVFILT_READ' undeclared (first use in this function)
- ev[0].filter = EVFILT_READ;
- ^~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:40:17: note: each undeclared identifier is reported only once for each function it appears in
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:7: error: request for member 'flags' in something not a structure or union
- ev[0].flags = EV_ADD|EV_CLEAR;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:16: error: 'EV_ADD' undeclared (first use in this function)
- ev[0].flags = EV_ADD|EV_CLEAR;
- ^~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:41:23: error: 'EV_CLEAR' undeclared (first use in this function)
- ev[0].flags = EV_ADD|EV_CLEAR;
- ^~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:42:7: error: request for member 'fflags' in something not a structure or union
- ev[0].fflags = 0;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:43:7: error: request for member 'data' in something not a structure or union
- ev[0].data = 0;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:7: error: request for member 'udata' in something not a structure or union
- ev[0].udata = (kevent_udata)pd;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:17: error: 'kevent_udata' undeclared (first use in this function)
- ev[0].udata = (kevent_udata)pd;
- ^~~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:44:30: error: expected ';' before 'pd'
- ev[0].udata = (kevent_udata)pd;
- ^~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:46:7: error: request for member 'filter' in something not a structure or union
- ev[1].filter = EVFILT_WRITE;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:46:17: error: 'EVFILT_WRITE' undeclared (first use in this function)
- ev[1].filter = EVFILT_WRITE;
- ^~~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:47:6: warning: implicit declaration of function 'runtime_kevent' [-Wimplicit-function-declaration]
- n = runtime_kevent(kq, ev, 2, nil, 0, nil);
- ^~~~~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:31:43: warning: unused parameter 'pd' [-Wunused-parameter]
- runtime_netpollopen(uintptr fd, PollDesc *pd)
- ^~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpollarm':
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:65:15: error: macro "USED" passed 2 arguments, but takes just 1
- USED(pd, mode);
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:65:2: error: 'USED' undeclared (first use in this function)
- USED(pd, mode);
- ^~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:63:30: warning: unused parameter 'pd' [-Wunused-parameter] runtime_netpollarm(PollDesc* pd, int32 mode)
- ^~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:63:40: warning: unused parameter 'mode' [-Wunused-parameter]
- runtime_netpollarm(PollDesc* pd, int32 mode)
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c: In function 'runtime_netpoll':
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:75:2: error: unknown type name 'Kevent'
- Kevent events[64], *ev;
- ^~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:76:2: error: unknown type name 'Timespec'
- Timespec ts, *tp;
- ^~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:84:5: error: request for member 'tv_sec' in something not a structure or union
- ts.tv_sec = 0;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:85:5: error: request for member 'tv_nsec' in something not a structure or union
- ts.tv_nsec = 0;
- ^
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:92:12: error: 'EINTR' undeclared (first use in this function)
- if(n != -EINTR && n != lasterr) {
- ^~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:101:8: error: request for member 'filter' in something not a structure or union
- if(ev->filter == EVFILT_READ)
- ^~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:101:20: error: 'EVFILT_READ' undeclared (first use in this function)
- if(ev->filter == EVFILT_READ)
- ^~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:103:8: error: request for member 'filter' in something not a structure or union
- if(ev->filter == EVFILT_WRITE)
- ^~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:103:20: error: 'EVFILT_WRITE' undeclared (first use in this function)
- if(ev->filter == EVFILT_WRITE)
- ^~~~~~~~~~~~
- ../../../gcc-6.5.0-irix/libgo/runtime/netpoll_kqueue.c:106:43: error: request for member 'udata' in something not a structure or union
- runtime_netpollready(&gp, (PollDesc*)ev->udata, mode);
- ^~
- gmake[4]: *** [netpoll_kqueue.lo] Error 1
- gmake[4]: *** Waiting for unfinished jobs....
- ../../../gcc-6.5.0-irix/libgo/runtime/proc.c:155:4: error: #error unknown case for SETCONTEXT_CLOBBERS_TLS
- # error unknown case for SETCONTEXT_CLOBBERS_TLS
- ^~~~~
Advertisement
Add Comment
Please, Sign In to add comment