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

Comments

Projects
None yet
3 participants
@jbergstroem
Contributor

jbergstroem commented Aug 17, 2010

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

This comment has been minimized.

Show comment
Hide comment
@blueness

blueness Jan 11, 2011

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.

Contributor

blueness commented Jan 11, 2011

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

This comment has been minimized.

Show comment
Hide comment
@kr

kr Jan 23, 2011

Member

Closed by 976ec8b.

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