Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Установка H323

Установка H323

1 2>
Сообщений: 2

Установка H323

Помогите плиз, кто знает, начал ставить Asterisk c поддержкой H323 установил pwlib и openh323, а при установка asterisk/channels.h323 вылетает ошибка:
ast_h323.cpp:885: confused by earlier errors, bailing out
{standard input}: Assembler messages:
{standard input}:148: Error: symbol `sourceName' is already defined
make: *** [ast_h323.o] Error 1
и ничего не ставиться. как с этим бороться?
2005-07-21 10:12

Avatara of litnimax
Откуда: Москва
Сообщений: 3421

Re: Установка H323

Версии смотрите в README.
http://pbxware.ru - все для Asterisk! || Switchvox - сделано на Asterisk! Подробности на http://switchvox.ru
2005-07-21 10:43

Сообщений: 2

Re: Установка H323

Там нет версий, я устанавливаю родной H323 а не oh323
2005-07-21 10:50

Avatara of litnimax
Откуда: Москва
Сообщений: 3421

Re: Установка H323

В родном H323 тоже в README указаны 'tested' версии. Их и ставьте.
http://pbxware.ru - все для Asterisk! || Switchvox - сделано на Asterisk! Подробности на http://switchvox.ru
2005-07-21 13:04

Сообщений: 4

Re: Установка H323

У меня тоже не получается обрать H323 из svn trunk. Все библиотеки и GCC свежее, чем указаны в README




debian:~/asterisk-dev/asterisk/channels/h323# make opt
g++ -DNDEBUG -I../../include/asterisk -include autoconfig.h -fPIC -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -DPIC -I/usr/local/share/pwlib//include -DPTRACING -I/root/openh323-dev/openh323_v1_19_0_1/include -Os -pipe -felide-constructors -Wreorder -c ast_h323.cxx -o ast_h323.o
In file included from /usr/include/arpa/inet.h:22,
from ast_h323.cxx:31:
../../include/asterisk/features.h:44: error: parse error in method
specification before `;' token
../../include/asterisk/features.h:45: error: parse error before `}' token
In file included from /usr/include/bits/types.h:31,
from /usr/include/sys/types.h:31,
from /usr/include/sys/uio.h:24,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h:213: error: parse error
before `typedef'
In file included from /usr/include/sys/time.h:30,
from ../../include/asterisk/time.h:26,
from /usr/include/sys/types.h:133,
from /usr/include/sys/uio.h:24,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/select.h:109: error: syntax error before `int'
In file included from ../../include/asterisk/time.h:26,
from /usr/include/sys/types.h:133,
from /usr/include/sys/uio.h:24,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/time.h:64: error: parse error before `typedef'
/usr/include/sys/time.h:73: error: type specifier omitted for parameter `
__timezone_ptr_t'
/usr/include/sys/time.h:73: error: parse error before `)' token
/usr/include/sys/time.h:73: error: storage class specified for field `
gettimeofday'
/usr/include/sys/time.h:126: error: storage class specified for field `
getitimer'
/usr/include/sys/time.h:126: error: parse error before `;' token
/usr/include/sys/time.h:133: error: storage class specified for field `
setitimer'
/usr/include/sys/time.h:133: error: parse error before `;' token
/usr/include/sys/time.h:139: error: storage class specified for field `utimes'
/usr/include/sys/time.h:139: error: parse error before `;' token
In file included from /usr/include/sys/types.h:133,
from /usr/include/sys/uio.h:24,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
../../include/asterisk/time.h:33: error: syntax error before `struct'
../../include/asterisk/time.h:34: error: `tv' was not declared in this scope
../../include/asterisk/time.h:35: error: `tv' was not declared in this scope
../../include/asterisk/time.h:43: error: storage class specified for field `
ast_tvdiff_ms'
../../include/asterisk/time.h:43: error: `int
ast_call_feature::ast_tvdiff_ms(ast_call_feature::timeval,
ast_call_feature::timeval)' and `int
ast_call_feature::ast_tvdiff_ms(ast_call_feature::timeval,
ast_call_feature::timeval)' cannot be overloaded
../../include/asterisk/time.h:59: error: storage class specified for field `
ast_tvzero'
../../include/asterisk/time.h:59: error: `int
ast_call_feature::ast_tvzero(ast_call_feature::timeval)' and `int
ast_call_feature::ast_tvzero(ast_call_feature::timeval)' cannot be
overloaded
../../include/asterisk/time.h:70: error: storage class specified for field `
ast_tvcmp'
../../include/asterisk/time.h:70: error: `int
ast_call_feature::ast_tvcmp(ast_call_feature::timeval,
ast_call_feature::timeval)' and `int
ast_call_feature::ast_tvcmp(ast_call_feature::timeval,
ast_call_feature::timeval)' cannot be overloaded
../../include/asterisk/time.h:89: error: storage class specified for field `
ast_tveq'
../../include/asterisk/time.h:89: error: `int
ast_call_feature::ast_tveq(ast_call_feature::timeval,
ast_call_feature::timeval)' and `int
ast_call_feature::ast_tveq(ast_call_feature::timeval,
ast_call_feature::timeval)' cannot be overloaded
../../include/asterisk/time.h:99: error: storage class specified for field `
ast_tvnow'
../../include/asterisk/time.h:99: error: `ast_call_feature::timeval
ast_call_feature::ast_tvnow()' and `ast_call_feature::timeval
ast_call_feature::ast_tvnow()' cannot be overloaded
../../include/asterisk/time.h:121: error: storage class specified for field `
ast_tv'
../../include/asterisk/time.h:121: error: `ast_call_feature::timeval
ast_call_feature::ast_tv(int, int)' and `ast_call_feature::timeval
ast_call_feature::ast_tv(int, int)' cannot be overloaded
../../include/asterisk/time.h:136: error: storage class specified for field `
ast_samp2tv'
../../include/asterisk/time.h:136: error: `ast_call_feature::timeval
ast_call_feature::ast_samp2tv(unsigned int, unsigned int)' and `
ast_call_feature::timeval ast_call_feature::ast_samp2tv(unsigned int,
unsigned int)' cannot be overloaded
In file included from /usr/include/sys/uio.h:24,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/types.h:158:20: missing binary operator before token "("
In file included from /usr/include/sys/uio.h:29,
from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/bits/uio.h:42: error: parse error before `{' token
/usr/include/bits/uio.h:45: error: 'size_t' is used as a type, but is not
defined as a type.
../../include/asterisk/features.h: In member function `int
ast_call_feature::AST_LIST_ENTRY(ast_call_feature)':
../../include/asterisk/features.h:44: error: parse error before `;' token
../../include/asterisk/features.h: At global scope:
../../include/asterisk/features.h:44: error: parse error at end of saved
function text
../../include/asterisk/time.h: In member function `ast_call_feature::timeval
ast_call_feature::ast_tvnow()':
../../include/asterisk/time.h:99: error: `NULL' undeclared (first use this
function)
../../include/asterisk/time.h:99: error: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from /usr/include/sys/socket.h:27,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/uio.h: At global scope:
/usr/include/sys/uio.h:40: error: syntax error before `(' token
/usr/include/sys/uio.h:50: error: syntax error before `(' token
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/bits/socket.h:36: error: syntax error before `typedef'
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/bits/socket.h:165: error: '__uint32_t' is used as a type, but is
not defined as a type.
/usr/include/bits/socket.h:166: error: `__uint32_t' was not declared in this
scope
/usr/include/bits/socket.h:218: error: 'socklen_t' is used as a type, but is
not defined as a type.
/usr/include/bits/socket.h:221: error: 'size_t' is used as a type, but is not
defined as a type.
/usr/include/bits/socket.h:224: error: 'size_t' is used as a type, but is not
defined as a type.
/usr/include/bits/socket.h:232: error: 'size_t' is used as a type, but is not
defined as a type.
/usr/include/bits/socket.h:237: error: parse error before `;' token
/usr/include/bits/socket.h: In function `cmsghdr* __cmsg_nxthdr(msghdr*,
cmsghdr*)':
/usr/include/bits/socket.h:258: error: parse error before `;' token
/usr/include/bits/socket.h:299: error: 'pid_t' is used as a type, but is not
defined as a type.
/usr/include/bits/socket.h:300: error: 'uid_t' is used as a type, but is not
defined as a type.
/usr/include/bits/socket.h:301: error: 'gid_t' is used as a type, but is not
defined as a type.
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/socket.h:65:43: missing binary operator before token "("
In file included from /usr/include/netinet/in.h:24,
from /usr/include/arpa/inet.h:23,
from ast_h323.cxx:31:
/usr/include/sys/socket.h: In function `int socket(int, int, int)':
/usr/include/sys/socket.h:100: error: parse error before `;' token
/usr/include/sys/socket.h:100: error: redefinition of `int __THROW'
/usr/include/bits/socket.h:258: error: `int __THROW' previously declared here
/usr/include/sys/socket.h: In function `int socketpair(int, int, int, int*)':
/usr/include/sys/socket.h:107: error: parse error before `;' token
/usr/include/sys/socket.h:107: error: redefinition of `int __THROW'
/usr/include/sys/socket.h:100: error: `int __THROW' previously declared here
/usr/include/sys/socket.h:110: confused by earlier errors, bailing out
make: *** [ast_h323.o] Error 1
debian:~/asterisk-dev/asterisk/channels/h323#
2006-07-06 07:51

Сообщений: 6521

Re: Установка H323

А не надо свежее, а именно те, что указаны в README, и именно в последовательности pwlib а потом openh323.
2006-07-06 12:00

Сообщений: 4

Re: Установка H323

ну я так и делал... результат одинаков.... :(
2006-07-06 12:50

Сообщений: 141

Re: Установка H323

да у меня тоже проблемы с openh323 на FreeBSD 6.1. Версии pwlib и openh323 использовал как в ридми, правда версия gcc более новая. Все собралось нормально. даже модуль нормально загрузился, но при попытке позвонить через H323 астериск просто вылетает. Поэтому я просто на него забил.
2006-07-06 13:19

Откуда: Санкт-Петербург
Сообщений: 541

Re: Установка H323

dedА не надо свежее, а именно те, что указаны в README, и именно в последовательности pwlib а потом openh323.
и не забыть выставить переменные окружения типа OPENH323DIR PWLIBDIR
или в Makefile в правильное значение.
2006-07-06 18:01

Сообщений: 4

Re: Установка H323

dyer
dedА не надо свежее, а именно те, что указаны в README, и именно в последовательности pwlib а потом openh323.

и не забыть выставить переменные окружения типа OPENH323DIR PWLIBDIR
или в Makefile в правильное значение.
это сделал сразу, как само собой разумеющееся - не помогает. попробую использовать chan_ooh323.
2006-07-07 08:42

1 2>
Добавить страницу в закладки:  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