[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/channels chan_modem.c,1.22,1.23 chan_modem_i4l.c,1.15,1.16

Niklas Ögren list_ast at nod.se
Tue Jun 22 12:00:01 MST 2004


They are defined in include/asterisk/vmodem.h, maybe you forgot to cvs
update there, or maybe Mark didn't get all the patch into the cvs?!

/Niklas - author of the patch

> >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
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>


 --------------------------------------------------------------------
  Email:  no at nod.se                Homepage:  http://nod.se
          Solna, Sweden            ICQ:       939710
  GSM:    +46-70-523 18 40         Home:      +46-8-655 01 64
 --------------------------------------------------------------------




More information about the asterisk-dev mailing list