This indicates flaws in the included files, or possibly in the inclusion path or environment.
It is not clear how this should have been determined:
memcached.c line 33 should specify __need_IOV_MAX
memcached.c line 42 includes stdio.h
stdio.h (on my system anyway) line 161 includes bits/stdio_lim.h
The last lines of stdio_lim.h (lines 42-43) should define it:
#if defined __need_IOV_MAX && !defined IOV_MAX # define IOV_MAX 1024 #endif
I tried to create memcached, but there is something messed up as it depends on libevent. These are the last few lines from configure in Fedora 15:
... checking for a BSD-compatible install... /usr/bin/install -c checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/ If it already installed, specify its path using
But in /usr/... there is no event.h .
source share