Bug#317108: marked as done (zaptel-source compile errors)

Debian Bug Tracking System owner@bugs.debian.org
Wed Jul 6 20:48:24 UTC 2005


Your message dated Wed, 6 Jul 2005 13:45:35 -0700
with message-id <20050706204535.GA23378@mauritius.dodds.net>
and subject line Bug#317108: zaptel-source compile errors
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jul 2005 11:30:40 +0000
>From david@ananian-cooper.com Wed Jul 06 04:30:40 2005
Return-path: <david@ananian-cooper.com>
Received: from smtp100.mail.sc5.yahoo.com [216.136.174.138] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1Dq86y-00039c-00; Wed, 06 Jul 2005 04:30:40 -0700
Received: (qmail 2870 invoked from network); 6 Jul 2005 11:30:40 -0000
Received: from unknown (HELO ?10.0.0.25?) (davidac17@150.101.100.209 with plain)
  by smtp100.mail.sc5.yahoo.com with SMTP; 6 Jul 2005 11:30:39 -0000
From: David Ananian-Cooper <david@ananian-cooper.com>
Reply-To: david@ananian-cooper.com
To: submit@bugs.debian.org
Subject: zaptel-source compile errors
Date: Wed, 6 Jul 2005 21:00:32 +0930
User-Agent: KMail/1.8.1
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507062100.32752.david@ananian-cooper.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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

---------------------------------------
Received: (at 317108-done) by bugs.debian.org; 6 Jul 2005 20:45:37 +0000
>From vorlon@debian.org Wed Jul 06 13:45:37 2005
Return-path: <vorlon@debian.org>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (mauritius.dodds.net) [66.93.39.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DqGm0-0000GA-00; Wed, 06 Jul 2005 13:45:37 -0700
Received: by mauritius.dodds.net (Postfix, from userid 1000)
	id 2A3AE171D4C; Wed,  6 Jul 2005 13:45:36 -0700 (PDT)
Date: Wed, 6 Jul 2005 13:45:35 -0700
From: Steve Langasek <vorlon@debian.org>
To: david@ananian-cooper.com, 317108-done@bugs.debian.org
Cc: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Subject: Re: Bug#317108: zaptel-source compile errors
Message-ID: <20050706204535.GA23378@mauritius.dodds.net>
References: <200507062100.32752.david@ananian-cooper.com> <20050706115402.GK16319@xorcom.com> <200507062206.04737.david@ananian-cooper.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N"
Content-Disposition: inline
In-Reply-To: <200507062206.04737.david@ananian-cooper.com>
User-Agent: Mutt/1.5.9i
Delivered-To: 317108-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 06, 2005 at 10:06:04PM +0930, David Ananian-Cooper wrote:
> Cool - thanks - that works

Then it seems this bug should be closed.

Thanks,
--=20
Steve Langasek
postmodern programmer

> On Wed, 6 Jul 2005 21:24, you wrote:
> > On Wed, Jul 06, 2005 at 09:00:32PM +0930, David Ananian-Cooper wrote:
> > > 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 a=
ll
> > > 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 compi=
le.
> > > It doesn't compile. I get pages full of errors most of which are vari=
ants
> > > of the following:
> >
> > Tha's not exactly how you're supposed to build them.
> >
> >   m-a build zaptel
> >
> > m-a is module-assistant, and is a dependency of zaptel-source.
> >
> > Or, as a user (preferably in an empty directory)
> >
> >   m-a -u . build zaptel
> >
> > m-a has some insane defaults. I normally use:
> >
> >   m-a -u . -f -i -t build zaptel
> >
> > This should give you a better chance of getting the kernel version
> > passed correctly to the makefile. The original makefile does a pretty
> > bad job at guessing your kernel source tree.
> >
> > > 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 g=
et
> > > 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!
> >
> > My own package always built (that is: I always massaged it to building).
> >
> > The 1.0.7 version is at http://tzafrir.org.il/rapid/
> > The current 1.0.9 version is at http://tzafrir.org.il/rapid108/unstable/
> >
> > > The machine is a P3 933 with 64Mb of RAM (i know - not much - will be
> > > getting more soon!!).
> >
> > Shouldn't matter, as long as you have enough swap.
>=20
>=20
> --=20
> To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian=
=2Eorg

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCzELvKN6ufymYLloRAgFSAJ0eaRptM5HyHy7AUTHF/3o0qz2VgwCfewbQ
Mmd2rES7cVmpkc2sFIA+tn0=
=4Z8V
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--




More information about the Pkg-voip-maintainers mailing list