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

b410p Problem

Откуда: г. Краснодар
Сообщений: 42

b410p Problem

Доброго времени суток!
Возникла проблема с карточкой ISDN BRI от Digium b410p.
Не компилируются модули ядра, лог ошибок привиду ниже.
Host система Ubuntu linux server 6.06.1 ядро след..
root@netsrv:/usr/src/zaptel-1.2.13# uname -a
Linux netsrv 2.6.15-28-server #1 SMP Thu Feb 1 16:58:14 UTC 2007 i686 GNU/Linux
2007-02-21 10:03

Откуда: г. Краснодар
Сообщений: 42

Re: b410p Problem

предворительно естественно make и make install
root@netsrv:/usr/src/zaptel-1.2.13# make b410p
[ -f misdn-b410p.tar.gz ] || wget ftp://ftp.digium.com/pub/zaptel/b410p/misdn-b410p.tar.gz
tar -zxf misdn-b410p.tar.gz
make -C misdn install
make[1]: Entering directory `/usr/src/zaptel-1.2.13/misdn'

Makeing mISDN
=============

cp /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/Makefile.v2.6 /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/Makefile
export MINCLUDES=/usr/src/zaptel-1.2.13/misdn/include ; make -C /lib/modules/2.6.15-28-server/build SUBDIRS=/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN modules CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=m CONFIG_MISDN_HFCMULTI=m
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-28-server'
CC [M] /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.o
In file included from /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/channel.h:16,
from /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h: In function ‘mISDN_queueup_newhead’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:189: warning: implicit declaration of function ‘mISDN_queue_message’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:189: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:189: error: (Each undeclared identifier is reported only once
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:189: error: for each function it appears in.)
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h: In function ‘mISDN_queuedown_newhead’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:199: error: ‘FLG_MSG_DOWN’ undeclared (first use in this function)
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h: At top level:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:280: error: syntax error before ‘*’ token
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:280: error: syntax error before ‘ie_info_t’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:280: warning: type defaults to ‘int’ in declaration of ‘mISDN_get_last_repeated_ie’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:280: warning: function declaration isn’t a prototype
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/helper.h:280: warning: data definition has no type or storage class
In file included from /usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/channel.h: In function ‘queue_ch_frame’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/channel.h:108: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘write_ctrl’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:275: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_empty_fifo’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:409: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_fill_fifo’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:478: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_down’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:769: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:775: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:781: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:784: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:791: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:804: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘release_card’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1046: warning: implicit declaration of function ‘mISDN_ctrl’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1047: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1049: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘fritz_manager’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1079: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1094: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1145: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘setup_instance’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1178: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1180: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1183: error: ‘mISDNinstance_t’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1184: error: ‘mISDNinstance_t’ has no member named ‘class_dev’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1187: warning: passing argument 4 of ‘mISDN_init_instance’ from incompatible pointer type
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1193: warning: passing argument 4 of ‘mISDN_init_instance’ from incompatible pointer type
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1195: error: ‘mISDNinstance_t’ has no member named ‘hwlock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1196: error: ‘mISDNinstance_t’ has no member named ‘class_dev’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1209: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1211: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘Fritz_init’:
/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1403: error: ‘mISDNobject_t’ has no member named ‘lock’
make[3]: *** [/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN/avm_fritz.o] Error 1
make[2]: *** [_module_/usr/src/zaptel-1.2.13/misdn/drivers/isdn/hardware/mISDN] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-28-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.2.13/misdn'
make: *** [b410p] Error 2
2007-02-21 10:05

Откуда: г. Краснодар
Сообщений: 42

Re: b410p Problem

На томже сервере находится карта
TDM 400 проблем с компиляцией и работой не наблюдалось
2007-02-21 10:06

Откуда: г. Краснодар
Сообщений: 42

Re: b410p Problem

Добрый день, проблема компиляции решена, на сайте http://www.misdn.org
в разделе FAQ вот что по этому поводу сказанно

mISDN does not compile on Ubuntu

If you have error Messages like:

/usr/src/install-misdn-mqueue/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h: In function ‘mISDN_queueup_newhead’: /usr/src/install-misdn-mqueue/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: warning: implicit declaration of function ‘mISDN_queue_message’ /usr/src/install-misdn-mqueue/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: error: ‘FLG_MSG_UP’ undeclared (first use in this function)

you have an old (not mqueue) mISDN installed. This happens especially in ubuntu, where old mISDN packages are installed. If you now want to install the new mqueue mISDN you will have these errors. Please just type "make force" this cleans the system from old headers, then you can type "make install" again, and it should work well.

Да еще, для компиляции необходим fex
2007-02-22 11:17

Сообщений: 6521

Re: b410p Problem

Приятно видеть такие посты! Лишний раз доказывает, что все ответы уже есть в интернете, надо только быстро их найти.
2007-02-22 21:06

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