Установка asterisk на freebsd 7.2
Устанавливал ли кто asterisk на freebsd 7.2 из портов? У меня вылазит ошибка:
gmake[2]: Entering directory `/usr/ports/net/asterisk/work/asterisk-1.4.24.1/channels/h323'
c++ -DNDEBUG -I../../include -include ../../include/asterisk/autoconfig.h -fPIC -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -Wall -DNDEBUG -I/usr/local/share/pwlib//include -DPTRACING -I/usr/local/include/openh323 -M ast_h323.cxx >> *.dep
gmake[2]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.24.1/channels/h323'
gmake[2]: Entering directory `/usr/ports/net/asterisk/work/asterisk-1.4.24.1/channels/h323'
c++ -DNDEBUG -I../../include -include ../../include/asterisk/autoconfig.h -fPIC -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -Wall -DNDEBUG -I/usr/local/share/pwlib//include -DPTRACING -I/usr/local/include/openh323 -Os -pipe -O2 -pipe -fno-strict-aliasing -fconserve-space -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include -c ast_h323.cxx -o ast_h323.o
In file included from ../../include/asterisk/cdr.h:58,
from ../../include/asterisk/channel.h:115,
from ast_h323.cxx:54:
../../include/asterisk/utils.h: In function 'char* _ast_strndup(const char*, size_t, const char*, int, const char*)':
../../include/asterisk/utils.h:450: error: 'strndup' was not declared in this scope
gmake[2]: *** [ast_h323.o] Ошибка 1
gmake[2]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.24.1/channels/h323'
gmake[1]: *** [h323/libchanh323.a] Ошибка 2
gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.24.1/channels'
gmake: *** [channels] Ошибка 2
*** Error code 1
Stop in /usr/ports/net/asterisk.
*** Error code 1
Stop in /usr/ports/net/asterisk.
/usr/ports/net/asterisk:#uname -v
FreeBSD 7.2-RELEASE-p2 #0: Thu Jul 2 16:06:56 EEST 2009 admin@bull.home:/usr/obj/usr/src/sys/BULL.2009-02-04
Кто сталкивался с подобным?
|