[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile failure on FreeBSD
From: |
Kim F. Storm |
Subject: |
Re: Compile failure on FreeBSD |
Date: |
17 Aug 2004 16:51:38 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Francis Devereux <address@hidden> 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 <address@hidden> http://www.cua.dk