[Asterisk-Dev] Compiling app_voicemail2.c

Mark Spencer markster at digium.com
Thu Aug 21 17:04:32 MST 2003


this should alread be fixed in CVS

On Fri, 22 Aug 2003, Adam Hart wrote:

> > On Thursday 21 August 2003 02:53, Adam Hart wrote:
> > >     I'm attempting to use voicemail via Mysql authenication aka
> > > voicemail2.c. It seems to error compiling syntax I don't see how
> > > could compile in gcc.
> > >
> > > example
> > > wait_file(chan,vms,DIGITS_DIR "yesterday");
> > >
> > > DIGITS_DIR is defined as follows
> > > #define DIGITS_DIR      AST_SOUNDS "/digits/"
> > >
> > > therefore it becomes wait_file(chan,vms, /var/lib/asterisk "/sounds"
> > > "/digits/" "yesterday");
> > >
> > > I don't see how gcc is meant to interpret that but I assume it has
> > > compiled before. Could you please help me getting this file compiled.
> >
> > I think you're probably looking at the wrong thing.  These are string
> > literals, which gcc chains together as one long string.
> >
> > What is the actual error that you're getting?
> >
> > -Tilghman
> >
> ASTVARLIBDIR is undeclared (which is defined in the base Makefile)
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list