Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

possible to make a mac friendly spew? #2

Open
yveshwang opened this issue Jan 21, 2013 · 0 comments
Open

possible to make a mac friendly spew? #2

yveshwang opened this issue Jan 21, 2013 · 0 comments

Comments

@yveshwang
Copy link

epoll

ttp.c:23:27: error: linux/sockios.h: No such file or directory
http.c:34:23: error: sys/epoll.h: No such file or directory
http.c: In function ‘open_conn’:
http.c:98: error: ‘SOL_TCP’ undeclared (first use in this function)
http.c:98: error: (Each undeclared identifier is reported only once
http.c:98: error: for each function it appears in.)
cc1: warnings being treated as errors
http.c: In function ‘del_one’:
http.c:126: warning: implicit declaration of function ‘epoll_ctl’
http.c:126: error: ‘EPOLL_CTL_DEL’ undeclared (first use in this function)
http.c: In function ‘add_one’:
http.c:141: error: storage size of ‘ev’ isn’t known
http.c:152: error: ‘EPOLL_CTL_ADD’ undeclared (first use in this function)
http.c:141: warning: unused variable ‘ev’
http.c: In function ‘epoll_loop’:
http.c:175: error: array type has incomplete element type
http.c:178: warning: implicit declaration of function ‘epoll_wait’
http.c:188: error: ‘EPOLLPRI’ undeclared (first use in this function)
http.c:188: error: ‘EPOLLIN’ undeclared (first use in this function)
http.c:192: error: ‘EPOLLRDHUP’ undeclared (first use in this function)
http.c:192: error: ‘EPOLLERR’ undeclared (first use in this function)
http.c:192: error: ‘EPOLLHUP’ undeclared (first use in this function)
http.c:194: error: ‘EPOLLOUT’ undeclared (first use in this function)
http.c:175: warning: unused variable ‘events’
http.c: In function ‘init_epoll’:
http.c:228: warning: implicit declaration of function ‘epoll_create’
http.c:233: error: ‘EPOLLIN’ undeclared (first use in this function)
http.c:233: error: ‘EPOLLPRI’ undeclared (first use in this function)
http.c:233: error: ‘EPOLLOUT’ undeclared (first use in this function)
http.c:233: error: ‘EPOLLHUP’ undeclared (first use in this function)
http.c:233: error: ‘EPOLLERR’ undeclared (first use in this function)
http.c:234: error: ‘EPOLLRDHUP’ undeclared (first use in this function)
make[2]: *** [http.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant