[imapfilter-devel] Cygwin Compiling
Benjamin None
benjamin.none at gmail.com
Thu Jul 23 09:48:36 EEST 2009
Hello,
I'm trying to get imapfilters compiled on cygwin. I've gotten it mostly
working, but I'm running into this error:
cc -Wall -O -DMAKEFILE_SHAREDIR='"/usr/local/share/imapfilter"'
-I/usr/local/include -c -o socket.o socket.c
socket.c: In function `open_connection':
socket.c:29: error: storage size of 'hints' isn't known
socket.c:39: error: invalid application of `sizeof' to incomplete type
`addrinfo'
socket.c:44: warning: implicit declaration of function `getaddrinfo'
socket.c:47: warning: implicit declaration of function `gai_strerror'
socket.c:56: error: dereferencing pointer to incomplete type
socket.c:56: error: dereferencing pointer to incomplete type
socket.c:57: error: dereferencing pointer to incomplete type
socket.c:60: error: dereferencing pointer to incomplete type
socket.c:60: error: dereferencing pointer to incomplete type
socket.c:65: error: dereferencing pointer to incomplete type
socket.c:69: warning: implicit declaration of function `freeaddrinfo'
socket.c:29: warning: unused variable `hints'
make: *** [socket.o] Error 1
Has anyone tried with cygwin? I see there was a patch in 2004, but nothing
since. Any suggestions for this error?
thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20090722/9873493a/attachment.htm>
More information about the Imapfilter-devel
mailing list