On Wed, May 21, 2003 at 12:35:49PM +0300, Timo Sirainen wrote:
On Wed, 2003-05-21 at 12:26, Charlie Allom wrote:
Oh! I got it :) The linker optimizes that function away since it's not used elsewhere. Well, I'll include that function into the drac.c. Updated http://dovecot.procontrol.fi/patches/drac.c
dlopen(/usr/pkg/lib/dovecot/imap/drac.so) failed: /usr/pkg/lib/dovecot/imap/drac.so: Undefined PLT symbol "i_error" (symnum = 22)
Well, I think the module stuff is somehow broken with your system then. And I think I'll revert the net_addr2ip() change too since it's probably the same reason :)
When linking imap binary, does it include -Wl,--export-dynamic option somewhere in the gcc line?
no.
diff -u -r1.33 main.c --- main.c 14 May 2003 18:23:04 -0000 1.33 +++ main.c 21 May 2003 09:35:06 -0000 @@ -10,6 +10,7 @@ #include "module-dir.h" #include "mail-storage.h" #include "commands.h" +#include "drac.c"
Cheers. -- charlie@rubberduck.com - Melbourne, Australia http://rubberduck.com/~yeled/ PGP: 0x14AA7941 || finger yeled@lazy.spodder.com