[Asterisk-Users] Error compiling meetme2

Steve Luzynski steve.luzynski at aquila.com
Mon Aug 23 10:11:13 MST 2004


Geoff Nordli wrote:
> I am trying to compile the meetme2 application with the latest CVS head and
> it fails.  Here is the error message that I get.  Can someone point me in
> the right direction?
[snipped lengthy error message]

Here's a patch. You can apply it by hand, or save it to a text file and 
use the 'patch' command to apply it.

It's two simple changes.

-Steve

--- app_meetme2.c       2004-04-07 06:37:18.000000000 -0500
+++ /usr/src/asterisk/apps/app_meetme2.c        2004-08-20 
07:05:41.000000000 -0500
@@ -643,7 +643,7 @@
  } *confs;


-static ast_mutex_t conflock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(conflock);

  #include "enter.h"
  #include "leave.h"
@@ -1545,7 +1545,7 @@
         }else{
                 if (chan->_state != AST_STATE_UP)
                         ast_answer(chan);
-               res = ast_say_number(chan, cnt, "", chan->language);
+               res = ast_say_number(chan, cnt, "", chan->language, 
(char *)NULL);
         }
         LOCAL_USER_REMOVE(u);
         return res;





More information about the asterisk-users mailing list