[81] in im locker bugs

home help back first fref pref prev next nref lref last post

Re: Gaim Zephyr?

daemon@ATHENA.MIT.EDU (Arun A Tharuvai)
Wed Sep 17 09:50:38 2003

Date: Wed, 17 Sep 2003 09:50:34 -0400
From: Arun A Tharuvai <aatharuv@MIT.EDU>
To: Edward Faulkner <edward@MIT.EDU>
Cc: aatharuv@MIT.EDU, bug-im@MIT.EDU
Mail-Followup-To: Edward Faulkner <edward@MIT.EDU>, bug-im@mit.edu
In-Reply-To: <20030916055007.GC16347@multics.mit.edu>

It certainly is a bug, possibly caused by an upgrade of one of the
kerberos or commerr packages. I tried compiling 0.68 from source
today, and failed, and 0.66, which earlier compiled successfully, also
failed with the exact same error message.

Arun

On Tue, Sep 16, 2003 at 01:50:07AM -0400, Arun A Tharuvai wrote:
> 
> 
> On Sat, Sep 06, 2003 at 02:50:42PM -0400, Edward Faulkner wrote:
> > Thanks, changing my exposure fixed it.  Both the im locker and my
> > local build are working now.
> > 
> > However, the build problems persist, despite installing all the
> > packages you listed.  Let me know if this bug report should go to
> > someone other than yourself.
> 
> It probably should go somewhere else, but have you made any local
> edits?  Do you have source compilations or non debian installs of any
> of "Kerberos, heimdal, arla, AFS, or zephyr"? There are a couple of
> versions of the com_err package used by zephyr lying around, and a
> second installation could have caused __COM_ERR_H to be installed. 
> 
> /usr/include/et/com_err.h (provided by comerr-dev) provides a version
> of comerr.h that doesn't provide this constant. That com_err.h might
> be getting used instead of the com_err.h within gaim.
> 
> 
> Arun
> 
> > Gaim builds ok without kerberos.  Configuring --with-krb4=/usr
> > correctly finds the libraries, but I get compile errors:
> > 
> > In file included from error_message.c:13:
> > error_table.h:9: error: redefinition of `struct error_table'
> > error_message.c: In function `error_message':
> > error_message.c:29: error: `COM_ERR_BUF_LEN' undeclared (first use in this function)
> > error_message.c:29: error: (Each undeclared identifier is reported only once
> > error_message.c:29: error: for each function it appears in.)
> > error_message.c:31: warning: return makes pointer from integer without a cast
> > error_message.c:29: error: storage size of `buf' isn't known
> > error_message.c: At top level:
> > error_message.c:35: warning: type mismatch with previous implicit declaration
> > error_message.c:31: warning: previous implicit declaration of `error_message_r'
> > error_message.c:35: warning: `error_message_r' was previously implicitly declared to return `int'
> > make[4]: *** [error_message.lo] Error 1
> > make[4]: Leaving directory `/home/edward/gaim/gaim-0.67/src/protocols/zephyr'
> > 
> > 
> > I was able to make it build (with warnings) by doing the following
> > (ugly) things:
> > 
> > 1. Comment out the definition of struct error_table in error_table.h
> > (it is also defined in zephyr_err.c).
> > 2. Move the definition of COM_ERR_BUF_LEN outside the protection of
> > #ifndef __COM_ERR_H in com_err.h.
> > 3. On line 30 of init_et.c, change "int base" to "long base".
> > 
> > The resulting executable appears to work fine.  Here is version
> > information for the (hopefully) relevant libraries:
> > 
> > % dpkg -l | grep -i kerberos
> > ii  krb4-config    1.5            Configuration files for Kerberos Version 4
> > ii  krb5-config    1.5            Configuration files for Kerberos Version 5
> > ii  libkadm55      1.3-2          MIT Kerberos administration runtime librarie
> > ii  libkrb-1-kerbe 1.2.2-3        Kerberos Libraries for Kerberos4 From KTH
> > ii  libkrb53       1.3-2          MIT Kerberos runtime libraries
> > ii  libpam-krb5    1.0-8          PAM module for MIT Kerberos
> > ii  openafs-krb5   1.3-10         The AFS distributed filesystem- Kerberos 5 I
> > 
> > 
> > regards,
> > Ed
> 
> -- 
> Arun A Tharuvai
> aatharuv (at) mit (dot) edu
> aat (at) alum (dot) mit (dot) edu

-- 
Arun A Tharuvai
aatharuv (at) mit (dot) edu
aat (at) alum (dot) mit (dot) edu

home help back first fref pref prev next nref lref last post