Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id AD06D400125
	for <info@awaresystems.be>; Thu, 19 Feb 2009 17:13:28 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-k.b-one.net (Postfix) with ESMTP id 13975C222A2
	for <info@awaresystems.be>; Thu, 19 Feb 2009 17:13:27 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id A48501D18B13F;
	Thu, 19 Feb 2009 11:12:38 -0500 (EST)
Received: from isadora.cybox.com (isadora.cybox.com [206.168.112.10])
	by lists.maptools.org (Postfix) with ESMTP id C55541D1AEEE9
	for <tiff@lists.maptools.org>; Thu, 19 Feb 2009 10:16:19 -0500 (EST)
Received: from css2.css.com (vc7-1-52.dsl.netrack.net [199.45.160.84] (may be
	forged)) (authenticated)
	by isadora.cybox.com (msa 8.13.8/8.13.6) with ESMTP id n1JFG9PQ001735
	for <tiff@lists.maptools.org>; Thu, 19 Feb 2009 08:16:19 -0700
Message-ID: <499D77B4.3030707@cybox.com>
Date: Thu, 19 Feb 2009 08:16:04 -0700
From: Richard Nolde <richard.nolde@cybox.com>
User-Agent: Thunderbird 2.0.0.14 (X11/20080501)
MIME-Version: 1.0
To: tiff@lists.maptools.org
References: <mailman.975.1235029493.12386.tiff@lists.maptools.org>
In-Reply-To: <mailman.975.1235029493.12386.tiff@lists.maptools.org>
Subject: Re: [Tiff] Tiff Digest, Vol 57, Issue 16
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

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
http://www.remotesensing.org/libtiff/
