Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beanstalkd fails to build against libevent2 #49

Closed
jbergstroem opened this issue Aug 17, 2010 · 2 comments
Closed

beanstalkd fails to build against libevent2 #49

jbergstroem opened this issue Aug 17, 2010 · 2 comments

Comments

@jbergstroem
Copy link
Contributor

Beanstalkd (at least 1.4.6) fails to build against libevent 2 series. Build log and more info here: https://bugs.gentoo.org/show_bug.cgi?id=333091

@blueness
Copy link
Contributor

The problem comes from the fact that beanstalkd defines dprintf in util.h. This collides with glibc's dprintf defined in stdio.h (roughly line 397).

The solution is to rename dprintf to something line dbgprintf in util.h and prot.c. I've provided a patch in the gentoo bug above.

@kr
Copy link
Member

kr commented Jan 23, 2011

Closed by 976ec8b.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants