thanks for helping me now i am getting these errors.
CHK include/generated/utsrelease.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/l4/kernel/asm-offsets.s
In file included from /home/rishabh/genode-16.05/build/foc_x86_64/include/l4/sys/types.h:417:0,
from /home/rishabh/genode-16.05/build/foc_x86_64/include/amd64/l4f/l4/sys/ipc.h:29,
from /home/rishabh/genode-16.05/build/foc_x86_64/include/amd64/l4/sys/segment.h:31,
from /home/rishabh/genode-16.05/build/foc_x86_64/include/amd64/l4f/l4/sys/segment.h:1,
from arch/l4/include/asm/l4-arch/asm/segment.h:9,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/arch/x86/include/asm/ptrace.h:4,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/arch/x86/include/asm/vm86.h:5,
from arch/l4/include/asm/l4-arch/asm/processor.h:10,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/arch/x86/include/asm/atomic.h:6,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/include/linux/atomic.h:4,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/include/linux/crypto.h:20,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/arch/l4/kernel/../../x86/kernel/asm-offsets.c:8,
from /home/rishabh/genode-16.05/contrib/l4linux-60792b132cd767f53991729999939a28b742f74d/src/l4linux/arch/l4/kernel/asm-offsets.c:2:
/home/rishabh/genode-16.05/build/foc_x86_64/include/l4/sys/__l4_fpage.h:71:3: warning: left shift count >= width of type
L4_FPAGE_ADDR_MASK = ((1UL << L4_FPAGE_ADDR_BITS) - 1) << L4_FPAGE_ADDR_SHIFT,
^
/home/rishabh/genode-16.05/build/foc_x86_64/include/l4/sys/__l4_fpage.h:71:3: error: enumerator value for ‘L4_FPAGE_ADDR_MASK’ is not an integer constant
make[6]: *** [arch/l4/kernel/asm-offsets.s] Error 1
make[5]: *** [prepare0] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [/home/rishabh/genode-16.05/build/foc_x86_64/l4linux/vmlinux] Error 1
make[2]: *** [vmlinux.prg] Error 2
make[1]: *** [gen_deps_and_build_targets] Error 2
make[1]: Leaving directory `/home/rishabh/genode-16.05/build/foc_x86_64'
Error: Genode build failed
make: *** [run/l4linux] Error 252