Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
beanstalkd 1.5 and centos 5.7 EPOLLRDHUP
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Parrott  
View profile  
 More options Jan 30, 4:17 am
From: Thomas Parrott <thomas.parrott%infinity-tracking....@gtempaccount.com>
Date: Mon, 30 Jan 2012 01:17:31 -0800 (PST)
Local: Mon, Jan 30 2012 4:17 am
Subject: beanstalkd 1.5 and centos 5.7 EPOLLRDHUP
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Rarick  
View profile  
 More options Jan 31, 3:33 am
From: Keith Rarick <k...@xph.us>
Date: Tue, 31 Jan 2012 00:33:41 -0800
Local: Tues, Jan 31 2012 3:33 am
Subject: Re: beanstalkd 1.5 and centos 5.7 EPOLLRDHUP
Thanks for reporting this!
https://github.com/kr/beanstalkd/issues/92

On Mon, Jan 30, 2012 at 1:17 AM, Thomas Parrott

<thomas.parrott%infinity-tracking....@gtempaccount.com> wrote:
> There is a problem compiling beanstalkd 1.5 on centos 5.7. CentOS
> seems to be missing EPOLLRDHUP feature.

Wow, what kernel does Centos 5.7 use? According to man epoll_ctl,
EPOLLRDHUP was introduced in kernel 2.6.17, which was released
over five years ago. I think that's old enough to be called "ancient".

Maybe I can find a workaround and avoid using that flag entirely.
Patches are welcome!

> Can we optionally use libevent, as that worked fine?

Sorry, libevent is not an option any more. Beanstalkd as a whole
is actually much simpler now without it. We got better portability
from libevent combined with autotools, but in the end that wasn't
worth the hassle.

kr


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »