2.6.19-rc3-mm1: compilation fails if CONFIG_KEVENT is disabled

Vasily Averin
2006-11-01T10:09:26Z

Hello Evgeniy,

Probably this issue is already known for you, but anyway:

[linux-2.6.19-rc3-mm1]$ ARCH=i386 make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/kernel/built-in.o(.rodata+0x520): In function `sys_call_table':
: undefined reference to `sys_kevent_get_events'
arch/i386/kernel/built-in.o(.rodata+0x524): In function `sys_call_table':
: undefined reference to `sys_kevent_ctl'
arch/i386/kernel/built-in.o(.rodata+0x528): In function `sys_call_table':
: undefined reference to `sys_kevent_wait'
make: *** [.tmp_vmlinux1] Error 1
[linux-2.6.19-rc3-mm1]$ grep KEVENT .config
CONFIG_GENERIC_CLOCKEVENTS=y
# CONFIG_KEVENT is not set

thank you,
Vasily Averin