all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: building 21.2 on sparc-sun-solaris2.7, conflicting types for memmove
Date: Wed, 31 Jul 2002 13:46:41 +0300	[thread overview]
Message-ID: <2950-Wed31Jul2002134640+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <200207302022.g6UKMEm27030@stoker.cs.ubc.ca> (message from Matthew Wilkins on Tue, 30 Jul 2002 13:22:14 -0700)

> From: Matthew Wilkins <mcw@cs.ubc.ca>
> Date: Tue, 30 Jul 2002 13:22:14 -0700
> 
> the error is:
>    gmake[2]: Entering directory `/cs/local/src/gnu/emacs/emacs-21.2/obj-SunOS-5.7-sparc/lwlib'
>    gcc -c   -I/usr/openwin/include  -I/usr/dt/include    -g -O2
>                      -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src
>                      -I/cs/local/src/gnu/emacs/emacs-21.2/lwlib
>                      -I/cs/local/src/gnu/emacs/emacs-21.2/lwlib/../src
>                      /cs/local/src/gnu/emacs/emacs-21.2/lwlib/xlwmenu.c
>    In file included from /usr/openwin/include/X11/Xos.h:81,
>                     from /cs/local/src/gnu/emacs/emacs-21.2/lwlib/xlwmenu.c:32:
>    /usr/include/strings.h:25: conflicting types for `memmove'
>    /usr/include/string.h:44: previous declaration of `memmove'
>    /usr/include/strings.h:26: parse error before `0'
>    /usr/include/strings.h:26: warning: conflicting types for built-in function `memset'
>    gmake[2]: *** [xlwmenu.o] Error 1

This is a known problem, it is fixed for the next release.  Please
try this patch:

Index: src/s/sol2-5.h
===================================================================
RCS file: /cvs/emacs/src/s/sol2-5.h,v
retrieving revision 1.13
diff -c -r1.13 sol2-5.h
*** src/s/sol2-5.h	22 Nov 2000 10:37:31 -0000	1.13
--- src/s/sol2-5.h	17 Apr 2002 18:00:03 -0000
***************
*** 24,29 ****
--- 24,38 ----
  
  #undef USE_MMAP_FOR_BUFFERS
  
+ #ifdef HAVE_BCOPY
+ #undef bcopy
+ #undef bzero
+ #undef bcmp
+ #ifndef NOT_C_CODE
+ #include <strings.h>
+ #endif
+ #endif
+ 
  #if 0 /* A recent patch in unexelf.c should eliminate the need for this.  */
  /* Don't use the shared libraries for -lXt and -lXaw,
     to work around a linker bug in Solaris 2.5.

  reply	other threads:[~2002-07-31 10:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30 20:22 building 21.2 on sparc-sun-solaris2.7, conflicting types for memmove Matthew Wilkins
2002-07-31 10:46 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-31 17:47 Matthew Wilkins
2002-08-01  5:30 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2950-Wed31Jul2002134640+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.