bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris 8 patches 108652-51 and 108919-14 break `make install'


From: Eli Zaretskii
Subject: Re: Solaris 8 patches 108652-51 and 108919-14 break `make install'
Date: Wed, 17 Apr 2002 14:03:51 -0400

> From: Rabbe Fogelholm <address@hidden>
> Newsgroups: gnu.emacs.bug
> Date: Wed, 17 Apr 2002 18:07:26 +0200
> 
> > > > In file included from /usr/openwin/include/X11/Xos.h:81,
> > > >                  from xlwmenu.c:32:
> > > > /usr/include/strings.h:25: conflicting types for `memmove'
> > > > /usr/include/iso/string_iso.h:62: 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'
> > > > make[2]: *** [xlwmenu.o] Error 1
> > > > make[2]: Leaving directory `/usr/local/bootenv/emacs/emacs-21.2/lwlib'
> > > > make[1]: *** [really-lwlib] Error 2
> > > > make[1]: Leaving directory `/usr/local/bootenv/emacs/emacs-21.2/src'
> > > > make: *** [src] Error 2
> > >
> > > A workaround is to back out the 108652-51 patch, which requires that
> > > 108919-14 is backed out first. After doing this the `make install'
> > > target succeeds.

Thanks for the files you sent.  Could you please try the patch below,
both with and without the Solaris patches, and see if Emacs builds in
both cases?  Thanks.

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 via email to

[Prev in Thread] Current Thread [Next in Thread]