[App_rpt-users] Debian wheezy (7) install?

David McGough kb4fxc at inttek.net
Sun Dec 15 01:06:22 UTC 2013


Hi Brian,

You are correct, the issue you're encountering is due to Wheezy running a
3.2.x Linux kernel. The Zaptel drivers included with ACID/XIPAR implement
the older ioctl() calls which expect the "big kernel lock" syntax. This is
obsolete and was removed as of kernel version 2.6.39. No officially
supported code that I'm aware of has a resolution for this issue--even
though the patches required to resolve this issue are fairly simple.

Currently, moving back to Debian Squeeze (rather that Wheezy) will fix 
this for now, since it uses a kernel version derivative of 2.6.32.


Happy Holidays!

73, David KB4FXC


On Sat, 14 Dec 2013, Bryan Fields wrote:

> Greetings all, it's literally been 7-8 years since I've been building
> repeaters with app_rpt, and the project has certainly come a long way.
> 
> At the time i last had it going on Debian with a quad PCI card.
> 
> I've found some older documentation on compiling it from source on debian now
> that it's a fork of the main asterisk project.
> http://ohnosec.org/pipermail/app_rpt-users/2011-February/002266.html
> 
> This link has a script which I've taken a look at, and suspect my issues
> compiling zaptel/asterisk are kernel 3.2 related.
> I had to modify zaptel/kernel/zconfig.h to #include <generated/autoconf.h> in
> the headers
> 
> Now I'm seeing the following error about what looks like an initialization of
> an ioctl variable.
> 
> make[2]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
> CC [M] /usr/src/astsrc/zaptel/kernel/zaptel-base.o
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c: In function ‘zt_rbs_sethook’:
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c:2160:2: warning: suggest
> parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
> [-Wparentheses]
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c: At top level:
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c:7650:2: error: unknown field
> ‘ioctl’ specified in initializer
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c:7650:2: warning: initialization
> from incompatible pointer type [enabled by default]
> /usr/src/astsrc/zaptel/kernel/zaptel-base.c:7650:2: warning: (near
> initialization for ‘zt_fops.fsync’) [enabled by default]
> make[5]: *** [/usr/src/astsrc/zaptel/kernel/zaptel-base.o] Error 1
> make[4]: *** [_module_/usr/src/astsrc/zaptel/kernel] Error 2
> make[3]: *** [sub-make] Error 2
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/astsrc/zaptel'
> make: *** [all] Error 2
> 
> As I'm not a kernel programer, any idea what this might mean? Anyone else do
> this, and maybe I missed it in the archives?
> 
> 
> Thanks,
> 
> 




More information about the App_rpt-users mailing list