Hi Ralph,
With gcc 4.1.2 on linux, I get no error messages at all. This is for a
compile of the libevent trunk.
Perhaps the error message is useful after all - and may I suggest
looking at the ./configure detection output for since it tries to detect
sys/queue.h for that TAILQ stuff in there.
Best regards,
Wouter
Ralph Moritz wrote:
Hi,
when I try to compile libevent, gcc exits with an error. Sorry I don't
remember the exact error message, but it occurs in evhttp:109, which
is:
TAILQ_ENTRY(evhttp_request) next;
I have to replace this with:
struct {
struct evhttp_request *tqe_next; /* next element */
struct evhttp_request **tqe_prev; /* address of previous next
element */
} next;
to get it to compile. It's odd because that's what the macro should
expand to anyway. I'm using gcc 4.1 on Linux.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users