chan_sccp
у кого нить получилось собрать chan_sccp на freebsd?
у меня
/usr/home/freeze/chan_sccp > gmake
Now compiling .... chan_sccp.c 742 lines
In file included from chan_sccp.h:8,
/usr/home/freeze/chan_sccp > gmake
/usr/include/netinet/ip.h:67: error: field `ip_src' has incomplete type
/usr/include/netinet/ip.h:67: error: field `ip_dst' has incomplete type
/usr/include/netinet/ip.h:160: error: syntax error before "n_long"
/usr/include/netinet/ip.h:162: error: field `ipt_addr' has incomplete type
/usr/include/netinet/ip.h:163: error: syntax error before "n_long"
/usr/include/netinet/ip.h:198: error: field `ippseudo_src' has incomplete type
/usr/include/netinet/ip.h:199: error: field `ippseudo_dst' has incomplete type
chan_sccp.c: In function `reload_config':
chan_sccp.c:580: warning: implicit declaration of function `ast_config_destroy'
chan_sccp.c: In function `setcalledparty_exec':
chan_sccp.c:595: error: structure has no member named `tech_pvt'
chan_sccp.c: In function `restart_monitor':
chan_sccp.c:638: warning: comparison between pointer and integer
chan_sccp.c: In function `load_module':
chan_sccp.c:681: warning: passing arg 1 of `ast_channel_register' from incompati
ble pointer type
chan_sccp.c:681: error: too few arguments to function `ast_channel_register'
chan_sccp.c: In function `unload_module':
chan_sccp.c:708: warning: passing arg 1 of `ast_channel_unregister' from incompa
tible pointer type
chan_sccp.c:681: error: too few arguments to function `ast_channel_register'
chan_sccp.c: In function `unload_module':
chan_sccp.c:708: warning: passing arg 1 of `ast_channel_unregister' from incompa
tible pointer type
chan_sccp.c:720: warning: assignment makes pointer from integer without a cast
chan_sccp.c: At top level:
sccp_pbx.h:6: error: storage size of `sccp_tech' isn't known
gmake: *** [.tmp/chan_sccp.o] Error 1
я так понял что нужно ставить эмуляцию линуха т.к ругается на инклуды.
|