2007-10-19 20:49:34

by Gabriel C

[permalink] [raw]
Subject: some kernel headers broken in current git ?

Hi,

usually I'll wait for rc1 and test compile external module to see which are broken and what need fixing
but while I need virtualbox for some tests I test compile it on current git and it failed badly.

Maybe something is missing from x86 merge ?

Here is what I get :

...

/linux/memobj-r0drv-linux.c
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic_32.h:265,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock_32.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/spinlock.h:87,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:53,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:27: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:34: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:41: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:48: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:55: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: for each function it appears in.)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:59: warning: implicit declaration of function 'atomic64_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:62: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:66: warning: implicit declaration of function 'atomic64_sub'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:69: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:73: warning: implicit declaration of function 'atomic64_sub_and_test'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:76: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:83: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:90: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:94: warning: implicit declaration of function 'atomic64_add_negative'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:97: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:101: warning: implicit declaration of function 'atomic64_add_return'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:104: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:108: warning: implicit declaration of function 'atomic64_sub_return'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:111: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:118: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:125: error: expected ')' before '*' token
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:269: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'populated_zone':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:602: error: 'struct zone' has no member named 'present_pages'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_normal':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:650: error: 'struct zone' has no member named 'zone_pgdat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_dma':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:665: error: 'struct zone' has no member named 'zone_pgdat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:6:25: error: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:22: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic_32.h:265,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock_32.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/spinlock.h:87,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:53,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:27: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:34: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:41: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:48: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:55: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: for each function it appears in.)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:59: warning: implicit declaration of function 'atomic64_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:62: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:66: warning: implicit declaration of function 'atomic64_sub'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:69: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:73: warning: implicit declaration of function 'atomic64_sub_and_test'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:76: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:83: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:90: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:94: warning: implicit declaration of function 'atomic64_add_negative'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:97: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:101: warning: implicit declaration of function 'atomic64_add_return'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:152:26: error: mach_apicdef.h: No such file or directory
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:104: error: expected declaration specifiers or '...' before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h: In function 'hard_smp_processor_id':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:156: warning: implicit declaration of function 'GET_APIC_ID'/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_return':

/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:108: warning: implicit declaration of function 'atomic64_sub_return'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:111: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:118: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:125: error: expected ')' before '*' token
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/timer.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:8,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h: In function 'ktime_set':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h:84: warning: comparison is always false due to limited range of data type
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:269: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic_32.h:265,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock_32.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/spinlock.h:87,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:53,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:27: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:34: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:41: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:48: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:55: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: for each function it appears in.)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:57: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:59: warning: implicit declaration of function 'atomic64_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:62: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:64: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:66: warning: implicit declaration of function 'atomic64_sub'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:69: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:71: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:73: warning: implicit declaration of function 'atomic64_sub_and_test'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:76: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:83: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:90: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: 'v' undeclared (first use in this function)In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: At top level:

/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:92: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:94: warning: implicit declaration of function 'atomic64_add_negative'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:97: error: expected declaration specifiers or '...' before 'atomic_long_t'/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: In function 'cancel_delayed_work':

