[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/channels chan_modem.c,1.22,1.23 chan_modem_i4l.c,1.15,1.16
Trevor Peirce
tpeirce at digitalcon.ca
Tue Jun 22 11:16:52 MST 2004
markster at lists.digium.com wrote:
>Update of /usr/cvsroot/asterisk/channels
>In directory mongoose.digium.com:/tmp/cvs-serv19959/channels
>
>Modified Files:
> chan_modem.c chan_modem_i4l.c
>Log Message:
>Make DTMF mode configurable on ISDN
>
>
On Fedora Core 1 I'm unable to compile... looks to be a result of this
patch?
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-05/12/04-02:33:30\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN
-Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI
-DIAX_TRUNKING -DCRYPTO -fPIC -c -o chan_modem.o chan_modem.c
chan_modem.c:67: error: `MODEM_DTMF_AST' undeclared here (not in a function)
chan_modem.c:69: error: `MODEM_DTMF_AST' undeclared here (not in a function)
chan_modem.c: In function `mkif':
chan_modem.c:721: error: structure has no member named `dtmfmode'
chan_modem.c:722: error: structure has no member named `dtmfmodegen'
chan_modem.c: In function `load_module':
chan_modem.c:990: error: `MODEM_DTMF_NONE' undeclared (first use in this
function)
chan_modem.c:990: error: (Each undeclared identifier is reported only once
chan_modem.c:990: error: for each function it appears in.)
chan_modem.c:992: error: `MODEM_DTMF_AST' undeclared (first use in this
function)
chan_modem.c:994: error: `MODEM_DTMF_I4L' undeclared (first use in this
function)
make[1]: *** [chan_modem.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1
More information about the asterisk-dev
mailing list