From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Compile failure on FreeBSD Date: 17 Aug 2004 16:51:38 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20040817135946.GD656@gecko.repton.int> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092754321 6598 80.91.224.253 (17 Aug 2004 14:52:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2004 14:52:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 17 16:51:48 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bx5JU-0001mV-00 for ; Tue, 17 Aug 2004 16:51:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx5Nd-0003Qr-T5 for ged-emacs-devel@m.gmane.org; Tue, 17 Aug 2004 10:56:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bx5Mh-0002kS-Ku for emacs-devel@gnu.org; Tue, 17 Aug 2004 10:55:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bx5Mg-0002js-C7 for emacs-devel@gnu.org; Tue, 17 Aug 2004 10:55:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bx5Mg-0002jm-7b for emacs-devel@gnu.org; Tue, 17 Aug 2004 10:55:06 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bx5IU-0002Yb-EC for emacs-devel@gnu.org; Tue, 17 Aug 2004 10:50:46 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id A2A3D262880; Tue, 17 Aug 2004 16:50:43 +0200 (CEST) Original-To: Francis Devereux In-Reply-To: <20040817135946.GD656@gecko.repton.int> Original-Lines: 59 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26282 Francis Devereux writes: > Hello, > > I have just got the latest emacs code from CVS and attempted to compile it > (./configure && make bootstrap), and the following error occurred: > > gcc -c -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/home/francis/src/unmodified/emacs-cvs/emacs/src -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib -I/usr/X11R6/include -g -O2 process.c > process.c: In function `process_send_signal': > process.c:5575: error: `CVDISABLE' undeclared (first use in this function) > process.c:5575: error: (Each undeclared identifier is reported only once > process.c:5575: error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/home/francis/src/unmodified/emacs-cvs/emacs/src. > *** Error code 1 > > Stop in /usr/home/francis/src/unmodified/emacs-cvs/emacs. > > This was on an x86 FreeBSD 5.2.1-RELEASE-p9 system. > > Francis. Does this patch help ? diff -c -r1.435 process.c *** process.c 16 Aug 2004 22:57:26 -0000 1.435 --- process.c 17 Aug 2004 14:49:21 -0000 *************** *** 5572,5578 **** break; } ! if (sig_char && *sig_char != CVDISABLE) send_process (proc, sig_char, 1, Qnil); return; #else /* ! HAVE_TERMIOS */ --- 5589,5603 ---- break; } ! #ifndef _POSIX_VDISABLE ! #ifdef CVDISABLE ! #define _POSIX_VDISABLE CVDISABLE ! #else ! #define _POSIX_VDISABLE '\0' ! #endif ! #endif ! ! if (sig_char && *sig_char != _POSIX_VDISABLE) send_process (proc, sig_char, 1, Qnil); return; #else /* ! HAVE_TERMIOS */ -- Kim F. Storm http://www.cua.dk