./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=110000 -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chan_dongle.o -MF .chan_dongle.o.d -MP -o chan_dongle.o -c chan_dongle.c
chan_dongle.c: In function ‘public_state_init’:
chan_dongle.c:1667:11: warning: implicit declaration of function ‘ast_format_set’ [-Wimplicit-function-declaration]
chan_dongle.c:1668:11: warning: implicit declaration of function ‘ast_format_cap_alloc’ [-Wimplicit-function-declaration]
chan_dongle.c:1671:11: warning: implicit declaration of function ‘ast_format_cap_add’ [-Wimplicit-function-declaration]
chan_dongle.c:1672:27: warning: assignment makes pointer from integer without a cast [enabled by default]
chan_dongle.c:1688:5: warning: implicit declaration of function ‘ast_format_cap_destroy’ [-Wimplicit-function-declaration]
chan_dongle.c: At top level:
chan_dongle.c:75:30: error: storage size of ‘chan_dongle_format’ isn’t known
make: *** [chan_dongle.o] Ошибка 1
</conf>
Какой дистрибутив используете? На debian что-то совсем никак не взлетает.
--2015-02-17 14:38:16-- http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.4.19.tar.gz
Распознаётся downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Подключение к downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 1784830 (1,7M) [application/x-gzip]
Сохранение в каталог: ««asterisk-core-sounds-en-gsm-1.4.19.tar.gz»».
100%[=======================================================================================>] 1 784 830 69,6K/s за 21s
2015-02-17 14:38:43 (83,2 KB/s) - «asterisk-core-sounds-en-gsm-1.4.19.tar.gz» saved [1784830/1784830]
--2015-02-17 14:38:43-- http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.4.19.tar.gz.sha1
Распознаётся downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Подключение к downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа... 200 OK
Длина: 84 [application/x-gzip]
Сохранение в каталог: ««asterisk-core-sounds-en-gsm-1.4.19.tar.gz.sha1»».
100%[=======================================================================================>] 84 --.-K/s за 0s
2015-02-17 14:38:49 (4,37 MB/s) - «asterisk-core-sounds-en-gsm-1.4.19.tar.gz.sha1» saved [84/84]
sha1sum: asterisk-core-sounds-en-gsm-1.4.19.tar.gz: Нет такого файла или каталога
Bad checksum: asterisk-core-sounds-en-gsm-1.4.19.tar.gz
make[1]: *** [/var/lib/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.19] Ошибка 1
make[1]: Leaving directory `/root/asterisk-1.6.2.13/sounds'
make: *** [datafiles] Ошибка 2
**** Установка неудачна. Отменяется создание пакета.
Очищается...OK
Удачи.