Re: EPOLLRDHUP is exist (since Linux 2.6.17)

59 views
Skip to first unread message

Keith Rarick

unread,
Jan 9, 2012, 8:27:26 PM1/9/12
to beansta...@googlegroups.com
Thanks for the heads up. I fixed the readme.

jalano

unread,
Jan 25, 2012, 7:06:04 PM1/25/12
to beanstalk-talk
Hi - maybe I'm unclear on this, but I'm having trouble with this too I
think, and I'm running 2.6.18-194.32.1.el5xen (Centos 5.5)

cc -Wall -Werror -c -o conn.o conn.c
cc -Wall -Werror -c -o file.o file.c
cc -Wall -Werror -c -o heap.o heap.c
cc -Wall -Werror -c -o job.o job.c
cc -Wall -Werror -c -o ms.o ms.c
cc -Wall -Werror -c -o net.o net.c
cc -Wall -Werror -c -o port-linux.o port-linux.c
cc -Wall -Werror -c -o primes.o primes.c
cc -Wall -Werror -c -o prot.o prot.c
cc -Wall -Werror -c -o sd-daemon.o sd-daemon.c
cc -Wall -Werror -c -o sock-linux.o sock-linux.c
cc1: warnings being treated as errors
sock-linux.c: In function ‘sockinit’:
sock-linux.c:20: warning: implicit declaration of function
‘epoll_create1’
sock-linux.c: In function ‘sockwant’:
sock-linux.c:53: error: ‘EPOLLRDHUP’ undeclared (first use in this
function)
sock-linux.c:53: error: (Each undeclared identifier is reported only
once
sock-linux.c:53: error: for each function it appears in.)
sock-linux.c: In function ‘handle’:
sock-linux.c:94: error: ‘EPOLLRDHUP’ undeclared (first use in this
function)
make: *** [sock-linux.o] Error 1

Keith Rarick

unread,
Feb 5, 2012, 1:15:53 AM2/5/12
to beansta...@googlegroups.com
On Wed, Jan 25, 2012 at 4:06 PM, jalano <jala...@solfo.com> wrote:
> Hi - maybe I'm unclear on this, but I'm having trouble with this too I
> think, and I'm running 2.6.18-194.32.1.el5xen (Centos 5.5)

This is a separate problem. It's a bug in the version of glibc included
with older distos. We now have a workaround for it. See
https://github.com/kr/beanstalkd/issues/92

kr

Reply all
Reply to author
Forward
0 new messages