src/include/aerospike/as_poll.h:30:2: error: unknown type name 'fd_set'
fd_set* set;
^~~~~~
src/include/aerospike/as_poll.h: In function 'as_poll_socket':
src/include/aerospike/as_poll.h:67:2: warning: implicit declaration of function 'FD_SET' [-Wimplicit-function-declaration]
FD_SET(fd % FD_SETSIZE, &poll->set[fd / FD_SETSIZE]);
^~~~~~
src/include/aerospike/as_poll.h:67:14: error: 'FD_SETSIZE' undeclared (first use in this function)
FD_SET(fd % FD_SETSIZE, &poll->set[fd / FD_SETSIZE]);
^~~~~~~~~~
src/include/aerospike/as_poll.h:67:14: note: each undeclared identifier is reported only once for each function it appears in
src/include/aerospike/as_poll.h:69:17: error: storage size of 'tv' isn't known
struct timeval tv;
^~
src/include/aerospike/as_poll.h:83:8: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration]
rv = select(fd + 1, poll->set /*readfd*/, 0 /*writefd*/, 0/*oobfd*/, tvp);
^~~~~~
src/include/aerospike/as_poll.h:93:8: warning: implicit declaration of function 'FD_ISSET' [-Wimplicit-function-declaration]
if (! FD_ISSET(fd % FD_SETSIZE, &poll->set[fd / FD_SETSIZE])) {
^~~~~~~~
src/include/aerospike/as_poll.h:69:17: warning: unused variable 'tv' [-Wunused-variable]
struct timeval tv;
^~
make: *** [project/rules.mk:55: target/Linux-x86_64/obj/aerospike/as_socket.o] Error 1
When you compile on the Alpine, you get errors
To reproduce the error: