2.6.19-rc3-mm1: compilation fails if CONFIG_KEVENT is disabled
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
Quoted 1 line · Vasily Averin
Hello Evgeniy,
Hi Vasily.
Quoted 12 lines
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
Quoted 10 lines
arch/i386/kernel/built-in.o(.rodata+0x520): In function `sys_call_table':
: undefined reference tosys_kevent_get_events' arch/i386/kernel/built-in.o(.rodata+0x524): In functionsys_call_table':
: undefined reference tosys_kevent_ctl' arch/i386/kernel/built-in.o(.rodata+0x528): In functionsys_call_table':
: undefined reference to `sys_kevent_wait'
make: *** [.tmp_vmlinux1] Error 1
[linux-2.6.19-rc3-mm1]$ grep KEVENT .configCONFIG_GENERIC_CLOCKEVENTS=y
#CONFIG_KEVENTis not set
Hmm, works for me in 2.6.19 kevent git, I will check if some patches sneaked from -mm.
Thanks.
Quoted 2 lines
thank you,
Vasily Averin
Signature · 1 line
Evgeniy Polyakov
Quoted 10 lines · Vasily Averin
arch/i386/kernel/built-in.o(.rodata+0x520): In function `sys_call_table':
: undefined reference tosys_kevent_get_events' arch/i386/kernel/built-in.o(.rodata+0x524): In functionsys_call_table':
: undefined reference tosys_kevent_ctl' arch/i386/kernel/built-in.o(.rodata+0x528): In functionsys_call_table':
: undefined reference to `sys_kevent_wait'
make: *** [.tmp_vmlinux1] Error 1
[linux-2.6.19-rc3-mm1]$ grep KEVENT .configCONFIG_GENERIC_CLOCKEVENTS=y
#CONFIG_KEVENTis not set
Could you send output of
cat kernel/sys_ni.c | grep kevent
there should be all above syscalls, but it looks like they are not.
P.S. I will remove [email protected] from Cc: next time since it does not allow posts from not subscribed people.
Signature · 1 line
Evgeniy Polyakov
Quoted 12 lines · Evgeniy Polyakov
Quoted 10 lines · Vasily Averin
arch/i386/kernel/built-in.o(.rodata+0x520): In function `sys_call_table':
: undefined reference tosys_kevent_get_events' arch/i386/kernel/built-in.o(.rodata+0x524): In functionsys_call_table':
: undefined reference tosys_kevent_ctl' arch/i386/kernel/built-in.o(.rodata+0x528): In functionsys_call_table':
: undefined reference to `sys_kevent_wait'
make: *** [.tmp_vmlinux1] Error 1
[linux-2.6.19-rc3-mm1]$ grep KEVENT .configCONFIG_GENERIC_CLOCKEVENTS=y
#CONFIG_KEVENTis not set
Quoted 3 lines
Could you send output of
catkernel/sys_ni.c| grep kevent
there should be all above syscalls, but it looks like they are not.
Sorry, I've switched to new kernels and removed your tree already. :(
Thank you,
Vasily Averin