Bug#317108: zaptel-source compile errors

David Ananian-Cooper david@ananian-cooper.com, 317108@bugs.debian.org
Wed Jul 6 11:30:32 UTC 2005


Package: zaptel-source
Version: 1.0.7-4.1
Tags: sarge
Severity: serious

I have just done a fresh install of sarge on a server of mine. I installed the 
base packages, then added asterisk, zaptel-source and all its dependancies. I 
also installed a bunch of library packages which are apparently needed (i 
forget which ones there were.).

I then goto /usr/src, unpack the zaptel.tar.bz2 file and try to compile. It 
doesn't compile. I get pages full of errors most of which are variants of the 
following:

zaptel.c:5739: error: dereferencing pointer to incomplete type
or
zaptel.c:6107: error: invalid use of undefined type `struct zt_chan'
and there are others too

looking at the zaptel.c source file, it seems as though many of the errors 
relate to the static struct zt_chan *chans[ZT_MAX_CHANNELS]; variable defined 
on line 336.

When download a fresh 1.0.7 from ftp.digium.com and compile that, I get the 
same errors. When I download and compile 1.0.9 that works fine.

Clearly there is some problem with the stable package - which I find somewhat 
surprising given that its meant to be stable and work without any problems!

The machine is a P3 933 with 64Mb of RAM (i know - not much - will be getting 
more soon!!).

Cheers

David Ananian-Cooper





More information about the Pkg-voip-maintainers mailing list