W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2000

Re: memset compilation problem

From: <Irene.Vatton@inrialpes.fr>
Date: Mon, 03 Jan 2000 18:02:10 +0100
Message-Id: <200001031702.SAA09681@tahiti.inrialpes.fr>
To: Andrew Lare <lare@eos913c.gsfc.nasa.gov>
cc: www-amaya@w3.org

Hi,

This is a known SGI error. Some platforms uses string.h, some other strings.h.
SGI has both with different definitions.
Normally I fixed it by commenting the line in the file generated by configure
Amaya/SGI/config.h:
-#define HAVE_STRINGS_H 1
+/*#define HAVE_STRINGS_H 1*/

Best wishes
  Irene.

In-reply-to: Your message of Tue, 28 Dec 1999 13:59:23 -0500."
             <38690887.DD1F1AD1@eos913c.gsfc.nasa.gov> 
> Trying to compile Amaya 2.4 on SGI running Irix 6.5.6 using gcc 2.95.2,
> I get the following error.  Any ideas/suggestions?
> 
> 
> gmake[2]: Entering directory
> `/usr1/people/lare/test_soft/Amaya/obj/thotlib'
> gcc -O2 -W  -fsigned-char  -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../../schemas
> -I../../schemasOPERA -I../../libjpeg -I../../libpng -I../../libpng/zlib
> -I/usr/include/X11   -c ../../thotlib/dialogue/interface.c -o
> dialogue/interface.o
> In file included from ../../thotlib/include/sysdep.h:797,
>                  from ../../thotlib/include/thot_sys.h:49,
>                  from ../../thotlib/dialogue/interface.c:21:
> /usr/include/strings.h:30: parse error before `0'
> /usr/include/strings.h:30: warning: conflicting types for built-in
> function `memset'
> In file included from ../../thotlib/include/sysdep.h:946,
>                  from ../../thotlib/include/thot_sys.h:49,
>                  from ../../thotlib/dialogue/interface.c:21:
> /usr/include/memory.h:60: conflicting types for `memset'
> /usr/include/strings.h:30: previous declaration of `memset'
> gmake[2]: *** [dialogue/interface.o] Error 1
> gmake[2]: Leaving directory
> `/usr1/people/lare/test_soft/Amaya/obj/thotlib'
> gmake[1]: *** [../thotlib/libThotEditor.a] Error 2
> gmake[1]: Leaving directory
> `/usr1/people/lare/test_soft/Amaya/obj/amaya'
> 
> -- 
> |* Dr. Andrew R. Lare       http://climate.gsfc.nasa.gov/~lare/  *|
> |* SM&A Corporation (East)  E-MAIL:    andrew.lare@gsfc.nasa.gov *|
> |* NASA/GSFC Code 913       VOICE/FAX: 301-614-6211/301-614-6420 *|
> |* Greenbelt, MD 20771      OFFICE:    Bldg.33  Rm.C306          *|
> 
> 
Received on Monday, 3 January 2000 12:02:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:30 UTC