Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / проблема установки SFA

проблема установки SFA

не собирается
Откуда: Сам. область
Сообщений: 5

проблема установки SFA


trixbox System Status Version: 2.6.2.3
trixbox*CLI> core show version
Asterisk 1.6.0.10-FONCORE-r40 built by root @ revisor.trixbox.com on a i686 running Linux on 2009-09-08 18:57:52 UTC

скачал
делаю по мануалу make


[trixbox.tlt.sformat.ru skypeforasterisk-1.6.0_1.0.6-x86_32]# make

gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
In file included from chan_skype.c:25:
/usr/include/asterisk.h:21:33: error: asterisk/autoconfig.h: No such file or directory
In file included from /usr/include/asterisk.h:27,
from chan_skype.c:25:
/usr/include/asterisk/compat.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strtoq’
In file included from chan_skype.c:25:
/usr/include/asterisk.h:158: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
/usr/include/asterisk.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_profile’
/usr/include/asterisk.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_mark’
In file included from chan_skype.c:30:
/usr/include/string.h:292:13: error: invalid suffix "x__dont_use_bcopy__use_memmove_instead" on integer constant
In file included from chan_skype.c:30:
/usr/include/string.h:292: error: expected identifier or ‘(’ before numeric constant
/usr/include/string.h:296:13: error: invalid suffix "x__dont_use_bzero__use_memset_instead" on integer constant
/usr/include/string.h:296: error: expected identifier or ‘(’ before numeric constant
In file included from chan_skype.c:44:
/usr/include/asterisk/lock.h: In function ‘ast_mutex_init’:
/usr/include/asterisk/lock.h:749: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared (first use in this function)
/usr/include/asterisk/lock.h:749: error: (Each undeclared identifier is reported only once
/usr/include/asterisk/lock.h:749: error: for each function it appears in.)
In file included from /usr/include/asterisk/utils.h:26,
from chan_skype.c:45:
/usr/include/asterisk/network.h:55:2: error: #error "don't know how to handle network functions here."
In file included from /usr/include/asterisk/utils.h:26,
from chan_skype.c:45:
/usr/include/asterisk/network.h: In function ‘inaddrcmp’:
/usr/include/asterisk/network.h:90: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:90: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:91: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:91: error: dereferencing pointer to incomplete type
In file included from chan_skype.c:45:
/usr/include/asterisk/utils.h: At top level:
/usr/include/asterisk/utils.h:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__unsigned_int_flags_dummy64’
/usr/include/asterisk/utils.h:205: error: expected specifier-qualifier-list before ‘uint64_t’
/usr/include/asterisk/utils.h:209: error: field ‘hp’ has incomplete type
In file included from /usr/include/asterisk/channel.h:140,
from chan_skype.c:46:
/usr/include/asterisk/frame.h:390: error: expected specifier-qualifier-list before ‘uint16_t’
In file included from chan_skype.c:46:
/usr/include/asterisk/channel.h:1619: error: expected identifier or ‘(’ before ‘do’
/usr/include/asterisk/channel.h:1619: error: expected identifier or ‘(’ before ‘while’
In file included from chan_skype.c:50:
/usr/include/asterisk/pbx.h:268: error: expected specifier-qualifier-list before ‘uint64_t’
In file included from chan_skype.c:59:
/usr/include/asterisk/manager.h:160: error: expected ‘)’ before ‘ident’
/usr/include/asterisk/manager.h:169: error: expected ‘)’ before ‘ident’
/usr/include/asterisk/manager.h:207: error: expected ‘)’ before ‘ident’
In file included from chan_skype.c:61:
/usr/include/asterisk/app.h:372: error: expected specifier-qualifier-list before ‘uint64_t’
chan_skype.c: In function ‘new_client_call’:
chan_skype.c:701: error: type of formal parameter 5 is incomplete
chan_skype.c: In function ‘acf_skype_accountprop_read’:
chan_skype.c:2286: error: expected expression before ‘typeof’
chan_skype.c: In function ‘acf_skype_accountprop_write’:
chan_skype.c:2319: error: expected expression before ‘typeof’
chan_skype.c: In function ‘load_config’:
chan_skype.c:2622: error: dereferencing pointer to incomplete type
chan_skype.c:2638: error: dereferencing pointer to incomplete type
chan_skype.c: In function ‘audio_socket_address_selected’:
chan_skype.c:2838: warning: passing argument 2 of ‘ast_rtp_set_peer’ from incompatible pointer type
chan_skype.c:2839: warning: passing argument 2 of ‘ast_rtp_get_us’ from incompatible pointer type
chan_skype.c: In function ‘load_module’:
chan_skype.c:3101: error: ‘RTLD_DEFAULT’ undeclared (first use in this function)
chan_skype.c: At top level:
chan_skype.c:3417: error: ‘AST_BUILDOPT_SUM’ undeclared here (not in a function)
make: *** [chan_skype.o] Error 1

/usr/include/asterisk.h:21:33: error: asterisk/autoconfig.h: No such file or directory
нашел autoconfig.h.in переименовал в autoconfig.h
и все равно ошибка


[trixbox.tlt.sformat.ru skypeforasterisk-1.6.0_1.0.6-x86_32]# make

gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
In file included from /usr/include/asterisk.h:27,
from chan_skype.c:25:
/usr/include/asterisk/compat.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strtoq’
In file included from chan_skype.c:25:
/usr/include/asterisk.h:158: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
/usr/include/asterisk.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_profile’
/usr/include/asterisk.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_mark’
In file included from chan_skype.c:30:
/usr/include/string.h:292:13: error: invalid suffix "x__dont_use_bcopy__use_memmove_instead" on integer constant
In file included from chan_skype.c:30:
/usr/include/string.h:292: error: expected identifier or ‘(’ before numeric constant
/usr/include/string.h:296:13: error: invalid suffix "x__dont_use_bzero__use_memset_instead" on integer constant
/usr/include/string.h:296: error: expected identifier or ‘(’ before numeric constant
In file included from chan_skype.c:44:
/usr/include/asterisk/lock.h: In function ‘ast_mutex_init’:
/usr/include/asterisk/lock.h:749: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared (first use in this function)
/usr/include/asterisk/lock.h:749: error: (Each undeclared identifier is reported only once
/usr/include/asterisk/lock.h:749: error: for each function it appears in.)
In file included from /usr/include/asterisk/utils.h:26,
from chan_skype.c:45:
/usr/include/asterisk/network.h:55:2: error: #error "don't know how to handle network functions here."
In file included from /usr/include/asterisk/utils.h:26,
from chan_skype.c:45:
/usr/include/asterisk/network.h: In function ‘inaddrcmp’:
/usr/include/asterisk/network.h:90: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:90: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:91: error: dereferencing pointer to incomplete type
/usr/include/asterisk/network.h:91: error: dereferencing pointer to incomplete type
In file included from chan_skype.c:45:
/usr/include/asterisk/utils.h: At top level:
/usr/include/asterisk/utils.h:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__unsigned_int_flags_dummy64’
/usr/include/asterisk/utils.h:205: error: expected specifier-qualifier-list before ‘uint64_t’
/usr/include/asterisk/utils.h:209: error: field ‘hp’ has incomplete type
In file included from /usr/include/asterisk/channel.h:140,
from chan_skype.c:46:
/usr/include/asterisk/frame.h:390: error: expected specifier-qualifier-list before ‘uint16_t’
In file included from chan_skype.c:46:
/usr/include/asterisk/channel.h:1619: error: expected identifier or ‘(’ before ‘do’
/usr/include/asterisk/channel.h:1619: error: expected identifier or ‘(’ before ‘while’
In file included from chan_skype.c:50:
/usr/include/asterisk/pbx.h:268: error: expected specifier-qualifier-list before ‘uint64_t’
In file included from chan_skype.c:59:
/usr/include/asterisk/manager.h:160: error: expected ‘)’ before ‘ident’
/usr/include/asterisk/manager.h:169: error: expected ‘)’ before ‘ident’
/usr/include/asterisk/manager.h:207: error: expected ‘)’ before ‘ident’
In file included from chan_skype.c:61:
/usr/include/asterisk/app.h:372: error: expected specifier-qualifier-list before ‘uint64_t’
chan_skype.c: In function ‘new_client_call’:
chan_skype.c:701: error: type of formal parameter 5 is incomplete
chan_skype.c: In function ‘acf_skype_accountprop_read’:
chan_skype.c:2286: error: expected expression before ‘typeof’
chan_skype.c: In function ‘acf_skype_accountprop_write’:
chan_skype.c:2319: error: expected expression before ‘typeof’
chan_skype.c: In function ‘load_config’:
chan_skype.c:2622: error: dereferencing pointer to incomplete type
chan_skype.c:2638: error: dereferencing pointer to incomplete type
chan_skype.c: In function ‘audio_socket_address_selected’:
chan_skype.c:2838: warning: passing argument 2 of ‘ast_rtp_set_peer’ from incompatible pointer type
chan_skype.c:2839: warning: passing argument 2 of ‘ast_rtp_get_us’ from incompatible pointer type
chan_skype.c: In function ‘load_module’:
chan_skype.c:3101: error: ‘RTLD_DEFAULT’ undeclared (first use in this function)
chan_skype.c: At top level:
chan_skype.c:3417: error: ‘AST_BUILDOPT_SUM’ undeclared here (not in a function)
make: *** [chan_skype.o] Error 1
[trixbox.tlt.sformat.ru skypeforasterisk-1.6.0_1.0.6-x86_32]#

подскажите что делать
2009-11-06 08:59

Откуда: Сам. область
Сообщений: 5

Re: проблема установки SFA

разобрался
нашел на триксбоксе заметку
что для сборки sfa надо иметь минимум
kernel-dev
asterisk-dev
make
gcc
ncurses

установил и собралось все с пол пинка
2009-11-06 10:20

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru