2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot buildwith !PREEMPT_RT)

From: Lee Revell
Date: Mon Dec 12 2005 - 12:41:36 EST


On Fri, 2005-12-09 at 19:25 -0500, Lee Revell wrote:
> > We are unable to build a similar .config (PREEMPT_DESKTOP with soft and
> > hardirq preemption disabled) on x86-64:
>
> Here is the build output, .config attached.

Similar problem with 2.6.15-rc5-rt1:

$ make
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-x86_64
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/asm/semaphore.h:48,
from include/linux/sched.h:20,
from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/rwsem.h:43:66: error: asm/rwsem.h: No such file or
directory
In file included from include/asm/semaphore.h:48,
from include/linux/sched.h:20,
from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/rwsem.h: In function 'compat_down_read':
include/linux/rwsem.h:61: warning: implicit declaration of function
'__down_read'
include/linux/rwsem.h: In function 'compat_down_read_trylock':
include/linux/rwsem.h:72: warning: implicit declaration of function
'__down_read_trylock'
include/linux/rwsem.h: In function 'compat_down_write':
include/linux/rwsem.h:84: warning: implicit declaration of function
'__down_write'
include/linux/rwsem.h: In function 'compat_down_write_trylock':
include/linux/rwsem.h:95: warning: implicit declaration of function
'__down_write_trylock'
include/linux/rwsem.h: In function 'compat_up_read':
include/linux/rwsem.h:106: warning: implicit declaration of function
'__up_read'
include/linux/rwsem.h: In function 'compat_up_write':
include/linux/rwsem.h:116: warning: implicit declaration of function
'__up_write'
include/linux/rwsem.h: In function 'compat_downgrade_write':
include/linux/rwsem.h:126: warning: implicit declaration of function
'__downgrade_write'
include/linux/rwsem.h: In function 'init_rwsem':
include/linux/rwsem.h:136: warning: implicit declaration of function
'compat_init_rwsem'
In file included from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/sched.h: At top level:
include/linux/sched.h:485: error: field 'mmap_sem' has incomplete type
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/