all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* too many arguments to function `setpgrp'
@ 2005-11-14 21:26 Dimitry Gashinsky
  0 siblings, 0 replies; only message in thread
From: Dimitry Gashinsky @ 2005-11-14 21:26 UTC (permalink / 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)))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-14 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 21:26 too many arguments to function `setpgrp' Dimitry Gashinsky

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.