I'm trying to build libevent 1.2a on Solaris 10 using Sun Studio 11 compilers and am running into a couple of issues :

1) Compiling files event_tagging.c and http.c, gives a syntax error for the functions declared as __inline (decode_int_internal in event_tagging.c and evhttp_send in http.c)

  I edited these files to change '__inline' to 'inline'

Is this the right fix or is there something in configure that must be fixed ?

2) I get the following error during linking :

cc -I../compat -o .libs/event-test event-test.o -L/usr/sfw/ lib ../.libs/libevent.so -lsocket -R/opt/coolstack/lib
Undefined                       first referenced
symbol                             in file
inet_aton                           ../.libs/libevent.so


A grep of 'inet_aton' indicates that this function is defined in evdns.c, so why is this symbol undefined ?

Thanks in advance for your help
Shanti
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to