[Asterisk-Users] Error compiling meetme2
Geoff Nordli
geoffn at gnaa.net
Sun Aug 22 18:12:11 MST 2004
asterisk-users-admin at lists.digium.com 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?
>
> gcc -pipe -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-08/22/04-10:34:20\"
> -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 -fPIC
> -c -o app_meetme2.o app_meetme2.c
>
> gcc -pipe -I/usr/include/postgresql -I/usr/include/mysql \
> -L/usr/lib/mysql -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-08/22/04-10:34:20\"
> -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 -fPIC
> -c -o app_meetme2.o app_meetme2.c
>
> app_meetme2.c:646: error:
> `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
> undeclared here (not in a function)
> app_meetme2.c: In function `count_exec':
> app_meetme2.c:1548: error: too few arguments to function
> `ast_say_number' make[1]: *** [app_meetme2.o] Error 1
> make[1]: Leaving directory `/usr/src/asterisk-cvs/asterisk/apps'
> make: *** [subdirs] Error 1
>
> Thanks,
>
> Geoff
>
>
For anyone not familiar with the application here is a reference to the
source code:
http://www.areski.net/asterisk-meetme/sources/app_meetme2.c
Geoff
More information about the asterisk-users
mailing list