[Dovecot] DRAC support?
Charlie Allom
charlie at rubberduck.com
Wed May 28 16:08:25 EEST 2003
On Wed, May 21, 2003 at 12:14:09PM +0300, Timo Sirainen wrote:
> On Wed, 2003-05-21 at 10:39, Charlie Allom wrote:
> > On Wed, May 21, 2003 at 10:30:16AM +0300, Timo Sirainen wrote:
> > > On Wed, 2003-05-21 at 10:20, Charlie Allom wrote:
> > > > /usr/pkg/lib/dovecot/imap/drac.so: Undefined PLT symbol "net_addr2ip"
> > > > (symnum = 21)
> > >
> > > Are you really running 0.99.10-test2 or newer? I changed that function's
> > > name recently.
> > >
> >
> > Yes I really am.
> >
> > Check your latest commits to network.h and network.c
>
> 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
>
Sorry Timo,
still going here .. I have test2 and last drac.c
it all compiled much more cleanly this time.
NB you have to hand edit and #define HAVE_MODULES in config.h
and I still get this error:
May 28 15:03:35 lazy imap-login: Login: jen [203.31.232.2]
May 28 15:03:35 lazy imap(jen):
dlopen(/usr/local/lib/dovecot/imap/drac.so) failed:
/usr/local/lib/dovecot/imap/drac.so: Undefined PLT symbol
"net_addr2ip" (symnum = 21)
even when there is this in drac.c:
ip_str = getenv("IP");
if (ip_str == NULL)
i_error("DRAC: IP environment not given");
else if (net_addr2ip(ip_str, &ip) < 0)
i_error("DRAC: net_ip2addr(%s) failed: %m", ip_str);
.. how did this happen .. shall I use a newer test?
C.
--
charlie at rubberduck.com - Melbourne, Australia
http://rubberduck.com/~yeled/
PGP: 0x14AA7941 || finger yeled at lazy.spodder.com
More information about the dovecot
mailing list