Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas014.isp.belgacom.be (localhost [127.0.0.1])
        by inav020.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j7IKJKco016449
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 22:19:20 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx017.isp.belgacom.be (inmx017.isp.belgacom.be [195.238.2.129])
        by inas014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j7IKJDA9015933
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 22:19:13 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx017.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j7IKJ9Np013359
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 22:19:09 +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 j7IK80vn031389;
	Thu, 18 Aug 2005 16:09:15 -0400
Received: from host126.ipowerweb.com (host126.ipowerweb.com [66.235.192.108])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id j7IK7vl2031386
	for <tiff@lists.maptools.org>; Thu, 18 Aug 2005 16:07:58 -0400
Received: (qmail 66315 invoked from network); 18 Aug 2005 20:07:55 -0000
Received: from unknown (HELO MOJO) (67.55.1.33)
	by host126.ipowerweb.com with SMTP; 18 Aug 2005 20:07:54 -0000
From: "Philip Watkinson" <pwatkins@crawfordtech.com>
To: "'Philip Watkinson'" <pwatkins@crawfordtech.com>,
        <tiff@lists.maptools.org>
Subject: RE: [Tiff] getting libtiff error on AIX 5.1
Date: Thu, 18 Aug 2005 16:01:22 -0400
Message-ID: <004301c5a42f$9bd36db0$4500a8c0@MOJO>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
In-Reply-To: <001801c5a365$adf6bc60$4500a8c0@MOJO>
X-DCC-ipwdcc-Metrics: host126.ipowerweb.com 207; Body=1 Fuz1=1 Fuz2=1
Cc: 
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>
Content-Type: multipart/mixed; boundary="===============1875442038=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00000acf
X-MSP-STORE: Thu, 18 Aug 2005 22:19:22 +0200
Status:   

This is a multi-part message in MIME format.

--===============1875442038==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0044_01C5A40E.14C1CDB0"

This is a multi-part message in MIME format.

------=_NextPart_000_0044_01C5A40E.14C1CDB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Found the source of the problem. The Libtiff software will not work with
the AIX large file environment (_LARGE_FILES, _LARGE_FILE_API). lseek()
in tif_unix.c returned an error causing Libtiff to generate the error
message "Error writing data for field StripOffsets" when writing the
directory. 
 
Philip

-----Original Message-----
From: tiff-bounces@lists.maptools.org
[mailto:tiff-bounces@lists.maptools.org] On Behalf Of Philip Watkinson
Sent: Wednesday, August 17, 2005 3:56 PM
To: tiff@lists.maptools.org
Subject: [Tiff] getting libtiff error on AIX 5.1


Generating the same multipage TIFF file on Windows, Linux, Solaris and
AIX 5.1. All work except AIX. With AIX, I'm getting the error: 
 
Error writing data for field "StripOffsets". It appears that this error
occurs when TIFFWriteDirectory() is called. In my program
TIFFWriteDirectory() is called after writing all the scan lines with
TIFFWriteScanLine().
 
Has anyone experienced this problem or have any suggestions for fixing
it?
 
Philip 


__________ NOD32 1.1196 (20050817) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



------=_NextPart_000_0044_01C5A40E.14C1CDB0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D525434519-18082005><FONT face=3DArial color=3D#0000ff =
size=3D2>Found=20
the source of the problem. The Libtiff software will not work&nbsp;with =
the AIX=20
large file environment (_LARGE_FILES, _LARGE_FILE_API). lseek() in=20
tif_unix.c&nbsp;returned an error causing Libtiff to generate the error =
message=20
"Error writing data for field StripOffsets" when writing the=20
directory.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D525434519-18082005><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D525434519-18082005><FONT face=3DArial color=3D#0000ff =

size=3D2>Philip</FONT></SPAN></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  tiff-bounces@lists.maptools.org =
[mailto:tiff-bounces@lists.maptools.org] <B>On=20
  Behalf Of </B>Philip Watkinson<BR><B>Sent:</B> Wednesday, August 17, =
2005 3:56=20
  PM<BR><B>To:</B> tiff@lists.maptools.org<BR><B>Subject:</B> [Tiff] =
getting=20
  libtiff error on AIX 5.1<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D732253719-17082005><FONT face=3DArial =
size=3D2>Generating the=20
  same multipage TIFF file on Windows,&nbsp;Linux, Solaris and AIX 5.1. =
All work=20
  except AIX. With AIX, I'm getting the error:&nbsp;</FONT></SPAN></DIV>
  <DIV><SPAN class=3D732253719-17082005></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D732253719-17082005><FONT face=3DArial =
size=3D2>Error writing data=20
  for field "StripOffsets". It appears that this error occurs when=20
  TIFFWriteDirectory() is called. In my program =
TIFFWriteDirectory()&nbsp;is=20
  called after writing all the scan lines with=20
  TIFFWriteScanLine().</FONT></SPAN></DIV>
  <DIV><SPAN class=3D732253719-17082005></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D732253719-17082005><FONT face=3DArial size=3D2>Has =
anyone=20
  experienced this problem or have any suggestions for fixing=20
  it?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D732253719-17082005></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D732253719-17082005><FONT face=3DArial=20
  size=3D2>Philip</FONT>&nbsp;</SPAN></DIV><BR><BR>__________ NOD32 =
1.1196=20
  (20050817) Information __________<BR><BR>This message was checked by =
NOD32=20
  antivirus system.<BR><A=20
href=3D"http://www.eset.com">http://www.eset.com</A><BR></BLOCKQUOTE></BO=
DY></HTML>

------=_NextPart_000_0044_01C5A40E.14C1CDB0--


--===============1875442038==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1875442038==--

