Re: some kernel headers broken in current git ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Sunday, October 21, 2007 - 1:02 pm

On Sun, Oct 21, 2007 at 12:15:48PM -0700, H. Peter Anvin wrote:
No - it is a kernel module.
But what a messy codebase to look at...


From the file "the-linux-kernel.h":
/*
 * Include iprt/types.h to install the bool wrappers.
 * Then use the linux bool type for all the stuff include here.
 */
#include <iprt/types.h>
#define bool linux_bool

And that file named "types.h" is not a kernel types.h - so we miss that
file. I guess it was pulled in by some other headerfile in the past.

But I also notice that it latest source from VirtualBox the
line number for include of spinlock-h does not match.


This is most likely a combination of VirtualBox doing strange strange things
and some deep dependency missing in one of the headerfiles.

Add a #include <linux/types.h> to the-linux-kernel.h and let us know if it helps.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] dz.c: Fix locking issues, Maciej W. Rozycki, (Fri Oct 19, 1:44 pm)
some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 1:44 pm)
Re: some kernel headers broken in current git ?, Jiri Kosina, (Fri Oct 19, 2:08 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 2:19 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 3:23 pm)
Re: some kernel headers broken in current git ?, Thomas Gleixner, (Fri Oct 19, 3:49 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 4:43 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Fri Oct 19, 6:34 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sat Oct 20, 9:29 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 3:25 am)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 5:39 am)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sun Oct 21, 12:15 pm)
Re: some kernel headers broken in current git ?, Sam Ravnborg, (Sun Oct 21, 1:02 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 1:10 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 2:22 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sun Oct 21, 2:26 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 2:56 pm)