From: Daniel Jacobowitz <drow@false.org>
To: gdb@sources.redhat.com
Subject: Re: cvs build problem with 2.95
Date: Sun, 18 Apr 2004 00:16:00 -0000 [thread overview]
Message-ID: <20040417143552.GA7390@nevyn.them.org> (raw)
In-Reply-To: <20040417135354.GB7050@ata.cs.hun.edu.tr>
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 <linux/compiler.h> 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
next prev parent reply other threads:[~2004-04-17 14:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-17 14:35 Baurjan Ismagulov
2004-04-18 0:16 ` Daniel Jacobowitz [this message]
2004-04-18 14:16 ` Baurjan Ismagulov
2004-04-18 15:20 ` Daniel Jacobowitz
2004-04-18 16:13 ` Baurjan Ismagulov
2004-04-18 22:56 ` Daniel Jacobowitz
2004-04-19 2:45 ` Baurjan Ismagulov
2004-04-19 13:24 ` Jim Blandy
2004-04-19 12:43 ` Baurjan Ismagulov
2004-04-19 18:32 ` Daniel Jacobowitz
2004-04-20 16:34 ` Baurjan Ismagulov
2004-04-20 16:42 ` Andrew Cagney
2004-04-21 0:44 ` Baurjan Ismagulov
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=20040417143552.GA7390@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox