Building from sources failed
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 ‘’; did you forget to ‘#include ’? 5 | #include "bipbuffer.h" +++ |+#include 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.
Re: Building from sources failed
Hey, Sometimes newer compilers are more strict. What version are you trying to build? Did any previous version work or does everything fail on Fedora 37? I don't know about that evutil_socket_t error though. On Tue, 14 Feb 2023, Slawomir Pryczek wrote: > 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 ‘’; did you > forget > > to ‘#include ’? > 5 | #include "bipbuffer.h" > +++ |+#include > 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. > > -- --- 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/a449c8d3-31d4-235f-710-881c21537871%40rydia.net.
Re: Building from sources failed
Hi Dormando, thanks for the message actually figured it out. It was some libevent incompatibilit ( probably wrong version). środa, 15 lutego 2023 o 23:53:34 UTC+1 dormando napisał(a): > Hey, > > Sometimes newer compilers are more strict. > > What version are you trying to build? Did any previous version work or > does everything fail on Fedora 37? > > I don't know about that evutil_socket_t error though. > > On Tue, 14 Feb 2023, Slawomir Pryczek wrote: > > > 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 ‘’; did you > forget > > >to ‘#include ’? > > 5 | #include "bipbuffer.h" > > +++ |+#include > > 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+...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/memcached/14f1652f-2ca8-4f6b-aaad-2bb2d924f94an%40googlegroups.com > . > > > > -- --- 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/c10d28c5-2d00-49f7-8cba-e0ad5ce9f279n%40googlegroups.com.