[asterisk-users] Zaptel - make b410p fails on Ubuntu 6.10

Timothy Parez timothyparez at gmail.com
Wed Nov 22 16:03:15 MST 2006


Hi,

I've been able to
make
make install
the Zaptel drivers (1.2).

I'm using a b410p so I executed the following command
make b410p. I tried this on multiple machines, but it always failes:

root at asterisk:/usr/src/zaptel-1.2.11# make b410p
[ -f misdn-b410p.tar.bz ] || wget 
ftp://ftp.digium.com/pub/zaptel/b410p/misdn-b410p.tar.gz
--23:59:54--  ftp://ftp.digium.com/pub/zaptel/b410p/misdn-b410p.tar.gz
           => `misdn-b410p.tar.gz'
Resolving ftp.digium.com... 216.27.40.102, 69.16.138.164
Connecting to ftp.digium.com|216.27.40.102|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/zaptel/b410p ... done.
==> PASV ... done.    ==> RETR misdn-b410p.tar.gz ... done.
Length: 572,153 (559K) (unauthoritative)

100%[==================================================================================================================================================>] 
572,153       61.22K/s    ETA 00:00

00:00:11 (38.14 KB/s) - `misdn-b410p.tar.gz' saved [572153]

tar -zxf misdn-b410p.tar.gz
make -C misdn install
make[1]: Entering directory `/usr/src/zaptel-1.2.11/misdn'

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

cp 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/Makefile.v2.6 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/Makefile
export MINCLUDES=/usr/src/zaptel-1.2.11/misdn/include ; make -C 
/lib/modules/2.6.17-10-server/build 
SUBDIRS=/usr/src/zaptel-1.2.11/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.17-10-server'
  CC [M]  
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.o
In file included from 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/channel.h:13,
                 from 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
include/linux/mISDNif.h:570: warning: âpackedâ attribute ignored for 
field of type âu_charâ
include/linux/mISDNif.h:571: warning: âpackedâ attribute ignored for 
field of type âu_charâ
In file included from 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/channel.h:16,
                 from 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h: In 
function âmISDN_queueup_newheadâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:189: 
warning: implicit declaration of function âmISDN_queue_messageâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:189: 
error: âFLG_MSG_UPâ undeclared (first use in this function)
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:189: 
error: (Each undeclared identifier is reported only once
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:189: 
error: for each function it appears in.)
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h: In 
function âmISDN_queuedown_newheadâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:199: 
error: âFLG_MSG_DOWNâ undeclared (first use in this function)
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h: At 
top level:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/helper.h:280: 
error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
In file included from 
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/channel.h: In 
function âqueue_ch_frameâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/channel.h:108: 
error: âFLG_MSG_UPâ undeclared (first use in this function)
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âwrite_ctrlâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:275: 
error: âmISDNinstance_tâ has no member named âprivatâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âhdlc_empty_fifoâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:409: 
error: âmISDNinstance_tâ has no member named âprivatâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âhdlc_fill_fifoâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:478: 
error: âmISDNinstance_tâ has no member named âprivatâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âhdlc_downâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:769: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:775: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:781: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:784: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:791: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:804: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function ârelease_cardâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1046: 
warning: implicit declaration of function âmISDN_ctrlâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1047: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1049: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âfritz_managerâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1079: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1094: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1145: 
error: âFLG_MSG_UPâ undeclared (first use in this function)
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âsetup_instanceâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1178: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1180: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1183: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1184: 
error: âmISDNinstance_tâ has no member named âclass_devâ
/usr/src/zaptel-1.2.11/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.11/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.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1195: 
error: âmISDNinstance_tâ has no member named âhwlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1196: 
error: âmISDNinstance_tâ has no member named âclass_devâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1209: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1211: 
error: âmISDNobject_tâ has no member named âlockâ
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c: In 
function âFritz_initâ:
/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.c:1403: 
error: âmISDNobject_tâ has no member named âlockâ
make[3]: *** 
[/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN/avm_fritz.o] 
Error 1
make[2]: *** 
[_module_/usr/src/zaptel-1.2.11/misdn/drivers/isdn/hardware/mISDN] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-10-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.2.11/misdn'
make: *** [b410p] Error 2
root at asterisk:/usr/src/zaptel


Please note that  /bin/sh is linked to /bin/bash and not to /bin/dash.

Thnx for any info you might be able to provide


More information about the asterisk-users mailing list