AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

Не компилится oh323

Newbies/FAQ Forum 4 сообщений -
#1

При сборке oh323 выдает такую ерунду! Что я не так делаю?

for x in wrapper asterisk-driver; do make -C $x build || exit 1 ; done
make: *** /root/src/oh323/openh323: No such file or directory. Останов.
make: *** /root/src/oh323/openh323: No such file or directory. Останов.
make[1]: Вход в каталог `/acid/asterisk-oh323-0.6.5/wrapper'
./check_ver /root/src/oh323/pwlib pwlib
cat: /root/src/oh323/pwlib/version.h: No such file or directory
cat: /root/src/oh323/pwlib/version.h: No such file or directory
cat: /root/src/oh323/pwlib/version.h: No such file or directory
./check_ver /root/src/oh323/openh323 openh323
cat: /root/src/oh323/openh323/version.h: No such file or directory
cat: /root/src/oh323/openh323/version.h: No such file or directory
cat: /root/src/oh323/openh323/version.h: No such file or directory
g++ -Wall -x c++ -Os -DWRAPTRACING -DWRAPTRACING_LEVEL=5 -DPWLIBVERSION=\"..\" -DOPENH323VERSION=\"..\" -I/root/src/oh323/pwlib/include/ptlib/unix -I/root/src/oh323/pwlib/include -I/root/src/oh323/openh323/include -I/root/src/oh323/openh323/include/openh323 -I../asterisk-driver -c wrapper_misc.cxx -o wrapper_misc.o
In file included from wrapper_misc.cxx:34:
wrapper_misc.hxx:35:19: ptlib.h: No such file or directory
In file included from wrapper_misc.cxx:34:
wrapper_misc.hxx:61: parse error before `{' token
wrapper_misc.hxx:68: parse error before `char'
wrapper_misc.hxx:71: parse error before `protected'
wrapper_misc.cxx:50: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In constructor `WrapMutex::WrapMutex(char*)':
wrapper_misc.cxx:51: class `WrapMutex' does not have any field named `PMutex'
wrapper_misc.cxx:53: `name' undeclared (first use this function)
wrapper_misc.cxx:53: (Each undeclared identifier is reported only once for each
function it appears in.)
wrapper_misc.cxx:53: `PString' undeclared (first use this function)
wrapper_misc.cxx:54: `cout' undeclared (first use this function)
wrapper_misc.cxx:54: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx:54: `endl' undeclared (first use this function)
wrapper_misc.cxx: At global scope:
wrapper_misc.cxx:57: syntax error before `::' token
wrapper_misc.cxx:80: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
wrapper_misc.cxx: In member function `void WrapMutex::Signal(const char*, int,
const char*)':
wrapper_misc.cxx:81: `PMutex' undeclared (first use this function)
wrapper_misc.cxx:81: parse error before `::' token
wrapper_misc.cxx:83: invalid use of undefined type `class WrapMutex'
wrapper_misc.hxx:61: forward declaration of `class WrapMutex'
make[1]: *** [wrapper_misc.o] Ошибка 1
make[1]: Выход из каталог `/acid/asterisk-oh323-0.6.5/wrapper'
make: *** [subdirs_build] Ошибка 1

_________________
Заранее спасибо.
#2

внятно пишет тебе (а ты не читаешь?), что не находит библиотек pwlib и openh323 по адресам /root/src/oh323/pwlib и /root/src/oh323/openh323/

Всё ли там в порядке? Надоть вначале pwlib собрать, make opt, но не делать make install, потом openh323 и тоже не делать make install.
#3

У меня asterisk-1.0.7, какой версии мне нужны pwlib и oh323. По вожможности напишите ссылки на архив.
_________________
Заранее спасибо.
#4

по возможности, читай README, лучше чем там написано мне не написать. В конкретном случае - asterisk_dir/channels/h323/README