From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Langella Raphael" Newsgroups: gmane.emacs.bugs Subject: bug#507: compilation problem under Solaris Date: Fri, 4 Jul 2008 10:40:55 +0200 Message-ID: <092785B790DCD043BA45401EDA43D9B503276DBA@cst-xch-003.cnesnet.ad.cnes.fr> Reply-To: Langella Raphael , 507@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215202050 11516 80.91.229.12 (4 Jul 2008 20:07:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 20:07:30 +0000 (UTC) To: "Glenn Morris" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 04 22:08:16 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KErZo-0001jF-3O for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2008 22:08:16 +0200 Original-Received: from localhost ([127.0.0.1]:48819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KErYx-0008AZ-4d for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2008 16:07:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KErYr-000895-MH for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 16:07:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KErYq-00088H-MY for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 16:07:17 -0400 Original-Received: from [199.232.76.173] (port=48813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KErYq-000886-Jm for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 16:07:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43395) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KErYq-0004Cj-HW for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 16:07:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64K7DLU022208; Fri, 4 Jul 2008 13:07:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m64Jo4ql016901; Fri, 4 Jul 2008 12:50:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Langella Raphael" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 04 Jul 2008 19:50:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 507 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 507-submit@emacsbugs.donarmstrong.com id=B507.121520057215582 (code B ref 507); Fri, 04 Jul 2008 19:50:04 +0000 Original-Received: (at 507) by emacsbugs.donarmstrong.com; 4 Jul 2008 19:42:52 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64JgkOH015576 for <507@emacsbugs.donarmstrong.com>; Fri, 4 Jul 2008 12:42:48 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KErAo-00084V-FD for 507@emacsbugs.donarmstrong.com; Fri, 04 Jul 2008 15:42:26 -0400 Resent-Message-ID: <18542.32034.383766.505884@fencepost.gnu.org> Resent-Date: Fri, 4 Jul 2008 15:42:26 -0400 Resent-From: Glenn Morris Resent-To: 507@emacsbugs.donarmstrong.com Content-class: urn:content-classes:message X-MIMEOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-topic: bug#507: compilation problem under Solaris Thread-index: AcjdR3Er7qZhq0t9QZeMj1Xy36TR6gAabqyQ X-OriginalArrivalTime: 04 Jul 2008 08:40:55.0586 (UTC) FILETIME=[ACAA7020:01C8DDB1] X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Bogosity: no, spamicity=0.045008, v1.0.1 Resent-Date: Fri, 04 Jul 2008 15:42:26 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18644 Archived-At: > -----Message d'origine----- > De : Glenn Morris [mailto:rgm@gnu.org]=20 > Envoy=E9 : jeudi 3 juillet 2008 22:00 > =C0 : Langella Raphael > Cc : 507@emacsbugs.donarmstrong.com > Objet : Re: bug#507: compilation problem under Solaris >=20 > tags 507 =3D help > stop >=20 > "Langella Raphael" wrote: >=20 > > Anyway, once corrected, cpp_undefs is correctly defined:=20 > cpp_undefs =3D=20 > > -UProduits -Utmp -Uemacs -Usparc -Usun -Usolaris2 -Usparc -Usun > > -Usolaris2 > > > > But compilation still fails. Instead of being replaced by "1 ", the=20 > >"sparc" string is just deleted. See attached src/Makefile. >=20 > OK, I think I see what's going on. src/m/sparc.h does: >=20 > #ifndef sparc > #define sparc > #endif >=20 > And src/Makefile.c includes config.h which includes this file. >=20 > Thus there seems to be no way to fix this through use of -U=20 > etc on the cpp line. >=20 > By far the easiest way for you to fix this is just to edit=20 > your src and lib-src Makefile by hand. That's exactly what I did even before reporting the bug. I just thought = I should report this. And I didn't have to edit lib-src/Makefile, only = src/Makefile.