building lighttpd 1.4.12 from ports, on FreeBSD 4.10, results in this build error:
network_writev.c:59: #error "sysconf() doesnt return _SC_IOV_MAX ..., check the output of 'man writev' for the EINVAL error and send the output to jan@kneschke.de"
In file included from buffer.h:4,
from base.h:20,
from network_backends.h:46,
from network_writev.c:1:
/usr/include/stdlib.h:111: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support `long long'
network_writev.c: In function `network_write_chunkqueue_writev':
network_writev.c:69: `max_chunks' undeclared (first use in this function)
network_writev.c:69: (Each undeclared identifier is reported only once
network_writev.c:69: for each function it appears in.)
as requested, here is what is listed for [EINVAL] in man writev:
[EINVAL] The sum of the iov_len values in the iov array over-
flowed a 32-bit integer.
and this is the output of uname -a :
FreeBSD [xxxxxxx] 4.10-SECURITY FreeBSD 4.10-SECURITY #0: Tue Feb 28 14:55:57 GMT 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386