Zap installaion error cannot fix it

hello,

I amtrying to install zap-1.4.12.1 on fedora core 11 with asterisk 1.4.21.2
I have one server installed successfully(although FC 8) the same version .

But now on new one after make command for zap installaion i get the following error

make[1]: Entering directory /usr/src/zaptel-1.4.12.1/menuselect' make[2]: Entering directory/usr/src/zaptel-1.4.12.1/menuselect’
make[2]: menuselect' is up to date. make[2]: Leaving directory/usr/src/zaptel-1.4.12.1/menuselect’
make[1]: Leaving directory /usr/src/zaptel-1.4.12.1/menuselect' make[1]: Entering directory/usr/src/zaptel-1.4.12.1’
make[2]: Entering directory /usr/src/zaptel-1.4.12.1/menuselect' make[3]: Entering directory/usr/src/zaptel-1.4.12.1/menuselect’
make[3]: menuselect' is up to date. make[3]: Leaving directory/usr/src/zaptel-1.4.12.1/menuselect’
make[2]: Leaving directory /usr/src/zaptel-1.4.12.1/menuselect' make -C /lib/modules/2.6.29.5-191.fc11.i586/build ARCH=i386 SUBDIRS=/usr/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.29.5-191.fc11.i586’
CC [M] /usr/src/zaptel-1.4.12.1/kernel/ztdummy.o
/usr/src/zaptel-1.4.12.1/kernel/ztdummy.c: In function ‘ztdummy_hr_int’:
/usr/src/zaptel-1.4.12.1/kernel/ztdummy.c:202: error: ‘struct hrtimer’ has no member named ‘expires’
make[3]: *** [/usr/src/zaptel-1.4.12.1/kernel/ztdummy.o] Error 1
make[2]: *** [module/usr/src/zaptel-1.4.12.1/kernel] Error 2
make[2]: Leaving directory /usr/src/kernels/2.6.29.5-191.fc11.i586' make[1]: *** [modules] Error 2 make[1]: Leaving directory/usr/src/zaptel-1.4.12.1’
make: *** [all] Error 2

I do not have digium card this time. I have sangoma card. where i have to install wanpipe also but before that zap need to be there.

what i do now?

Please help.

Mushfiq

Sorry it has to be FC 8 but it showing smiley for some reason

It looks like your kernel may be too recent. As zaptel is deprecated, I doubt you will get this fixed, officially, especially if it turns out that dahdi works.

I wasn’t able to fix that ether so I installed Dahdi without problems, it’s dummy mode seems to be identical.

  • Brad

Ok i installed dahdi and tools but still showing error after ./Setup install
and choosing option 2 for TDM (voice) zaptel


make -C /lib/modules/2.6.29.5-191.fc11.i586/build SUBDIRS=/usr/src/wanpipe-3.5.4/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory /usr/src/kernels/2.6.29.5-191.fc11.i586' CC [M] /usr/src/wanpipe-3.5.4/kdrvtmp/sdladrv_src.o In file included from /usr/src/wanpipe-3.5.4/kdrvtmp/sdladrv_src.c:128: //usr/include/wanpipe/wanpipe_common.h: In function ‘wan_netif_priv’: //usr/include/wanpipe/wanpipe_common.h:2528: error: ‘struct net_device’ has no member named ‘priv’ //usr/include/wanpipe/wanpipe_common.h: In function ‘wan_netif_set_priv’: //usr/include/wanpipe/wanpipe_common.h:2557: error: ‘struct net_device’ has no member named ‘priv’ make[2]: *** [/usr/src/wanpipe-3.5.4/kdrvtmp/sdladrv_src.o] Error 1 make[1]: *** [_module_/usr/src/wanpipe-3.5.4/kdrvtmp] Error 2 make[1]: Leaving directory/usr/src/kernels/2.6.29.5-191.fc11.i586’
make: *** [all] Error 2


I follow instruction from sangoma site because wanpipe has to know which harware
it is

Please help.

That looks like an issue to take up with the author of the wanpipe driver.

You need to use a more recent version of wanpipe: ftp://ftp.sangoma.com/linux/custom/3.5/

Ian