[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: signal.h not being included



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: