| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.09.05 16:04 "problem using 64-bit libtiff.so on Solaris 8 using GCC", by Dan SmithHi, 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 |
|||||||