Re: some kernel headers broken in current git ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gabriel C <nix.or.die@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Ingo Molnar <mingo@...>, Gabriel C <crazy@...>, Thomas Gleixner <tglx@...>
Date: Sunday, October 21, 2007 - 12:29 am

Gabriel C wrote:

I have been unable to make heads or tails of the maze of twisty 
dependencies that VirtualBox wants, but the fact that it gets to line 23 
of <asm-generic/atomic.h> means it has gotten past:

     21  #if BITS_PER_LONG == 64
     22
     23  typedef atomic64_t atomic_long_t;

BITS_PER_LONG was originally set in <asm/types.h>:

     39  #ifdef CONFIG_X86_32
     40  # define BITS_PER_LONG 32
     41  #else
     42  # define BITS_PER_LONG 64
     43  #endif

The most obvious reason for failure is that the symbol CONFIG_X86_32 
isn't being defined where expected.  From that point on everything goes 
to hell.

Have you done "make oldconfig && make prepare" in your kernel tree since 
you last updated it?

	-hpa

-
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, 4:44 pm)
some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 4:44 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sun Oct 21, 12:29 am)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 6:25 am)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 8:39 am)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sun Oct 21, 3:15 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 4:10 pm)
Re: some kernel headers broken in current git ?, Sam Ravnborg, (Sun Oct 21, 4:02 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 5:22 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Sun Oct 21, 5:26 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Sun Oct 21, 5:56 pm)
Re: some kernel headers broken in current git ?, Jiri Kosina, (Fri Oct 19, 5:08 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 5:19 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 6:23 pm)
Re: some kernel headers broken in current git ?, Thomas Gleixner, (Fri Oct 19, 6:49 pm)
Re: some kernel headers broken in current git ?, Gabriel C, (Fri Oct 19, 7:43 pm)
Re: some kernel headers broken in current git ?, H. Peter Anvin, (Fri Oct 19, 9:34 pm)