bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] build problem 1.2


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] build problem 1.2
Date: Tue, 03 Jul 2007 15:17:43 +0300

Thomas Seeling <address@hidden> ha escrit:

> when disabling some features like imap or nntp, make fails:
> 
> main.o(.text+0x152f): In function `main':
> main.c: undefined reference to `mu_pop_record'
> main.o(.text+0x153c):main.c: undefined reference to `mu_imap_record'
> main.o(.text+0x1549):main.c: undefined reference to `mu_mh_record'
> main.o(.text+0x1556):main.c: undefined reference to `mu_maildir_record'
> main.o(.text+0x157d):main.c: undefined reference to `mu_nntp_record'

I could not reproduce this. 
 
> The main problem is that the include file include/mailutils/registrar.h
> does not check for the #define ENABLE_<xxx> macros (xxx=IMAP NNTP POP
> SENDMAIL SMTP MH etc.).

They don't belong there. This is an installed header and it cannot
depend on the way the package was configured.

> #define mu_register_remote_mbox_formats() do {\
>   mu_registrar_record (mu_pop_record);\
> } while (0)

All '.*_record' variables are always defined (at least intended to be),
no matter what the `ENABLE_.*' settings are.
 
> The examples don't build either, because the files
> lsf.c msg-send.c sfrom.c miss these lines before #include registrar.h

Could you supply the exact diagnostics, please?

> I didn't bother to investigate why mail.local and mimeview don't compile.

See http://lists.gnu.org/archive/html/bug-mailutils/2007-07/msg00000.html

Regards,
Sergey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]