emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

too many arguments to function `setpgrp'


From: Dimitry Gashinsky
Subject: too many arguments to function `setpgrp'
Date: Mon, 14 Nov 2005 16:26:38 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.51 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]