dovecot / imaptest

IMAP server tester
Other
51 stars 21 forks source link

Error compiling imaptest 20181206 #6

Closed moseleymark closed 10 months ago

moseleymark commented 5 years ago

Tried a few different versions of dovecot src. I'd do a MR but I don't know if this is the right solution for everyone. I was getting the following error trying to compile (trimmed down): imaptest-commands.o: In function command_send_binary': /build/dovecot/imaptest-20181206/src/commands.c:152: undefined reference tot_pop_check' collect2: error: ld returned 1 exit status Makefile:549: recipe for target 'imaptest' failed

I added to src/commands.c the following include:

include "data-stack.h"

and it compiled just fine.

cmouse commented 5 years ago

Which version of dovecot are you compiling imaptest against?

moseleymark commented 5 years ago

I tried against 2.2.36 and 2.2.32, as well as dovecot-20190405. I was going to do a git checkout but before doing that, I added that include and made the compile happy.

cmouse commented 5 years ago

Please use core-2.2 branch with 2.2.x

moseleymark commented 5 years ago

With core-2.2 checkout out, it compiles cleanly against dovecot-2.2.36 without any modificatons.