Re: AIX 4.2 fails to build

on 10/13/03 4:06 PM, Irene Vatton at irene.vatton@inrialpes.fr wrote:

> 
> I suggest that change in the file Amaya/thotlib/base/fileaccess.c:
> #if     __BYTE_ORDER == __BIG_ENDIAN
<snip>

Ok, that made good progress, thanks. Now the build stops further on.

(There are many, many redefinitions)

<snip>
gmake[1]: Entering directory `/usr/local/build/Amaya/r6k/thotlib'
gcc -O2 -W  -D_I18N_  -DHAVE_CONFIG_H -I.. -I../../amaya/xpm
-I../../tablelib/f -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 In file included from ../../thotlib/unicode/ustring.c:15:
../../thotlib/include/thot_sys.h:33: warning: `M_PI' redefined
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.95.3/include/math.h:234:
warning:
 this is the location of the previous definition
../../thotlib/include/thot_sys.h:34: warning: `M_PI_2' redefined
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.95.3/include/math.h:235:
warning: this is the location of the previous definition
../../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

Greetings,
Riccardo

Received on Monday, 13 October 2003 15:05:17 UTC