[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Building Tor with libevent 1.2 (or higher) on Windows fails



On Wed, Feb 21, 2007 at 05:05:28PM +0100, Karsten Loesing wrote:
> $ make
> make  all-recursive
> make[1]: Entering directory `/t/tor-mingw/libevent-1.3a'
> Making all in .
> make[2]: Entering directory `/t/tor-mingw/libevent-1.3a'
> make[2]: Leaving directory `/t/tor-mingw/libevent-1.3a'
> Making all in sample
> make[2]: Entering directory `/t/tor-mingw/libevent-1.3a/sample'
> gcc -DHAVE_CONFIG_H -I. -I. -I..     -I../compat -c `test -f
> 'event-test.c' || echo './'`event-test.c
> In file included from event-test.c:21:
> ../event.h:302: error: syntax error before "u_int8_t"
> ../event.h:305: error: syntax error before "u_int32_t"
> ../event.h:307: error: syntax error before "u_int8_t"
> ../event.h:310: error: syntax error before "u_int8_t"
> ../event.h:313: error: syntax error before "u_int8_t"
> ../event.h:318: error: syntax error before "u_int8_t"
> ../event.h:320: error: syntax error before "u_int8_t"
> ../event.h:321: error: syntax error before "u_int32_t"
> ../event.h:322: error: syntax error before "u_int32_t"
> ../event.h:325: error: syntax error before "u_int8_t"
> ../event.h:328: error: syntax error before "u_int8_t"
> ../event.h:331: error: syntax error before "u_int8_t"
> ../event.h:334: error: syntax error before "u_int8_t"

libevent should probably be using uint8_t, etc. here. These
are all BSD typesdefs.

-cl