Hi, There is a problem compiling beanstalkd 1.5 on centos 5.7. CentOS seems to be missing EPOLLRDHUP feature.
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 error: Bad exit status from /home/rpm.shared/tmp/rpm-tmp.81935 (%build) Can we optionally use libevent, as that worked fine? -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
