Re : Building cvs 2.1, some errors



Le 04.04.2004 12:53, Jean-Luc Coulon (f5ibh) a écrit :
> Hi,
>
[...]
> 
> Next one is :
> rfc3156.c: in fonction « request_passwd »:
> rfc3156.c:2183: error: too few arguments to function  
> `get_passphrase_real'
> make[3]: *** [rfc3156.o] Erreur 1
> 
> And I've not yet found the fix :-/
>

This allows me to continue ... near line 2180, I've added the block :
#ifdef ENABLE_PCACHE
#else
#endif

----
request_passwd (GMimeSession *session, const char *prompt, gboolean  
secret, cons
t char *item, GError **err)
{
    PassphraseCB *cb_data = ((LibBalsaGMimeSession *)session)->data;
    char *passwd;
    const char *desc = prompt;
#ifdef BALSA_USE_THREADS
    if (pthread_self() == libbalsa_get_main_thread())
#ifdef ENABLE_PCACHE
        passwd = get_passphrase_real(cb_data, desc, pcache);
#else
        passwd = get_passphrase_real(cb_data, desc);
#endif

    else {
---

I'm not sure it is the good fix and maybe it should be applied later in  
this file at the #else level for #ifdef BALSA_USE_THREADS ...

later : while building balsa-message.c
It complains about implicit declaration of g_list_free1 in the  If I  
replace g_list_free1(notify) with g_list_free_1(notify), it works.

For your information, glist.h is in /usr/include/glib-2.0/glib on my  
Debian sid.

Finaly, when I reach link time, I got:
/usr/local/src/balsa-2.1-20040404.cvs/libbalsa/rfc3156.c:1779:  
undefined reference to `ssl_init'

Does it *needs* libmutt?

--
Regards
			 -Jean-Luc

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]