Your message dated Sat, 23 Jul 2005 10:08:20 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing
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; 13 Dec 2004 21:51:48 +0000
>From [EMAIL PROTECTED] Mon Dec 13 13:51:48 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c203038.adsl.hansenet.de (localhost.localdomain) [213.39.203.38] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Cdy6e-0000z4-00; Mon, 13 Dec 2004 13:51:48 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CdyAy-0003FV-55; Mon, 13 Dec 2004 22:56:16 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: bluez-hcidump: FTBFS (amd64/gcc-4.0): static declaration of 
'sdp_siz_idx_lookup_table' follows non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 13 Dec 2004 22:56:16 +0100
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: bluez-hcidump
Severity: normal
Tags: patch

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

cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -g -Wall -O2 -c `test -f 
'sdp.c' || echo './'`sdp.c
sdp.c:39: error: static declaration of 'sdp_siz_idx_lookup_table' follows 
non-static declaration
sdp.h:160: error: previous declaration of 'sdp_siz_idx_lookup_table' was here
sdp.c:50: error: static declaration of 'sdp_uuid_nam_lookup_table' follows 
non-static declaration
sdp.h:167: error: previous declaration of 'sdp_uuid_nam_lookup_table' was here
sdp.c:104: error: static declaration of 'sdp_attr_id_nam_lookup_table' follows 
non-static declaration
sdp.h:176: error: previous declaration of 'sdp_attr_id_nam_lookup_table' was 
here
sdp.c: In function 'print_int':
sdp.c:219: warning: format '%llx' expects type 'long long unsigned int', but 
argument 2 has type 'uint64_t'
sdp.c:222: warning: format '%llx' expects type 'long long unsigned int', but 
argument 2 has type 'uint64_t'
sdp.c:231: warning: format '%llx' expects type 'long long unsigned int', but 
argument 2 has type 'uint64_t'
make[3]: *** [sdp.o] Error 1
make[3]: Leaving directory `/bluez-hcidump-1.12/parser'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/bluez-hcidump-1.12/parser/sdp.c ./parser/sdp.c
--- ../tmp-orig/bluez-hcidump-1.12/parser/sdp.c 2004-09-22 19:06:56.000000000 
+0200
+++ ./parser/sdp.c      2004-12-13 22:51:27.150890248 +0100
@@ -36,7 +36,7 @@
 #include "parser.h"
 #include "sdp.h"
 
-static sdp_siz_idx_lookup_table_t sdp_siz_idx_lookup_table[] = {
+sdp_siz_idx_lookup_table_t sdp_siz_idx_lookup_table[] = {
        { 0, 1  }, /* Size index = 0 */
        { 0, 2  }, /*              1 */
        { 0, 4  }, /*              2 */
@@ -47,7 +47,7 @@
        { 1, 4  }, /*              7 */
 };
 
-static sdp_uuid_nam_lookup_table_t sdp_uuid_nam_lookup_table[] = {
+sdp_uuid_nam_lookup_table_t sdp_uuid_nam_lookup_table[] = {
        { SDP_UUID_SDP,                      "SDP"          },
        { SDP_UUID_UDP,                      "UDP"          },
        { SDP_UUID_RFCOMM,                   "RFCOMM"       },
@@ -101,7 +101,7 @@
        { SDP_UUID_VIDEO_SINK,               "VideoSink"    }  /* VDP */
 };
 
-static sdp_attr_id_nam_lookup_table_t sdp_attr_id_nam_lookup_table[] = {
+sdp_attr_id_nam_lookup_table_t sdp_attr_id_nam_lookup_table[] = {
        { SDP_ATTR_ID_SERVICE_RECORD_HANDLE,             "SrvRecHndl"         },
        { SDP_ATTR_ID_SERVICE_CLASS_ID_LIST,             "SrvClassIDList"     },
        { SDP_ATTR_ID_SERVICE_RECORD_STATE,              "SrvRecState"        },

---------------------------------------
Received: (at 285533-done) by bugs.debian.org; 23 Jul 2005 09:08:17 +0000
>From [EMAIL PROTECTED] Sat Jul 23 02:08:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from aloo.dreamhost.com (gnomehack.com) [205.196.209.231] (postfix)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DwFzV-0006hA-00; Sat, 23 Jul 2005 02:08:17 -0700
Received: from saag.bunker.heddley.com (82-71-82-195.dsl.in-addr.zen.co.uk 
[82.71.82.195])
        (using TLSv1 with cipher RC4-MD5 (128/128 bits))
        (No client certificate requested)
        by gnomehack.com (Postfix) with ESMTP id CA9A83AC1E
        for <[EMAIL PROTECTED]>; Sat, 23 Jul 2005 10:08:13 +0100 (BST)
Subject: Closing
From: Edd Dumbill <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Content-Type: text/plain
Date: Sat, 23 Jul 2005 10:08:20 +0100
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
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-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 121726




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

Reply via email to