Bug#300697: marked as done (spandsp: FTBFS (amd64/gcc-4.0): static declaration of 'v22bis_constellation' follows non-static declaration)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 21 Mar 2005 04:48:55 -0800


Your message dated Mon, 21 Mar 2005 13:36:00 +0100
with message-id <1111408560.7046.59.camel@ganymede>
and subject line closing as is already fixed
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; 21 Mar 2005 08:14:43 +0000
>From aj@andaco.de Mon Mar 21 00:14:43 2005
Return-path: <aj@andaco.de>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDI3f-0005Ic-00; Mon, 21 Mar 2005 00:14:43 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
	id 1DDI3e-0005CO-4c; Mon, 21 Mar 2005 09:14:42 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: spandsp: FTBFS (amd64/gcc-4.0): static declaration of 'v22bis_constellation' follows non-static declaration
Message-Id: <E1DDI3e-0005CO-4c@localhost.localdomain>
Date: Mon, 21 Mar 2005 09:14:42 +0100
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: spandsp
Severity: normal
Tags: patch

When building 'spandsp' on amd64 with gcc-4.0,
I get the following error:

if /bin/sh ../libtool --mode=compile x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I    -Wall -g -O2 -MT v22bis_rx.lo -MD -MP -MF ".deps/v22bis_rx.Tpo" -c -o v22bis_rx.lo v22bis_rx.c; \
then mv -f ".deps/v22bis_rx.Tpo" ".deps/v22bis_rx.Plo"; else rm -f ".deps/v22bis_rx.Tpo"; exit 1; fi
 x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I -Wall -g -O2 -MT v22bis_rx.lo -MD -MP -MF .deps/v22bis_rx.Tpo -c v22bis_rx.c  -fPIC -DPIC -o .libs/v22bis_rx.o
v22bis_rx.c:65: error: static declaration of 'v22bis_constellation' follows non-static declaration
spandsp/v22bis.h:186: error: previous declaration of 'v22bis_constellation' was here
make[3]: *** [v22bis_rx.lo] Error 1
make[3]: Leaving directory `/spandsp-0.0.2pre10/src'

With the attached patch 'spandsp' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/spandsp-0.0.2pre10/src/spandsp/v22bis.h ./src/spandsp/v22bis.h
--- ../tmp-orig/spandsp-0.0.2pre10/src/spandsp/v22bis.h	2005-01-12 14:39:26.000000000 +0100
+++ ./src/spandsp/v22bis.h	2005-03-21 08:57:30.155036733 +0100
@@ -183,7 +183,6 @@
     int detected_scrambled_ones_at_2400bps;
 } v22bis_state_t;
 
-extern const complex_t v22bis_constellation[16];
 
 #ifdef __cplusplus
 extern "C" {
diff -urN ../tmp-orig/spandsp-0.0.2pre10/src/spandsp/v27ter_rx.h ./src/spandsp/v27ter_rx.h
--- ../tmp-orig/spandsp-0.0.2pre10/src/spandsp/v27ter_rx.h	2004-10-02 10:34:02.000000000 +0200
+++ ./src/spandsp/v27ter_rx.h	2005-03-21 08:57:50.748040978 +0100
@@ -122,7 +122,6 @@
     int32_t angles[16];
 } v27ter_rx_state_t;
 
-extern const complex_t v27ter_constellation[8];
 
 #ifdef __cplusplus
 extern "C" {

---------------------------------------
Received: (at 300697-done) by bugs.debian.org; 21 Mar 2005 12:36:05 +0000
>From kk@verfaction.de Mon Mar 21 04:36:05 2005
Return-path: <kk@verfaction.de>
Received: from nyx.verfaction.de (mx.verfaction.de) [212.9.161.72] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDM8a-0000Q4-00; Mon, 21 Mar 2005 04:36:04 -0800
Received: from erebos.verfaction.de
	([3ffe:400:d00:7357::1] helo=homemx.verfaction.de ident=Debian-exim)
	by mx.verfaction.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.44)
	id 1DDM8Y-0001Bo-W2
	for 300697-done@bugs.debian.org; Mon, 21 Mar 2005 13:36:03 +0100
Received: from ganymede.kk.de ([192.168.7.10] helo=ganymde.verfaction.de)
	by homemx.verfaction.de with smtp (Exim 4.44)
	id 1DDM8X-0008Iq-4T
	for 300697-done@bugs.debian.org; Mon, 21 Mar 2005 13:36:01 +0100
Received: by ganymde.verfaction.de (sSMTP sendmail emulation); Mon, 21 Mar 2005 13:36:01 +0100
From: "Kilian Krause" <kk@verfaction.de>
To: 300697-done@bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-poy64baUiLbRkyswws3/"
Date: Mon, 21 Mar 2005 13:36:00 +0100
Message-Id: <1111408560.7046.59.camel@ganymede>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
X-SA-Exim-Connect-IP: 3ffe:400:d00:7357::1
X-SA-Exim-Mail-From: kk@verfaction.de
Subject: closing as is already fixed
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
Delivered-To: 300697-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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-poy64baUiLbRkyswws3/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

closing as this bug is no longer present with latest SID

-K.-

--=-poy64baUiLbRkyswws3/
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBCPr+wvdkzt4X+wX8RAtbTAJ9CG0walrA7DScCwYU6Ln32wdMXuACfWtVr
VOtMdFcFIcsaBL2cMUAhDuQ=
=g4Pe
-----END PGP SIGNATURE-----

--=-poy64baUiLbRkyswws3/--