2005.02.28 23:49 "RE: [Tiff] tiff 3.7.1 does not compile on AIX", by Tony Bennett
Thanks, Bob...
I commented out building tif_stream.cxx in the libtiff/Makefile... ...and got the library to build successfully.
However, make is now failing on building tiffset:
source='tiffset.c' object='tiffset.o' libtool=no DEPDIR=.deps depmode=aix \
/bin/sh ../depcomp xlc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff \
-I../libtiff -g -c tiffset.c
"tiffset.c", line 110.28: 1506-068 (S) Operation between types "short" and "char*" is not allowed.
make: 1254-004 The error code from the last command is 1.
Stop.
Line 110, sure looks like a coding error, since argv is defined as "char* argv[]":
107 int ret;
108 short wc;
109
110 if (fip->field_writecount == TIFF_VARIABLE)
111 wc = argv[arg_index++];
112 else
113 wc = fip->field_writecount;
-tony