keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Caller ID Setting

14 years 1 week ago #5393 by samsalim
Hi Support,

I use A400P04 and Elastix 1.6,
1. For the the first step I copy wctdm.c patch software to zaptel-1.4.12.1/kernel
2. [root@elastix zaptel-1.4.12.1]# make
make[1]: Entering directory `/usr/local/src/zaptel-1.4.12.1'
make -C /lib/modules/2.6.18-164.el5/build ARCH=i386 SUBDIRS=/usr/local/src/zaptel-1.4.12.1/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-164.el5-i686'

Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-i686'
make[2]: Entering directory `/usr/local/src/zaptel-1.4.12.1/kernel/xpp/utils'
cc -o print_modes -g -Wall print_modes.c
In file included from print_modes.c:3:
wctdm_fxomodes.h:93: error: redefinition of âstruct fxo_modeâ
wctdm_fxomodes.h:108: error: redefinition of âfxo_modesâ
wctdm_fxomodes.h:14: error: previous definition of âfxo_modesâ was here
make[2]: *** [print_modes] Error 1
make[2]: Leaving directory `/usr/local/src/zaptel-1.4.12.1/kernel/xpp/utils'
make[1]: *** [utils-subdirs] Error 2
make[1]: Leaving directory `/usr/local/src/zaptel-1.4.12.1'
make: *** [all] Error 2

You can see the errors, So what should I do now ? Something wrong when redefinition of fxo_modes

Sam

i] Last edited by samsalim at 2010-4-24 23:39 [/i
14 years 1 week ago #5411 by xin.liu
Hi:
As far as i know, Elastix 1.6 use the dahdi driver, not zaptel.

14 years 1 week ago #5417 by samsalim
Hello,

You are right, Elastix-1.6 using DAHDI Driver, and now I switch it with Trixbox CE-2.6.1.13-i386. How to solve this error ?

[trixbox1.localdomain zaptel-1.4.11]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
..
..
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating build_tools/make_firmware_object
configure: *** Zaptel build successfully configured ***


[trixbox1.localdomain ~]# cd /usr/local/src/zaptel-1.4.11/
[trixbox1.localdomain zaptel-1.4.11]# make
make[1]: Entering directory `/usr/local/src/zaptel-1.4.11'
echo "You do not appear to have the sources for the 2.6.18-53.1.4.el5 kernel installed."
You do not appear to have the sources for the 2.6.18-53.1.4.el5 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/local/src/zaptel-1.4.11'
make: *** [all] Error 2

[trixbox1.localdomain zaptel-1.4.11]# rpm -qa |grep kernel
kernel-2.6.18-53.1.4.el5
kernel-devel-2.6.18-128.1.10.el5
kernel-xen-devel-2.6.18-128.1.10.el5
kernel-headers-2.6.18-128.1.10.el5
kernel-xen-2.6.18-128.1.10.el5[trixbox1.localdomain zaptel-1.4.11]# rpm -qa |grep gcc
libgcc-4.1.2-46.el5_4.2
gcc-4.1.2-46.el5_4.2
gcc-c++-4.1.2-46.el5_4.2

i] Last edited by samsalim at 2010-4-27 02:40 [/i
14 years 1 week ago #5418 by Denins.Den
Your kernel version is 2.6.18-53.1.4.el5, but the kernel-devel is 2.6.18-128.1.10.el5, the version is not matching
Please install the kernel-devel-2.6.18-53.1.4.el5
14 years 1 week ago #5424 by samsalim
Hello,

I still got this error:
wctdm_fxomodes.h:93: error: redefinition of âstruct fxo_modeâ
wctdm_fxomodes.h:108: error: redefinition of âfxo_modesâ
wctdm_fxomodes.h:14: error: previous definition of âfxo_modesâ was here
make[2]: *** [print_modes] Error 1
make[2]: Leaving directory `/usr/local/src/zaptel-1.4.11/kernel/xpp/utils'
make[1]: *** [utils-subdirs] Error 2
make[1]: Leaving directory `/usr/local/src/zaptel-1.4.11'
make: *** [all] Error 2


sam

i] Last edited by samsalim at 2010-4-28 01:40 [/i
14 years 1 week ago #5425 by samsalim
[trixbox1.localdomain zaptel-1.4.11]# rpm -qa |grep kernel
kernel-2.6.18-53.1.4.el5
kernel-headers-2.6.18-128.1.10.el5=============> must I install it with 2.6.18-53.1.4.el5 ?
kernel-devel-2.6.18-53.1.4.el5

[trixbox1.localdomain zaptel-1.4.11]# rpm -qa |grep gcc
libgcc-4.1.2-46.el5_4.2
gcc-4.1.2-46.el5_4.2

[trixbox1.localdomain zaptel-1.4.11]# cat /proc/interrupts
CPU0 CPU1
0: 1467722 1298253 IO-APIC-edge timer
1: 0 3 IO-APIC-edge i8042
5: 1 1 IO-APIC-edge parport0
6: 2 1 IO-APIC-edge floppy
8: 1 2 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
12: 4 0 IO-APIC-edge i8042
14: 11959 11883 IO-APIC-edge ide0
169: 1290704 1459997 IO-APIC-level uhci_hcd:usb5, wctdm, HDA Intel
177: 12284 12374 IO-APIC-level eth0
217: 0 0 IO-APIC-level uhci_hcd:usb4
225: 0 2 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb2
233: 11701 11692 IO-APIC-level uhci_hcd:usb3, libata
NMI: 0 0
LOC: 2764166 2764147
ERR: 102
MIS: 0


Thanks for your info

i] Last edited by samsalim at 2010-5-8 15:23 [/i
Time to create page: 0.039 seconds
Powered by Kunena Forum