[Home]

Summary:ASTERISK-12791: app_rpt does not compile against DAHDI in Asterisk 1.4
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2008-09-28 12:21:59Date Closed:2008-10-03 17:41:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_rpt
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Here is the error I'm getting when compiling app_rpt against DAHDI in Asterisk 1.4. I would have also assigned this to Jim Dixon, but I don't know if he has an account on the bug tracker.

****** STEPS TO REPRODUCE ******

  [CC] app_rpt.c -> app_rpt.o
app_rpt.c: In function â??rpt_tele_threadâ??:
app_rpt.c:2904: error: â??DAHDI_CONFINFOâ?? undeclared (first use in this function)
app_rpt.c:2904: error: (Each undeclared identifier is reported only once
app_rpt.c:2904: error: for each function it appears in.)
app_rpt.c:2904: error: expected â??;â?? before â??ciâ??
app_rpt.c:2951: error: â??ciâ?? undeclared (first use in this function)
app_rpt.c: In function â??rpt_callâ??:
app_rpt.c:4160: error: â??DAHDI_CONFINFOâ?? undeclared (first use in this function)
app_rpt.c:4160: error: expected â??;â?? before â??ciâ??
app_rpt.c:4178: error: â??ciâ?? undeclared (first use in this function)
app_rpt.c: In function â??connect_linkâ??:
app_rpt.c:4470: error: â??DAHDI_CONFINFOâ?? undeclared (first use in this function)
app_rpt.c:4470: error: expected â??;â?? before â??ciâ??
app_rpt.c:4607: error: â??ciâ?? undeclared (first use in this function)
app_rpt.c: In function â??rptâ??:
app_rpt.c:8762: error: â??DAHDI_CONFINFOâ?? undeclared (first use in this function)
app_rpt.c:8762: error: expected â??;â?? before â??ciâ??
app_rpt.c:8960: error: â??ciâ?? undeclared (first use in this function)
app_rpt.c: In function â??rpt_execâ??:
app_rpt.c:10567: error: â??DAHDI_CONFINFOâ?? undeclared (first use in this function)
app_rpt.c:10567: error: expected â??;â?? before â??ciâ??
app_rpt.c:10568: error: â??DAHDI_PARAMSâ?? undeclared (first use in this function)
app_rpt.c:10568: error: expected â??;â?? before â??parâ??
app_rpt.c:10945: error: â??ciâ?? undeclared (first use in this function)
app_rpt.c:11234: error: â??parâ?? undeclared (first use in this function)
make[1]: *** [app_rpt.o] Error 1
make[1]: Leaving directory `/usr/src/development/asterisk-1.4-vanilla/apps'
make: *** [apps] Error 2
Comments:By: Digium Subversion (svnbot) 2008-10-03 17:41:26

Repository: asterisk
Revision: 146244

U   branches/1.4/apps/app_rpt.c

------------------------------------------------------------------------
r146244 | seanbright | 2008-10-03 17:41:25 -0500 (Fri, 03 Oct 2008) | 6 lines

Change some preprocessor macros to struct definitions so that we get
app_rpt to build with DAHDI.

(closes issue ASTERISK-12791)
Reported by: blitzrage

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

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