[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263825: marked as done (sphinx2: FTBFS with gcc-3.4: conflicting types for 'initialize')

Your message dated Mon, 13 Sep 2004 21:32:05 -0400
with message-id <E1C72Av-0000uB-00@newraff.debian.org>
and subject line Bug#263825: fixed in sphinx2 0.5-1
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; 5 Aug 2004 21:54:26 +0000
>From aj@andaco.de Thu Aug 05 14:54:26 2004
Return-path: <aj@andaco.de>
Received: from c214098.adsl.hansenet.de (localhost) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BsqBu-00040k-00; Thu, 05 Aug 2004 14:54:26 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BsqBr-0007u6-28; Thu, 05 Aug 2004 23:54:23 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: sphinx2: FTBFS with gcc-3.4: conflicting types for 'initialize'
Message-Id: <E1BsqBr-0007u6-28@localhost>
Date: Thu, 05 Aug 2004 23:54:23 +0200
Delivered-To: submit@bugs.debian.org
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: sphinx2
Severity: normal
Tags: patch

When building 'sphinx2' with gcc-3.4 I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c cdcn_update.c  -fPIC -DPIC -o .libs/cdcn_update.lo
cdcn_update.c:128: error: conflicting types for 'initialize'
cdcn_update.c:61: error: previous declaration of 'initialize' was here
cdcn_update.c:128: warning: 'initialize' defined but not used
make[5]: *** [cdcn_update.lo] Error 1
make[5]: Leaving directory `/sphinx2-0.4/src/libsphinx2'

With the attached patch 'sphinx2' can be compiled using gcc-3.4.

Andreas Jochens

diff -urN ../tmp-orig/sphinx2-0.4/src/libsphinx2/cdcn_update.c ./src/libsphinx2/cdcn_update.c
--- ../tmp-orig/sphinx2-0.4/src/libsphinx2/cdcn_update.c	2001-12-13 22:11:20.000000000 +0100
+++ ./src/libsphinx2/cdcn_update.c	2004-08-05 23:37:03.658811537 +0200
@@ -57,8 +57,8 @@
     float	*noise, *tilt, *codebook, *prob, *variance, *corrbook;
     int 	num_codes;
     /* Multidimensional arrays, gar gar gar */
-    static float initialize (float *, int, float *, float *, float,
-			     float *, float *, float *, int);
+    static float initialize (float [][NUM_COEFF+1], int, float *, float [], 
+     float, float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int);
     static void correction(float *, float *, float *, float *, int);
     static float max_q (float *, float *, float *, float *, float *,
 			float *, int, float *, int);

Received: (at 263825-close) by bugs.debian.org; 14 Sep 2004 01:39:18 +0000
>From katie@ftp-master.debian.org Mon Sep 13 18:39:18 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C72Hu-00057h-00; Mon, 13 Sep 2004 18:39:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C72Av-0000uB-00; Mon, 13 Sep 2004 21:32:05 -0400
From: Isaac Clerencia <isaac@sindominio.net>
To: 263825-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#263825: fixed in sphinx2 0.5-1
Message-Id: <E1C72Av-0000uB-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 13 Sep 2004 21:32:05 -0400
Delivered-To: 263825-close@bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 2

Source: sphinx2
Source-Version: 0.5-1

We believe that the bug you reported is fixed in the latest version of
sphinx2, which is due to be installed in the Debian FTP archive:

  to pool/main/s/sphinx2/libsphinx2-dev_0.5-1_i386.deb
  to pool/main/s/sphinx2/libsphinx2g0_0.5-1_i386.deb
  to pool/main/s/sphinx2/sphinx2-bin_0.5-1_i386.deb
  to pool/main/s/sphinx2/sphinx2-hmm-6k_0.5-1_all.deb
  to pool/main/s/sphinx2/sphinx2_0.5-1.diff.gz
  to pool/main/s/sphinx2/sphinx2_0.5-1.dsc
  to pool/main/s/sphinx2/sphinx2_0.5.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 263825@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Isaac Clerencia <isaac@sindominio.net> (supplier of updated sphinx2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon, 13 Sep 2004 18:03:24 +0200
Source: sphinx2
Binary: libsphinx2g0 sphinx2-hmm-6k libsphinx2-dev sphinx2-bin
Architecture: source all i386
Version: 0.5-1
Distribution: unstable
Urgency: low
Maintainer: Isaac Clerencia <isaac@sindominio.net>
Changed-By: Isaac Clerencia <isaac@sindominio.net>
 libsphinx2-dev - speech recognition library - development kit
 libsphinx2g0 - speech recognition library
 sphinx2-bin - speech recognition utilities
 sphinx2-hmm-6k - speech recognition library - default acoustic model
Closes: 246540 263825
 sphinx2 (0.5-1) unstable; urgency=low
   * New upstream release
   * New maintainer, closes: #246540
   * Fixed problem when building with gcc-3.4, closes: #263825,
     thanks to Andreas Jochens for the patch
 e9ffa83e7df2b09a289944a65f10fa3f 609 sound optional sphinx2_0.5-1.dsc
 a611cca1e29edd40ea1537627f9fe0d9 7156401 sound optional sphinx2_0.5.orig.tar.gz
 d8bbe9feb3f646b088730b966d026434 5112 sound optional sphinx2_0.5-1.diff.gz
 446e8c787124fe5499bba0595e5d43d7 5969402 sound optional sphinx2-hmm-6k_0.5-1_all.deb
 5c34ae484f92ec80647bd884db4e03fd 138098 sound optional sphinx2-bin_0.5-1_i386.deb
 42be99fd4c014e87c6379a05a572cfa8 229952 libs optional libsphinx2g0_0.5-1_i386.deb
 fa5cf0cce1ef34d9008dd347afd7d7f6 281502 devel optional libsphinx2-dev_0.5-1_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: