From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan McConnell Newsgroups: gmane.emacs.bugs Subject: Problem Building Emacs Date: Wed, 20 Nov 2002 13:53:12 -0500 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <20021120185312.GA6295@alanmcc.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037818682 21848 80.91.224.249 (20 Nov 2002 18:58:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 18:58:02 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ea2t-0005fP-00 for ; Wed, 20 Nov 2002 19:57:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Ea4Y-0003bq-00; Wed, 20 Nov 2002 13:59:38 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Ea3P-00031T-00 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2002 13:58:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Ea3F-0002sS-00 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2002 13:58:23 -0500 Original-Received: from pool181-13.patriot.net ([209.249.181.13] helo=alanmcc.patriot.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Ea3E-0002rH-00 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2002 13:58:16 -0500 Original-Received: by alanmcc.patriot.net (Postfix, from userid 501) id AB5BB149C2; Wed, 20 Nov 2002 13:53:12 -0500 (EST) Original-To: bug-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.27i Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3920 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3920 I have had similar problems in building GNU/Emacs in two different versions: emacs 19.34(source downloaded from ftp.gnu.org): I can run ./configure without a problem. When I then type "make" the compile quickly exits with a complaint about /usr/include/unistd.h: at line 568 "parse error before '('", "parse error before __pgrp" and then, at emacs.c 657 "too few arguments to function get pgrp" emacs 20.6(source downloaded from ftp.gnu.org): I can run ./configure without a problem. When I then type "make" the complie quickly exits with a complaint about /usr/include/unistd.h: at line 562, "macro 'setpgrp' requires 2 arguments, but only one given." Needless to say, I am anxious about my /usr/include/unistd.h. I am running Mandrake 8.2, and maybe they have given me a corrupt unistd.h? But I had a friend send me his unistd.h, and "diff" on them reveals no difference. As mentioned, I am running Mandrake 8.2, with gcc 2.96. I give you, just below, lines 547 to 576 of my /usr/include/unistd.h. The tips about submitting bugs tell us that we shouldn't speculate about the cause of difficulties, and so I won't. I shall be very grateful to you for any help that you can give with this problem. Best wishes, Alan McConnell (start)-------------------------------------- #if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED /* Both System V and BSD have `setpgrp' functions, but with different calling conventions. The BSD function is the same as POSIX.1 `setpgid' (above). The System V function takes no arguments and puts the calling process in its on group like `setpgid (0, 0)'. New programs should always use `setpgid' instead. The default in GNU is to provide the System V function. The BSD function is available under -D_BSD_SOURCE. */ # ifndef __FAVOR_BSD /* Set the process group ID of the calling process to its own PID. This is exactly the same as `setpgid (0, 0)'. */ extern int setpgrp (void) __THROW; #else /* Another name for `setpgid' (above). */ # ifdef __REDIRECT extern int __REDIRECT (setpgrp, (__pid_t __pid, __pid_t __pgrp) __THROW, setpgid); # else # define setpgrp setpgid # endif # endif /* Favor BSD. */ #endif /* Use SVID or BSD. */ -------------------------------------(finish) -- Alan McConnell : http://patriot.net/users/alan We do not know one millionth of one percent about anything.(Edison) Education cuts don't heal.