[asterisk-bugs] [Asterisk 0012938]: [patch] Compile failure on tonezone_compat.h with zaptel 1.4 and asterisk 1.4

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jun 27 11:40:50 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12938 
====================================================================== 
Reported By:                opticron
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12938
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 125742 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-27-2008 09:28 CDT
Last Modified:              06-27-2008 11:40 CDT
====================================================================== 
Summary:                    [patch] Compile failure on tonezone_compat.h with
zaptel 1.4 and asterisk 1.4
Description: 
When installing zaptel 1.4 from SVN (r4365) and asterisk 1.4 from svn
(r125742), there is a compile error caused by a combination of the logic in
dahdi_compat.h and tonezone_compat.h.  dahdi_compat does "#define
HAVE_DAHDI HAVE_ZAPTEL" and tonezone_compat.h checks for HAVE_DAHDI first,
causing it to erroneously include "dahdi/tonezone.h".  Swapping the order
of the search fixes the issue.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-27-08 11:40  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 125894

_U  trunk/

------------------------------------------------------------------------
r125894 | tilghman | 2008-06-27 11:40:48 -0500 (Fri, 27 Jun 2008) | 14
lines

Blocked revisions 125893 via svnmerge

........
r125893 | tilghman | 2008-06-27 11:46:05 -0500 (Fri, 27 Jun 2008) | 7
lines

Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must
first
check for HAVE_ZAPTEL.
(closes issue http://bugs.digium.com/view.php?id=12938)
 Reported by: opticron
 Patches: 
       tonezone_compat.diff uploaded by opticron (license 267)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=125894 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-27-08 11:40  svnbot         Checkin                                      
06-27-08 11:40  svnbot         Note Added: 0089365                          
======================================================================




More information about the asterisk-bugs mailing list