AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.08.17 19:55 "[Tiff] getting libtiff error on AIX 5.1", by Philip Watkinson
2005.08.18 20:01 "RE: [Tiff] getting libtiff error on AIX 5.1", by Philip Watkinson
2005.08.18 21:00 "Re: [Tiff] getting libtiff error on AIX 5.1", by Andrey Kiselev

2005.08.18 20:01 "RE: [Tiff] getting libtiff error on AIX 5.1", by Philip Watkinson

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

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