Hi Guys, any idea why building is failing for me under Fedora 37?

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.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/14f1652f-2ca8-4f6b-aaad-2bb2d924f94an%40googlegroups.com.

Reply via email to