[email protected]
[Top] [All Lists]

Bug#286780: marked as forwarded (gjay: FTBFS (amd64/gcc-4.0): static dec

Subject: Bug#286780: marked as forwarded gjay: FTBFS (amd64/gcc-4.0): static declaration of 'xmms_session' follows non-static declaration
From: Debian Bug Tracking System
Date: Tue, 21 Dec 2004 23:18:10 -0800
Your message dated Wed, 22 Dec 2004 08:12:45 +0100
with message-id <[email protected]>
has caused the Debian Bug report #286780,
regarding gjay: FTBFS (amd64/gcc-4.0): static declaration of 'xmms_session' 
follows non-static declaration
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(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 286780-forwarded) by bugs.debian.org; 22 Dec 2004 07:12:48 +0000
>From [email protected] Tue Dec 21 23:12:48 2004
Return-path: <[email protected]>
Received: from armagnac.ifi.unizh.ch (albatross.madduck.net) [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Ch0fw-0006KL-00; Tue, 21 Dec 2004 23:12:48 -0800
Received: from localhost (albatross.madduck.net [])
        by albatross.madduck.net (postfix) with ESMTP id 878888BC4B9;
        Wed, 22 Dec 2004 08:12:46 +0100 (CET)
Received: from localhost (lapse.madduck.net [])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (Client CN "cirrus.madduck.net", Issuer "madduck.net CA" (verified OK))
        by albatross.madduck.net (postfix) with ESMTP id C7A948BC4B1;
        Wed, 22 Dec 2004 08:12:45 +0100 (CET)
Received: by localhost (Postfix, from userid 1000)
        id 91FC1200E29; Wed, 22 Dec 2004 08:12:45 +0100 (CET)
Date: Wed, 22 Dec 2004 08:12:45 +0100
From: martin f krafft <[email protected]>
To: [email protected]
Cc: [email protected],
        [email protected]
Subject: Re: Bug#286780: gjay: FTBFS (amd64/gcc-4.0): static declaration of 
'xmms_session' follows non-static declaration
Message-ID: <[email protected]>
References: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq"
Content-Disposition: inline
In-Reply-To: <[email protected]>
Organization: Debian GNU/Linux
X-OS: Debian GNU/Linux 3.1 kernel 2.6.9-cirrus i686
X-Motto: Keep the good times rollin'
X-Subliminal-Message: debian/rules!
X-Debbugs-No-Ack: please spare me
User-Agent: Mutt/1.5.6+20040907i
X-Virus-Scanned: by albatross.madduck.net
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=no 
X-CrossAssassin-Score: 2

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

tags 286780 + confirmed pending

Chuck, I am going to apply this patch to a Debian-only release,
unless I hear from you by the end of this year with a new upstream

Did you fall off the face of the planet?

Here's the original bug report, thanks to Andreas Jochens
<[email protected]>:

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

gcc -c -g -Wall `pkg-config --cflags gtk+-2.0` -o gjay_xmms.o gjay_xmms.c
gjay_xmms.c:29: error: static declaration of 'xmms_session' follows non-sta=
tic declaration
gjay.h:46: error: previous declaration of 'xmms_session' was here
make[1]: *** [gjay_xmms.o] Error 1
make[1]: Leaving directory `/gjay-'
make: *** [build-stamp] Error 2

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

Andreas Jochens

diff -urN ../tmp-orig/gjay- ./analysis.h
--- ../tmp-orig/gjay- 2004-01-20 06:12:25.000000000 +0100
+++ ./analysis.h        2004-12-22 07:39:17.200938912 +0100
@@ -71,11 +71,6 @@
        unsigned long   data_length;    /* length of data */
 } waveheaderstruct;
-/* Mutex lock for analysis data */
-extern song          * analyze_song;
-extern int             analyze_percent;
 /* Analysis.c */
 void     analysis_daemon(void);
 //gboolean analyze(song * s);
diff -urN ../tmp-orig/gjay- ./gjay.h
--- ../tmp-orig/gjay-     2004-01-20 06:12:25.000000000 +0100
+++ ./gjay.h    2004-12-22 07:39:42.434102888 +0100
@@ -43,7 +43,6 @@
 /* State */
 extern gjay_mode mode;
-extern gint      xmms_session;
 /* User options */
 extern gint      verbosity;

 .''`.     martin f. krafft <[email protected]>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

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

Version: GnuPG v1.2.5 (GNU/Linux)



To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#286780: marked as forwarded (gjay: FTBFS (amd64/gcc-4.0): static declaration of 'xmms_session' follows non-static declaration), Debian Bug Tracking System <=