[Dovecot] imaptest updates
Chris Wakelin
c.d.wakelin at reading.ac.uk
Sun Mar 11 15:10:27 EET 2007
Chris Wakelin wrote:
>
> Timo Sirainen wrote:
>> I spent the last 5 hours or so updating my imaptest tool. It's beginning
>> to become almost like a real IMAP client.
>> http://dovecot.org/tools/imaptest10.c contains a version that compiles
>> against Dovecot v1.0 (instead of against CVS HEAD).
>>
>
> Hmm, I didn't get it to compile:
>
> imaptest10.c: In function `client_new':
> imaptest10.c:1203: warning: dereferencing `void *' pointer
> imaptest10.c:1203: error: void value not ignored as it ought to be
>
> (Solaris Sparc 32-bit, gcc 3.3.2, using pre-rc27=dovecot-latest.tar.gz)
>
> Best Wishes,
> Chris
>
I commented out the assert in line 1203 and now I get
Undefined first referenced
symbol in file
inet_addr src/lib/liblib.a(compat.o)
getsockopt src/lib/liblib.a(network.o)
inet_pton src/lib/liblib.a(network.o)
...
so I'm guessing it's missing a #include. I'm not a great expert at this
so I don't know what's missing (seems to me that arpa/inet.h gets
included by network.h and should satisfy these ...)
Chris
--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin, c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
More information about the dovecot
mailing list