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

Re: signal.h not being included

Daniel Jacobowitz schrieb:
> 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.

Thanks for the hint. linux-kernel-headers was not the most recent
version on my system. Perhaps this would fix the problem on the
submitters system too.


Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

Attachment: pgpamSj6ziqg7.pgp
Description: PGP signature

Reply to: