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
On Jan 9, 5:27 pm, Keith Rarick <k...@xph.us> wrote:
On Wed, Jan 25, 2012 at 4:06 PM, jalano <jalano...@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