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
August 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.08.09 20:08 "Compile error on AIX 5.1", by Philip Watkinson
2005.08.10 19:58 "Re: Compile error on AIX 5.1", by Andrey Kiselev
2005.08.17 19:07 "Re: Compile error on AIX 5.1", by Philip Watkinson
2005.08.17 20:06 "Re: Compile error on AIX 5.1", by Bob Friesenhahn
2005.08.18 21:06 "Re: Compile error on AIX 5.1", by Andrey Kiselev
2005.08.18 21:37 "Re: Compile error on AIX 5.1", by Bob Friesenhahn
2005.08.18 22:59 "Re: Compile error on AIX 5.1", by Bob Friesenhahn

2005.08.18 21:37 "Re: Compile error on AIX 5.1", by Bob Friesenhahn

> > > 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/