Project

General

Profile

Actions

Bug #686

closed

Does not compile with epoll support.

Added by Anonymous almost 19 years ago. Updated over 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

Actions #1

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

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom