Summary:ASTERISK-10635: 'Fac_RESULT' and 'Fac_ERROR' undeclared
Reporter:Igor Goncharovsky (igorg)Labels:
Date Opened:2007-10-29 05:39:53Date Closed:2007-10-29 11:33:58
Versions:Frequency of
Description:In revision 86616 used two new variables, that not defined in mISDN. This cause that *-trunk do not compile with chan_misdn.

mISDN 1.1.6 and mISDN 1.1.6 installed


  [CC] chan_misdn.c -> chan_misdn.o
chan_misdn.c: In function 'print_facility':
chan_misdn.c:455: error: 'Fac_RESULT' undeclared (first use in this function)
chan_misdn.c:455: error: (Each undeclared identifier is reported only once
chan_misdn.c:455: error: for each function it appears in.)
chan_misdn.c:458: error: 'Fac_ERROR' undeclared (first use in this function)
chan_misdn.c:460: error: 'union <anonymous>' has no member named 'ERROR'
chan_misdn.c:460: error: 'union <anonymous>' has no member named 'ERROR'
chan_misdn.c: In function 'cb_events':
chan_misdn.c:4911: error: 'Fac_RESULT' undeclared (first use in this function)
chan_misdn.c:4949: error: 'Fac_ERROR' undeclared (first use in this function)
make[1]: *** [chan_misdn.o] Error 1
make: *** [channels] Error 2
Comments:By: Joshua C. Colp (jcolp) 2007-10-29 08:42:17

crich: Since these don't appear to be in a release yet we can add a configure check to only use them if available. They don't seem to be that critical.

By: Brandon Kruse (bkruse) 2007-10-29 09:30:53

What headers are you building against?


By: crich (crich) 2007-10-29 10:07:46

file: configure option sounds good
Bk: master branch from mISDNUser git.

Am in boston this week, will try to fix it later

By: Digium Subversion (svnbot) 2007-10-29 11:33:58

Repository: asterisk
Revision: 87325

U   trunk/channels/chan_misdn.c
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in

r87325 | file | 2007-10-29 11:33:55 -0500 (Mon, 29 Oct 2007) | 4 lines

Add autoconf checks for extra suppserv definitions that are not present in releases yet. chan_misdn should now build against the latest release.
(closes issue ASTERISK-10635)
Reported by: IgorG