-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Compiling svn trunk on Solaris 10, with gcc gives the following linking
errors compiling the samples:
Undefined                       first referenced
 symbol                             in file
MIN                                 ../.libs/libevent.so
inet_aton                           ../.libs/libevent.so
MIN is from http.c, inet_aton is from evdns.c

Also from the sample directory, I get many errors:
gcc -DHAVE_CONFIG_H -I. -I. -I..      -I../compat -c event-test.c
In file included from event-test.c:21:
../event.h:301: error: syntax error before "u_int8_t"
../event.h:304: error: syntax error before "u_int32_t"
../event.h:306: error: syntax error before "u_int8_t"
../event.h:309: error: syntax error before "u_int8_t"
../event.h:312: error: syntax error before "u_int8_t"
../event.h:317: error: syntax error before "u_int8_t"
../event.h:319: error: syntax error before "u_int8_t"
../event.h:320: error: syntax error before "u_int32_t"
../event.h:321: error: syntax error before "u_int32_t"
../event.h:324: error: syntax error before "u_int8_t"
../event.h:327: error: syntax error before "u_int8_t"
../event.h:330: error: syntax error before "u_int8_t"
../event.h:333: error: syntax error before "u_int8_t"
For many of the sample programs the above errors are printed.
checking for u_int64_t... no
checking for u_int32_t... no
checking for u_int16_t... no
checking for u_int8_t... no

u_int seems to be used by evtag, and that by evrpc. I could not find any
documentation on these exported functions. What do they do?

I would like to use libevent on Solaris, because of its devpoll support.
Solaris 9 compile results in the same errors.

Best regards,
   Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFw133kDLqNwOhpPgRAktnAKCUVpRv2PYiSHdecLMIGbKdtGM3wgCgpQ7z
q8hrv+7F6kgrtcB/XMsaWo8=
=n773
-----END PGP SIGNATURE-----
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to