Re: signal.h not being included
- To: Christoph Martin <martin@uni-mainz.de>
- Cc: 225737@bugs.debian.org, 225737-submitter@bugs.debian.org, seph <seph@directionless.org>, linux-kernel-headers@packages.debian.org, libc6-dev@packages.debian.org
- Subject: Re: signal.h not being included
- From: Daniel Jacobowitz <dan@debian.org>
- Date: Wed, 11 Feb 2004 09:11:29 -0500
- Message-id: <[🔎] 20040211141129.GA31853@nevyn.them.org>
- Mail-followup-to: Christoph Martin <martin@uni-mainz.de>, 225737@bugs.debian.org, 225737-submitter@bugs.debian.org, seph <seph@directionless.org>, linux-kernel-headers@packages.debian.org, libc6-dev@packages.debian.org
- In-reply-to: <[🔎] 402A331B.7030006@uni-mainz.de>
- References: <[🔎] 402A331B.7030006@uni-mainz.de>
On Wed, Feb 11, 2004 at 02:50:19PM +0100, Christoph Martin wrote:
> configure gives the following error message in config.log:
>
> In file included from /usr/include/asm/sigcontext.h:4,
> from /usr/include/bits/sigcontext.h:28,
> from /usr/include/signal.h:326,
> from configure:4872:
> /usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
> /usr/include/sys/cdefs.h:195: warning: this is the location of the
> previous definition
>
> configure then takes this as an error that signal.h is not found and
> undefs HAVE_SIGNAL_H.
>
> I am not shure where the problem really is.
>
> linux-kernel-headers: /usr/include/linux/compiler.h
> libc6-dev: /usr/include/sys/cdefs.h
> libc6-dev: /usr/include/signal.h
>
> Both packages are from testing.
Is configure running with -D__KERNEL__? If so, fix that. If not,
please figure out how you got that error message; recent lkh packages
suppress linux/compiler.h if not __KERNEL__.
But __attribute_used__ is not on line 17, so I don't know what is wrong
with your system.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: