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

Bryan Fields Bryan at bryanfields.net
Sat Dec 14 22:38:40 UTC 2013


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,

-- 
Bryan Fields

727-409-1194 - Voice
727-214-2508 - Fax
http://bryanfields.net




More information about the App_rpt-users mailing list