AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.09.05 16:04 "problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith
2005.09.08 15:52 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Bob Friesenhahn
2005.09.08 20:39 "Re: problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith

2005.09.05 16:04 "problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan Smith

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