Problem with compil app_meetme2.so
Hi all!!!
Есть кто-нибуть у кого работает meetme2.so?
У меня возникла проблема з компиляцией.
Вот лог:
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=\"1.0.3\" -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'
app_meetme2.c:1711:29: warning: no newline at end of file
app_meetme2.c: In function `unload_module':
app_meetme2.c:1711: error: parse error at end of input
app_meetme2.c:57: warning: `tdesc' defined but not used
app_meetme2.c:59: warning: `app' defined but not used
app_meetme2.c:60: warning: `app2' defined but not used
app_meetme2.c:62: warning: `synopsis' defined but not used
app_meetme2.c:63: warning: `synopsis2' defined but not used
app_meetme2.c:65: warning: `descrip' defined but not used
app_meetme2.c:83: warning: `descrip2' defined but not used
app_meetme2.c:807: warning: `cli_show_confs' defined but not used
app_meetme2.c:1332: warning: `get_db_params' defined but not used
app_meetme2.c:1517: warning: `count_exec' defined but not used
app_meetme2.c:1565: warning: `conf_exec' defined but not used
make[1]: *** [app_meetme2.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk_1.0.3n/apps'
make: *** [subdirs] Error 1
Зараз в тупике, провирял по пакетам - всё необходимое есть...
может кто поможет советом...
P.S. Trustix , kernel 2.4.28
|