[Asterisk-Dev] Compiling app_voicemail2.c

Adam Hart adam at teragen.com.au
Thu Aug 21 16:45:40 MST 2003


nevermind, it's fixed in the new CVS.

thanks, never knew about combination of strings

----- Original Message ----- 
From: "Adam Hart" <work at adamhart.net>
To: <asterisk-dev at lists.digium.com>
Sent: Friday, August 22, 2003 9:25 AM
Subject: Re: [Asterisk-Dev] Compiling app_voicemail2.c


> > 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