[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
Thu Oct 9 19:31:58 CDT 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=13605
======================================================================
Reported By: tomo1657
Assigned To: seanbright
======================================================================
Project: Asterisk
Issue ID: 13605
Category: Applications/app_voicemail/IMAP
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
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:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-10-02 15:56 CDT
Last Modified: 2008-10-09 19:31 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-09 19:31 svnbot Status assigned => resolved
2008-10-09 19:31 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list