Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas009.isp.belgacom.be (localhost [127.0.0.1])
        by inav017.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j88FSLYj023634
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 17:28:22 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx020.isp.belgacom.be (inmx020.isp.belgacom.be [195.238.3.139])
        by inas009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j88FSJ93031059
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 17:28:19 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx020.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j88FSA2P027608
        for <joris.at.lebbeke@skynet.be>; Thu, 8 Sep 2005 17:28:11 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j88FLqT0002464;
	Thu, 8 Sep 2005 11:22:01 -0400
Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j85G3j4X021569
	for <tiff@lists.maptools.org>; Mon, 5 Sep 2005 12:03:45 -0400
Received: from [192.168.0.12] (really [69.168.32.135]) by mta11.adelphia.net
	(InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP
	id <20050905160344.FIV27017.mta11.adelphia.net@[192.168.0.12]>
	for <tiff@lists.maptools.org>; Mon, 5 Sep 2005 12:03:44 -0400
Message-ID: <431C6C86.9000700@adelphia.net>
Date: Mon, 05 Sep 2005 12:04:22 -0400
From: Dan Smith <dan.everest@adelphia.net>
User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tiff@lists.maptools.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 08 Sep 2005 11:06:44 -0400
Subject: [Tiff] problem using 64-bit libtiff.so on Solaris 8 using GCC
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00000bbf
X-MSP-STORE: Thu, 08 Sep 2005 17:28:27 +0200
Status:   

Hi,
    I am having a problem reading a TIFF image on Solaris 8 using GCC in 
64-bit mode.  When reading the file, I get an error stating  "Can not 
read TIFF directory count".  This message appears only in 
'tif_dirread.c' in the method 'TIFFReadDirectory'.  It works fine when 
compiled in 32-bit mode.
    I believe my problem lies in the configuration (./configure), but I 
do not know how to specify to configure I want 64-bit solaris (i.e. 
sparcv9) architecture using the GNU compiler.  I assume configure 
creates some portability file defining things like the size of ulong.  I 
tried ./configure --target=sparc64-solaris2.8-yada-yada-yada, but I 
don't think it worked because I still had to provide '-m64' on the 
compile & link line manually.
    I am using gcc v3.3.3, Solaris 8 & libtiff v3.5.7.  I realize 3.7.3 
is the latest, but upgrading to the latest libraries a few weeks before 
a release is not advisable unless absolutely necessary.  Besides, I 
can't beleive I am the only one to try libtiff in 64-bit mode on GNU.

    Any help would be greatly appreciated.

Thanks
Dan
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
