On Thu, 2009-07-09 at 07:55 +0200, Luk Claes wrote:
> Adam D. Barratt wrote:
> > /bin/sh ../libtool --tag=CC   --mode=link cc  -g -O2 -g -Wall -O2   -o 
> > muauth muauth.o ../libargp/libmuargp.a ../libcfg/libmucfg.la 
> > ../lib/libmuaux.la ../auth/libmuauth.la -lgsasl -lgnutls -lgcrypt -lldap 
> > -lpam -ldl ../mailbox/libmailutils.la -lcrypt -lresolv  -lpthread -lgdbm
> > libtool: link: cc -g -O2 -g -Wall -O2 -o .libs/muauth muauth.o  
> > ../libargp/libmuargp.a ../libcfg/.libs/libmucfg.so ../lib/.libs/libmuaux.a 
> > ../auth/.libs/libmuauth.so -L/usr/lib -L/usr/local/lib/mysql 
> > /build/buildd/mailutils-2.0+dfsg1/mailbox/.libs/libmailutils.so 
> > /usr/lib/libmysqlclient.so -lnsl -lm /usr/lib/libgsasl.so 
> > /usr/lib/libidn.so /usr/lib/libntlm.so -lgssapi_krb5 -lkrb5 -lk5crypto 
> > -lcom_err /usr/lib/libgnutls.so /usr/lib/libtasn1.so -lz 
> > /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lldap -lpam -ldl 
> > ../mailbox/.libs/libmailutils.so -lcrypt -lresolv -lpthread 
> > /usr/lib/libgdbm.so
> > /usr/bin/ld: non-dynamic relocations refer to dynamic symbol 
> > mu_gsasl_module_data
> > /usr/bin/ld: failed to set dynamic section sizes: Bad value
> > collect2: ld returned 1 exit status
> 
> so this probably means there are 2 different mu_gsasl_module_data
> symbols in the code...

Ah, hmmm; thanks for the pointer.  Looking through the code,
include/mailutils/gsasl.h does:

        struct mu_gsasl_module_data
        {
                ...
        };
        
        int mu_gsasl_module_init (enum mu_gocs_op, void *);
        
        struct mu_gsasl_module_data mu_gsasl_module_data;
        
and auth/gsasl.c:

        #include <mailutils/gsasl.h>
        
        #include <gsasl.h>
        #include <lbuf.h>
        
        struct mu_gsasl_module_data mu_gsasl_module_data = {
            SITE_CRAM_MD5_PWD
        };
        
The only other use of the symbol in that module is as the target of a
memcpy() in mu_gsasl_module_init() and the only other code using
mu_gsasl_module_data at all is imap4d/auth_gsasl.c which assumes the
contents have already been populated.

Thanks,

Adam


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to