Your message dated Mon, 5 Sep 2005 17:36:44 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #326756,
regarding libccscript3: FTBFS (amd64): cannot convert 'long int*' to 
'SQLINTEGER*' for argument '2' to 'SQLRETURN SQLRowCount(void*, SQLINTEGER*)'
to be marked as having been forwarded to the upstream software
author(s) David Sugar <[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 326756-forwarded) by bugs.debian.org; 5 Sep 2005 16:37:11 +0000
>From [EMAIL PROTECTED] Mon Sep 05 09:37:11 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl-88-111-48-101.access.as9105.com (bristol.purcell.id.au) 
[88.111.48.101] (Debian-exim)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ECJy2-0005Lc-00; Mon, 05 Sep 2005 09:37:11 -0700
Received: from dell.purcell.id.au ([192.168.3.150])
        by bristol.purcell.id.au with esmtp (Exim 4.52)
        id 1ECJxm-0002NE-VY; Mon, 05 Sep 2005 17:36:58 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.52)
        id 1ECJxd-0005ro-Ni; Mon, 05 Sep 2005 17:36:45 +0100
From: Mark Purcell <[EMAIL PROTECTED]>
Organization: Debian GNU Linux
To: David Sugar <[EMAIL PROTECTED]>
Date: Mon, 5 Sep 2005 17:36:44 +0100
User-Agent: KMail/1.8.2
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Cc: Andreas Jochens <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
Disposition-Notification-To: Mark Purcell <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[EMAIL PROTECTED]>
X-SA-Exim-Connect-IP: 192.168.3.150
X-SA-Exim-Rcpt-To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
X-SA-Exim-Mail-From: [EMAIL PROTECTED]
Subject: Re: Bug#326756: libccscript3: FTBFS (amd64): cannot convert 'long 
int*' to 'SQLINTEGER*' for argument '2' to 'SQLRETURN SQLRowCount(void*, 
SQLINTEGER*)'
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

David,

Find enclosed a patch for libccscript3 to build under amd64.

Mark

On Monday 05 September 2005 15:01, Andreas Jochens wrote:
> Package: libccscript3
> Version: 0.7.0-1
> Severity: serious
> Tags: patch
>
> When building 'libccscript3' on amd64/unstable,
> I get the following error:
>
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../../src  
> -fPIC -DPIC  -g -O2 -D_GNU_SOURCE -I/usr/include/cc++2   -c thread.cpp
> thread.cpp: In member function 'virtual void
> ccscript3Database::SQLThread::run()': thread.cpp:121: error: cannot convert
> 'long int*' to 'SQLINTEGER*' for argument '2' to 'SQLRETURN
> SQLRowCount(void*, SQLINTEGER*)' thread.cpp:149: error: cannot convert
> 'long int*' to 'SQLINTEGER*' for argument '6' to 'SQLRETURN
> SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLINTEGER,
> SQLINTEGER*)' make[3]: *** [thread.o] Error 1
> make[3]: Leaving directory `/libccscript3-0.7.0/optional/odbc'
>
> With the attached patch 'libccscript3' can be compiled
> on amd64 using gcc-4.0.
>
> Regards
> Andreas Jochens
>
> diff -urN ../tmp-orig/libccscript3-0.7.0/optional/odbc/thread.cpp
> ./optional/odbc/thread.cpp ---
> ../tmp-orig/libccscript3-0.7.0/optional/odbc/thread.cpp       2005-04-30
> 14:55:20.000000000 +0000 +++ ./optional/odbc/thread.cpp       2005-09-05
> 13:52:56.000000000 +0000 @@ -63,7 +63,7 @@
>          SQLCHAR stat[10];
>          SQLCHAR errmsg[128];
>          SQLSMALLINT mlen, col, cols;
> -        long int rowcnt;
> +        SQLINTEGER rowcnt;
>       char buf[1024];
>          char nbuf[12];
>       unsigned row = 0, len = 0;


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

Reply via email to