all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dimitry Gashinsky <i@digash.com>
Subject: too many arguments to function `setpgrp'
Date: Mon, 14 Nov 2005 16:26:38 -0500	[thread overview]
Message-ID: <hh64qurkdt.fsf@dam.digash.com> (raw)

Hi,

I am getting this error:

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID
-I. -I/home/dgashins/src/c/emacs/src -D_BSD_SOURCE
-I/home/dgashins/usr/include/ -g -O2 emacs.c
emacs.c: In function `main':
emacs.c:1178: error: too many arguments to function `setpgrp'
make[1]: *** [emacs.o] Error 1
make[1]: Leaving directory `/home/dgashins/src/c/emacs/src'
make: *** [bootstrap-build] Error 2

Here is the lines:

#ifdef BSD_PGRPS
      if (initialized)
      {
        inherited_pgroup = EMACS_GETPGRP (0);
          setpgrp (0, getpid ());
          }
#else
#if defined (USG5) && defined (INTERRUPT_INPUT)
      setpgrp ();
#endif
#endif

I am running on Red Hat Linux Advanced Server release 2.1AS
(Pensacola). I also tried on RedHat 3.0 with the same results. I am
running a particular configure line:

./configure --prefix=/home/dg/usr/
--x-includes=/home/dg/usr/include/ --x-libraries=/usr/X11R6/lib/
--with-x --with-x-toolkit=yes

I am not sure why BSD_PGRPS gets set. Is there some test that is
incorrectly setting this define.

Regards,
Dima
-- 
((lambda (lambda) `(,lambda ',lambda)) '(lambda (lambda) `(,lambda ',lambda)))

                 reply	other threads:[~2005-11-14 21:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hh64qurkdt.fsf@dam.digash.com \
    --to=i@digash.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.