Timo Sirainen wrote:
I get the following compile error:
ioloop-notify-kqueue.c: In function event_callback': ioloop-notify-kqueue.c:45: error:
ret' undeclared (first use in this
function)
ioloop-notify-kqueue.c:45: error: (Each undeclared identifier is
reported only once
ioloop-notify-kqueue.c:45: error: for each function it appears in.)
ioloop-notify-kqueue.c: In function io_loop_notify_add': ioloop-notify-kqueue.c:113: error: incompatible types in initialization ioloop-notify-kqueue.c: In function
io_loop_notify_remove':
ioloop-notify-kqueue.c:138: error: incompatible types in initialization
declaring an int ret fixed the first error. I'm not sure about the latter two.
my configure command: ./configure --without-shadow --localstatedir=/var --with-ioloop=kqueue --with-cyrus-sasl2 --without-gssapi --without-vpopmail --prefix=/usr/local --build=i386-portbld-freebsd5.3
I'm on FreeBSD 5.3.
Thanks, Todd