From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24977 invoked by alias); 17 Apr 2004 14:35:58 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24969 invoked from network); 17 Apr 2004 14:35:57 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 17 Apr 2004 14:35:57 -0000 Received: from drow by nevyn.them.org with local (Exim 4.31 #1 (Debian)) id 1BEqvB-0001vg-Df for ; Sat, 17 Apr 2004 10:35:53 -0400 Date: Sun, 18 Apr 2004 00:16:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: cvs build problem with 2.95 Message-ID: <20040417143552.GA7390@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20040417135354.GB7050@ata.cs.hun.edu.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040417135354.GB7050@ata.cs.hun.edu.tr> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00094.txt.bz2 On Sat, Apr 17, 2004 at 03:53:54PM +0200, Baurjan Ismagulov wrote: > Hello, > > I'm trying to build the latest cvs with gcc 2.95 on a Debian woody/sid > system. Compilation of tcl/generic/tclPipe.c fails at the line 281 with > an error of "storage size of `waitStatus' isn't known". The variable is > declared as "WAIT_STATUS_TYPE waitStatus", which expands to "union > wait". NO_SYS_WAIT_H is set, and sys/wait.h doesn't get included from > tcl/unix/tclUnixPort.h. > > configure invoked from make in one of subdirectories says "checking for > sys/wait.h... no". An excerpt from tcl/unix/config.log is given below. I > am not sure why gcc -E should return a non-zero exit status in case of > warnings. Besides, I've tried to reproduce the problem by preprocessing > the sample from config.log with a confdefs.h from libiberty/config.log; > the sample compiled without problems and gcc -E returned 0. > > So, the questions: > > 1. How should I correct this problem? I want to compile the latest cvs. > > 2. Where is the correct confdefs.h? I want to be able to reproduce > configure tests. Fix your headers. Your is bad. I don't know what you're running, but it looks like you grabbed an old version of linux-kernel-headers from Debian/sid - get a newer one. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer