[App_rpt-users] Install fails at zaptel on Gentoo system

"Jeremy R. Geeo [KDØEAV]" kd0eav at gmail.com
Mon Nov 14 12:51:59 UTC 2011


Hey Ken,

Glad to see a fellow Gentoo(er) on the list.

I don't know if you require such a new kernel; but 3.1.0 is very new 
(especially for Zaptel).

Last I knew, (but this may have since been patched) the zaptel modules 
won't compile as-is on any kernel before 2.6.28 (ish - I may be off a 
version or two, don't remember). I've only succeeded in making it work 
up to 2.6.35 (becuase I DID need a newer kernel for hardware support). 
In 2.6.36 they drop support for the ioctl call 
(http://lwn.net/Articles/119652/).

I haven't followed (or caught up) on changes since about 2.6.36, so I 
don't know what has changed going into 3.0 and beyond.

While trying to refresh my memory, I did find this zaptel patch (which 
is actually for openWRT) which may be a step in the right direction for 
the 2.6.36 barrier...
https://dev.openwrt.org/browser/packages/libs/zaptel-1.4.x/patches/370-2.6.36.patch

I've also found it handy to go into the config on zaptel and disable 
many/most of the modules - I specifically only need ztdummy (and it's 
dependencies). In your case, I assume you don't need support for 
pciradio. Probably no sense troubleshooting that module if you're not 
going to use it.



73

- Jeremy, KD0EAV





On 11/13/11 20:56, Ken Page wrote:
> OK, Here's my latest hurdle.
>
> The installer fails at the zaptel section.
>
> We've just updated the box to the latest Gentoo Linux OS and now I'm 
> trying to get the Asterisk radio stuff up again.
>
> On the old Gentoo system it compiled and installed fine without over 
> writing any configs.
>
> The log tail of the failure is below. If anyhow has any advice I'd 
> appreciate it.
>
>
> Regards,
> Ken - vk4akp
> .-.-.
> .
> .
> configure: *** Zaptel build successfully configured ***
> (MAKELEVEL=0; make -C zaptel); # Why does MAKELEVEL need to be 0 for 
> zaptel to build correctly?
> make: Entering directory `/usr/src/asterisk/trunk/zaptel'
> make[1]: Entering directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[2]: Entering directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[2]: `menuselect' is up to date.
> make[2]: Leaving directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[1]: Leaving directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[1]: Entering directory `/usr/src/asterisk/trunk/zaptel'
> make[2]: Entering directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[3]: Entering directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[3]: `menuselect' is up to date.
> make[3]: Leaving directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make[2]: Leaving directory `/usr/src/asterisk/trunk/zaptel/menuselect'
> make -C /lib/modules/3.1.0-gentoo/build ARCH=i386 
> SUBDIRS=/usr/src/asterisk/trunk/zaptel/kernel HOTPLUG_FIRMWARE=yes 
> KBUILD_OBJ_M="pciradio.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o zaptel.o 
> ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wctdm24xxp/" 
> modules
> make[2]: Entering directory `/usr/src/linux-3.1.0-gentoo'
>   CC [M]  /usr/src/asterisk/trunk/zaptel/kernel/pciradio.o
> In file included from 
> /usr/src/asterisk/trunk/zaptel/kernel/zaptel.h:39:0,
>                  from 
> /usr/src/asterisk/trunk/zaptel/kernel/pciradio.c:56:
> /usr/src/asterisk/trunk/zaptel/kernel/zconfig.h:26:28: fatal error: 
> linux/autoconf.h: No such file or directory
> compilation terminated.
> make[3]: *** [/usr/src/asterisk/trunk/zaptel/kernel/pciradio.o] Error 1
> make[2]: *** [_module_/usr/src/asterisk/trunk/zaptel/kernel] Error 2
> make[2]: Leaving directory `/usr/src/linux-3.1.0-gentoo'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/asterisk/trunk/zaptel'
> make: *** [all] Error 2
> make: Leaving directory `/usr/src/asterisk/trunk/zaptel'
> make: *** [llastate/zaptel-built] Error 2
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users



More information about the App_rpt-users mailing list