bug-mailutils
[Top][All Lists]
Advanced

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

[bug-mailutils] build problem 1.2


From: Thomas Seeling
Subject: [bug-mailutils] build problem 1.2
Date: Mon, 02 Jul 2007 18:55:24 +0200
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,


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'

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.). What makes it difficult to simply throw some
"#ifdef" inbetween is the format of macro definitions of some calls like this:

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

where due to \ line continuation an #ifdef is not allowed.

I think I reported some of this for 1.0 some time ago.

The examples don't build either, because the files
lsf.c msg-send.c sfrom.c miss these lines before #include registrar.h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

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

Tschau...Thomas
- --
"Do you wanna be a legend or a passing footprint on the sands of time?"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiS386tRbEjWup3IRAuqTAKCa+j7wf5CJnEqSh63psRzOy1yRDgCfccVH
lMH7RQwxaumvZg+8dDBglNM=
=D5ui
-----END PGP SIGNATURE-----




reply via email to

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