× Questions about A400/800/1200 Analog Interface Card

OpenVox A1200P/A800P + Dahdi(NEW!!)

8 years 8 months ago #6111 by dark_cheetos
hi,
I followed the step above to install the card in Trixbox 2.8.0.4 with A1200P DAHDI 2.4 and to compile gave me the following error (when i do "make" in folder "dahdi-linux":
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware'
make[1]: Leaving directory `/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware'
make -C /lib/modules/2.6.18-164.11.1.el5/build SUBDIRS=/usr/src/dahdi-linux-2.4.0/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
CC [M] /usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.o
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c: In function âwctdm_watchdogâ:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2205: error: âstruct dahdi_spanâ has no member named âpvtâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c: In function âwctdm_initializeâ:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2337: error: âstruct dahdi_spanâ has no member named âhooksigâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2339: error: âstruct dahdi_spanâ has no member named âopenâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2340: error: âstruct dahdi_spanâ has no member named âcloseâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2342: error: âstruct dahdi_spanâ has no member named âioctlâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2343: error: âstruct dahdi_spanâ has no member named âwatchdogâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2346: error: âstruct dahdi_spanâ has no member named âpvtâ
make[2]: *** [/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.o] Error 1
make[1]: *** [_module_/usr/src/dahdi-linux-2.4.0/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.el5-i686'
make: *** [modules] Error 2

someone can help me please.
thanks
Pedro Reis
8 years 8 months ago #6113 by lisa.gao
Hi,
Plesase add the header file in opvxa1200.c to have a try:
#include <linux/sched.h>

7 years 8 months ago #7292 by markieb
Hi,
I'm quite new to all of this, so not very knowledgable, I've followed all the steps to get an A1200P card installed in PIAF with Asterisk 1.8 DAHDI installed, but when I do the first 'make' I get the following errors...

$ make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/usr/src/dahdi/linux/drivers/dahdi/firmware'
make[1]: Leaving directory `/usr/src/dahdi/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.18-238.9.1.el5/build SUBDIRS=/usr/src/dahdi/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/kernels/2.6.18-238.9.1.el5-i686'
CC [M] /usr/src/dahdi/linux/drivers/dahdi/opvxa1200.o
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c: In function âwctdm_watchdogâ:
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2273: error: âstruct dahdi_spanâ has no member named âpvtâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c: In function âwctdm_initializeâ:
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2405: error: âstruct dahdi_spanâ has no member named âhooksigâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2407: error: âstruct dahdi_spanâ has no member named âopenâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2408: error: âstruct dahdi_spanâ has no member named âcloseâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2410: error: âstruct dahdi_spanâ has no member named âioctlâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2411: error: âstruct dahdi_spanâ has no member named âwatchdogâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2412: error: âstruct dahdi_spanâ has no member named âmaintqâ
/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.c:2414: error: âstruct dahdi_spanâ has no member named âpvtâ
make[2]: *** [/usr/src/dahdi/linux/drivers/dahdi/opvxa1200.o] Error 1
make[1]: *** [_module_/usr/src/dahdi/linux/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-238.9.1.el5-i686'
make: *** [modules] Error 2

The above message says " Plesase add the header file in opvxa1200.c to have a try: #include "
Does that mean edit the opvxa1200.c and add the #include line with the others?

If that's the case, I've tried that, but have exactly the same result.

Please could you suggest anything else to try?
7 years 8 months ago #7293 by tim.june
What version of dahdi you are using?if 2.5.0,you need use this patch.

http://bbs.openvox.cn/viewthread.php?tid=1652&extra=page%3D1

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Skype: tim.jjune
7 years 8 months ago #7294 by leecy
Hi, markieb
Please refer to the following link:

http://bbs.openvox.cn/viewthread.php?tid=1557&highlight=patch

delete one line and add another three lines as the moderator introduce. After saving, please run "make" again. If any problems, please send e-mail to This email address is being protected from spambots. You need JavaScript enabled to view it.
Time to create page: 0.043 seconds
Powered by Kunena Forum