[asterisk-bugs] [Asterisk 0013740]: Compile fails at asterisk.c

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 19 14:09:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13740 
====================================================================== 
Reported By:                jmls
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13740
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 151018 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-19 11:48 CDT
Last Modified:              2008-10-19 14:09 CDT
====================================================================== 
Summary:                    Compile fails at asterisk.c
Description: 
When performing a "make" , the compile fails with the following message:

[CC] asterisk.c -> asterisk.o
asterisk.c: In function âmainâ:
asterisk.c:2994: warning: implicit declaration of function âioctlâ
asterisk.c:2994: error: âDAHDI_TIMERCONFIGâ undeclared (first use in
this function)
asterisk.c:2994: error: (Each undeclared identifier is reported only once
asterisk.c:2994: error: for each function it appears in.)
make[1]: *** [asterisk.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4/asterisk/main'
make: *** [main] Error 2


====================================================================== 

---------------------------------------------------------------------- 
 (0093947) Netview (reporter) - 2008-10-19 14:09
 http://bugs.digium.com/view.php?id=13740#c93947 
---------------------------------------------------------------------- 
I think line 77 of asterisk.c is wrong - change it to
#if defined(HAVE_ZAPTEL) || defined (HAVE_DAHDI). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-19 14:09 Netview        Note Added: 0093947                          
======================================================================




More information about the asterisk-bugs mailing list