Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

when installing module gcc complains 'undefined reference to current_base' in simplehttp.c #14

Closed
lamusicoscos opened this issue Aug 29, 2011 · 2 comments

Comments

@lamusicoscos
Copy link

I'm using libevent 2.0.12.
After "cd simplehttp ; make && make install", I switched to simplequeue to make install, but gcc began to complain, saying "../simplehttp/libsimplehttp.a(simplehttp.o): In function simplehttp_init': /home/lamusicoscos/Base/bitly-simplehttp-10406dc/simplehttp/simplehttp.c:152: undefined reference tocurrent_base'
collect2: ld returned 1 exit status make: *** [simplequeue] Error 1".
But being with libevent 1.4, everything's OK. I'm just wondering why it happened and how can I make it work with libevent 2.0.12+.

@jehiah
Copy link
Member

jehiah commented Aug 30, 2011

Hi. As you discovered, simplehttp is only compatible with libevent 1.4 at the moment. I haven't investigated what it would take to switch to libevent 2.0, but if you would like to start work on the changes necessary, that would be awesome.

@mreiferson
Copy link
Contributor

closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants