You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: