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
February 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.02.28 22:19 "tiff 3.7.1 does not compile on AIX", by Tony Bennett
2005.02.28 22:26 "Re: tiff 3.7.1 does not compile on AIX", by Bob Friesenhahn
2005.02.28 23:17 "Re: tiff 3.7.1 does not compile on AIX", by Tony Bennett
2005.02.28 23:25 "Re: tiff 3.7.1 does not compile on AIX", by Bob Friesenhahn
2005.02.28 23:49 "Re: tiff 3.7.1 does not compile on AIX", by Tony Bennett
2005.03.01 00:01 "Re: tiff 3.7.1 does not compile on AIX", by Bob Friesenhahn
2005.03.01 00:05 "Re: tiff 3.7.1 does not compile on AIX", by Tony Bennett

2005.02.28 23:49 "Re: 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