Re: AIX 4.2 fails to build

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Organization INRIA
Message-ID <[email protected]>
On Thu, 16 Oct 2003 10:59:51 +0200
Riccardo Mottola <[email protected]> wrote:

> 
> Hello Irene,
> 
> good work, this work solved many of the warnings.
> 
> there remains one that is fatal though:
> 
> I../../thotlib/include -I../../thotlib/internals/var
> -I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg
> -I/usr/include/Motif1.2    -c ../../thotlib/unicode/ustring.c -o
> unicode/ustring.o
> .../../thotlib/unicode/ustring.c:114: conflicting types for `wcstok'
> /usr/include/wchar.h:155: previous declaration of `wcstok'
> gmake[1]: *** [unicode/ustring.o] Error 1
> 
> 
> This is the declaration I have in the header:
> extern wchar_t *wcstok(wchar_t *, const wchar_t *);

On current Unix systems there is an include /usr/include/wchar.h
If not present could you look for this file within /usr/lib/gcc-lib/

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: [email protected]       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.