Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas021.isp.belgacom.be (localhost [127.0.0.1])
        by inav007.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j7ILjl5T016604
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 23:45:47 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx010.isp.belgacom.be (inmx010.isp.belgacom.be [195.238.2.73])
        by inas021.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j7ILjcd3007027
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 23:45:38 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j7ILjbva006806
        for <joris.at.lebbeke@skynet.be>; Thu, 18 Aug 2005 23:45:37 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j7ILbgQF001655;
	Thu, 18 Aug 2005 17:37:47 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j7ILbd2T001652
	for <tiff@lists.maptools.org>; Thu, 18 Aug 2005 17:37:39 -0400
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	j7ILbX8a024488; Thu, 18 Aug 2005 16:37:33 -0500 (CDT)
Date: Thu, 18 Aug 2005 16:37:33 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Andrey Kiselev <dron@ak4719.spb.edu>
Subject: Re: [Tiff] Compile error on AIX 5.1
In-Reply-To: <20050818210614.GC15996@ak4719.spb.edu>
Message-ID: <Pine.SOC.4.60.0508181631130.22525@blade.simplesystems.org>
References: <001701c5a35e$ea97fe10$4500a8c0@MOJO>
	<Pine.SOC.4.60.0508171504390.22525@blade.simplesystems.org>
	<20050818210614.GC15996@ak4719.spb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
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>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00000ad4
X-MSP-STORE: Thu, 18 Aug 2005 23:45:48 +0200
Status:   

On Fri, 19 Aug 2005, Andrey Kiselev wrote:

> On Wed, Aug 17, 2005 at 03:06:57PM -0500, Bob Friesenhahn wrote:
>>> Your proposed solution did not work. Getting same error message.
>>
>> The most likely cause of the '"char*" and "int" is not allowed' error
>> is that the header which includes the prototype for strchr() has not
>> been included for some reason.  Note that C defaults the function
>> return type to 'int' if there is no prototype.  I suggest seeing if
>> there is a header which can be included in order to obtain the
>> prototype.
>
> Good point. Philip, what header file includes strchr() declaration on
> your AIX? How the strchr() prototype looks like?

I am seeing

  extern char     *strchr(const char *, int)

in string.h under AIX 4.3.2 and 5.1.

While I have not compiled libtiff for myself under AIX, I have not 
experienced such problems building GraphicsMagick under AIX using 
IBM's xlc compiler.  The only problems noted under AIX has been that 
its compiler does not accept // for comments.

What compiler is being used?

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
