Zap installaion error cannot fix it


I amtrying to install zap- on fedora core 11 with asterisk
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-' make[2]: Entering directory/usr/src/zaptel-’
make[2]: menuselect' is up to date. make[2]: Leaving directory/usr/src/zaptel-’
make[1]: Leaving directory /usr/src/zaptel-' make[1]: Entering directory/usr/src/zaptel-’
make[2]: Entering directory /usr/src/zaptel-' make[3]: Entering directory/usr/src/zaptel-’
make[3]: menuselect' is up to date. make[3]: Leaving directory/usr/src/zaptel-’
make[2]: Leaving directory /usr/src/zaptel-' make -C /lib/modules/ ARCH=i386 SUBDIRS=/usr/src/zaptel- 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/’
CC [M] /usr/src/zaptel-
/usr/src/zaptel- In function ‘ztdummy_hr_int’:
/usr/src/zaptel- error: ‘struct hrtimer’ has no member named ‘expires’
make[3]: *** [/usr/src/zaptel-] Error 1
make[2]: *** [module/usr/src/zaptel-] Error 2
make[2]: Leaving directory /usr/src/kernels/' make[1]: *** [modules] Error 2 make[1]: Leaving directory/usr/src/zaptel-’
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.


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/ SUBDIRS=/usr/src/wanpipe-3.5.4/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory /usr/src/kernels/' 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/’
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: