unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compile failure on FreeBSD
@ 2004-08-17 13:59 Francis Devereux
  2004-08-17 14:51 ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: Francis Devereux @ 2004-08-17 13:59 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile failure on FreeBSD
  2004-08-17 13:59 Compile failure on FreeBSD Francis Devereux
@ 2004-08-17 14:51 ` Kim F. Storm
  2004-08-17 19:09   ` Francis Devereux
  0 siblings, 1 reply; 3+ messages in thread
From: Kim F. Storm @ 2004-08-17 14:51 UTC (permalink / raw)
  Cc: emacs-devel

Francis Devereux <francis@devrx.org> 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 <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compile failure on FreeBSD
  2004-08-17 14:51 ` Kim F. Storm
@ 2004-08-17 19:09   ` Francis Devereux
  0 siblings, 0 replies; 3+ messages in thread
From: Francis Devereux @ 2004-08-17 19:09 UTC (permalink / raw)
  Cc: emacs-devel

On Tue, Aug 17, 2004 at 04:51:38PM +0200, Kim F. Storm wrote:
> Francis Devereux <francis@devrx.org> 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 ?

Yes, that fixes it.

Thanks,

Francis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-17 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-17 13:59 Compile failure on FreeBSD Francis Devereux
2004-08-17 14:51 ` Kim F. Storm
2004-08-17 19:09   ` Francis Devereux

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).