Bug #686
closedDoes not compile with epoll support.
Description
I'm building lighttpd 1.4.11 & 1.4.x-svn on Slackware Linux 10.2 with a custom 2.6.16 kernel which has CONFIG_EPOLL enabled. This distrbution also comes with glibc 2.3.5 which includes the sys/epoll.h header. The distribution also includes autoconf 2.59.
After compiling I checked if epoll support was included using lighttpd -V and sure enough, it wasn't.
Checking my config.log it appears that autoconf may have produced a malformed test to see if epoll_ctl exists, and it wouldn't compile.
To circumvent the issue I edited config.h by hand to include epoll support, and lighttpd runs fine with linux-sysepoll.
Since I didn't want to spend hours figuring out how to copy & paste neatly, I have included a link to my config.log file. The lines of interest are 3435-3596. This is the test for epoll_ctl which results in failure due to compile errors.
http://cninja.net/crap/lighttpd-1.4.11-config.log
-- naveen
Updated by moo almost 19 years ago
- Status changed from New to Fixed
- Resolution set to invalid
from your log, i can tell that it's either your linux sn't enabled with epoll, or the glibc did not found epoll syscall, both result into a dummy function in glibc.
the checking method is implemented by autoconf, not maintained by lighttpd
Also available in: Atom