[asterisk-bugs] [Asterisk 0013605]: [patch] Compile error with IMAP_STORAGE due to removed autoconfig.h in Makefile
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Oct 5 15:52:15 CDT 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=13605
======================================================================
Reported By: tomo1657
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 13605
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 146007
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-02 15:56 CDT
Last Modified: 2008-10-05 15:52 CDT
======================================================================
Summary: [patch] Compile error with IMAP_STORAGE due to
removed autoconfig.h in Makefile
Description:
The removal of autoconfig.h in the Makefile at revision 144993 prevents
app_voicemail.c from compiling with the IMAP_STORAGE flag.
Optimally we would want to #include "asterisk.h" before the IMAP includes,
but as the comments show, this creates other compile issues involving the
logger.
The quick solution seems to be to keep "asterisk.h" after the IMAP
includes, but additionally include "asterisk/autoconfig.h above the other
includes when IMAP_STORAGE flag is enabled.
#ifdef IMAP_STORAGE
#include "asterisk/autoconfig.h" // <-- include autoconfig.h line
http://bugs.digium.com/view.php?id=72
#include <ctype.h>
#include <signal.h>
...
I've attached a patch for this but there may be a more elegant solution.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0013604 error: ‘PTHREAD_MUTEX_RECURSIVE’ un...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-10-05 15:52 putnopvut Status confirmed => assigned
2008-10-05 15:52 putnopvut Assigned To => putnopvut
======================================================================
More information about the asterisk-bugs
mailing list