From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: compiling on Sun Blade 100 running Solaris 2.8 Date: Wed, 10 Jul 2002 08:03:34 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <2110-Wed10Jul2002080334+0300-eliz@is.elta.co.il> References: <200207091726.g69HQsk17587@node-000.offices.mudd.colby.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1026277467 838 127.0.0.1 (10 Jul 2002 05:04:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 10 Jul 2002 05:04:27 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17S9eM-0000DO-00 for ; Wed, 10 Jul 2002 07:04:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17S9f4-0007M1-00; Wed, 10 Jul 2002 01:05:10 -0400 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17S9dx-0007LY-00 for ; Wed, 10 Jul 2002 01:04:01 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BOG36311; Wed, 10 Jul 2002 08:03:05 +0300 (IDT) Original-To: fqgouvea@colby.edu X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <200207091726.g69HQsk17587@node-000.offices.mudd.colby.edu> (fqgouvea@colby.edu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2573 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2573 > From: "\"Root at morse\"" > Date: Tue, 9 Jul 2002 13:26:54 -0400 (EDT) > > gcc -c -I/usr/openwin/include -I/usr/dt/include -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/usr/local/src/gnu/emacs-21.2/lwlib -I /usr/local/src/gnu/emacs-21.2/lwlib/../src xlwmenu.c > 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 numeric constant Thank you for your report. I think this is already fixed for the next release; please try the patch below and see if it solves the problem: --- src/s/sol2-5.h 5 Dec 2001 18:32:15 -0000 1.13.14.1 +++ src/s/sol2-5.h 19 Apr 2002 11:36:16 -0000 1.13.14.2 @@ -29,6 +29,18 @@ #define HAVE_VFORK 1 #endif +/* Newer versions of Solaris have bcopy etc. as functions, with + prototypes in strings.h. They lose if the defines from usg5-4.h + are visible, which happens when X headers are included. */ +#ifdef HAVE_BCOPY +#undef bcopy +#undef bzero +#undef bcmp +#ifndef NOT_C_CODE +#include +#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.