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 2009

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

2009.02.19 15:16 "Re: Tiff Digest, Vol 57, Issue 16", by Richard Nolde
2009.02.19 17:12 "Re: Tiff Digest, Vol 57, Issue 16", by Bob Friesenhahn
2009.02.19 18:37 "Re: Tiff Digest, Vol 57, Issue 16", by Toby Thain
2009.02.19 22:48 "Re: Problem Compiling tiff-4.0.0beta3 in HP-UX", by Ahmad Zaidee Abu

2009.02.19 22:48 "Re: Problem Compiling tiff-4.0.0beta3 in HP-UX", by Ahmad Zaidee Abu

Hi Nolde & all,

Thanks for the suggestion.

But before I can start using CVS etc, does anyone have any fix for the
ULLONG_MAX error in HP?
Other than manually changing to adding #define ULLONG_MAX
ULONG_LONG_MAX when it's not defined?
I wasn't even sure if ULLONG_MAX is actually equivalent to ULONG_LONG_MAX.

Regards,
zaidee


On Fri, Feb 20, 2009 at 1:00 AM,  <tiff-request@lists.maptools.org> wrote:
> Send Tiff mailing list submissions to
>        tiff@lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.maptools.org/mailman/listinfo/tiff
> or, via email, send a message with subject or body 'help' to
>        tiff-request@lists.maptools.org
>
> You can reach the person managing the list at
>        tiff-owner@lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tiff digest..."
>
>
> Today's Topics:
>
>   1. Re: Tiff Digest, Vol 57, Issue 16 (Richard Nolde)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 19 Feb 2009 08:16:04 -0700
> From: Richard Nolde <richard.nolde@cybox.com>
> Subject: Re: [Tiff] Tiff Digest, Vol 57, Issue 16
> To: tiff@lists.maptools.org
> Message-ID: <499D77B4.3030707@cybox.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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"
>>
>> Hi all,
>>
>> 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.
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> Tiff mailing list
> Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
>
> End of Tiff Digest, Vol 57, Issue 17
> ************************************
>