- From: Irene Vatton <irene.vatton@inrialpes.fr>
- Date: Mon, 13 Oct 2003 16:06:19 +0200
- To: Riccardo Mottola <zuse@libero.it>
- Cc: www-amaya-dev@w3.org
On Sat, 11 Oct 2003 19:16:21 +0200 Riccardo Mottola <zuse@libero.it> wrote: > > Hello, > > I tried to build amaya on Aix 4.2 using gcc and linking to Motif (not only I > like it more, but I am not able in any way to compile gtk 1.x on Aix...). > > I did configure and use gnu-make > > The build gives the following erros (apart some redefinitions): > > .../../thotlib/base/fileaccess.c: In function `readFloat': > .../../thotlib/base/fileaccess.c:307: structure has no member named > `negative' > .../../thotlib/base/fileaccess.c:308: structure has no member named > `exponent' > .../../thotlib/base/fileaccess.c:309: structure has no member named > `mantissa' > .../../thotlib/base/fileaccess.c:309: structure has no member named > `exponent' I suggest that change in the file Amaya/thotlib/base/fileaccess.c: #if __BYTE_ORDER == __BIG_ENDIAN unsigned int negative:1; unsigned int exponent:8; unsigned int mantissa:23; - #endif - #if __BYTE_ORDER == __LITTLE_ENDIAN + #else unsigned int mantissa:23; unsigned int exponent:8; unsigned int negative:1; #endif #if defined(_BIG_ENDIAN) unsigned int negative:1; unsigned int exponent:8; unsigned int mantissa:23; - #endif - #if defined(_LITTLE_ENDIAN) + #else unsigned int mantissa:23; unsigned int exponent:8; unsigned int negative:1; #endif Irene. ----- Irène Vatton INRIA Rhône-Alpes INRIA ZIRST e-mail: Irene.Vatton@inria.fr 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
Received on Monday, 13 October 2003 10:06:31 UTC