2009.01.13 16:38 "[Tiff] tiff2ps option -c", by Joerg Schlueter

2009.02.19 15:16 "Re: [Tiff] Tiff Digest, Vol 57, Issue 16", by Richard Nolde

Ahmad,
    The current CVS versions should not have the #include <stdint.h>
statement. Please pull a current copy from CVS. If it still has that
line you can 1) Ask me to send you the correct version directly 2) Ask
Frank or Bob to post the correct version to CVS. I provide them with a
current copy last week.

Richard Nolde,
  Tiffcrop author

> Message: 5
> Date: Thu, 19 Feb 2009 15:44:47 +0800
> From: Ahmad Zaidee Abu <zaideeabu@gmail.com>
> Subject: [Tiff] Problem Compiling tiff-4.0.0beta3 in HP-UX
> To: tiff@lists.maptools.org
> Message-ID:
> <58949a030902182344n67c13c2tc18591a06cefb9f2@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"

I tried to compile tiff library in HP-UX 11.11.04 and gcc version is 3.4.4.

I got error as in attachment - configure and make output.

Can anyone suggest correct way to configure and make the tiff.

>> make
>>
> No suffix list.
> Making all in port

>         /bin/sh ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I../libtiff    -I/home/NIS/cpt2aab/usr/include   -g -O2 -Wall -W -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c -o dummy.lo dummy.c

> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../libtiff -I/home/NIS/cpt2aab/usr/include -g -O2 -Wall -W -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -fPIC -DPIC -o .libs/dummy.o

> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../libtiff -I/home/NIS/cpt2aab/usr/include -g -O2 -Wall -W -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c -o dummy.o >/dev/null 2>&1

> mv -f .deps/dummy.Tpo .deps/dummy.Plo

>         /bin/sh ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I. -I../libtiff    -I/home/NIS/cpt2aab/usr/include   -g -O2 -Wall -W -MT strtoull.lo -MD -MP -MF .deps/strtoull.Tpo -c -o strtoull.lo strtoull.c

> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../libtiff -I/home/NIS/cpt2aab/usr/include -g -O2 -Wall -W -MT strtoull.lo -MD -MP -MF .deps/strtoull.Tpo -c strtoull.c -fPIC -DPIC -o .libs/strtoull.o > strtoull.c: In function `strtoull':

> strtoull.c:90: error: `ULLONG_MAX' undeclared (first use in this function)

> strtoull.c:90: error: (Each undeclared identifier is reported only once

> strtoull.c:90: error: for each function it appears in.)
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
>

> It seems that ULLONG_MAX is not defined in limits.h in HP-UX, but got ULONG_LONG_MAX defined.

> Adding the line below in port/strtoull.c, make the compile pass.

>

>               #ifndef ULLONG_MAX
>       #define ULLONG_MAX ULONG_LONG_MAX
>       #endif

>
> But then another error came in.
>
> tiffcrop.c:120:20: stdint.h: No such file or directory
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>