[squid-users] epoll on slackware linux 10, 10.1, 10.2

From: Marco Berizzi <pupilla@dont-contact.us>
Date: Thu, 10 Aug 2006 11:40:39 +0200

Hi.
I'm having trouble enabling epoll on slackware 10.1 running
linux 2.6.17.8
What are the minimun system req (glibc version, gcc, kernel)?
I have successfully compiled squid 2.6s2-20060808 but when I
try to start it, I get:

comm_select_init: epoll_create(): (38) Function not implemented

This is my (slackware 10.1) relevant packaging list:

Linux Slackware 10.1 #1 Tue Aug 8 14:16:38 CEST 2006 i686 unknown unknown
GNU/Linux

Gnu C 3.3.5
Gnu make 3.80
binutils 2.15.92.0.2
util-linux 2.12p
mount 2.12p
module-init-tools 3.2.2
e2fsprogs 1.35
xfsprogs 2.6.13
Linux C Library 2.3.4
Dynamic linker (ldd) 2.3.4
Linux C++ Library 5.0.7
Procps 3.2.3
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1

However on Slackware 10.2 all is fine. Here is where squid is
happy with epoll:

Linux Slackware 10.2 2.6.17.8 #1 Tue Aug 8 17:56:29 CEST 2006 i686 unknown
unknown GNU/Linux

Gnu C 3.3.6
Gnu make 3.80
binutils 2.15.92.0.2
util-linux 2.12p
mount 2.12p
module-init-tools 3.2.2
e2fsprogs 1.38
xfsprogs 2.6.13
Linux C Library 2.3.5
Dynamic linker (ldd) 2.3.5
Linux C++ Library 5.0.7
Procps 3.2.5
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1

On Slackware 10.0 it doesn't even compile:

comm_epoll.o(.text+0x55d): In function `comm_select_init':
: undefined reference to `epoll_create'
comm_epoll.o(.text+0x6bd): In function `commSetEvents':
: undefined reference to `epoll_ctl'
comm_epoll.o(.text+0x7f8): In function `comm_select':
: undefined reference to `epoll_wait'
collect2: ld returned 1 exit status
make[3]: *** [squid] Error 1
make[3]: Leaving directory `/tmp/SQUID/squid-2.6.STABLE2-20060810/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SQUID/squid-2.6.STABLE2-20060810/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/SQUID/squid-2.6.STABLE2-20060810/src'
make: *** [all-recursive] Error 1

Linux Slackware 10 2.6.17.8 #1 Tue Aug 8 17:45:53 CEST 2006 i686 unknown
unknown GNU/Linux

Gnu C 3.3.4
Gnu make 3.80
binutils 2.15.90.0.3
util-linux 2.12a
mount 2.12a
module-init-tools 3.2.2
e2fsprogs 1.35
xfsprogs 2.6.13
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Linux C++ Library 5.0.6
Procps 2.0.18
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1
Received on Thu Aug 10 2006 - 03:40:50 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT