[imapfilter-devel] Cygwin Compiling
Lefteris Chatzimparmpas
lefcha at hellug.gr
Tue Aug 11 22:38:36 EEST 2009
Hello,
Since it seems nobody has done that, I just want to note that I haven't tried it myself or checked if this is possible with small or bigger changes, but it's something I wanted to have a look in the past, but haven't had the time as of yet...
L.
Benjamin None wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Imapfilter-devel mailing list
> Imapfilter-devel at lists.hellug.gr
> http://lists.hellug.gr/mailman/listinfo/imapfilter-devel
More information about the Imapfilter-devel
mailing list