Im following this script. For other OSes i was always able to build now it makes issues.
--------------------------------------------------------------
In file included from memcached.h:51,
from memcached.c:16:
logger.h:59:86: error: unknown type name ‘va_list’
59 | cb)(logentry *e, const entry_details *d, const void *entry, va_list ap);
| ^~~~~~~
logger.h:6:1: note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’?
5 | #include "bipbuffer.h"
+++ |+#include <stdarg.h>
6 |
logger.h:65:5: error: unknown type name ‘entry_log_cb’
65 | entry_log_cb log_cb;
| ^~~~~~~~~~~~
memcached.c:97:33: error: unknown type name ‘evutil_socket_t’
97 | static void event_handler(const evutil_socket_t fd, const short which, v oid *arg);
| ^~~~~~~~~~~~~~~
memcached.c:158:36: error: unknown type name ‘evutil_socket_t’
158 | static void maxconns_handler(const evutil_socket_t fd, const short which , void *arg) {
| ^~~~~~~~~~~~~~~
memcached.c:3392:26: error: unknown type name ‘evutil_socket_t’
3392 | void event_handler(const evutil_socket_t fd, const short which, void *ar g) {
| ^~~~~~~~~~~~~~~
memcached.c:3923:33: error: unknown type name ‘evutil_socket_t’
3923 | static void clock_handler(const evutil_socket_t fd, const short which, v oid *arg) {
| ^~~~~~~~~~~~~~~
----------------------------------------------------------
Thanks,
Slawomir.