Actions
Bug #903
closed1.4.13 network_writev.c compile error on Mac OS X
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
./configure \ --prefix=/usr/local/lighttpd \ --with-mysql=/usr/local/mysql/bin/mysql_config \ --with-ldap \ --with-openssl=/opt/local/include/openssl \ --with-kerberos5 \ --with-pcre \ --with-bzip2 \ --disable-ipv6 \ --with-lua \ --with-memcache \ --with-webdav-props \ --with-webdav-locks
...
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/lighttpd/lib\" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -I/opt/local/include/openssl/include -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT liblightcomp_la-network_writev.lo -MD -MP -MF .deps/liblightcomp_la-network_writev.Tpo -c network_writev.c -fno-common -DPIC -o .libs/liblightcomp_la-network_writev.o network_writev.c:61:2: #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" network_writev.c: In function `network_write_chunkqueue_writev': network_writev.c:71: error: `max_chunks' undeclared (first use in this function) network_writev.c:71: error: (Each undeclared identifier is reported only once network_writev.c:71: error: for each function it appears in.) make[2]: *** [liblightcomp_la-network_writev.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
[EINVAL] Iovcnt was less than or equal to 0, or greater than UIO_MAXIOV. [EINVAL] One of the iov_len values in the iov array was negative. [EINVAL] The sum of the iov_len values in the iov array over-flowed a 32-bit integer.
Darwin xxx.xxxxxxx.xxx 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
-- Todd Woodward <toddw
Files
Updated by jan over 17 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in r1744
Actions
Also available in: Atom