/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:165: error: 'struct work_struct' has no member named 'data'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:99: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:101: warning: implicit declaration of function 'atomic64_add_return'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:104: error: expected declaration specifiers or '...' before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: In function 'atomic_long_sub_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'atomic64_t' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: 'v' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:106: error: expected expression before ')' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:108: warning: implicit declaration of function 'atomic64_sub_return'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:111: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:118: error: expected ')' before '*' token
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:125: error: expected ')' before '*' token
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'populated_zone':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:602: error: 'struct zone' has no member named 'present_pages'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_normal':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:650: error: 'struct zone' has no member named 'zone_pgdat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_dma':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:665: error: 'struct zone' has no member named 'zone_pgdat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:6:25: error: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:22: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:152:26: error: mach_apicdef.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h: In function 'hard_smp_processor_id':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:156: warning: implicit declaration of function 'GET_APIC_ID'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:269: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/module.h:18,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:56,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:10: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:22: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:29: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:36: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:44: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:63: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:82: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:101: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:121: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:145: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: invalid lvalue in asm output 1
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: memory input 3 is not directly addressable
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/timer.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:8,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h: In function 'ktime_set':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h:84: warning: comparison is always false due to limited range of data type
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'populated_zone':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:602: error: 'struct zone' has no member named 'present_pages'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_normal':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:650: error: 'struct zone' has no member named 'zone_pgdat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h: In function 'is_dma':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:665: error: 'struct zone' has no member named 'zone_pgdat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:6:25: error: mach_mpspec.h: No such file or directory
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: In function 'cancel_delayed_work':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:165: error: 'struct work_struct' has no member named 'data'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:15,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/mpspec_32.h:22: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:152:26: error: mach_apicdef.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/smp.h:19,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/topology.h:33,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mmzone.h:691,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/gfp.h:4,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h: In function 'hard_smp_processor_id':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/smp_32.h:156: warning: implicit declaration of function 'GET_APIC_ID'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/module.h:18,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:56,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:10: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:22: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:29: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:36: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:44: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:63: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:82: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:101: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:121: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:145: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: invalid lvalue in asm output 1
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: memory input 3 is not directly addressable
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/timer.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:8,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h: In function 'ktime_set':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/ktime.h:84: warning: comparison is always false due to limited range of data type
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:11,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h: In function 'cancel_delayed_work':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/workqueue.h:165: error: 'struct work_struct' has no member named 'data'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slab.h:118,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:54,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/slub_def.h:25: error: expected specifier-qualifier-list before 'atomic_long_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mm_counter_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:183: error: expected specifier-qualifier-list before 'mm_counter_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/module.h:18,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:56,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:10: error: expected specifier-qualifier-list before 'atomic_long_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:22: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:20: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:29: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:27: error: memory input 1 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:36: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:34: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:44: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:42: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_sub_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:63: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:61: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_dec_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:82: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:80: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_inc_and_test':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:101: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:99: error: memory input 2 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_negative':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:121: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: invalid lvalue in asm output 0
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:119: error: memory input 3 is not directly addressable
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h: In function 'local_add_return':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:145: error: 'local_t' has no member named 'a'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: invalid lvalue in asm output 1
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/local_32.h:143: error: memory input 3 is not directly addressable
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mm_counter_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:183: error: expected specifier-qualifier-list before 'mm_counter_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:518,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'global_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: warning: implicit declaration of function 'atomic_long_read'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:144: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zap_zone_vm_stats':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:518,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'global_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: warning: implicit declaration of function 'atomic_long_read'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:144: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zap_zone_vm_stats':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:14,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mm_counter_t'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm_types.h:183: error: expected specifier-qualifier-list before 'mm_counter_t'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/mm.h:518,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:60,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state_add':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:127: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:128: error: too many arguments to function 'atomic_long_add'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'global_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: warning: implicit declaration of function 'atomic_long_read'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:133: error: 'vm_stat' undeclared (first use in this function)
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zone_page_state':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:144: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h: In function 'zap_zone_vm_stats':
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/vmstat.h:196: error: 'struct zone' has no member named 'vm_stat'
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:23,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:23,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function)
kmk[3]: *** [/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR0Drv/r0drv/linux/initterm-r0drv-linux.o] Error 1
kmk[3]: *** Waiting for unfinished jobs....
kmk[3]: *** [/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR0Drv/r0drv/linux/alloc-r0drv-linux.o] Error 1
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:23,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq_32.h:5,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/hardirq.h:2,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/interrupt.h:11,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:71,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c:22:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h: At top level:
/lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function)
kmk[3]: *** [/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR0Drv/r0drv/linux/memobj-r0drv-linux.o] Error 1
kmk[3]: Leaving directory `/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime'
kmk[2]: *** [pass_libraries_before] Error 2
kmk[2]: Leaving directory `/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox'
kmk[1]: *** [pass_libraries_before] Error 2
kmk[1]: Leaving directory `/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src'
kmk: *** [pass_libraries_before] Error 2

...


Regards,

Gabriel


2007-10-19 21:09:25

by Jiri Kosina

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

On Fri, 19 Oct 2007, Gabriel C wrote:

> usually I'll wait for rc1 and test compile external module to see which
> are broken and what need fixing but while I need virtualbox for some
> tests I test compile it on current git and it failed badly. Maybe
> something is missing from x86 merge ?

Trying 'make mrproper' first has high chances of fixing this I'd guess.

--
Jiri Kosina

2007-10-19 21:24:22

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Jiri Kosina wrote:
> Trying 'make mrproper' first has high chances of fixing this I'd guess.

Is what I did before latest pull.

Maybe this whole tree got broken. I'll try a fresh one and report back.


Regards ,

Gabriel

2007-10-19 22:28:34

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
> Jiri Kosina wrote:
>> Trying 'make mrproper' first has high chances of fixing this I'd guess.
>
> Is what I did before latest pull.
>
> Maybe this whole tree got broken. I'll try a fresh one and report back.
>


I get the same on fresh cloned git tree

#-- git rev-parse --verify HEAD
c4ec20717313daafba59225f812db89595952b83


Regards,

Gabriel

2007-10-19 22:50:21

by Thomas Gleixner

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

On Sat, 20 Oct 2007, Gabriel C wrote:
> Gabriel C wrote:
> > Jiri Kosina wrote:
> >> Trying 'make mrproper' first has high chances of fixing this I'd guess.
> >
> > Is what I did before latest pull.
> >
> > Maybe this whole tree got broken. I'll try a fresh one and report back.
> >
>
>
> I get the same on fresh cloned git tree
>
> #-- git rev-parse --verify HEAD
> c4ec20717313daafba59225f812db89595952b83

Hmm. The kernel itself compiles fine ?

What external thing breaks ?

tglx

2007-10-19 23:55:33

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Thomas Gleixner wrote:
> On Sat, 20 Oct 2007, Gabriel C wrote:
>> Gabriel C wrote:
>>> Jiri Kosina wrote:
>>>> Trying 'make mrproper' first has high chances of fixing this I'd guess.
>>> Is what I did before latest pull.
>>>
>>> Maybe this whole tree got broken. I'll try a fresh one and report back.
>>>
>>
>> I get the same on fresh cloned git tree
>>
>> #-- git rev-parse --verify HEAD
>> c4ec20717313daafba59225f812db89595952b83
>
> Hmm. The kernel itself compiles fine ?

Yes kernel is fine.

>
> What external thing breaks ?

Actually I try to get VirtualBox-1.5.2_OSE to compile but I get a lot errors from
include/asm-generic/atomic.h and other headers.

and looks like some are missing ?

...

/lib/modules/2.6.23-rc0/build/include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory
/lib/modules/2.6.23-rc0/build/include/asm/smp_32.h:154:26: error: mach_apicdef.h: No such file or directory

...

this is fresh cloned tree and pulled once to get your x86 updates:

#-- git rev-parse --verify HEAD
60812a4a99b796d894d2522dc63cb0fafc3be25e


Full error log can found there : -> http://194.231.229.228/current-git/errors.txt

>
> tglx
>


Gabriel

2007-10-20 01:35:06

by H. Peter Anvin

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
>
> Actually I try to get VirtualBox-1.5.2_OSE to compile but I get a lot errors from
> include/asm-generic/atomic.h and other headers.
>
> and looks like some are missing ?
>
> /lib/modules/2.6.23-rc0/build/include/asm/irq_32.h:15:25: error: irq_vectors.h: No such file or directory
> /lib/modules/2.6.23-rc0/build/include/asm/smp_32.h:154:26: error: mach_apicdef.h: No such file or directory
>

Those files are part of the machine subdirectories. I will look at this
tomorrow and try to figure out what doesn't get picked up.

-hpa

2007-10-21 04:30:32

by H. Peter Anvin

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
> Hi,
>
> usually I'll wait for rc1 and test compile external module to see which are broken and what need fixing
> but while I need virtualbox for some tests I test compile it on current git and it failed badly.
>
> Maybe something is missing from x86 merge ?
>
> Here is what I get :
>
> ...
>
> /linux/memobj-r0drv-linux.c
> In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic_32.h:265,
> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic.h:2,
> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock_32.h:4,
> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock.h:2,
> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/spinlock.h:87,
> from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:53,
> from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
> /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_long_t'

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

2007-10-21 10:25:42

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

H. Peter Anvin wrote:
> Gabriel C wrote:
>> Hi,
>>
>> usually I'll wait for rc1 and test compile external module to see which are broken and what need fixing
>> but while I need virtualbox for some tests I test compile it on current git and it failed badly.
>>
>> Maybe something is missing from x86 merge ?
>>
>> Here is what I get :
>>
>> ...
>>
>> /linux/memobj-r0drv-linux.c
>> In file included from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic_32.h:265,
>> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/atomic.h:2,
>> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock_32.h:4,
>> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm/spinlock.h:2,
>> from /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/linux/spinlock.h:87,
>> from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:53,
>> from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c:22:
>> /lib/modules/2.6.23-g4fa4d23f-dirty/build/include/asm-generic/atomic.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_long_t'
>
> 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

User land does not know anything about 'CONFIG_X86_32' right ?

I just changed some things manually to test , s/CONFIG_X86_32/__i386__/ in asm/types.h and worked fine
but subarch headers are still not included probably for the same reason. ( manually changed to test as well )

After doing so , the part filed compiled.

but next error a bit later :

..


In file included from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/include/iprt/string.h:25,
from /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/src/VBox/Runtime/assert.cpp:24:
/lib/modules/2.6.23-rc0/build/include/linux/string.h:70: error: declaration of C function '__kernel_size_t strlen(const char*)' conflicts with
/lib/modules/2.6.23-rc0/build/include/asm/string_64.h:53: error: previous declaration 'size_t strlen(const char*)' here
/lib/modules/2.6.23-rc0/build/include/linux/string.h:101: error: declaration of C function 'int memcmp(const void*, const void*, __kernel_size_t)' conflicts with
/lib/modules/2.6.23-rc0/build/include/asm/string_64.h:52: error: previous declaration 'int memcmp(const void*, const void*, size_t)' here

..

And again both 32/64 things are defined at the same time.


>
> 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.

Yes you are right but as I said above I don't think user land understands CONFIG_X86_32.

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

Yes I always do that.

>
> -hpa
>
>

Gabriel

2007-10-21 12:39:41

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?


>> 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
>
> User land does not know anything about 'CONFIG_X86_32' right ?

That is the problem. I've changed the headers virtualbox need from

#ifdef CONFIG_X86_32 to #ifdef __i386__ and all compiled fine.

( subarch headers includes are changed manually still but I think it is the same problem )

Also all the headers got these defines with CONFIG_X86_32 does not work.

...

#ifdef CONFIG_X86_32
# include "foo_32.h"
#else
# include "foo_64.h"
#endif

...

results in including both header files on my i686 box.

I don't know what the right way is to fix that , define some who CONFIG_X86_32 to __i386__ ? or just s/CONFIG_X86_32/__i386__/ ?


Gabriel

2007-10-21 19:21:34

by H. Peter Anvin

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
>>> 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
>> User land does not know anything about 'CONFIG_X86_32' right ?

Wait... this is *user mode* code at this point?

Linux kernel headers aren't includable from user space without
processing them through "make headers_install".

However, from looking at the filenames in your list, it doesn't look
like userspace code at all (although they're wrappered to the degree
that it's somewhat hard to tell.) Thus, you're building a kernel
module, not userland.

> That is the problem. I've changed the headers virtualbox need from
>
> #ifdef CONFIG_X86_32 to #ifdef __i386__ and all compiled fine.
>
> ( subarch headers includes are changed manually still but I think it is the same problem )
>
> Also all the headers got these defines with CONFIG_X86_32 does not work.
>
> ...
>
> #ifdef CONFIG_X86_32
> # include "foo_32.h"
> #else
> # include "foo_64.h"
> #endif
>
> ...
>
> results in including both header files on my i686 box.
>
> I don't know what the right way is to fix that , define some who CONFIG_X86_32 to __i386__ ? or just s/CONFIG_X86_32/__i386__/ ?

It sounds like something is seriously broken in your setup, or in the
VirtualBox makefiles. From the looks of it, I would say the latter.

It would help to see how gcc is invoked, but your email message doesn't
include any gcc invocations, and your "full error log" weblink is
broken, so it's hard to say.

-hpa

2007-10-21 20:00:49

by Sam Ravnborg

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

On Sun, Oct 21, 2007 at 12:15:48PM -0700, H. Peter Anvin wrote:
> Gabriel C wrote:
> >>>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
> >>User land does not know anything about 'CONFIG_X86_32' right ?
>
> Wait... this is *user mode* code at this point?
No - it is a kernel module.
But what a messy codebase to look at...

>
> Linux kernel headers aren't includable from user space without
> processing them through "make headers_install".
>
> However, from looking at the filenames in your list, it doesn't look
> like userspace code at all (although they're wrappered to the degree
> that it's somewhat hard to tell.) Thus, you're building a kernel
> module, not userland.
>
> >That is the problem. I've changed the headers virtualbox need from
> >
> >#ifdef CONFIG_X86_32 to #ifdef __i386__ and all compiled fine.
> >
> >( subarch headers includes are changed manually still but I think it is
> >the same problem )
> >
> >Also all the headers got these defines with CONFIG_X86_32 does not work.
> >
> >...
> >
> >#ifdef CONFIG_X86_32
> ># include "foo_32.h"
> >#else
> ># include "foo_64.h"
> >#endif
> >
> >...
> >
> >results in including both header files on my i686 box.
> >
> >I don't know what the right way is to fix that , define some who
> >CONFIG_X86_32 to __i386__ ? or just s/CONFIG_X86_32/__i386__/ ?
>
> It sounds like something is seriously broken in your setup, or in the
> VirtualBox makefiles. From the looks of it, I would say the latter.

>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

2007-10-21 20:11:03

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

H. Peter Anvin wrote:
> Gabriel C wrote:
>>>> 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
>>> User land does not know anything about 'CONFIG_X86_32' right ?
>
> Wait... this is *user mode* code at this point?
>
> Linux kernel headers aren't includable from user space without
> processing them through "make headers_install".
>
> However, from looking at the filenames in your list, it doesn't look
> like userspace code at all (although they're wrappered to the degree
> that it's somewhat hard to tell.) Thus, you're building a kernel
> module, not userland.

Hmm right is building an kernel modules.

>
>> That is the problem. I've changed the headers virtualbox need from
>>
>> #ifdef CONFIG_X86_32 to #ifdef __i386__ and all compiled fine.
>>
>> ( subarch headers includes are changed manually still but I think it is the same problem )
>>
>> Also all the headers got these defines with CONFIG_X86_32 does not work.
>>
>> ...
>>
>> #ifdef CONFIG_X86_32
>> # include "foo_32.h"
>> #else
>> # include "foo_64.h"
>> #endif
>>
>> ...
>>
>> results in including both header files on my i686 box.
>>
>> I don't know what the right way is to fix that , define some who CONFIG_X86_32 to __i386__ ? or just s/CONFIG_X86_32/__i386__/ ?
>
> It sounds like something is seriously broken in your setup, or in the
> VirtualBox makefiles. From the looks of it, I would say the latter.
>
> It would help to see how gcc is invoked, but your email message doesn't
> include any gcc invocations, and your "full error log" weblink is
> broken, so it's hard to say.


Sorry that box was down some hours I've tested some hardware.

Here is a full build log , virtualbox build against cfa76f024f7c9e65169425804e5b32e71f66d0ee :


http://194.231.229.228/virtualbox-build.log.tar.bz2


Gabriel

2007-10-21 21:23:17

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Sam Ravnborg wrote:
> On Sun, Oct 21, 2007 at 12:15:48PM -0700, H. Peter Anvin wrote:
>> Gabriel C wrote:
>>>>> 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
>>>> User land does not know anything about 'CONFIG_X86_32' right ?
>> Wait... this is *user mode* code at this point?
> No - it is a kernel module.
> But what a messy codebase to look at...
>
>> Linux kernel headers aren't includable from user space without
>> processing them through "make headers_install".
>>
>> However, from looking at the filenames in your list, it doesn't look
>> like userspace code at all (although they're wrappered to the degree
>> that it's somewhat hard to tell.) Thus, you're building a kernel
>> module, not userland.
>>
>>> That is the problem. I've changed the headers virtualbox need from
>>>
>>> #ifdef CONFIG_X86_32 to #ifdef __i386__ and all compiled fine.
>>>
>>> ( subarch headers includes are changed manually still but I think it is
>>> the same problem )
>>>
>>> Also all the headers got these defines with CONFIG_X86_32 does not work.
>>>
>>> ...
>>>
>>> #ifdef CONFIG_X86_32
>>> # include "foo_32.h"
>>> #else
>>> # include "foo_64.h"
>>> #endif
>>>
>>> ...
>>>
>>> results in including both header files on my i686 box.
>>>
>>> I don't know what the right way is to fix that , define some who
>>> CONFIG_X86_32 to __i386__ ? or just s/CONFIG_X86_32/__i386__/ ?
>> It sounds like something is seriously broken in your setup, or in the
>> VirtualBox makefiles. From the looks of it, I would say the latter.
>
>>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.

Does not help , now I get on top the other errors :

/work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/include/iprt/types.h:121: error: redefinition of typedef 'bool'
/lib/modules/2.6.23-gcfa76f02/build/include/linux/types.h:33: error: previous declaration of 'bool' was here

...

/*
* C doesn't have bool.
*/
#ifndef __cplusplus
# if defined(__GNUC__)
# if defined(RT_OS_LINUX) && __GNUC__ < 3
typedef uint8_t bool;
# else
# if defined(RT_OS_DARWIN) && defined(_STDBOOL_H)
# undef bool
# endif
typedef _Bool bool; <- line 121
# endif
# else
typedef unsigned char bool;
# endif
# ifndef true
# define true (1)
# endif
# ifndef false
# define false (0)
# endif
#endif


Looking at include/iprt/types.h that has already #include <linux/types.h>.

>
> Sam
>


Gabriel

2007-10-21 21:27:37

by H. Peter Anvin

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

Gabriel C wrote:
>>
>> Add a #include <linux/types.h> to the-linux-kernel.h and let us know if it helps.
>
> Does not help , now I get on top the other errors :
>
> /work/crazy/VBox/stable/virtualbox/src/VirtualBox-1.5.2_OSE/include/iprt/types.h:121: error: redefinition of typedef 'bool'
> /lib/modules/2.6.23-gcfa76f02/build/include/linux/types.h:33: error: previous declaration of 'bool' was here
>
> ...
>
> /*
> * C doesn't have bool.
> */
> #ifndef __cplusplus
> # if defined(__GNUC__)
> # if defined(RT_OS_LINUX) && __GNUC__ < 3
> typedef uint8_t bool;
> # else
> # if defined(RT_OS_DARWIN) && defined(_STDBOOL_H)
> # undef bool
> # endif
> typedef _Bool bool; <- line 121
> # endif
> # else
> typedef unsigned char bool;
> # endif
> # ifndef true
> # define true (1)
> # endif
> # ifndef false
> # define false (0)
> # endif
> #endif
>
>
> Looking at include/iprt/types.h that has already #include <linux/types.h>.
>

Yeah, this is a VirtualBox problem.

At this point, this is clearly a matter for innotek, not for the
mainstream kernel development community.

-hpa

2007-10-21 21:57:17

by Gabriel C

[permalink] [raw]
Subject: Re: some kernel headers broken in current git ?

H. Peter Anvin wrote:
> Yeah, this is a VirtualBox problem.
>
> At this point, this is clearly a matter for innotek, not for the
> mainstream kernel development community.

Ok I will report that to Innotek , thanks for all the help and sorry for the noise.

>
> -hpa
>

Gabriel