scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost CC kernel/bounds.s GEN include/linux/bounds.h CC arch/x86/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALL scripts/checksyscalls.sh CC init/main.o CHK include/linux/compile.h CC init/do_mounts.o CC init/noinitramfs.o UPD include/linux/compile.h LD usr/built-in.o CC arch/x86/kernel/process_32.o CC init/calibrate.o CC arch/x86/kernel/signal_32.o CC arch/x86/mm/init_32.o CC arch/x86/mm/fault.o CC init/version.o LD init/mounts.o CC arch/x86/mm/ioremap.o LD init/built-in.o AS arch/x86/kernel/entry_32.o CC arch/x86/mach-default/setup.o CC arch/x86/kernel/traps_32.o LD arch/x86/crypto/built-in.o CC arch/x86/mm/extable.o LDS arch/x86/vdso/vdso32/vdso32.lds AS arch/x86/vdso/vdso32/note.o AS arch/x86/vdso/vdso32/int80.o LD arch/x86/mach-default/built-in.o AS arch/x86/vdso/vdso32/sysenter.o CC arch/x86/vdso/vdso32-setup.o CC arch/x86/kernel/irq_32.o CC kernel/sched.o CC arch/x86/mm/pageattr.o VDSO arch/x86/vdso/vdso32-int80.so.dbg CC kernel/fork.o VDSO arch/x86/vdso/vdso32-sysenter.so.dbg VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds OBJCOPY arch/x86/vdso/vdso32-int80.so OBJCOPY arch/x86/vdso/vdso32-sysenter.so VDSOSYM arch/x86/vdso/vdso32-syms.lds CC arch/x86/kernel/time_32.o AS arch/x86/vdso/vdso32.o LD arch/x86/vdso/built-in.o CC arch/x86/kernel/ioport.o CC arch/x86/mm/mmap.o CC arch/x86/mm/pat.o CC arch/x86/kernel/ldt.o CC kernel/exec_domain.o CC arch/x86/kernel/setup.o CC arch/x86/mm/pgtable.o CC mm/bootmem.o CC mm/filemap.o CC kernel/panic.o CC arch/x86/kernel/i8259.o In file included from include/linux/errno.h:4, from arch/x86/kernel/i8259.c:2: include/asm/errno.h:1:31: error: asm-generic/errno.h: No such file or directory In file included from include/linux/types.h:12, from include/asm/signal.h:5, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/types.h:4:34: error: asm-generic/int-ll64.h: No such file or directory In file included from include/linux/types.h:12, from include/asm/signal.h:5, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dma64_addr_t' include/asm/types.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dma_addr_t' In file included from include/asm/signal.h:5, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/types.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t' include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t' include/linux/types.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int8_t' include/linux/types.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t' include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int16_t' include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t' include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int32_t' include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t' include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t' include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t' include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t' include/linux/types.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' include/linux/types.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t' include/linux/types.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t' include/linux/types.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16' include/linux/types.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16' include/linux/types.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32' include/linux/types.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32' include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64' include/linux/types.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64' include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sum16' include/linux/types.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wsum' include/linux/types.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_size_t' In file included from include/asm/bitops.h:13, from include/linux/bitops.h:17, from include/linux/kernel.h:15, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/alternative.h:45: error: expected specifier-qualifier-list before 'u8' In file included from include/linux/bitops.h:17, from include/linux/kernel.h:15, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/bitops.h: In function 'set_bit': include/asm/bitops.h:61: error: 'u8' undeclared (first use in this function) include/asm/bitops.h:61: error: (Each undeclared identifier is reported only once include/asm/bitops.h:61: error: for each function it appears in.) include/asm/bitops.h: In function 'clear_bit': include/asm/bitops.h:98: error: 'u8' undeclared (first use in this function) include/asm/bitops.h:98: error: expected ')' before '~' token In file included from include/linux/bitops.h:17, from include/linux/kernel.h:15, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/bitops.h:439:38: error: asm-generic/bitops/sched.h: No such file or directory include/asm/bitops.h:443:40: error: asm-generic/bitops/hweight.h: No such file or directory include/asm/bitops.h:447:38: error: asm-generic/bitops/fls64.h: No such file or directory include/asm/bitops.h:451:48: error: asm-generic/bitops/ext2-non-atomic.h: No such file or directory include/asm/bitops.h:458:38: error: asm-generic/bitops/minix.h: No such file or directory In file included from include/linux/kernel.h:15, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/bitops.h: In function 'hweight_long': include/linux/bitops.h:45: error: implicit declaration of function 'hweight32' include/linux/bitops.h:45: error: implicit declaration of function 'hweight64' include/linux/bitops.h: At top level: include/linux/bitops.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol32' include/linux/bitops.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror32' include/linux/bitops.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol16' include/linux/bitops.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror16' include/linux/bitops.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol8' include/linux/bitops.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror8' include/linux/bitops.h: In function 'fls_long': include/linux/bitops.h:112: error: implicit declaration of function 'fls64' In file included from include/linux/kernel.h:16, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/log2.h: At top level: include/linux/log2.h:32: error: expected ')' before 'n' include/linux/log2.h:40: error: expected ')' before 'n' In file included from include/linux/kernel.h:17, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/byteorder.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '___arch__swab32' include/asm/byteorder.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '___arch__swab64' In file included from include/linux/byteorder/little_endian.h:12, from include/asm/byteorder.h:79, from include/linux/kernel.h:17, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/byteorder/swab.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '___swab16' include/linux/byteorder/swab.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '___swab32' include/linux/byteorder/swab.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '___swab64' include/linux/byteorder/swab.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fswab16' include/linux/byteorder/swab.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab16p' include/linux/byteorder/swab.h:171: error: expected ')' before '*' token include/linux/byteorder/swab.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fswab32' include/linux/byteorder/swab.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab32p' include/linux/byteorder/swab.h:184: error: expected ')' before '*' token include/linux/byteorder/swab.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fswab64' include/linux/byteorder/swab.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__swab64p' include/linux/byteorder/swab.h:204: error: expected ')' before '*' token In file included from include/asm/byteorder.h:79, from include/linux/kernel.h:17, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/byteorder/little_endian.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le64p' include/linux/byteorder/little_endian.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64_to_cpup' include/linux/byteorder/little_endian.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le32p' include/linux/byteorder/little_endian.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32_to_cpup' include/linux/byteorder/little_endian.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_le16p' include/linux/byteorder/little_endian.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16_to_cpup' include/linux/byteorder/little_endian.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be64p' include/linux/byteorder/little_endian.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64_to_cpup' include/linux/byteorder/little_endian.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be32p' include/linux/byteorder/little_endian.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32_to_cpup' include/linux/byteorder/little_endian.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpu_to_be16p' include/linux/byteorder/little_endian.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16_to_cpup' In file included from include/linux/byteorder/little_endian.h:105, from include/asm/byteorder.h:79, from include/linux/kernel.h:17, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/byteorder/generic.h:143: error: expected ')' before '*' token include/linux/byteorder/generic.h:148: error: expected ')' before '*' token include/linux/byteorder/generic.h:153: error: expected ')' before '*' token include/linux/byteorder/generic.h:158: error: expected ')' before '*' token include/linux/byteorder/generic.h:163: error: expected ')' before '*' token include/linux/byteorder/generic.h:168: error: expected ')' before '*' token In file included from include/linux/kernel.h:18, from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/bug.h:38:29: error: asm-generic/bug.h: No such file or directory In file included from include/linux/cache.h:4, from include/linux/time.h:7, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/kernel.h:281: error: expected declaration specifiers or '...' before 'u8' include/linux/kernel.h: In function 'pack_hex_byte': include/linux/kernel.h:283: error: 'byte' undeclared (first use in this function) In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/thread_info.h: At top level: include/linux/thread_info.h:26: error: expected specifier-qualifier-list before 'u32' include/linux/thread_info.h:39: error: expected specifier-qualifier-list before 'u64' In file included from include/asm/thread_info.h:11, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/page.h:129:39: error: asm-generic/pgtable-nopmd.h: No such file or directory In file included from include/asm/thread_info.h:11, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/page.h:131: error: expected ')' before 'pmd' include/asm/page.h:189:38: error: asm-generic/memory_model.h: No such file or directory include/asm/page.h:190:30: error: asm-generic/page.h: No such file or directory In file included from include/asm/ptrace.h:5, from include/asm/vm86.h:130, from include/asm/processor.h:10, from include/asm/thread_info.h:22, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/ptrace-abi.h:92: error: expected specifier-qualifier-list before '__u32' In file included from include/asm/ptrace.h:9, from include/asm/vm86.h:130, from include/asm/processor.h:10, from include/asm/thread_info.h:22, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/ds.h:42: error: expected specifier-qualifier-list before 'u64' In file included from include/asm/thread_info.h:22, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/processor.h:11:26: error: asm/math_emu.h: No such file or directory include/asm/processor.h:14:28: error: asm/sigcontext.h: No such file or directory include/asm/processor.h:15:25: error: asm/current.h: No such file or directory include/asm/processor.h:17:24: error: asm/system.h: No such file or directory include/asm/processor.h:19:24: error: asm/percpu.h: No such file or directory include/asm/processor.h:20:21: error: asm/msr.h: No such file or directory include/asm/processor.h:21:27: error: asm/desc_defs.h: No such file or directory include/asm/processor.h:22:22: error: asm/nops.h: No such file or directory In file included from include/asm/thread_info.h:22, from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/processor.h:58: error: expected specifier-qualifier-list before '__u8' include/asm/processor.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cleared_cpu_caps' include/asm/processor.h: In function 'hlt_works': include/asm/processor.h:146: error: 'struct cpuinfo_x86' has no member named 'hlt_works_ok' include/asm/processor.h: In function 'load_cr3': include/asm/processor.h:184: error: implicit declaration of function 'write_cr3' include/asm/processor.h: At top level: include/asm/processor.h:272: error: expected declaration specifiers or '...' before 'init_tss' include/asm/processor.h:272: warning: data definition has no type or storage class include/asm/processor.h:272: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/asm/processor.h:284: error: expected specifier-qualifier-list before 'u32' include/asm/processor.h:300: error: expected specifier-qualifier-list before 'u16' include/asm/processor.h:330: error: expected specifier-qualifier-list before 'u32' include/asm/processor.h:369: error: array type has incomplete element type include/asm/processor.h: In function 'native_get_debugreg': include/asm/processor.h:443: error: invalid application of 'sizeof' to incomplete type 'struct bug_entry' include/asm/processor.h: In function 'native_set_debugreg': include/asm/processor.h:470: error: invalid application of 'sizeof' to incomplete type 'struct bug_entry' include/asm/processor.h: In function 'native_load_sp0': include/asm/processor.h:501: error: implicit declaration of function 'wrmsr' include/asm/processor.h:501: error: 'MSR_IA32_SYSENTER_CS' undeclared (first use in this function) include/asm/processor.h: In function 'set_in_cr4': include/asm/processor.h:549: error: implicit declaration of function 'read_cr4' include/asm/processor.h:551: error: implicit declaration of function 'write_cr4' include/asm/processor.h: In function '__sti_mwait': include/asm/processor.h:717: error: implicit declaration of function 'trace_hardirqs_on' include/asm/processor.h: In function 'update_debugctlmsr': include/asm/processor.h:748: error: implicit declaration of function 'wrmsrl' include/asm/processor.h:748: error: 'MSR_IA32_DEBUGCTLMSR' undeclared (first use in this function) include/asm/processor.h: In function 'prefetch': include/asm/processor.h:783: error: expected ':' or ')' before 'ASM_NOP4' include/asm/processor.h: In function 'prefetchw': include/asm/processor.h:796: error: expected ':' or ')' before 'ASM_NOP4' In file included from include/linux/thread_info.h:47, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/thread_info.h: At top level: include/asm/thread_info.h:28: error: expected specifier-qualifier-list before '__u32' include/asm/thread_info.h: In function 'set_restore_sigmask': include/asm/thread_info.h:248: error: 'struct thread_info' has no member named 'status' In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/spinlock.h:302:24: error: asm/atomic.h: No such file or directory In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/spinlock.h: At top level: include/linux/spinlock.h:311: error: expected ')' before '*' token In file included from include/linux/time.h:8, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/seqlock.h: In function 'write_seqlock': include/linux/seqlock.h:64: error: implicit declaration of function 'smp_wmb' include/linux/seqlock.h: In function 'read_seqbegin': include/linux/seqlock.h:92: error: implicit declaration of function 'smp_rmb' In file included from include/linux/time.h:9, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/math64.h:5:23: error: asm/div64.h: No such file or directory In file included from include/linux/time.h:9, from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/math64.h: At top level: include/linux/math64.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_u64_rem' include/linux/math64.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_s64_rem' include/linux/math64.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div64_u64' include/linux/math64.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_u64' include/linux/math64.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_s64' include/linux/math64.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iter_div_u64_rem' include/linux/math64.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__iter_div_u64_rem' In file included from include/asm/signal.h:6, from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/linux/time.h:126: error: expected ')' before 'nsec' include/linux/time.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec_to_ns' include/linux/time.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timeval_to_ns' include/linux/time.h:159: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:159: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:167: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:167: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:177: error: expected declaration specifiers or '...' before 'u64' include/linux/time.h: In function 'timespec_add_ns': include/linux/time.h:179: error: implicit declaration of function '__iter_div_u64_rem' include/linux/time.h:179: error: 'ns' undeclared (first use in this function) In file included from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/signal.h:120:32: error: asm-generic/signal.h: No such file or directory In file included from include/linux/signal.h:4, from arch/x86/kernel/i8259.c:3: include/asm/signal.h: At top level: include/asm/signal.h:127: error: expected specifier-qualifier-list before '__sighandler_t' include/asm/signal.h:134: error: expected specifier-qualifier-list before '__sighandler_t' In file included from arch/x86/kernel/i8259.c:3: include/linux/signal.h:5:25: error: asm/siginfo.h: No such file or directory In file included from arch/x86/kernel/i8259.c:3: include/linux/signal.h:17: error: expected specifier-qualifier-list before 'siginfo_t' include/linux/signal.h:243: error: expected ')' before '*' token In file included from arch/x86/kernel/i8259.c:4: include/linux/sched.h:48:36: error: asm/param.h: No such file or directory In file included from include/linux/sched.h:50, from arch/x86/kernel/i8259.c:4: include/linux/capability.h:41: error: expected specifier-qualifier-list before '__u32' include/linux/capability.h:46: error: expected specifier-qualifier-list before '__u32' include/linux/capability.h:73: error: expected specifier-qualifier-list before '__le32' include/linux/capability.h:96: error: expected specifier-qualifier-list before '__u32' fixdep: include/asm/posix_types.h: No such file or directory include/linux/capability.h: In function 'cap_combine': include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_intersect': include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' make[1]: *** [kernel/panic.o] Error 2 include/linux/capability.h: In function 'cap_drop': include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_invert': include/linux/capability.h:443: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:443: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_isclear': include/linux/capability.h:451: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_is_fs_cap': include/linux/capability.h:468: error: extra brace group at end of initializer include/linux/capability.h:468: error: (near initialization for '(anonymous)') include/linux/capability.h:468: warning: excess elements in struct initializer include/linux/capability.h:468: warning: (near initialization for '(anonymous)') include/linux/capability.h:469: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_drop_fs_set': include/linux/capability.h:474: error: extra brace group at end of initializer include/linux/capability.h:474: error: (near initialization for '(anonymous)') include/linux/capability.h:474: warning: excess elements in struct initializer include/linux/capability.h:474: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_raise_fs_set': include/linux/capability.h:481: error: extra brace group at end of initializer include/linux/capability.h:481: error: (near initialization for '(anonymous)') include/linux/capability.h:481: warning: excess elements in struct initializer include/linux/capability.h:481: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_drop_nfsd_set': include/linux/capability.h:488: error: extra brace group at end of initializer include/linux/capability.h:488: error: (near initialization for '(anonymous)') include/linux/capability.h:488: warning: excess elements in struct initializer include/linux/capability.h:488: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_raise_nfsd_set': include/linux/capability.h:495: error: extra brace group at end of initializer include/linux/capability.h:495: error: (near initialization for '(anonymous)') include/linux/capability.h:495: warning: excess elements in struct initializer include/linux/capability.h:495: warning: (near initialization for '(anonymous)') In file included from include/linux/sched.h:54, from arch/x86/kernel/i8259.c:4: include/linux/timex.h:195:23: error: asm/timex.h: No such file or directory In file included from include/linux/sched.h:54, from arch/x86/kernel/i8259.c:4: include/linux/timex.h: At top level: include/linux/timex.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tick_length' In file included from include/linux/sched.h:55, from arch/x86/kernel/i8259.c:4: include/linux/jiffies.h:18:5: warning: "HZ" is not defined include/linux/jiffies.h:20:7: warning: "HZ" is not defined include/linux/jiffies.h:22:7: warning: "HZ" is not defined include/linux/jiffies.h:24:7: warning: "HZ" is not defined include/linux/jiffies.h:26:7: warning: "HZ" is not defined include/linux/jiffies.h:28:7: warning: "HZ" is not defined include/linux/jiffies.h:30:7: warning: "HZ" is not defined include/linux/jiffies.h:32:7: warning: "HZ" is not defined include/linux/jiffies.h:34:7: warning: "HZ" is not defined include/linux/jiffies.h:36:7: warning: "HZ" is not defined include/linux/jiffies.h:39:3: error: #error In CC kernel/printk.o valid value of HZ. In file included from include/linux/sched.h:55, from arch/x86/kernel/i8259.c:4: include/linux/jiffies.h:81: warning: type defaults to 'int' in declaration of 'u64' include/linux/jiffies.h:81: error: expected ',' or ';' before 'jiffies_64' include/linux/jiffies.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_jiffies_64' include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:46: warning: "SHIFT_HZ" is not defined include/linux/jiffies.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_64_to_clock_t' include/linux/jiffies.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsec_to_clock_t' In file included from include/linux/mm_types.h:4, from include/linux/sched.h:61, from arch/x86/kernel/i8259.c:4: include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory In file included from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/x86/kernel/i8259.c:4: include/linux/rwsem.h:22:65: error: asm/rwsem.h: No such file or directory In file included from include/linux/mm.h:579, from mm/filemap.c:20: include/linux/vmstat.h:8:24: error: include/asm/atomic.h: No such file or directory In file included from include/linux/sched.h:61, from arch/x86/kernel/i8259.c:4: include/linux/mm_types.h:14:21: error: asm/mmu.h: No such file or directory In file included from include/linux/sched.h:61, from arch/x86/kernel/i8259.c:4: include/linux/mm_types.h:39: error: expected specifier-qualifier-list before 'atomic_t' include/linux/mm_types.h:179: error: expected specifier-qualifier-list before 'atomic_t' In file included from arch/x86/kernel/i8259.c:4: include/linux/sched.h:66:25: error: asm/cputime.h: No such file or directory In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/kernel/i8259.c:4: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory In file included from include/linux/ipc.h:82, from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/kernel/i8259.c:4: include/linux/kref.h:22: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/sched.h:69, from arch/x86/kernel/i8259.c:4: include/linux/sem.h:35:24: error: asm/sembuf.h: No such file or directory In file included from include/linux/sched.h:69, from arch/x86/kernel/i8259.c:4: include/linux/sem.h:131: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/sched.h:71, from arch/x86/kernel/i8259.c:4: include/linux/fs_struct.h:7: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/mmzone.h:262: error: expected specifier-qualifier-list before 'atomic_long_t' In file included from include/asm/highmem.h:23, from include/linux/highmem.h:24, from include/linux/pagemap.h:10, from include/asm/pgalloc.h:6, from arch/x86/mm/pgtable.c:2: In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/mutex.h:50: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/swap.h:9include/linux/interrupt.h:14:24: error: include/asm/atomic.h: No such file or directory include/linux/mutex.h: In function 'mutex_is_locked': include/linux/mutex.h:117: error: implicit declaration of function 'atomic_read' include/linux/mutex.h:117: error: 'struct mutex' has no member named 'count' In file included from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/notifier.h: At top level: include/linux/notifier.h:62: error: field 'rwsem' has incomplete type In file included from include/linux/kernel.h:11, from kernel/printk.c:19: include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory In file included from include/linux/types.h:11, from include/linux/kernel.h:13, from kernel/printk.c:19: include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from include/linux/kernel.h:13, from kernel/printk.c:19: include/linux/types.h:12:23: error: asm/types.h: No such file or directory In file included from include/linux/kernel.h:13, from kernel/printk.c:19: include/linux/types.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t' include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t' include/linux/types.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t' include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t' include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t' include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t' include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t' include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t' , from mm/filemap.c:21: include/linux/sched.h:66:25: error: include/asm/cputime.h: No such file or directory In file included from include/linux/highmem.h:24, from include/linux/pagemap.h:10, from include/asm/pgalloc.h:6, from arch/x86/mm/pgtable.c:2: include/asm/highmem.h:26:26: error: asm/tlbflush.h: No such file or directory In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory In file included from include/linux/sched.h:69, from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/sem.h:35:24: error: asm/sembuf.h: No such file or directory In file included from include/linux/sched.h:70, from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/signal.h:4:24: error: asm/signal.h: No such file or directory include/linux/signal.h:5:25: error: asm/siginfo.h: No such file or directory In file included from include/linux/sched.h:70, from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/signal.h:17: error: expected specifier-qualifier-list before 'siginfo_t' include/linux/signal.h:26: error: expected specifier-qualifier-list before 'sigset_t' include/linux/signal.h:38: error: expected ')' before '*' token include/linux/signal.h:47: error: expected ')' before '*' token include/linux/signal.h:56: error: expected ')' before '*' token include/linux/signal.h:72: error: expected ')' before '*' token include/linux/signal.h:119: error: expected ')' before '*' token include/linux/signal.h:122: error: expected ')' before '*' token include/linux/signal.h:125: error: expected ')' before '*' token include/linux/signal.h:149: error: expected ')' before '*' token include/linux/signal.h:154: error: expected ')' before '*' token include/linux/signal.h:166: error: expected ')' before '*' token include/linux/signal.h:180: error: expected ')' before '*' token include/linux/signal.h:185: error: expected ')' before '*' token include/linux/signal.h:190: error: expected ')' before '*' token include/linux/signal.h:195: error: expected ')' before '*' token include/linux/signal.h:207: error: expected ')' before '*' token include/linux/signal.h: In function 'init_sigpending': include/linux/signal.h:223: error: implicit declaration of function 'sigemptyset' include/linux/signal.h:223: error: 'struct sigpending' has no member named 'signal' include/linux/signal.h: In function 'valid_signal': include/linux/signal.h:232: error: '_NSIG' undeclared (first use in this function) include/linux/signal.h:232: error: (Each undeclared identifier is reported only once include/linux/signal.h:232: error: for each function it appears in.) include/linux/signal.h: At top level: include/linux/signal.h:235: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/signal.h:236: warning: 'struct siginfo' declared inside parameter list include/linux/signal.h:236: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/signal.h:237: warning: 'struct siginfo' declared inside parameter list include/linux/signal.h:239: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/signal.h:239: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/signal.h:243: error: expected ')' before '*' token include/linux/signal.h:330:5: warning: "SIGRTMIN" is not defined In file included from include/linux/sched.h:84, from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/resource.h:71:26: error: asm/resource.h: No such file or directory arch/x86/mm/pgtable.c:4:21: error: asm/tlb.h: No such file or directory arch/x86/mm/pgtable.c: In function '__pte_free_tlb': arch/x86/mm/pgtable.c:30: error: implicit declaration of function 'tlb_remove_page' arch/x86/mm/pgtable.c: In function 'pgd_mop_up_pmds': arch/x86/mm/pgtable.c:194: warning: unused variable 'pmd' In file included from include/linux/swap.h:9, from mm/filemap.c:21: include/linux/sched.h:415: error: '_NSIG' undeclared here (not in a function) include/linux/sched.h:527: error: 'RLIM_NLIMITS' undeclared here (not in a function) arch/x86/mm/pgtable.c: In function 'ptep_set_access_flags': arch/x86/mm/pgtable.c:282: error: implicit declaration of function 'flush_tlb_page' include/linux/sched.h:1174: error: expected specifier-qualifier-list before 'sigset_t' In file included from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/memory_hotplug.h: In function 'mhp_notimplemented':include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'include/linux/sched.h:1770: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1770: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/sched.h:1772: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1772: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/sched.h:1778: error: 'mask' undeclared (first use in this function) include/linux/sched.h:1778: error: 'info' undeclared (first use in this function) include/linux/sched.h:1778: error: too many arguments to function 'dequeue_signal' include/linux/sched.h: At top level: include/linux/sched.h:1785: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1788: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1790: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1791: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1792: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1793: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1796: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1807: warning: type defaults to 'int' in declaration of 'stack_t' include/linux/sched.h:1807: error: expected ';', ',' or ')' before '*' token include/linux/sched.h:1819: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h: In function 'on_sig_stack': include/linux/sched.h:1828: error: 'struct task_struct' has no member named 'sas_ss_sp' include/linux/sched.h:1828: error: 'struct task_struct' has no member named 'sas_ss_size' include/linux/sched.h: In function 'sas_ss_flags': include/linux/sched.h:1833: error: 'struct task_struct' has no member named 'sas_ss_size' include/linux/sched.h:1833: error: 'SS_DISABLE' undeclared (first use in this function) include/linux/sched.h:1834: error: 'SS_ONSTACK' undeclared (first use in this function) include/linux/types.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t' include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t' include/linux/types.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t' include/linux/types.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t' include/linux/types.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid16_t' include/linux/types.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid16_t' include/linux/types.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_uid_t' include/linux/types.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_gid_t' include/linux/types.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t' include/linux/types.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' include/linux/types.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' include/linux/types.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrdiff_t' include/linux/memory_hotplug.h:185: error: 'ENOSYS' undeclared (first use in this function)include/linux/types.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t' include/linux/types.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t' include/linux/types.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t' include/linux/types.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int8_t' include/linux/types.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t' include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int16_t' include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t' include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int32_t' include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t' include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t' include/linux/sched.h: In function 'task_lock': include/linux/sched.h:1950: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t' include/linux/memory_hotplug.h: At top level:include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t' include/linux/sched.h: In function 'task_unlock': include/linux/types.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64'include/linux/types.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t' include/linux/types.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t' include/linux/sched.h:1955: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64' make[1]: *** [arch/x86/mm/pgtable.o] Error 1include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:204: error: expected ')' before 'start' In file included from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/mmzone.h: In function 'populated_zone': include/linux/mmzone.h:593: error: 'struct zone' has no member named 'present_pages' include/linux/mmzone.h: In function 'is_highmem': include/linux/mmzone.h:631: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: In function 'is_normal': include/linux/mmzone.h:642: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: In function 'is_dma': include/linux/mmzone.h:657: error: 'struct zone' has no member named 'zone_pgdat' In file included from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory In file included from include/linux/slab.h:12, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/gfp.h: In function 'allocflags_to_migratetype': include/linux/gfp.h:111: error: implicit declaration of function 'WARN_ON' CC arch/x86/mm/pgtable_32.o include/linux/gfp.h: In function 'alloc_pages_node': include/linux/gfp.h:191: error: implicit declaration of function 'cpu_to_node' In file included from mm/filemap.c:22: include/linux/mman.h:4:22: error: asm/mman.h: No such file or directory include/linux/types.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16' include/linux/types.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16' include/linux/types.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32' include/linux/types.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32' include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64' include/linux/types.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64' include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sum16' include/linux/types.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wsum' include/linux/types.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_size_t' include/linux/types.h:201: error: expected specifier-qualifier-list before '__kernel_daddr_t' In file included from include/linux/kernel.h:15, from kernel/printk.c:19: include/linux/bitops.h:17:24: error: asm/bitops.h: No such file or directory In file included from include/linux/kernel.h:15, from kernel/printk.c:19: include/linux/bitops.h: In function 'get_bitmask_order': include/linux/bitops.h:29: error: implicit declaration of function 'fls' include/linux/bitops.h: In function 'hweight_long': include/linux/bitops.h:45: error: implicit declaration of function 'hweight32' include/linux/bitops.h:45: error: implicit declaration of function 'hweight64' include/linux/bitops.h: At top level: include/linux/bitops.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol32' include/linux/bitops.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror32' include/linux/bitops.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol16' include/linux/bitops.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror16' include/linux/bitops.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol8' include/linux/bitops.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror8' include/linux/bitops.h: In function 'fls_long': include/linux/bitops.h:112: error: implicit declaration of function 'fls64' In file included from include/linux/kernel.h:16, from kernel/printk.c:19: include/linux/log2.h: At top level: include/linux/log2.h:32: error: expected ')' before 'n' include/linux/log2.h:40: error: expected ')' before 'n' In file included from kernel/printk.c:19: include/linux/kernel.h:17:27: error: asm/byteorder.h: No such file or directory include/linux/kernel.h:18:21: error: asm/bug.h: No such file or directory In file included from kernel/printk.c:19: include/linux/kernel.h:158: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:159: error: format string argument not a string type include/linux/kernel.h:160: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:162: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:163: error: format string argument not a string type include/linux/kernel.h:164: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:268: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:270: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:273: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:275: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:281: error: expected declaration specifiers or '...' before 'u8' include/linux/kernel.h: In function 'pack_hex_byte': include/linux/kernel.h:283: error: 'byte' undeclared (first use in this function) include/linux/kernel.h:283: error: (Each undeclared identifier is reported only once include/linux/kernel.h:283: error: for each function it appears in.) include/linux/kernel.h:344:2: error: #error "Please fix asm/byteorder.h" In file included from include/linux/mm.h:4, from kernel/printk.c:20: include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/thread_info.h: At top level: include/linux/thread_info.h:26: error: expected specifier-qualifier-list before 'u32' include/linux/thread_info.h:34: error: expected specifier-qualifier-list before 'clockid_t' In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/thread_info.h:47:29: error: asm/thread_info.h: No such file or directory include/linux/thread_info.h:56: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h:56: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/thread_info.h: In function 'set_ti_thread_flag': include/linux/thread_info.h:58: error: implicit declaration of function 'set_bit' include/linux/thread_info.h:58: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:61: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'clear_ti_thread_flag': include/linux/thread_info.h:63: error: implicit declaration of function 'clear_bit' include/linux/thread_info.h:63: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:66: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_and_set_ti_thread_flag': include/linux/thread_info.h:68: error: implicit declaration of function 'test_and_set_bit' include/linux/thread_info.h:68: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:71: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_and_clear_ti_thread_flag': include/linux/thread_info.h:73: error: implicit declaration of function 'test_and_clear_bit' include/linux/thread_info.h:73: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:76: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_ti_thread_flag': include/linux/thread_info.h:78: error: implicit declaration of function 'test_bit' include/linux/thread_info.h:78: error: dereferencing pointer to incomplete type In file included from include/linux/list.h:6, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory include/linux/prefetch.h:15:23: error: asm/cache.h: No such file or directory In file included from include/linux/list.h:6, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/prefetch.h: At top level: include/linux/prefetch.h:53: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/list.h:7:24: error: asm/system.h: No such file or directory In file included from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/spinlock.h:302:24: error: asm/atomic.h: No such file or directory In file included from include/linux/mmzone.h:7, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/spinlock.h:311: error: expected ')' before '*' token In file included from include/linux/mmzone.h:9, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/wait.h:26:25: error: asm/current.h: No such file or directory In file included from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/seqlock.h: In function 'write_seqlock': include/linux/seqlock.h:64: error: implicit declaration of function 'smp_wmb' include/linux/seqlock.h: In function 'read_seqbegin': include/linux/seqlock.h:92: error: implicit declaration of function 'smp_rmb' include/linux/seqlock.h:94: error: implicit declaration of function 'cpu_relax' In file included from include/linux/bitmap.h:8, from include/linux/nodemask.h:89, from include/linux/mmzone.h:16, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/string.h:19:24: error: asm/string.h: No such file or directory In file included from include/linux/bitmap.h:8, from include/linux/nodemask.h:89, from include/linux/mmzone.h:16, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/string.h: At top level: include/linux/string.h:25: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcpy' include/linux/string.h:34: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcat' include/linux/string.h:43: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:46: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:52: error: expected declaration specifiers or '...' before 'size_t' include/linux/string.h:58: error: expected declaration specifiers or '...' before 'size_t' include/linux/string.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen' include/linux/string.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen' include/linux/string.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn' include/linux/string.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn' include/linux/string.h:87: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:90: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:93: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:96: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:99: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:102: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:106: error: expected declaration specifiers or '...' before 'size_t' include/linux/string.h:107: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/nodemask.h:89, from include/linux/mmzone.h:16, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/bitmap.h: In function 'bitmap_zero': include/linux/bitmap.h:141: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h:145: error: too many arguments to function 'memset' include/linux/bitmap.h: In function 'bitmap_fill': include/linux/bitmap.h:151: error: 'size_t' undeclared (first use in this function) include/linux/bitmap.h:151: error: expected ';' before 'nlongs' include/linux/bitmap.h:152: error: 'nlongs' undeclared (first use in this function) include/linux/bitmap.h:154: error: too many arguments to function 'memset' include/linux/bitmap.h:156: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_copy': In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h:48:36: error: asm/param.h: No such file or directory In file included from include/linux/types.h:11, from include/linux/capability.h:16, from include/linux/sched.h:50, from arch/x86/mm/pgtable_32.c:1: include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:50, from arch/x86/mm/pgtable_32.c:1: include/linux/types.h:12:23: error: asm/types.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:50, from arch/x86/mm/pgtable_32.c:1: include/linux/types.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t' include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t' include/linux/types.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t' include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t' include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t' include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t' include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t' include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t' include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t' include/linux/types.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t' include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t' include/linux/types.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t' include/linux/types.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t' include/linux/types.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid16_t' include/linux/types.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid16_t' include/linux/types.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_uid_t' include/linux/types.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'old_gid_t' include/linux/types.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t' include/linux/types.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_t' include/linux/types.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' include/linux/types.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrdiff_t' include/linux/types.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t' include/linux/types.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t' include/linux/types.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t' include/linux/types.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int8_t' include/linux/types.h:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int8_t' include/linux/types.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int16_t' include/linux/types.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t' include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int32_t' include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t' include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t' include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t' include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t' include/linux/types.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t' include/linux/types.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t' include/linux/types.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t' include/linux/types.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le16' include/linux/types.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be16' include/linux/types.h:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le32' include/linux/types.h:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be32' include/linux/types.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__le64' include/linux/types.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__be64' include/linux/types.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sum16' include/linux/types.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wsum' include/linux/types.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_size_t' include/linux/types.h:201: error: expected specifier-qualifier-list before '__kernel_daddr_t' In file included from include/linux/sched.h:50, from arch/x86/mm/pgtable_32.c:1: include/linux/capability.h:41: error: expected specifier-qualifier-list before '__u32' include/linux/capability.h:46: error: expected specifier-qualifier-list before '__u32' include/linux/capability.h:73: error: expected specifier-qualifier-list before '__le32' include/linux/capability.h:96: error: expected specifier-qualifier-list before '__u32' include/linux/capability.h: In function 'cap_combine': include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:420: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_intersect': include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:428: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_drop': include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:436: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_invert': include/linux/capability.h:443: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h:443: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_isclear': include/linux/capability.h:451: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_is_fs_cap': include/linux/capability.h:468: error: extra brace group at end of initializer include/linux/capability.h:468: error: (near initialization for '(anonymous)') include/linux/capability.h:468: warning: excess elements in struct initializer include/linux/capability.h:468: warning: (near initialization for '(anonymous)') include/linux/capability.h:469: error: 'kernel_cap_t' has no member named 'cap' include/linux/capability.h: In function 'cap_drop_fs_set': include/linux/capability.h:474: error: extra brace group at end of initializer include/linux/capability.h:474: error: (near initialization for '(anonymous)') include/linux/capability.h:474: warning: excess elements in struct initializer include/linux/capability.h:474: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_raise_fs_set': include/linux/capability.h:481: error: extra brace group at end of initializer include/linux/capability.h:481: error: (near initialization for '(anonymous)') include/linux/capability.h:481: warning: excess elements in struct initializer include/linux/capability.h:481: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_drop_nfsd_set': include/linux/capability.h:488: error: extra brace group at end of initializer include/linux/capability.h:488: error: (near initialization for '(anonymous)') include/linux/capability.h:488: warning: excess elements in struct initializer include/linux/capability.h:488: warning: (near initialization for '(anonymous)') include/linux/capability.h: In function 'cap_raise_nfsd_set': include/linux/capability.h:495: error: extra brace group at end of initializer include/linux/capability.h:495: error: (near initialization for '(anonymous)') include/linux/capability.h:495: warning: excess elements in struct initializer include/linux/capability.h:495: warning: (near initialization for '(anonymous)') In file included from include/linux/kernel.h:11, from include/linux/sched.h:52, from arch/x86/mm/pgtable_32.c:1: include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory In file included from include/linux/kernel.h:15, from include/linux/sched.h:52, from arch/x86/mm/pgtable_32.c:1: include/linux/bitops.h:17:24: error: asm/bitops.h: No such file or directory In file included from include/linux/kernel.h:15, from include/linux/sched.h:52, from arch/x86/mm/pgtable_32.c:1: include/linux/bitops.h: In function 'get_bitmask_order': include/linux/bitops.h:29: error: implicit declaration of function 'fls' include/linux/bitops.h: In function 'hweight_long': include/linux/bitops.h:45: error: implicit declaration of function 'hweight32' include/linux/bitops.h:45: error: implicit declaration of function 'hweight64' include/linux/bitops.h: At top level: include/linux/bitops.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol32' include/linux/bitops.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror32' include/linux/bitops.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol16' include/linux/bitops.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror16' include/linux/bitops.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rol8' include/linux/bitops.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ror8' include/linux/bitops.h: In function 'fls_long': include/linux/bitops.h:112: error: implicit declaration of function 'fls64' In file included from include/linux/kernel.h:16, from include/linux/sched.h:52, from arch/x86/mm/pgtable_32.c:1: include/linux/log2.h: At top level: include/linux/log2.h:32: error: expected ')' before 'n' include/linux/log2.h:40: error: expected ')' before 'n' In file included from mm/filemap.c:22: include/linux/mman.h: In function 'arch_validate_prot': In file included from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/ktime.h: At top level:include/linux/bitmap.h:162: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mman.h:57: error: 'PROT_READ' undeclared (first use in this function) In file included from include/linux/sched.h:52include/linux/ktime.h:47: error: expected specifier-qualifier-list before 's64' , from arch/x86/mm/pgtable_32.c:1: include/linux/kernel.h:17:27: error: asm/byteorder.h: No such file or directory include/linux/kernel.h:18:21: error: include/linux/bitmap.h:166: error: too many arguments to function 'memcpy' asm/bug.h: No such file or directory include/linux/ktime.h: In function 'ktime_set': include/linux/ktime.h:87: error: unknown field 'tv64' specified in initializer include/linux/bitmap.h: In function 'bitmap_and': include/linux/ktime.h:87: error: 's64' undeclared (first use in this function) include/linux/bitmap.h:173: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/ktime.h:87: warning: excess elements in union initializer include/linux/ktime.h:87: warning: (near initialization for '(anonymous)') include/linux/ktime.h:87: error: expected '}' before 'secs' include/linux/bitmap.h: In function 'bitmap_or': include/linux/bitmap.h:182: error: 'BITS_PER_LONG' undeclared (first use in this function) In file included from include/linux/sched.h:52, from arch/x86/mm/pgtable_32.c:1: include/linux/kernel.h:158: error: expected declaration specifiers or '...' before 'size_t' include/linux/bitmap.h: In function 'bitmap_xor': include/linux/bitmap.h:191: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/kernel.h:159: error: format string argument not a string type include/linux/kernel.h:160: error: expected declaration specifiers or '...' before 'size_t' include/linux/bitmap.h: In function 'bitmap_andnot': include/linux/kernel.h:162: error: expected declaration specifiers or '...' before 'size_t' include/linux/bitmap.h:200: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/kernel.h:163: error: format string argument not a string type include/linux/kernel.h:164: error: expected declaration specifiers or '...' before 'size_t' include/linux/bitmap.h: In function 'bitmap_complement': include/linux/ktime.h: In function 'ktime_equal': include/linux/bitmap.h:209: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h: At top level: include/linux/bitmap.h: In function 'bitmap_equal': include/linux/ktime.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_to_us' include/linux/ktime.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_us_delta' include/linux/ktime.h:303: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:303: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:308: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:308: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:330: error: expected ')' before 'ns' include/linux/kernel.h:268: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:270: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:273: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:275: error: expected declaration specifiers or '...' before 'size_t' include/linux/kernel.h:281: error: expected declaration specifiers or '...' before 'u8' include/linux/kernel.h: In function 'pack_hex_byte': include/linux/kernel.h:283: error: 'byte' undeclared (first use in this function) include/linux/kernel.h:283: error: (Each undeclared identifier is reported only once include/linux/kernel.h:283: error: for each function it appears in.) include/linux/kernel.h:344:2: error: #error "Please fix asm/byteorder.h" In file included from include/linux/time.h:7, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/cache.h:5:23: error: asm/cache.h: No such file or directory In file included from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/timer.h: In function 'add_timer': include/linux/timer.h:179: error: implicit declaration of function 'BUG_ON' In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/thread_info.h: At top level: include/linux/thread_info.h:26: error: expected specifier-qualifier-list before 'u32' include/linux/thread_info.h:34: error: expected specifier-qualifier-list before 'clockid_t' In file included from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/workqueue.h: At top level: include/linux/workqueue.h:26: error: expected specifier-qualifier-list before 'atomic_long_t' In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/thread_info.h:47:29: error: asm/thread_info.h: No such file or directory include/linux/thread_info.h:56: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h:56: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/thread_info.h: In function 'set_ti_thread_flag': include/linux/thread_info.h:58: error: implicit declaration of function 'set_bit' include/linux/thread_info.h:58: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:61: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'clear_ti_thread_flag': include/linux/thread_info.h:63: error: implicit declaration of function 'clear_bit' include/linux/thread_info.h:63: error: dereferencing pointer to incomplete type include/linux/workqueue.h: In function 'cancel_delayed_work': include/linux/thread_info.h: At top level: include/linux/mman.h:57: error: 'PROT_WRITE' undeclared (first use in this function) include/linux/bitmap.h:218: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/workqueue.h:215: error: 'struct work_struct' has no member named 'data' include/linux/thread_info.h:66: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_and_set_ti_thread_flag': include/linux/thread_info.h:68: error: implicit declaration of function 'test_and_set_bit' include/linux/thread_info.h:68: error: dereferencing pointer to incomplete type include/linux/bitmap.h: In function 'bitmap_intersects': include/linux/bitmap.h:227: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/thread_info.h: At top level: include/linux/thread_info.h:71: warning: 'struct thread_info' declared inside parameter list include/linux/bitmap.h: In function 'bitmap_subset': include/linux/thread_info.h: In function 'test_and_clear_ti_thread_flag': include/linux/bitmap.h:236: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/thread_info.h:73: error: implicit declaration of function 'test_and_clear_bit' include/linux/thread_info.h:73: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/mman.h:57: error: 'PROT_EXEC' undeclared (first use in this function)include/linux/bitmap.h: In function 'bitmap_empty': include/linux/thread_info.h:76: warning: 'struct thread_info' declared inside parameter list include/linux/bitmap.h:244: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/thread_info.h: In function 'test_ti_thread_flag': include/linux/thread_info.h:78: error: implicit declaration of function 'test_bit' include/linux/thread_info.h:78: error: dereferencing pointer to incomplete type include/linux/bitmap.h: In function 'bitmap_full': include/linux/bitmap.h:252: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_weight': include/linux/bitmap.h:260: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_shift_right': include/linux/bitmap.h:268: error: 'BITS_PER_LONG' undeclared (first use in this function) In file included from include/linux/list.h:6 , from include/linux/preempt.h:11In file included from include/linux/slub_def.h:12, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/kobject.h: At top level: , from include/linux/spinlock.h:49include/linux/kobject.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uevent_seqnum' , from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54include/linux/bitmap.h: In function 'bitmap_shift_left': , from arch/x86/mm/pgtable_32.c:1include/linux/mman.h:57: error: 'PROT_SEM' undeclared (first use in this function)include/linux/bitmap.h:277: error: 'BITS_PER_LONG' undeclared (first use in this function) : include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory In file included from include/linux/list.h:6, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/prefetch.h: At top level: include/linux/prefetch.h:53: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/list.h:7:24: error: asm/system.h: No such file or directory In file included from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/slub_def.h:51: error: expected specifier-qualifier-list before 'atomic_long_t' include/linux/slub_def.h: In function 'kmalloc_index': include/linux/slub_def.h:138: error: implicit declaration of function '__ilog2_u32' include/linux/slub_def.h:138: error: implicit declaration of function '__ilog2_u64' In file included from include/linux/mmzone.h:16, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/nodemask.h:263:21: warning: "BITS_PER_LONG" is not defined include/linux/slub_def.h: In function 'kmalloc_large': include/linux/slub_def.h:208: error: implicit declaration of function 'get_order' In file included from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/mmzone.h:20:22: error: asm/page.h: No such file or directory In file included from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/mmzone.h: At top level: include/linux/mmzone.h:262: error: expected specifier-qualifier-list before 'atomic_long_t' In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1In file included from include/linux/rcupdate.h:56, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/rcuclassic.h: At top level: : include/linux/spinlock.h:302:24: error: include/linux/rcuclassic.h:102: error: expected declaration specifiers or '...' before 'rcu_data' asm/atomic.h: No such file or directory include/linux/rcuclassic.h:102: warning: data definition has no type or storage class include/linux/rcuclassic.h:102: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/spinlock.h:311: error: expected ')' before '*' token include/linux/rcuclassic.h:102: error: conflicting types for 'DECLARE_PER_CPU' include/asm/processor.h:272: error: previous declaration of 'DECLARE_PER_CPU' was here include/linux/rcuclassic.h:103: error: expected declaration specifiers or '...' before 'rcu_bh_data' include/linux/rcuclassic.h:103: warning: data definition has no type or storage class include/linux/rcuclassic.h:103: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/rcuclassic.h:103: error: conflicting types for 'DECLARE_PER_CPU' include/asm/processor.h:272: error: previous declaration of 'DECLARE_PER_CPU' was here In file included from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/seqlock.h: In function 'write_seqlock': include/linux/seqlock.h:64: error: implicit declaration of function 'smp_wmb' include/linux/rcuclassic.h: In function 'rcu_qsctr_inc': include/linux/rcuclassic.h:113: error: implicit declaration of function 'per_cpu' include/linux/rcuclassic.h:113: error: 'rcu_data' undeclared (first use in this function) include/linux/rcuclassic.h:113: error: invalid lvalue in unary '&' include/linux/rcuclassic.h: In function 'rcu_bh_qsctr_inc': include/linux/rcuclassic.h:118: error: 'rcu_bh_data' undeclared (first use in this function) include/linux/rcuclassic.h:118: error: invalid lvalue in unary '&' include/linux/seqlock.h: In function 'read_seqbegin': include/linux/seqlock.h:92: error: implicit declaration of function 'smp_rmb' include/linux/seqlock.h:94: error: implicit declaration of function 'cpu_relax' In file included from include/linux/sched.h:74, from arch/x86/kernel/i8259.c:4: include/linux/pid.h: At top level: include/linux/pid.h:59: error: expected specifier-qualifier-list before 'atomic_t' include/linux/pid.h: In function 'get_pid': include/linux/pid.h:78: error: implicit declaration of function 'atomic_inc' include/linux/pid.h:78: error: 'struct pid' has no member named 'count' In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/mutex.h:50: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/time.h:9, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/math64.h:5:23: error: asm/div64.h: No such file or directory include/linux/mutex.h: In function 'mutex_is_locked': include/linux/math64.h:7:5: include/linux/pid.h: In function 'pid_nr': include/linux/mutex.h:117: error: implicit declaration of function 'atomic_read' warning: include/linux/pid.h:142: error: 'struct pid' has no member named 'numbers' "BITS_PER_LONG" is not defined include/linux/mutex.h:117: error: 'struct mutex' has no member named 'count' include/linux/math64.h:38:7: warning: "BITS_PER_LONG" is not defined In file included from include/linux/time.h:9, from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/math64.h: At top level: include/linux/math64.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_u64' include/linux/math64.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_s64' include/linux/math64.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iter_div_u64_rem' In file included from include/linux/notifier.h:14include/linux/math64.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__iter_div_u64_rem' , from include/linux/memory_hotplug.h:6In file included from include/linux/proportions.h:12, from include/linux/sched.h:77, from arch/x86/kernel/i8259.c:4: include/linux/percpu_counter.h: At top level: , from include/linux/mmzone.h:560include/linux/percpu_counter.h:85: error: expected specifier-qualifier-list before 's64' In file included from include/linux/timex.h:57, from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/time.h:15: error: expected specifier-qualifier-list before 'time_t' include/linux/percpu_counter.h:88: error: expected declaration specifiers or '...' before 's64' include/linux/time.h:21: error: expected specifier-qualifier-list before 'time_t' include/linux/percpu_counter.h: In function 'percpu_counter_init': , from include/linux/gfp.h:4include/linux/percpu_counter.h:90: error: 'struct percpu_counter' has no member named 'count' , from include/linux/mm.h:8include/linux/percpu_counter.h:90: error: 'amount' undeclared (first use in this function) , from kernel/printk.c:20: include/linux/time.h: In function 'timespec_equal': include/linux/rwsem.h:22:65: include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_sec' include/linux/percpu_counter.h: At top level:include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_sec' error: include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_nsec' asm/rwsem.h: No such file or directory In file included from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/notifier.h: At top level: include/linux/notifier.h:62: error: field 'rwsem' has incomplete type In file included from include/linux/mmzone.h:560, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/memory_hotplug.h: In function 'mhp_notimplemented': include/linux/memory_hotplug.h:185: error: 'ENOSYS' undeclared (first use in this function) include/linux/memory_hotplug.h: At top level: include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:204: error: expected ')' before 'start' In file included from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/mmzone.h: In function 'populated_zone': include/linux/mmzone.h:593: error: 'struct zone' has no member named 'present_pages' include/linux/mman.h: In function 'calc_vm_prot_bits':include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/percpu_counter.h:100: error: expected declaration specifiers or '...' before 's64' include/linux/percpu_counter.h: In function 'percpu_counter_set': include/linux/percpu_counter.h:102: error: 'struct percpu_counter' has no member named 'count' include/linux/mmzone.h: In function 'is_highmem':include/linux/time.h: In function 'timespec_compare': include/linux/percpu_counter.h:102: error: 'amount' undeclared (first use in this function)include/linux/mman.h:78: error: 'PROT_READ' undeclared (first use in this function) include/linux/time.h:54: error: 'const struct timespec' has no member named 'tv_sec' include/linux/mmzone.h:631: error: 'struct zone' has no member named 'zone_pgdat'include/linux/time.h:54: error: 'const struct timespec' has no member named 'tv_sec' include/linux/mman.h:79: error: 'PROT_WRITE' undeclared (first use in this function)include/linux/time.h:56: error: 'const struct timespec' has no member named 'tv_sec' include/linux/percpu_counter.h: At top level: include/linux/time.h:56: error: 'const struct timespec' has no member named 'tv_sec' include/linux/percpu_counter.h:109: error: expected declaration specifiers or '...' before 's64'include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/mmzone.h: In function 'is_normal': include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/mmzone.h:642: error: 'struct zone' has no member named 'zone_pgdat' include/linux/percpu_counter.h: In function 'percpu_counter_add': include/linux/percpu_counter.h:112: error: 'struct percpu_counter' has no member named 'count' include/linux/time.h: In function 'timeval_compare': include/linux/percpu_counter.h:112: error: 'amount' undeclared (first use in this function)include/linux/mmzone.h: In function 'is_dma': include/linux/time.h:63: error: 'const struct timeval' has no member named 'tv_sec' include/linux/time.h:63: error: 'const struct timeval' has no member named 'tv_sec' include/linux/mmzone.h:657: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mman.h:80: error: 'PROT_EXEC' undeclared (first use in this function)include/linux/percpu_counter.h: At top level: include/linux/time.h:65: error: 'const struct timeval' has no member named 'tv_sec' include/linux/percpu_counter.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_read' include/linux/mmzone.h: At top level: include/linux/percpu_counter.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_read_positive' include/linux/time.h:65: error: 'const struct timeval' has no member named 'tv_sec' include/linux/mmzone.h:667: error: expected declaration specifiers or '...' before 'size_t' include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_usec' include/linux/mmzone.h:667: error: expected declaration specifiers or '...' before 'loff_t'include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_usec' include/linux/percpu_counter.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_sum_positive' include/linux/percpu_counter.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_sum' include/linux/time.h: At top level: include/linux/time.h:74: error: expected declaration specifiers or '...' before 'time_t'include/linux/percpu_counter.h: In function 'percpu_counter_inc': include/linux/mmzone.h:670: error: expected declaration specifiers or '...' before 'size_t' include/linux/percpu_counter.h:140: error: too many arguments to function 'percpu_counter_add' include/linux/mmzone.h:670: error: expected declaration specifiers or '...' before 'loff_t' include/linux/time.h: In function 'timespec_sub':include/linux/mmzone.h:672: error: expected declaration specifiers or '...' before 'size_t' include/linux/percpu_counter.h: In function 'percpu_counter_dec': include/linux/mmzone.h:672: error: expected declaration specifiers or '...' before 'loff_t' include/linux/time.h:83: error: 'struct timespec' has no member named 'tv_sec' include/linux/percpu_counter.h:145: error: too many arguments to function 'percpu_counter_add' include/linux/mmzone.h:674: error: expected declaration specifiers or '...' before 'size_t' include/linux/time.h:83: error: 'struct timespec' has no member named 'tv_sec' include/linux/time.h:84: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:84: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:84: error: too many arguments to function 'set_normalized_timespec' include/linux/time.h: At top level: include/linux/time.h:126: error: expected ')' before 'nsec' include/linux/time.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec_to_ns' include/linux/time.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timeval_to_ns' include/linux/time.h:159: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:159: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:167: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:167: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:177: error: expected declaration specifiers or '...' before 'u64' include/linux/time.h: In function 'timespec_add_ns': include/linux/time.h:179: error: 'struct timespec' has no member named 'tv_sec' include/linux/time.h:179: error: implicit declaration of function '__iter_div_u64_rem' include/linux/time.h:179: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:179: error: 'ns' undeclared (first use in this function) include/linux/time.h:180: error: 'struct timespec' has no member named 'tv_nsec' In file included from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/timex.h:195:23: error: asm/timex.h: No such file or directory In file included from include/linux/sched.h:54, from arch/x86/mm/pgtable_32.c:1: include/linux/timex.h: At top level: include/linux/timex.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tick_length' In file included from include/linux/sched.h:55, from arch/x86/mm/pgtable_32.c:1: include/linux/jiffies.h:18:5: warning: "HZ" is not defined include/linux/jiffies.h:20:7: warning: "HZ" is not defined include/linux/jiffies.h:22:7: warning: "HZ" is not defined include/linux/jiffies.h:24:7: warning: "HZ" is not defined include/linux/jiffies.h:26:7: warning: "HZ" is not defined include/linux/jiffies.h:28:7: warning: "HZ" is not defined include/linux/jiffies.h:30:7: warning: "HZ" is not defined include/linux/jiffies.h:32:7: warning: "HZ" is not defined include/linux/jiffies.h:34:7: warning: "HZ" is not defined include/linux/jiffies.h:36:7: warning: "HZ" is not defined include/linux/jiffies.h:39:3: error: #error Invalid value of HZ. In file included from include/linux/sched.h:55, from arch/x86/mm/pgtable_32.c:1: include/linux/jiffies.h:81: warning: type defaults to 'int' in declaration of 'u64' include/linux/jiffies.h:81: error: expected ',' or ';' before 'jiffies_64' include/linux/jiffies.h:84:6: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_jiffies_64' include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: include/linux/mman.h: In function 'calc_vm_flag_bits': include/linux/percpu_counter.h: At top level:include/linux/mmzone.h:674: error: expected declaration specifiers or '...' before 'loff_t' division by zero in #if include/linux/jiffies.h:247:31:include/linux/mman.h:90: error: 'MAP_GROWSDOWN' undeclared (first use in this function) include/linux/mmzone.h:676: error: expected declaration specifiers or '...' before 'size_t' include/linux/percpu_counter.h:148: error: expected declaration specifiers or '...' before 's64' include/linux/mmzone.h:676: error: expected declaration specifiers or '...' before 'loff_t' warning: "CLOCK_TICK_RATE" is not defined include/linux/mmzone.h:679: error: expected declaration specifiers or '...' before 'size_t'include/linux/percpu_counter.h: In function 'percpu_counter_sub': include/linux/mman.h:91: error: 'MAP_DENYWRITE' undeclared (first use in this function) include/linux/jiffies.h:247:31: include/linux/percpu_counter.h:150: error: 'amount' undeclared (first use in this function) include/linux/mman.h:92: error: 'MAP_EXECUTABLE' undeclared (first use in this function)include/linux/percpu_counter.h:150: error: too many arguments to function 'percpu_counter_add' warning: include/linux/mmzone.h:679: error: expected declaration specifiers or '...' before 'loff_t' In file included from include/linux/sched.h:77, from arch/x86/kernel/i8259.c:4: include/linux/proportions.h: In function 'prop_inc_percpu': include/linux/proportions.h:75: error: implicit declaration of function 'local_irq_save' include/linux/proportions.h:77: error: implicit declaration of function 'local_irq_restore' In file included from include/linux/sched.h:78, from arch/x86/kernel/i8259.c:4: include/linux/seccomp.h: In function 'prctl_get_seccomp': include/linux/seccomp.h:30: error: 'EINVAL' undeclared (first use in this function) include/linux/seccomp.h: In function 'prctl_set_seccomp': include/linux/seccomp.h:35: error: 'EINVAL' undeclared (first use in this function) In file included from include/linux/topology.h:30, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/cpumask.h:310:16: warning: "BITS_PER_LONG" is not defined include/linux/cpumask.h:345:15: warning: "BITS_PER_LONG" is not defined In file included from include/linux/sched.h:84, from arch/x86/kernel/i8259.c:4: include/linux/resource.h:71:26: error: asm/resource.h: No such file or directory In file included from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory In file included from include/linux/sched.h:86, from arch/x86/kernel/i8259.c:4: include/linux/hrtimer.h: At top level: include/linux/hrtimer.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_forward' include/linux/hrtimer.h:333: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_forward_now' include/linux/hrtimer.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_divns' In file included from arch/x86/kernel/i8259.c:4: include/linux/sched.h:131: error: expected declaration specifiers or '...' before 'process_counts' include/linux/sched.h:131: warning: data definition has no type or storage class include/linux/sched.h:131: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/sched.h:131: error: conflicting types for 'DECLARE_PER_CPU' include/asm/processor.h:272: error: previous declaration of 'DECLARE_PER_CPU' was here In file included from include/linux/mm.h:8, from kernel/printk.c:20: include/linux/gfp.h: In function 'allocflags_to_migratetype': include/linux/gfp.h:111: error: implicit declaration of function 'WARN_ON' include/linux/gfp.h: In function 'alloc_pages_node': include/linux/gfp.h:191: error: implicit declaration of function 'cpu_to_node' In file included from include/linux/aio.h:6, from include/linux/sched.h:343, from arch/x86/kernel/i8259.c:4: include/linux/aio_abi.h:58: error: expected specifier-qualifier-list before '__u64' include/linux/aio_abi.h:80: error: expected specifier-qualifier-list before '__u64' In file included from include/linux/sched.h:343, from arch/x86/kernel/i8259.c:4: include/linux/aio.h:104: error: expected specifier-qualifier-list before '__u64' include/linux/aio.h:181: error: expected specifier-qualifier-list before 'atomic_t' include/linux/aio.h: In function 'list_kiocb': include/linux/aio.h:221: error: 'struct kiocb' has no member named 'ki_list' include/linux/aio.h:221: warning: type defaults to 'int' in declaration of '__mptr' include/linux/aio.h:221: warning: initialization from incompatible pointer type include/linux/aio.h:221: error: 'struct kiocb' has no member named 'ki_list' In file included from arch/x86/kernel/i8259.c:4: include/linux/sched.h: At top level: "CLOCK_TICK_RATE" is not definedIn file included from include/linux/mm_types.h:4 , from include/linux/mm.h:14include/linux/jiffies.h:247:31: include/linux/sched.h:414: error: expected specifier-qualifier-list before 'atomic_t' , from kernel/printk.c:20: warning: include/linux/auxvec.h:4:24: error: include/linux/sched.h:424: error: expected specifier-qualifier-list before 'cputime_t' "HZ" is not defined asm/auxvec.h: No such file or directoryinclude/linux/jiffies.h:247:31: include/linux/mman.h:93: error: 'MAP_LOCKED' undeclared (first use in this function)include/linux/sched.h:436: error: expected specifier-qualifier-list before 'atomic_t' warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/sched.h: In function 'signal_group_exit': include/linux/jiffies.h:247:31: include/linux/sched.h:573: error: 'const struct signal_struct' has no member named 'flags' warning: "HZ" is not defined include/linux/sched.h:574: error: 'const struct signal_struct' has no member named 'group_exit_task'In file included from include/linux/mm.h:14include/linux/jiffies.h:247:31: , from kernel/printk.c:20: warning: include/linux/mm_types.h:14:21: "HZ" is not defined include/linux/sched.h: At top level: error: include/linux/jiffies.h:247:31: include/linux/sched.h:581: error: expected specifier-qualifier-list before 'atomic_t' asm/mmu.h: No such file or directory error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: In file included from include/linux/mm.h:14, from kernel/printk.c:20: include/linux/mm_types.h: At top level: "CLOCK_TICK_RATE" is not defined include/linux/mm_types.h:39: error: expected specifier-qualifier-list before 'atomic_t' include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: include/linux/mm_types.h:118: error: expected specifier-qualifier-list before 'pgprot_t' division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/sched.h:844: error: expected specifier-qualifier-list before 'atomic_t' include/linux/jiffies.h:247:31: include/linux/mm_types.h:178: error: expected specifier-qualifier-list before 'pgd_t' warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:46: warning: In file included from kernel/printk.c:20: include/linux/mm.h:39:25: error: asm/pgtable.h: No such file or directory "SHIFT_HZ" is not defined include/linux/jiffies.h:274:5: warning: "BITS_PER_LONG" is not defined include/linux/sched.h:955: error: expected specifier-qualifier-list before 'u64' In file included from kernel/printk.c:20: include/linux/mm.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'protection_map' include/linux/sched.h:1025: error: expected specifier-qualifier-list before 'atomic_t' include/linux/jiffies.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_to_clock_t' include/linux/jiffies.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_64_to_clock_t' include/linux/jiffies.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsec_to_clock_t' include/linux/sched.h: In function 'rt_task': include/linux/sched.h:1332: error: 'struct task_struct' has no member named 'prio' include/linux/sched.h: In function 'set_task_session': include/linux/sched.h:1337: error: 'struct task_struct' has no member named 'signal' include/linux/sched.h: In function 'set_task_pgrp': include/linux/sched.h:1342: error: 'struct task_struct' has no member named 'signal' include/linux/sched.h: In function 'task_pid': include/linux/sched.h:1347: error: 'struct task_struct' has no member named 'pids' include/linux/sched.h: In function 'task_tgid': include/linux/sched.h:1352: error: 'struct task_struct' has no member named 'group_leader' include/linux/sched.h: In function 'task_pgrp': include/linux/sched.h:1357: error: 'struct task_struct' has no member named 'group_leader' include/linux/sched.h: In function 'task_session': include/linux/sched.h:1362: error: 'struct task_struct' has no member named 'group_leader' In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:147, from include/linux/sched.h:58, from arch/x86/mm/pgtable_32.c:1: include/linux/string.h:19:24:include/linux/sched.h: In function 'task_pid_nr': include/linux/sched.h:1383: error: 'struct task_struct' has no member named 'pid' error: asm/string.h: No such file or directory In file included from include/linux/mm.h:212, from kernel/printk.c:20: include/linux/page-flags.h: In function '__ClearPageDirty': include/linux/page-flags.h:154: error: implicit declaration of function '__clear_bit' In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:147, from include/linux/sched.h:58, from arch/x86/mm/pgtable_32.c:1: include/linux/string.h:25: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcpy' include/linux/sched.h: In function 'task_tgid_nr': include/linux/sched.h:1396: error: 'struct task_struct' has no member named 'tgid' include/linux/string.h:34: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcat' include/linux/string.h:43: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/sched.h: In function 'task_pgrp_nr': include/linux/string.h:46: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/sched.h:1409: error: 'struct task_struct' has no member named 'signal' include/linux/string.h:52: error: expected declaration specifiers or '...' before 'size_t' include/linux/string.h:58: error: expected declaration specifiers or '...' before 'size_t' include/linux/sched.h: In function 'task_session_nr': include/linux/sched.h:1422: error: 'struct task_struct' has no member named 'signal' include/linux/string.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen' include/linux/string.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen' include/linux/page-flags.h: In function '__SetPageSlab': include/linux/page-flags.h:157: error: implicit declaration of function '__set_bit' include/linux/string.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn' include/linux/sched.h: In function 'pid_alive': include/linux/string.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn' include/linux/sched.h:1443: error: 'struct task_struct' has no member named 'pids' include/linux/string.h:87: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:90: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/sched.h: In function 'is_global_init':include/linux/string.h:93: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/sched.h:1454: error: 'struct task_struct' has no member named 'pid' include/linux/string.h:96: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:99: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/string.h:102: error: expected declaration specifiers or '...' before '__kernel_size_t' include/linux/sched.h: In function 'put_task_struct': include/linux/sched.h:1472: error: implicit declaration of function 'atomic_dec_and_test' include/linux/string.h:106: error: expected declaration specifiers or '...' before 'size_t' include/linux/sched.h:1472: error: 'struct task_struct' has no member named 'usage' include/linux/string.h:107: error: expected declaration specifiers or '...' before 'size_t' include/linux/sched.h: In function 'set_cpus_allowed_ptr': include/linux/sched.h:1542: error: 'EINVAL' undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1587: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sched_clock_cpu' include/linux/sched.h:1590: error: expected ')' before 'delta_ns' In file included from include/linux/cpumask.h:147, from include/linux/sched.h:58, from arch/x86/mm/pgtable_32.c:1: include/linux/bitmap.h: In function 'bitmap_zero': include/linux/sched.h:1614: error: expected ')' before 'delta_ns' include/linux/bitmap.h:141: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h:145: error: too many arguments to function 'memset' include/linux/bitmap.h: In function 'bitmap_fill': include/linux/bitmap.h:151: error: 'size_t' undeclared (first use in this function) include/linux/bitmap.h:151: error: expected ';' before 'nlongs' include/linux/bitmap.h:152: error: 'nlongs' undeclared (first use in this function) include/linux/bitmap.h:154: error: too many arguments to function 'memset' include/linux/bitmap.h:156: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_copy': include/linux/bitmap.h:162: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h:166: error: too many arguments to function 'memcpy' include/linux/bitmap.h: In function 'bitmap_and': include/linux/bitmap.h:173: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/sched.h: In function 'get_uid': include/linux/sched.h:1740: error: 'struct user_struct' has no member named '__count' include/linux/bitmap.h: In function 'bitmap_or': include/linux/bitmap.h:182: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_xor': include/linux/bitmap.h:191: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1770: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/bitmap.h: In function 'bitmap_andnot': include/linux/sched.h:1772: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/sched.h:1777: error: 'struct task_struct' has no member named 'sighand' include/linux/sched.h:1778: error: 'info' undeclared (first use in this function) include/linux/sched.h:1778: error: too many arguments to function 'dequeue_signal' include/linux/sched.h:1779: error: 'struct task_struct' has no member named 'sighand' include/linux/sched.h: At top level: include/linux/sched.h:1793: error: expected declaration specifiers or '...' before 'u32' include/linux/sched.h: In function 'on_sig_stack': include/linux/sched.h:1828: error: 'current' undeclared (first use in this function) In file included from kernel/printk.c:20: include/linux/mm.h: In function 'put_page_testzero': include/linux/mm.h:239: error: implicit declaration of function 'atomic_dec_and_test' In file included from include/linux/pagemap.h:10include/linux/mm.h:239: error: 'struct page' has no member named '_count' include/linux/bitmap.h:200: error: 'BITS_PER_LONG' undeclared (first use in this function)include/linux/sched.h: In function 'sas_ss_flags': include/linux/sched.h:1833: error: 'current' undeclared (first use in this function) , from mm/filemap.c:23 include/linux/mm.h: In function 'get_page_unless_zero': include/linux/mm.h:249: error: implicit declaration of function 'atomic_inc_not_zero' include/linux/sched.h: In function 'mmdrop': : include/linux/mm.h:249: error: 'struct page' has no member named '_count' include/linux/sched.h:1846: error: 'struct mm_struct' has no member named 'mm_count' include/linux/bitmap.h: In function 'bitmap_complement': include/linux/bitmap.h:209: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mm.h: In function 'is_vmalloc_addr': include/linux/mm.h:267: error: 'VMALLOC_START' undeclared (first use in this function) include/linux/mm.h:267: error: 'VMALLOC_END' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_equal': include/linux/bitmap.h:218: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mm.h: In function 'compound_head': include/linux/mm.h:276: error: 'struct page' has no member named 'first_page' include/linux/bitmap.h: In function 'bitmap_intersects': include/linux/bitmap.h:227: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mm.h: In function 'page_count': include/linux/mm.h:282: error: 'struct page' has no member named '_count' include/linux/sched.h: In function 'has_group_leader_pid': include/linux/sched.h:1915: error: 'struct task_struct' has no member named 'pid' include/linux/bitmap.h: In function 'bitmap_subset': include/linux/sched.h:1915: error: 'struct task_struct' has no member named 'tgid'include/linux/highmem.h:8:28: include/linux/mm.h: In function 'get_page': include/linux/bitmap.h:236: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_empty': include/linux/bitmap.h:244: error: 'BITS_PER_LONG' undeclared (first use in this function)include/linux/sched.h: In function 'same_thread_group': error: include/linux/mm.h:289: error: implicit declaration of function 'atomic_inc' include/linux/mm.h:289: error: 'struct page' has no member named '_count' include/linux/mm.h: In function 'virt_to_head_page': include/linux/bitmap.h: In function 'bitmap_full': include/linux/sched.h:1921: error: 'struct task_struct' has no member named 'tgid' asm/cacheflush.h: No such file or directoryinclude/linux/sched.h:1921: error: 'struct task_struct' has no member named 'tgid' include/linux/mm.h:294: error: implicit declaration of function 'virt_to_page'include/linux/bitmap.h:252: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/sched.h: In function 'next_thread': include/linux/sched.h:1926: error: 'struct task_struct' has no member named 'thread_group'include/linux/bitmap.h: In function 'bitmap_weight': include/linux/mm.h:294: warning: initialization makes pointer from integer without a cast include/linux/mm.h: In function 'init_page_count': include/linux/mm.h:304: error: implicit declaration of function 'atomic_set' include/linux/mm.h:304: error: 'struct page' has no member named '_count' include/linux/bitmap.h:260: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mm.h: In function 'set_compound_page_dtor': include/linux/mm.h:322: error: 'struct page' has no member named 'lru' include/linux/bitmap.h: In function 'bitmap_shift_right': include/linux/bitmap.h:268: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/mm.h: In function 'get_compound_page_dtor': include/linux/mm.h:327: error: 'struct page' has no member named 'lru' include/linux/bitmap.h: In function 'bitmap_shift_left': include/linux/bitmap.h:277: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of '__mptr' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of '_________p1' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of 'type name' include/linux/sched.h:1926: error: implicit declaration of function 'smp_read_barrier_depends' include/linux/sched.h:1926: warning: initialization makes pointer from integer without a cast include/linux/sched.h:1926: error: 'struct task_struct' has no member named 'thread_group' include/linux/sched.h: In function 'thread_group_empty': include/linux/sched.h:1932: error: 'struct task_struct' has no member named 'thread_group' include/linux/sched.h: In function 'task_lock': include/linux/sched.h:1950: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'task_unlock': include/linux/sched.h:1955: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'unlock_task_sighand': include/linux/sched.h:1964: error: 'struct task_struct' has no member named 'sighand' In file included from include/linux/sched.h:58, from arch/x86/mm/pgtable_32.c:1: include/linux/cpumask.h:310:16: warning: "BITS_PER_LONG" is not defined include/linux/cpumask.h:345:15: warning: "BITS_PER_LONG" is not defined In file included from arch/x86/kernel/i8259.c:5: include/linux/ioport.h: At top level: include/linux/ioport.h:19: error: expected specifier-qualifier-list before 'resource_size_t' include/linux/ioport.h:113: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:113: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:114: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:114: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:116: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:116: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:118: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:119: error: expected declaration specifiers or '...' before 'resource_size_t' In file included from include/linux/sched.h:59include/linux/highmem.h:24:25:include/linux/mm.h: In function 'compound_order': include/linux/mm.h:334: error: 'struct page' has no member named 'lru' include/linux/mm.h: In function 'set_compound_order': include/linux/mm.h:339: error: 'struct page' has no member named 'lru' include/linux/mm.h:430:47: warning: "BITS_PER_LONG" is not defined include/linux/mm.h:478:46: warning: "BITS_PER_LONG" is not defined include/linux/mm.h:479:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_P include/linux/ioport.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_alignment' , from arch/x86/mm/pgtable_32.c:1: ER_LONG - NR_PAGEFLAerror: include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from include/linux/sched.h:60, from arch/x86/mm/pgtable_32.c:1: include/linux/nodemask.h:263:21: warning: "BITS_PER_LONG" is not defined In file included from include/linux/mm_types.h:4, from include/linux/sched.h:61, from arch/x86/mm/pgtable_32.c:1: include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory In file included from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/x86/mm/pgtable_32.c:1: include/linux/rwsem.h:22:65: error: asm/rwsem.h: No such file or directory In file included from include/linux/completion.h:11, from include/linux/mm_types.h:12, from include/linux/sched.h:61, from arch/x86/mm/pgtable_32.c:1: include/linux/wait.h:26:25: error: asm/current.h: No such file or directory In file included from include/linux/sched.h:61, from arch/x86/mm/pgtable_32.c:1: include/linux/mm_types.h:13:22: error: asm/page.h: No such file or directory include/linux/mm_types.h:14:21: error: asm/mmu.h: No such file or directory include/linux/ioport.h:128: error: expected declaration specifiers or '...' before 'resource_size_t'GS In file included from include/linux/sched.h:61, from arch/x86/mm/pgtable_32.c:1: include/linux/mm_types.h: At top level: include/linux/mm_types.h:39: error: expected specifier-qualifier-list before 'atomic_t' include/linux/mm_types.h:118: error: expected specifier-qualifier-list before 'pgprot_t' include/linux/mm_types.h:172: warning: 'struct file' declared inside parameter list include/linux/mm_types.h:178: error: expected specifier-qualifier-list before 'pgd_t' In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h:65:24: error: asm/ptrace.h: No such file or directory include/linux/sched.h:66:25: error: asm/cputime.h: No such file or directory In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/ipc.h:12: error: expected specifier-qualifier-list before '__kernel_uid_t' In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory In file included from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/slab.h: At top level: include/linux/slab.h:66: error: expected declaration specifiers or '...' before 'size_t' include/linux/slab.h:66: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/ipc.h:82, from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/kref.h:22: error: expected specifier-qualifier-list before 'atomic_t' include/linux/slab.h:106: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/ipc.h:94: error: expected specifier-qualifier-list before 'uid_t' include/linux/slab.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ksize' In file included from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/sem.h:25: error: expected specifier-qualifier-list before '__kernel_time_t' In file included from include/linux/sched.h:69, from arch/x86/mm/pgtable_32.c:1: include/linux/sem.h:35:24: error: asm/sembuf.h: No such file or directory In file included from include/linux/time.h:9, from include/linux/ktime.h:24, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5include/linux/sem.h:93: error: expected specifier-qualifier-list before 'time_t' asm/highmem.h: No such file or directory include/linux/sem.h:131: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/pagemap.h:10, from mm/filemap.c:23: include/linux/highmem.h: In function 'clear_user_highpage': include/linux/highmem.h:68: error: implicit declaration of function 'kmap_atomic' include/linux/highmem.h:68: warning: initialization makes pointer from integer without a cast include/linux/highmem.h:70: error: implicit declaration of function 'kunmap_atomic' In file included from include/linux/sched.h:70, from arch/x86/mm/pgtable_32.c:1: include/linux/signal.h:4:24: error: asm/signal.h: No such file or directory include/linux/signal.h:5:25: error: asm/siginfo.h: No such file or directory In file included from include/linux/sched.h:70, from arch/x86/mm/pgtable_32.c:1: include/linux/signal.h:17: error: expected specifier-qualifier-list before 'siginfo_t' include/linux/signal.h:26: error: expected specifier-qualifier-list before 'sigset_t' include/linux/signal.h:38: error: expected ')' before '*' token , from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/math64.h:5:23: error: include/linux/highmem.h: In function 'clear_highpage':include/linux/signal.h:47: error: expected ')' before '*' token include/linux/signal.h:56: error: expected ')' before '*' token include/linux/signal.h: In function 'sigfindinword': include/linux/signal.h:67: error: implicit declaration of function 'ffz' include/linux/signal.h: At top level: include/linux/signal.h:72: error: expected ')' before '*' token include/linux/ioport.h:129: error: expected declaration specifiers or '...' before 'resource_size_t'asm/div64.h: No such file or directory include/linux/signal.h:119: error: expected ')' before '*' token include/linux/math64.h:7:5: include/linux/signal.h:122: error: expected ')' before '*' tokeninclude/linux/ioport.h:136: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/highmem.h:120: warning: initialization makes pointer from integer without a castwarning: include/linux/ioport.h:136: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:137: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/signal.h:125: error: expected ')' before '*' token "BITS_PER_LONG" is not defined include/linux/math64.h:38:7: warning: "BITS_PER_LONG" is not defined In file included from include/linux/time.h:9, from include/linux/ktime.h:24, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/math64.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_u64' include/linux/math64.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'div_s64' include/linux/math64.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iter_div_u64_rem' include/linux/math64.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__iter_div_u64_rem' In file included from include/linux/ktime.h:24, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/time.h:15: error: expected specifier-qualifier-list before 'time_t' include/linux/time.h:21: error: expected specifier-qualifier-list before 'time_t' include/linux/time.h: In function 'timespec_equal': include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/time.h:44: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/time.h: In function 'timespec_compare': include/linux/time.h:54: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:54: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:56: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:56: error: 'const struct timespec' has no member named 'tv_sec' include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/time.h:58: error: 'const struct timespec' has no member named 'tv_nsec' include/linux/time.h: In function 'timeval_compare': include/linux/time.h:63: error: 'const struct timeval' has no member named 'tv_sec' include/linux/time.h:63: error: 'const struct timeval' has no member named 'tv_sec' include/linux/time.h:65: error: 'const struct timeval' has no member named 'tv_sec' include/linux/time.h:65: error: 'const struct timeval' has no member named 'tv_sec' include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_usec' include/linux/time.h:67: error: 'const struct timeval' has no member named 'tv_usec' include/linux/time.h: At top level: include/linux/time.h:74: error: expected declaration specifiers or '...' before 'time_t' include/linux/time.h: In function 'timespec_sub': include/linux/time.h:83: error: 'struct timespec' has no member named 'tv_sec' include/linux/time.h:83: error: 'struct timespec' has no member named 'tv_sec' include/linux/time.h:84: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:84: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:84: error: too many arguments to function 'set_normalized_timespec' include/linux/time.h: At top level: include/linux/time.h:126: error: expected ')' before 'nsec' include/linux/time.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timespec_to_ns' include/linux/time.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timeval_to_ns' include/linux/time.h:159: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:159: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:167: warning: type defaults to 'int' in declaration of 's64' include/linux/time.h:167: error: expected ';', ',' or ')' before 'nsec' include/linux/time.h:177: error: expected declaration specifiers or '...' before 'u64' include/linux/time.h: In function 'timespec_add_ns': include/linux/time.h:179: error: 'struct timespec' has no member named 'tv_sec' include/linux/time.h:179: error: implicit declaration of function '__iter_div_u64_rem' include/linux/time.h:179: error: 'struct timespec' has no member named 'tv_nsec' include/linux/time.h:179: error: 'ns' undeclared (first use in this function) include/linux/time.h:180: error: 'struct timespec' has no member named 'tv_nsec' In file included from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/timex.h:59:23: error: asm/param.h: No such file or directory include/linux/timex.h:195:23: error: asm/timex.h: No such file or directory In file included from include/linux/jiffies.h:8, from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/timex.h: At top level: include/linux/timex.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tick_length' In file included from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/jiffies.h:18:5: warning: "HZ" is not defined include/linux/jiffies.h:20:7: warning: "HZ" is not defined include/linux/jiffies.h:22:7: warning: "HZ" is not defined include/linux/jiffies.h:24:7: warning: "HZ" is not defined include/linux/jiffies.h:26:7: warning: "HZ" is not defined include/linux/jiffies.h:28:7: warning: "HZ" is not defined include/linux/jiffies.h:30:7: warning: "HZ" is not defined include/linux/jiffies.h:32:7: warning: "HZ" is not defined include/linux/jiffies.h:34:7: warning: "HZ" is not defined include/linux/jiffies.h:36:7: warning: "HZ" is not defined include/linux/jiffies.h:39:3: error: #error Invalid value of HZ. In file included from include/linux/ktime.h:25, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/jiffies.h:81: warning: type defaults to 'int' in declaration of 'u64' include/linux/highmem.h: In function 'zero_user_segments': include/linux/ioport.h:138: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/jiffies.h:81: error: expected ',' or ';' before 'jiffies_64' include/linux/jiffies.h:84:6: warning: "BITS_PER_LONG" is not defined include/linux/signal.h:149: error: expected ')' before '*' tokeninclude/linux/jiffies.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_jiffies_64' include/linux/highmem.h:129: warning: initialization makes pointer from integer without a cast include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: include/linux/highmem.h:140: error: implicit declaration of function 'flush_dcache_page' division by zero in #if include/linux/jiffies.h:247:31: warning: include/linux/signal.h:154: error: expected ')' before '*' token "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: include/linux/signal.h:166: error: expected ')' before '*' token warning: "HZ" is not defined include/linux/signal.h:180: error: expected ')' before '*' token include/linux/signal.h:185: error: expected ')' before '*' token include/linux/signal.h:190: error: expected ')' before '*' token include/linux/signal.h:195: error: expected ')' before '*' token include/linux/signal.h:207: error: expected ')' before '*' token include/linux/signal.h: In function 'init_sigpending': include/linux/signal.h:223: error: implicit declaration of function 'sigemptyset' include/linux/signal.h:223: error: 'struct sigpending' has no member named 'signal' include/linux/signal.h: In function 'valid_signal': include/linux/signal.h:232: error: '_NSIG' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/highmem.h: In function 'copy_user_highpage': include/linux/ioport.h:140: error: expected ')' before 's'include/linux/jiffies.h:247:31: include/linux/signal.h:235: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/highmem.h:168: warning: assignment makes pointer from integer without a cast include/linux/signal.h:236: warning: 'struct siginfo' declared inside parameter list warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: include/linux/ioport.h:154: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/highmem.h:169: warning: assignment makes pointer from integer without a cast include/linux/signal.h:237: warning: 'struct siginfo' declared inside parameter list "HZ" is not defined include/linux/jiffies.h:247:31:include/linux/ioport.h:155: error: expected declaration specifiers or '...' before 'resource_size_t'include/linux/signal.h:239: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/signal.h:239: error: expected declaration specifiers or '...' before 'sigset_t' warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/signal.h:243: error: expected ')' before '*' token include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: include/linux/signal.h:330:5: "CLOCK_TICK_RATE" is not defined warning: include/linux/jiffies.h:247:31: "SIGRTMIN" is not defined warning: include/linux/signal.h:330:16: "CLOCK_TICK_RATE" is not defined warning: "BITS_PER_LONG" is not defined include/linux/highmem.h: In function 'copy_highpage': include/linux/highmem.h:181: warning: assignment makes pointer from integer without a cast include/linux/highmem.h:182: warning: assignment makes pointer from integer without a cast In file included from include/linux/sched.h:71, from arch/x86/mm/pgtable_32.c:1: include/linux/fs_struct.h:7: error: expected specifier-qualifier-list before 'atomic_t' In file included from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/mm/pgtable_32.c:1: include/linux/percpu.h:5:44: error: linux/slab.h: No such file or directory include/linux/percpu.h:9:24: error: asm/percpu.h: No such file or directory In file included from include/linux/rcupdate.h:39, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/mm/pgtable_32.c:1: include/linux/percpu.h:119: error: expected declaration specifiers or '...' before 'size_t' include/linux/percpu.h:125: error: expected declaration specifiers or '...' before 'size_t' include/linux/percpu.h:131: error: expected ')' before 'size' include/linux/percpu.h: In function 'percpu_free': include/linux/percpu.h:138: error: implicit declaration of function 'kfree' In file included from include/linux/rcupdate.h:56, from include/linux/pid.h:4, from include/linux/sched.h:74, from arch/x86/mm/pgtable_32.c:1: include/linux/rcuclassic.h: At top level: include/linux/rcuclassic.h:102: error: expected declaration specifiers or '...' before 'rcu_data' include/linux/rcuclassic.h:102: warning: data definition has no type or storage class include/linux/rcuclassic.h:102: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/rcuclassic.h:103: error: expected declaration specifiers or '...' before 'rcu_bh_data' include/linux/rcuclassic.h:103: warning: data definition has no type or storage class include/linux/rcuclassic.h:103: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/rcuclassic.h: In function 'rcu_qsctr_inc': include/linux/rcuclassic.h:113: error: implicit declaration of function 'per_cpu' include/linux/rcuclassic.h:113: error: 'rcu_data' undeclared (first use in this function) include/linux/rcuclassic.h:113: error: invalid lvalue in unary '&' include/linux/rcuclassic.h: In function 'rcu_bh_qsctr_inc': include/linux/rcuclassic.h:118: error: 'rcu_bh_data' undeclared (first use in this function) include/linux/rcuclassic.h:118: error: invalid lvalue in unary '&' In file included from include/linux/sched.h:74, from arch/x86/mm/pgtable_32.c:1: include/linux/pid.h: At top level: include/linux/pid.h:59: error: expected specifier-qualifier-list before 'atomic_t' include/linux/pid.h: In function 'get_pid': include/linux/pid.h:78: error: implicit declaration of function 'atomic_inc' include/linux/pid.h:78: error: 'struct pid' has no member named 'count' include/linux/pid.h: At top level: include/linux/pid.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_nr' include/linux/pid.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_nr_ns' include/linux/pid.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_vnr' mm/filemap.c:24:24: error: linux/file.h: No such file or directory In file included from include/linux/topology.h:32include/linux/ioport.h:163: error: expected declaration specifiers or '...' before 'resource_size_t'include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not definedmm/filemap.c:26:24:, from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined In file included from include/linux/topology.h:32, from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/mmzone.h:218: error: 'MAX_NR_ZONES' undeclared here (not in a function) include/linux/mmzone.h:262: error: expected specifier-qualifier-list before 'atomic_long_t' In file included from include/linux/mmzone.h:560, from include/linux/topology.h:32, from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/memory_hotplug.h:6:28: error: linux/notifier.h: No such file or directory include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not definedIn file included from include/linux/mmzone.h:560, from include/linux/topology.h:32, from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/memory_hotplug.h: In function 'mhp_notimplemented': include/linux/memory_hotplug.h:185: error: 'ENOSYS' undeclared (first use in this function) include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/memory_hotplug.h: At top level: include/linux/jiffies.h:247:31: warning: include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64'include/linux/ioport.h:163: error: expected declaration specifiers or '...' before 'resource_size_t'"HZ" is not defined error: include/linux/memory_hotplug.h:202: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:203: error: expected declaration specifiers or '...' before 'u64' include/linux/memory_hotplug.h:204: error: expected ')' before 'start' In file included from include/linux/interrupt.h:11, from arch/x86/kernel/i8259.c:6: include/linux/hardirq.h:7:25: error: asm/hardirq.h: No such file or directory In file included from include/linux/topology.h:32, from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/mmzone.h: In function 'populated_zone': include/linux/mmzone.h:593: error: 'struct zone' has no member named 'present_pages' include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/mmzone.h: In function 'is_highmem': linux/hash.h: No such file or directoryinclude/linux/hardirq.h:40:27:include/linux/jiffies.h:247:31: include/linux/mmzone.h:631: error: 'struct zone' has no member named 'zone_pgdat' error: warning: "NR_IRQS" is not defined include/linux/mmzone.h: In function 'is_normal': include/linux/mmzone.h:642: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: In function 'is_dma': include/linux/mmzone.h:657: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: At top level: include/linux/mmzone.h:667: error: expected declaration specifiers or '...' before 'size_t' include/linux/mmzone.h:667: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mmzone.h:670: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/interrupt.h:13division by zero in #if include/linux/mmzone.h:670: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mmzone.h:672: error: expected declaration specifiers or '...' before 'size_t' include/linux/mmzone.h:672: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mmzone.h:674: error: expected declaration specifiers or '...' before 'size_t' include/linux/mmzone.h:674: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mmzone.h:676: error: expected declaration specifiers or '...' before 'size_t' include/linux/mmzone.h:676: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mmzone.h:679: error: expected declaration specifiers or '...' before 'size_t' include/linux/mmzone.h:679: error: expected declaration specifiers or '...' before 'loff_t' In file included from include/linux/sched.h:76, from arch/x86/mm/pgtable_32.c:1: include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory In file included from include/linux/proportions.h:12, from include/linux/sched.h:77, from arch/x86/mm/pgtable_32.c:1: include/linux/percpu_counter.h:85: error: expected specifier-qualifier-list before 's64' include/linux/percpu_counter.h:88: error: expected declaration specifiers or '...' before 's64' include/linux/percpu_counter.h: In function 'percpu_counter_init': include/linux/percpu_counter.h:90: error: 'struct percpu_counter' has no member named 'count' include/linux/percpu_counter.h:90: error: 'amount' undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:100: error: expected declaration specifiers or '...' before 's64' include/linux/percpu_counter.h: In function 'percpu_counter_set': include/linux/percpu_counter.h:102: error: 'struct percpu_counter' has no member named 'count' include/linux/percpu_counter.h:102: error: 'amount' undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:109: error: expected declaration specifiers or '...' before 's64' include/linux/percpu_counter.h: In function 'percpu_counter_add': include/linux/percpu_counter.h:112: error: 'struct percpu_counter' has no member named 'count' include/linux/percpu_counter.h:112: error: 'amount' undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_read' include/linux/percpu_counter.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_read_positive' include/linux/percpu_counter.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_sum_positive' include/linux/percpu_counter.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'percpu_counter_sum' include/linux/percpu_counter.h: In function 'percpu_counter_inc': include/linux/percpu_counter.h:140: error: too many arguments to function 'percpu_counter_add' include/linux/percpu_counter.h: In function 'percpu_counter_dec': include/linux/percpu_counter.h:145: error: too many arguments to function 'percpu_counter_add' include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:148: error: expected declaration specifiers or '...' before 's64' include/linux/percpu_counter.h: In function 'percpu_counter_sub': include/linux/percpu_counter.h:150: error: 'amount' undeclared (first use in this function) include/linux/percpu_counter.h:150: error: too many arguments to function 'percpu_counter_add' In file included from include/linux/proportions.h:14, from include/linux/sched.h:77, from arch/x86/mm/pgtable_32.c:1: include/linux/mutex.h: At top level: include/linux/mutex.h:50: error: expected specifier-qualifier-list before 'atomic_t' include/linux/mutex.h: In function 'mutex_is_locked': include/linux/mutex.h:117: error: implicit declaration of function 'atomic_read' include/linux/mutex.h:117: error: 'struct mutex' has no member named 'count' , from arch/x86/kernel/i8259.c:6include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31:In file included from include/linux/sched.h:77, from arch/x86/mm/pgtable_32.c:1: include/linux/proportions.h: In function 'prop_inc_percpu': include/linux/proportions.h:75: error: implicit declaration of function 'local_irq_save' include/linux/proportions.h:77: error: implicit declaration of function 'local_irq_restore' In file included from include/linux/sched.h:78, from arch/x86/mm/pgtable_32.c:1: include/linux/seccomp.h: In function 'prctl_get_seccomp': include/linux/seccomp.h:30: error: 'EINVAL' undeclared (first use in this function) include/linux/seccomp.h: In function 'prctl_set_seccomp': include/linux/seccomp.h:35: error: 'EINVAL' undeclared (first use in this function) In file included from include/linux/sched.h:84, from arch/x86/mm/pgtable_32.c:1: include/linux/resource.h:71:26: error: asm/resource.h: No such file or directory In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h:85:25: error: linux/timer.h: No such file or directory In file included from include/linux/hrtimer.h:19, from include/linux/sched.h:86, from arch/x86/mm/pgtable_32.c:1: include/linux/ktime.h: At top level: include/linux/ktime.h:47: error: expected specifier-qualifier-list before 's64' In file included from include/linux/hrtimer.h:19, from include/linux/sched.h:86, from arch/x86/mm/pgtable_32.c:1: include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:62:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:72:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:83:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h: In function 'ktime_set': include/linux/ktime.h:87: error: unknown field 'tv64' specified in initializer include/linux/ktime.h:87: error: 's64' undeclared (first use in this function) include/linux/ktime.h:87: warning: excess elements in union initializer include/linux/ktime.h:87: warning: (near initialization for '(anonymous)') include/linux/ktime.h:87: error: expected '}' before 'secs' include/linux/ktime.h: In function 'timespec_to_ktime': include/linux/ktime.h:115: error: 'struct timespec' has no member named 'tv_sec' include/linux/ktime.h:115: error: 'struct timespec' has no member named 'tv_nsec' include/linux/ktime.h: In function 'timeval_to_ktime': include/linux/ktime.h:121: error: 'struct timeval' has no member named 'tv_sec' include/linux/ktime.h:121: error: 'struct timeval' has no member named 'tv_usec' include/linux/ktime.h: In function 'ktime_equal': include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h: At top level: include/linux/ktime.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_to_us' include/linux/ktime.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_us_delta' include/linux/ktime.h:303: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:303: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:308: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:308: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:330: error: expected ')' before 'ns' In file included from include/linux/sched.h:86, from arch/x86/mm/pgtable_32.c:1: include/linux/hrtimer.h:155: error: expected specifier-qualifier-list before 'clockid_t' include/linux/hrtimer.h: In function 'hrtimer_cb_get_time': include/linux/hrtimer.h:251: error: 'struct hrtimer_clock_base' has no member named 'softirq_time' include/linux/hrtimer.h: At top level: include/linux/hrtimer.h:266: error: expected declaration specifiers or '...' before 'clockid_t' include/linux/hrtimer.h:276: error: expected declaration specifiers or '...' before 'clockid_t' include/linux/hrtimer.h: In function 'hrtimer_init_on_stack': include/linux/hrtimer.h:279: error: 'which_clock' undeclared (first use in this function) include/linux/hrtimer.h:279: error: too many arguments to function 'hrtimer_init' include/linux/hrtimer.h: At top level: include/linux/hrtimer.h:297: warning: type defaults to 'int' in declaration of 'clockid_t' include/linux/hrtimer.h:297: error: expected ';', ',' or ')' before 'which_clock' include/linux/hrtimer.h:330: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_forward' include/linux/hrtimer.h:333: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_forward_now' : warning: In file included from include/linux/device.h:23, from include/linux/genhd.h:59, from include/linux/blkdev.h:8, from mm/filemap.c:30: include/linux/pm.h:26:23: error: include/linux/hrtimer.h:343: warning: type defaults to 'int' in declaration of 'clockid_t' "HZ" is not defined include/linux/irqflags.h:55:26: include/asm/errno.h: No such file or directory include/linux/hrtimer.h:343: error: expected ';', ',' or ')' before 'clockid' include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: In file included from include/linux/sched.h:86, from arch/x86/mm/pgtable_32.c:1: include/linux/hrtimer.h:356:5: warning: "BITS_PER_LONG" is not defined include/linux/hrtimer.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_divns' In file included from include/linux/sched.h:88, from arch/x86/mm/pgtable_32.c:1: include/linux/kobject.h:21:25: error: linux/sysfs.h: No such file or directory In file included from include/linux/sched.h:88, from arch/x86/mm/pgtable_32.c:1: include/linux/kobject.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uevent_seqnum' In file included from include/linux/genhd.h:59, from include/linux/blkdev.h:8, from mm/filemap.c:30: include/linux/device.h:26:24: error: asm/device.h: No such file or directory include/linux/kobject.h:125: error: field 'attr' has incomplete type include/linux/kobject.h:126: error: expected specifier-qualifier-list before 'ssize_t' include/linux/kobject.h:204: error: expected declaration specifiers or '...' before 'size_t' In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h:89:30: error: linux/latencytop.h: No such file or directory In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h:131: error: expected declaration specifiers or '...' before 'process_counts' include/linux/sched.h:131: warning: data definition has no type or storage class include/linux/sched.h:131: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/sched.h:131: error: conflicting types for 'DECLARE_PER_CPU' include/linux/rcuclassic.h:103: error: previous declaration of 'DECLARE_PER_CPU' was here In file included from include/linux/genhd.h:59, from include/linux/blkdev.h:8, from mm/filemap.c:30: include/linux/device.h: At top level: include/linux/device.h:393: error: field 'archdata' has incomplete type include/linux/device.h:407:29: error: linux/pm_wakeup.h: No such file or directory In file included from include/linux/aio.h:5, from include/linux/sched.h:343, from arch/x86/mm/pgtable_32.c:1: include/linux/workqueue.h:26: error: expected specifier-qualifier-list before 'atomic_long_t' include/linux/workqueue.h:41: error: field 'timer' has incomplete type include/linux/workqueue.h: In function 'cancel_delayed_work': include/linux/workqueue.h:213: error: implicit declaration of function 'del_timer_sync' include/linux/workqueue.h:215: error: 'struct work_struct' has no member named 'data' In file included from include/linux/sched.h:343, from arch/x86/mm/pgtable_32.c:1: include/linux/aio.h:6:27: error: linux/aio_abi.h: No such file or directory In file included from include/linux/aio.h:7, from include/linux/sched.h:343, from arch/x86/mm/pgtable_32.c:1: include/linux/uio.h: At top level: include/linux/uio.h:19: error: expected specifier-qualifier-list before '__kernel_size_t' include/linux/uio.h:26: error: expected specifier-qualifier-list before 'size_t' include/linux/uio.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iov_length' include/linux/uio.h:55: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/sched.h:343, from arch/x86/mm/pgtable_32.c:1: include/linux/aio.h:95: warning: 'struct io_event' declared inside parameter list include/linux/aio.h:96: error: expected specifier-qualifier-list before 'ssize_t' include/linux/aio.h:161: error: array type has incomplete element type include/linux/aio.h:181: error: expected specifier-qualifier-list before 'atomic_t' include/linux/aio.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait_on_sync_kiocb' include/linux/aio.h: In function 'list_kiocb': include/linux/aio.h:221: error: 'struct kiocb' has no member named 'ki_list' include/linux/aio.h:221: warning: type defaults to 'int' in declaration of '__mptr' include/linux/aio.h:221: warning: initialization from incompatible pointer type include/linux/aio.h:221: error: 'struct kiocb' has no member named 'ki_list' In file included from arch/x86/mm/pgtable_32.c:1: include/linux/sched.h: At top level: include/linux/sched.h:414: error: expected specifier-qualifier-list before 'atomic_t' include/linux/sched.h:424: error: expected specifier-qualifier-list before 'cputime_t' include/linux/sched.h:436: error: expected specifier-qualifier-list before 'atomic_t' include/linux/sched.h: In function 'signal_group_exit': include/linux/sched.h:573: error: 'const struct signal_struct' has no member named 'flags' include/linux/sched.h:574: error: 'const struct signal_struct' has no member named 'group_exit_task' include/linux/sched.h: At top level: include/linux/sched.h:581: error: expected specifier-qualifier-list before 'atomic_t' include/linux/sched.h:615: warning: parameter names (without types) in function declaration include/linux/sched.h:844: error: expected specifier-qualifier-list before 'atomic_t' In file included from mm/filemap.c:30: include/linux/blkdev.h:15:27: error: error: division by zero in #if include/linux/sched.h:868: error: expected declaration specifiers or '...' before 'gid_t' linux/mempool.h: No such file or directory In file included from include/linux/blkdev.h:16, from mm/filemap.c:30: include/linux/bio.h:25:26: error: linux/ioprio.h: No such file or directory include/linux/bio.h:30:20: error: asm/io.h: No such file or directory include/linux/sched.h:955: error: expected specifier-qualifier-list before 'u64' include/linux/sched.h:1025: error: expected specifier-qualifier-list before 'atomic_t' include/linux/sched.h: In function 'rt_task': include/linux/sched.h:1332: error: 'struct task_struct' has no member named 'prio' In file included from include/linux/blkdev.h:16, from mm/filemap.c:30: include/linux/bio.h:322: error: expected declaration specifiers or '...' before 'mempool_t'include/linux/sched.h: At top level: asm/irqflags.h: No such file or directoryinclude/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: warning: "HZ" is not defined include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:31: error: division by zero in #if include/linux/jiffies.h:247:46: warning: "SHIFT_HZ" is not defined include/linux/jiffies.h:274:5: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_to_clock_t' include/linux/jiffies.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_64_to_clock_t' include/linux/jiffies.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsec_to_clock_t' In file included from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/ktime.h:47: error: expected specifier-qualifier-list before 's64' In file included from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:62:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:72:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:83:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h: In function 'ktime_set': include/linux/ktime.h:87: error: unknown field 'tv64' specified in initializer include/linux/ktime.h:87: error: 's64' undeclared (first use in this function) include/linux/ktime.h:87: warning: excess elements in union initializer include/linux/ktime.h:87: warning: (near initialization for '(anonymous)') include/linux/ktime.h:87: error: expected '}' before 'secs' include/linux/ktime.h: In function 'timespec_to_ktime': include/linux/ktime.h:115: error: 'struct timespec' has no member named 'tv_sec' include/linux/ktime.h:115: error: 'struct timespec' has no member named 'tv_nsec' include/linux/ktime.h: In function 'timeval_to_ktime': include/linux/ktime.h:121: error: 'struct timeval' has no member named 'tv_sec' include/linux/ktime.h:121: error: 'struct timeval' has no member named 'tv_usec' include/linux/ktime.h: In function 'ktime_equal': include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h:289: error: 'ktime_t' has no member named 'tv64' include/linux/ktime.h: At top level: include/linux/ktime.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_to_us' include/linux/ktime.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_us_delta' include/linux/ktime.h:303: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:303: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:308: warning: type defaults to 'int' in declaration of 'u64' include/linux/ktime.h:308: error: expected ';', ',' or ')' before 'usec' include/linux/ktime.h:330: error: expected ')' before 'ns' In file included from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/timer.h: In function 'add_timer': include/linux/timer.h:179: error: implicit declaration of function 'BUG_ON' In file included from include/linux/slub_def.h:11, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/workqueue.h: At top level: include/linux/workqueue.h:26: error: expected specifier-qualifier-list before 'atomic_long_t' include/linux/workqueue.h: In function 'cancel_delayed_work': include/linux/workqueue.h:215: error: 'struct work_struct' has no member named 'data' In file included from include/linux/slub_def.h:12, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/kobject.h:21:25: error: linux/sysfs.h: No such file or directory include/linux/sched.h:1335: error: expected declaration specifiers or '...' before 'pid_t'In file included from arch/x86/kernel/i8259.c:6: include/linux/interrupt.h: In function 'irq_set_affinity': include/linux/interrupt.h:117: error: 'EINVAL' undeclared (first use in this function) include/linux/kobject.h:24:24: error: linux/kref.h: No such file or directory include/linux/sched.h: In function 'set_task_session': include/linux/sched.h:1337: error: 'struct task_struct' has no member named 'signal' In file included from include/linux/slub_def.h:12, from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/kobject.h: At top level: include/linux/sched.h:1337: error: 'session' undeclared (first use in this function) include/linux/kobject.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uevent_seqnum' include/linux/sched.h: At top level: include/linux/sched.h:1340: error: expected declaration specifiers or '...' before 'pid_t' include/linux/kobject.h:66: error: field 'kref' has incomplete type include/linux/sched.h: In function 'set_task_pgrp': include/linux/sched.h:1342: error: 'struct task_struct' has no member named 'signal' include/linux/sched.h:1342: error: 'pgrp' undeclared (first use in this function) include/linux/sched.h: In function 'task_pid': include/linux/sched.h:1347: error: 'struct task_struct' has no member named 'pids' include/linux/interrupt.h: In function 'cli': include/linux/interrupt.h:232: error: implicit declaration of function 'raw_local_irq_disable' include/linux/sched.h: In function 'task_tgid': include/linux/sched.h:1352: error: 'struct task_struct' has no member named 'group_leader' include/linux/interrupt.h: In function 'sti': include/linux/interrupt.h:236: error: implicit declaration of function 'raw_local_irq_enable' include/linux/sched.h: In function 'task_pgrp': include/linux/sched.h:1357: error: 'struct task_struct' has no member named 'group_leader' include/linux/interrupt.h: In function 'save_flags': include/linux/interrupt.h:240: error: implicit declaration of function 'raw_local_save_flags' include/linux/sched.h: In function 'task_session': include/linux/sched.h:1362: error: 'struct task_struct' has no member named 'group_leader' include/linux/interrupt.h: In function 'restore_flags': include/linux/interrupt.h:245: error: implicit declaration of function 'raw_irqs_disabled_flags' include/linux/sched.h: At top level: include/linux/interrupt.h:245: error: implicit declaration of function 'raw_local_irq_restore' include/linux/kobject.h:125: error: field 'attr' has incomplete type include/linux/sched.h:1381: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pid_nr' include/linux/kobject.h:126: error: expected specifier-qualifier-list before 'ssize_t' include/linux/sched.h:1386: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pid_nr_ns' fixdep: include/linux/interrupt.h: In function 'save_and_cli': include/linux/sched.h:1388: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pid_vnr' include/linux/interrupt.h:250: error: implicit declaration of function 'raw_local_irq_save'include/linux/sched.h:1394: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_tgid_nr' include/linux/init.h: No such file or directory include/linux/sched.h:1399: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_tgid_nr_ns' include/linux/sched.h:1401: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_tgid_vnr' include/linux/sched.h:1407: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pgrp_nr' include/linux/bio.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/sched.h:1412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pgrp_nr_ns' include/linux/sched.h:1414: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pgrp_vnr' include/linux/sched.h:1420: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_session_nr' include/linux/sched.h:1425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_session_nr_ns' include/linux/sched.h:1427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_session_vnr' include/linux/interrupt.h: At top level: include/linux/sched.h: In function 'pid_alive': include/linux/sched.h:1443: error: 'struct task_struct' has no member named 'pids' include/linux/sched.h: In function 'is_global_init': include/linux/sched.h:1454: error: 'struct task_struct' has no member named 'pid' make[1]: *** [mm/bootmem.o] Error 2 include/linux/sched.h: In function 'put_task_struct': include/linux/sched.h:1472: error: implicit declaration of function 'atomic_dec_and_test' include/linux/sched.h:1472: error: 'struct task_struct' has no member named 'usage' include/linux/bio.h:380: error: expected specifier-qualifier-list before 'mempool_t' include/linux/kobject.h:204: error: expected declaration specifiers or '...' before 'size_t' In file included from include/linux/slab.h:130, from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/slub_def.h:51: error: expected specifier-qualifier-list before 'atomic_long_t' include/linux/slub_def.h:126: error: 'PAGE_SHIFT' undeclared here (not in a function) include/linux/slub_def.h:132: error: expected ')' before 'size' include/linux/slub_def.h:186: error: expected ')' before 'size' include/linux/slub_def.h:204: error: expected ')' before 'size' include/linux/slub_def.h:206: error: expected ')' before 'size' include/linux/slub_def.h:211: error: expected ')' before 'size' In file included from include/linux/percpu.h:5, from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/slab.h:188: error: expected ')' before 'n' include/linux/slab.h:206: error: expected ')' before 'size' include/linux/slab.h:211: error: expected ')' before 'size' In file included from mm/filemap.c:30: include/linux/blkdev.h:21:29:include/linux/interrupt.h:328: error: expected specifier-qualifier-list before 'atomic_t'include/linux/sched.h: In function 'set_cpus_allowed_ptr': include/linux/sched.h:1542: error: 'EINVAL' undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1587: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sched_clock_cpu' include/linux/sched.h:1590: error: expected ')' before 'delta_ns' include/linux/sched.h:1614: error: expected ')' before 'delta_ns' include/linux/sched.h:1648: error: expected declaration specifiers or '...' before 'size_t' include/linux/sched.h:1649: error: expected declaration specifiers or '...' before 'loff_t' CC arch/x86/mm/highmem_32.o include/linux/sched.h:1686: error: field 'thread_info' has incomplete type include/linux/sched.h:1687: error: 'THREAD_SIZE' undeclared here (not in a function) include/linux/sched.h:1726: error: expected ')' before 'nr' include/linux/sched.h:1730: error: expected ')' before 'nr' include/linux/sched.h:1731: error: expected ')' before 'nr' include/linux/sched.h:1737: error: expected declaration specifiers or '...' before 'uid_t' include/linux/sched.h: In function 'get_uid': include/linux/sched.h:1740: error: 'struct user_struct' has no member named '__count' include/linux/slab.h:234: error: expected ')' before 'gfp_t' include/linux/sched.h: At top level: include/linux/sched.h:1763: warning: parameter names (without types) in function declaration include/linux/sched.h:1764: warning: parameter names (without types) in function declaration include/linux/sched.h:1770: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1770: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/sched.h:1772: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1772: error: expected declaration specifiers or '...' before 'siginfo_t' include/linux/slab.h:281: error: expected ')' before 'size' include/linux/slab.h:292: error: expected ')' before 'size' include/linux/slab.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'slabinfo_write' In file included from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/percpu.h:9:24: error: asm/percpu.h: No such file or directory In file included from include/linux/vmstat.h:5, from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/percpu.h:119: error: expected declaration specifiers or '...' before 'size_t' include/linux/interrupt.h: In function 'tasklet_disable_nosync': include/linux/interrupt.h:401: error: 'struct tasklet_struct' has no member named 'count' include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/percpu.h:125: error: expected declaration specifiers or '...' before 'size_t' include/linux/interrupt.h:402: error: implicit declaration of function 'smp_mb__after_atomic_inc' include/linux/percpu.h:131: error: expected ')' before 'size' include/linux/interrupt.h: In function 'tasklet_disable': include/linux/interrupt.h:409: error: implicit declaration of function 'smp_mb' include/linux/interrupt.h: In function 'tasklet_enable': include/linux/interrupt.h:414: error: implicit declaration of function 'smp_mb__before_atomic_dec' error: include/linux/sched.h:1777: error: 'struct task_struct' has no member named 'sighand'include/linux/interrupt.h:415: error: implicit declaration of function 'atomic_dec'In file included from include/linux/mm.h:579asm/scatterlist.h: No such file or directory , from kernel/printk.c:20 include/linux/sched.h:1778: error: 'mask' undeclared (first use in this function) include/linux/sched.h:1778: error: 'info' undeclared (first use in this function)include/linux/interrupt.h:415: error: 'struct tasklet_struct' has no member named 'count' include/linux/sched.h:1778: error: too many arguments to function 'dequeue_signal' include/linux/sched.h:1779: error: 'struct task_struct' has no member named 'sighand' : include/linux/vmstat.h:6:22: error: include/linux/mm.h: No such file or directory include/linux/sched.h: At top level: include/linux/sched.h:1785: error: expected declaration specifiers or '...' before 'sigset_t' include/linux/sched.h:1788: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1790: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1791: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1792: warning: 'struct siginfo' declared inside parameter list include/linux/interrupt.h: In function 'tasklet_hi_enable': include/linux/sched.h:1793: error: expected declaration specifiers or '...' before 'uid_t' In file included from include/linux/mm.h:579, from kernel/printk.c:20: include/linux/vmstat.h:62: error: expected declaration specifiers or '...' before 'vm_event_states' include/linux/vmstat.h:62: warning: data definition has no type or storage class include/linux/vmstat.h:62: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/vmstat.h: In function '__count_vm_event': include/linux/vmstat.h:66: error: implicit declaration of function '__get_cpu_var' include/linux/vmstat.h:66: error: 'vm_event_states' undeclared (first use in this function) include/linux/interrupt.h:421: error: 'struct tasklet_struct' has no member named 'count'include/linux/sched.h:1793: error: expected declaration specifiers or '...' before 'uid_t' In file included from mm/filemap.c:30: include/linux/blkdev.h:43: error: expected specifier-qualifier-list before 'mempool_t' arch/x86/kernel/i8259.c:9:26: error: linux/random.h: No such file or directory arch/x86/kernel/i8259.c:11:31: error: linux/kernel_stat.h: No such file or directory arch/x86/kernel/i8259.c:12:26: error: linux/sysdev.h: No such file or directory arch/x86/kernel/i8259.c:15:22: error: asm/acpi.h: No such file or directory arch/x86/kernel/i8259.c:18:20: error: asm/io.h: No such file or directory arch/x86/kernel/i8259.c:19:23: error: asm/timer.h: No such file or directory arch/x86/kernel/i8259.c:20:24: error: asm/hw_irq.h: No such file or directory arch/x86/kernel/i8259.c:21:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/i8259.c:22:23: error: asm/delay.h: No such file or directory arch/x86/kernel/i8259.c:23:22: error: asm/desc.h: No such file or directory arch/x86/kernel/i8259.c:24:22: error: asm/apic.h: No such file or directory arch/x86/kernel/i8259.c:25:28: error: asm/arch_hooks.h: No such file or directory arch/x86/kernel/i8259.c:26:23: error: asm/i8259.h: No such file or directory arch/x86/kernel/i8259.c: At top level: arch/x86/kernel/i8259.c:39: error: variable 'i8259A_chip' has initializer but incomplete type arch/x86/kernel/i8259.c:40: error: unknown field 'name' specified in initializer arch/x86/kernel/i8259.c:40: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:40: warning: (near initialization for 'i8259A_chip') arch/x86/kernel/i8259.c:41: error: unknown field 'mask' specified in initializer arch/x86/kernel/i8259.c:41: error: 'disable_8259A_irq' undeclared here (not in a function) arch/x86/kernel/i8259.c:41: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:41: warning: (near initialization for 'i8259A_chip') arch/x86/kernel/i8259.c:42: error: unknown field 'disable' specified in initializer arch/x86/kernel/i8259.c:42: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:42: warning: (near initialization for 'i8259A_chip') arch/x86/kernel/i8259.c:43: error: unknown field 'unmask' specified in initializer arch/x86/kernel/i8259.c:43: error: 'enable_8259A_irq' undeclared here (not in a function) arch/x86/kernel/i8259.c:43: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:43: warning: (near initialization for 'i8259A_chip') arch/x86/kernel/i8259.c:44: error: unknown field 'mask_ack' specified in initializer arch/x86/kernel/i8259.c:44: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:44: warning: (near initialization for 'i8259A_chip') arch/x86/kernel/i8259.c: In function 'disable_8259A_irq': arch/x86/kernel/i8259.c:75: error: implicit declaration of function 'outb' arch/x86/kernel/i8259.c:75: error: 'cached_slave_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:75: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:77: error: 'cached_master_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:77: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'enable_8259A_irq': arch/x86/kernel/i8259.c:89: error: 'cached_slave_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:89: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:91: error: 'cached_master_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:91: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'i8259A_irq_pending': arch/x86/kernel/i8259.c:103: error: implicit declaration of function 'inb' arch/x86/kernel/i8259.c:103: error: 'PIC_MASTER_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:105: error: 'PIC_SLAVE_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'make_8259A_irq': arch/x86/kernel/i8259.c:115: error: implicit declaration of function 'set_irq_chip_and_handler_name' arch/x86/kernel/i8259.c:115: error: 'handle_level_irq' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'i8259A_irq_real': arch/x86/kernel/i8259.c:132: error: 'PIC_MASTER_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:137: error: 'PIC_SLAVE_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'mask_and_ack_8259A': arch/x86/kernel/i8259.c:176: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:177: error: 'cached_slave_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:179: error: 'PIC_SLAVE_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:181: error: 'PIC_CASCADE_IR' undeclared (first use in this function) arch/x86/kernel/i8259.c:181: error: 'PIC_MASTER_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:183: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:184: error: 'cached_master_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:212: error: 'irq_err_count' undeclared (first use in this function) arch/x86/kernel/i8259.c: At top level: arch/x86/kernel/i8259.c:239: warning: 'struct sys_device' declared inside parameter list arch/x86/kernel/i8259.c:239: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/i8259.c: In function 'i8259A_resume': arch/x86/kernel/i8259.c:241: error: implicit declaration of function 'init_8259A' arch/x86/kernel/i8259.c: At top level: arch/x86/kernel/i8259.c:246: error: expected declaration specifiers or '...' before 'pm_message_t' arch/x86/kernel/i8259.c:246: warning: 'struct sys_device' declared inside parameter list arch/x86/kernel/i8259.c:252: warning: 'struct sys_device' declared inside parameter list arch/x86/kernel/i8259.c: In function 'i8259A_shutdown': arch/x86/kernel/i8259.c:258: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:259: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c: At top level: arch/x86/kernel/i8259.c:263: error: variable 'i8259_sysdev_class' has initializer but incomplete type arch/x86/kernel/i8259.c:264: error: unknown field 'name' specified in initializer arch/x86/kernel/i8259.c:264: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:264: warning: (near initialization for 'i8259_sysdev_class') arch/x86/kernel/i8259.c:265: error: unknown field 'suspend' specified in initializer arch/x86/kernel/i8259.c:265: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:265: warning: (near initialization for 'i8259_sysdev_class') arch/x86/kernel/i8259.c:266: error: unknown field 'resume' specified in initializer arch/x86/kernel/i8259.c:266: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:266: warning: (near initialization for 'i8259_sysdev_class') arch/x86/kernel/i8259.c:267: error: unknown field 'shutdown' specified in initializer arch/x86/kernel/i8259.c:267: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:267: warning: (near initialization for 'i8259_sysdev_class') arch/x86/kernel/i8259.c:270: error: variable 'device_i8259A' has initializer but incomplete type arch/x86/kernel/i8259.c:271: error: unknown field 'id' specified in initializer arch/x86/kernel/i8259.c:271: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:271: warning: (near initialization for 'device_i8259A') arch/x86/kernel/i8259.c:272: error: unknown field 'cls' specified in initializer arch/x86/kernel/i8259.c:272: warning: excess elements in struct initializer arch/x86/kernel/i8259.c:272: warning: (near initialization for 'device_i8259A') arch/x86/kernel/i8259.c: In function 'i8259A_init_sysfs': arch/x86/kernel/i8259.c:277: error: implicit declaration of function 'sysdev_class_register' arch/x86/kernel/i8259.c:279: error: implicit declaration of function 'sysdev_register' arch/x86/kernel/i8259.c: In function 'mask_8259A': arch/x86/kernel/i8259.c:291: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:292: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c: In function 'unmask_8259A': arch/x86/kernel/i8259.c:303: error: 'cached_master_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:303: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:304: error: 'cached_slave_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:304: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c: At top level: arch/x86/kernel/i8259.c:310: warning: conflicting types for 'init_8259A' arch/x86/kernel/i8259.c:241: warning: previous implicit declaration of 'init_8259A' was here arch/x86/kernel/i8259.c: In function 'init_8259A': arch/x86/kernel/i8259.c:317: error: 'PIC_MASTER_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:318: error: 'PIC_SLAVE_IMR' undeclared (first use in this function) arch/x86/kernel/i8259.c:323: error: implicit declaration of function 'outb_pic' arch/x86/kernel/i8259.c:323: error: 'PIC_MASTER_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:327: error: 'IRQ0_VECTOR' undeclared (first use in this function) arch/x86/kernel/i8259.c:330: error: 'PIC_CASCADE_IR' undeclared (first use in this function) arch/x86/kernel/i8259.c:333: error: 'MASTER_ICW4_DEFAULT' undeclared (first use in this function) arch/x86/kernel/i8259.c:333: error: 'PIC_ICW4_AEOI' undeclared (first use in this function) arch/x86/kernel/i8259.c:337: error: 'PIC_SLAVE_CMD' undeclared (first use in this function) arch/x86/kernel/i8259.c:340: error: 'IRQ8_VECTOR' undeclared (first use in this function) arch/x86/kernel/i8259.c:344: error: 'SLAVE_ICW4_DEFAULT' undeclared (first use in this function) arch/x86/kernel/i8259.c:351: error: invalid use of undefined type 'struct irq_chip' arch/x86/kernel/i8259.c:353: error: invalid use of undefined type 'struct irq_chip' arch/x86/kernel/i8259.c:355: error: implicit declaration of function 'udelay' arch/x86/kernel/i8259.c:357: error: 'cached_master_mask' undeclared (first use in this function) arch/x86/kernel/i8259.c:358: error: 'cached_slave_mask' undeclared (first use in this function) In file included from mm/filemap.c:30: include/linux/blkdev.h:795: warning: 'struct scatterlist' declared inside parameter list mm/filemap.c:31:28: error: linux/security.h: No such file or directory mm/filemap.c:32:28: error: linux/syscalls.h: No such file or directory include/linux/vmstat.h:66: error: request for member 'event' in something not a structure or union include/linux/sched.h:1793: error: expected declaration specifiers or '...' before 'u32' include/linux/sched.h:1793: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1796: error: expected declaration specifiers or '...' before 'pid_t' include/linux/sched.h:1796: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1802: error: expected ')' before 'int' include/linux/sched.h:1806: warning: 'struct k_sigaction' declared inside parameter list include/linux/sched.h:1807: warning: type defaults to 'int' in declaration of 'stack_t' include/linux/sched.h:1807: error: expected ';', ',' or ')' before '*' token include/linux/sched.h:1819: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h: In function 'on_sig_stack': include/linux/sched.h:1828: error: 'current' undeclared (first use in this function) include/linux/sched.h: In function 'sas_ss_flags': include/linux/sched.h:1833: error: 'current' undeclared (first use in this function) include/linux/sched.h:1833: error: 'SS_DISABLE' undeclared (first use in this function) include/linux/sched.h:1834: error: 'SS_ONSTACK' undeclared (first use in this function) include/linux/sched.h: In function 'mmdrop': include/linux/sched.h:1846: error: 'struct mm_struct' has no member named 'mm_count' include/linux/sched.h: In function 'has_group_leader_pid': include/linux/sched.h:1915: error: 'struct task_struct' has no member named 'pid' include/linux/sched.h:1915: error: 'struct task_struct' has no member named 'tgid' include/linux/sched.h: In function 'same_thread_group': include/linux/sched.h:1921: error: 'struct task_struct' has no member named 'tgid' include/linux/sched.h:1921: error: 'struct task_struct' has no member named 'tgid' include/linux/sched.h: In function 'next_thread': include/linux/sched.h:1926: error: 'struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of '__mptr' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of '_________p1' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: error: 'const struct task_struct' has no member named 'thread_group' include/linux/sched.h:1926: warning: type defaults to 'int' in declaration of 'type name' include/linux/sched.h:1926: error: implicit declaration of function 'smp_read_barrier_depends' include/linux/sched.h:1926: warning: initialization makes pointer from integer without a cast include/linux/sched.h:1926: error: 'struct task_struct' has no member named 'thread_group' include/linux/sched.h: In function 'thread_group_empty': include/linux/sched.h:1932: error: 'struct task_struct' has no member named 'thread_group' include/linux/sched.h: In function 'task_lock': include/linux/sched.h:1950: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'task_unlock': include/linux/sched.h:1955: error: 'struct task_struct' has no member named 'alloc_lock' include/linux/sched.h: In function 'unlock_task_sighand': include/linux/sched.h:1964: error: 'struct task_struct' has no member named 'sighand' include/linux/sched.h: In function 'setup_thread_stack': include/linux/sched.h:1974: error: dereferencing pointer to incomplete type include/linux/sched.h:1974: error: dereferencing pointer to incomplete type include/linux/sched.h:1975: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'end_of_stack': include/linux/sched.h:1980: error: invalid use of undefined type 'struct thread_info' include/linux/sched.h: In function 'set_tsk_thread_flag': include/linux/sched.h:2005: warning: passing argument 1 of 'set_ti_thread_flag' from incompatible pointer type include/linux/sched.h: In function 'clear_tsk_thread_flag': include/linux/sched.h:2010: warning: passing argument 1 of 'clear_ti_thread_flag' from incompatible pointer type include/linux/sched.h: In function 'test_and_set_tsk_thread_flag': include/linux/sched.h:2015: warning: passing argument 1 of 'test_and_set_ti_thread_flag' from incompatible pointer type include/linux/sched.h: In function 'test_and_clear_tsk_thread_flag': include/linux/sched.h:2020: warning: passing argument 1 of 'test_and_clear_ti_thread_flag' from incompatible pointer type include/linux/sched.h: In function 'test_tsk_thread_flag': include/linux/sched.h:2025: warning: passing argument 1 of 'test_ti_thread_flag' from incompatible pointer type include/linux/vmstat.h: In function 'count_vm_event':include/linux/sched.h: In function 'set_tsk_need_resched': include/linux/sched.h:2030: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: In function 'clear_tsk_need_resched': include/linux/sched.h:2035: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: In function 'test_tsk_need_resched': include/linux/sched.h:2040: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: In function 'signal_pending': include/linux/sched.h:2045: error: 'TIF_SIGPENDING' undeclared (first use in this function) include/linux/vmstat.h:71: error: 'vm_event_states' undeclared (first use in this function) make[1]: include/linux/vmstat.h:71: error: invalid lvalue in unary '&' include/linux/sched.h: In function 'need_resched': include/linux/sched.h:2070: error: implicit declaration of function 'current_thread_info' include/linux/sched.h:2070: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h:2070: warning: passing argument 1 of 'test_ti_thread_flag' makes pointer from integer without a cast In file included from mm/filemap.c:33*** [arch/x86/kernel/i8259.o] Error 1 include/linux/sched.h: In function 'arch_pick_mmap_layout': include/linux/sched.h:2154: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) include/linux/sched.h:2155: warning: assignment from incompatible pointer type include/linux/sched.h: At top level: include/linux/sched.h:2172: error: expected ')' before 'pid' include/linux/sched.h:2173: error: expected ')' before 'pid' include/linux/sched.h:2224: error: expected declaration specifiers or '...' before 'ssize_t' include/linux/sched.h:2228: error: expected declaration specifiers or '...' before 'ssize_t' arch/x86/mm/pgtable_32.c:4:22: error: linux/mm.h: No such file or directory arch/x86/mm/pgtable_32.c:5:23: error: linux/nmi.h: No such file or directory arch/x86/mm/pgtable_32.c:6:24: error: linux/swap.h: No such file or directory arch/x86/mm/pgtable_32.c:8:27: error: linux/highmem.h: No such file or directory arch/x86/mm/pgtable_32.c:10:27: error: linux/pagemap.h: No such file or directory arch/x86/mm/pgtable_32.c:12:26: error: linux/module.h: No such file or directory arch/x86/mm/pgtable_32.c:13:29: error: linux/quicklist.h: No such file or directory arch/x86/mm/pgtable_32.c:16:25: error: asm/pgtable.h: No such file or directory arch/x86/mm/pgtable_32.c:17:25: error: asm/pgalloc.h: No such file or directory arch/x86/mm/pgtable_32.c:18:24: error: asm/fixmap.h: No such file or directory arch/x86/mm/pgtable_32.c:19:22: error: asm/e820.h: No such file or directory arch/x86/mm/pgtable_32.c:20:21: error: asm/tlb.h: No such file or directory arch/x86/mm/pgtable_32.c:21:26: error: asm/tlbflush.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/mm/pgtable_32.c: In function 'show_mem': arch/x86/mm/pgtable_32.c:34: error: implicit declaration of function 'show_free_areas' arch/x86/mm/pgtable_32.c:39: error: implicit declaration of function 'touch_nmi_watchdog' arch/x86/mm/pgtable_32.c:42: error: implicit declaration of function 'PageHighMem' arch/x86/mm/pgtable_32.c:44: error: implicit declaration of function 'PageReserved' arch/x86/mm/pgtable_32.c:46: error: implicit declaration of function 'PageSwapCache' arch/x86/mm/pgtable_32.c:48: error: implicit declaration of function 'page_count' arch/x86/mm/highmem_32.c:1:27: error: linux/highmem.h: No such file or directory arch/x86/mm/highmem_32.c:2:26: error: linux/module.h: No such file or directory arch/x86/mm/highmem_32.c:4: warning: 'struct page' declared inside parameter list arch/x86/mm/highmem_32.c:4: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/mm/highmem_32.c: In function 'kmap': arch/x86/mm/highmem_32.c:6: error: implicit declaration of function 'might_sleep' arch/x86/mm/highmem_32.c:7: error: implicit declaration of function 'PageHighMem' arch/x86/mm/highmem_32.c:8: error: implicit declaration of function 'page_address' arch/x86/mm/highmem_32.c:8: warning: return makes pointer from integer without a cast arch/x86/mm/highmem_32.c:9: error: implicit declaration of function 'kmap_high' arch/x86/mm/highmem_32.c:9: warning: return makes pointer from integer without a cast arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:12: warning: 'struct page' declared inside parameter list arch/x86/mm/highmem_32.c: In function 'kunmap': arch/x86/mm/highmem_32.c:14: error: implicit declaration of function 'in_interrupt' arch/x86/mm/highmem_32.c:15: error: implicit declaration of function 'BUG' arch/x86/mm/highmem_32.c:18: error: implicit declaration of function 'kunmap_high' arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:21: warning: 'enum km_type' declared inside parameter list arch/x86/mm/highmem_32.c:21: error: parameter 1 ('type') has incomplete type CC arch/x86/kernel/irqinit_32.o arch/x86/mm/highmem_32.c:72: error: expected declaration specifiers or '...' before 'pgprot_t' arch/x86/mm/highmem_32.c:72: warning: 'enum km_type' declared inside parameter list arch/x86/mm/highmem_32.c:72: warning: 'struct page' declared inside parameter list arch/x86/mm/highmem_32.c:72: error: parameter 2 ('type') has incomplete type arch/x86/mm/highmem_32.c: In function 'kmap_atomic_prot': arch/x86/mm/highmem_32.c:74: error: storage size of 'idx' isn't known arch/x86/mm/highmem_32.c:78: error: implicit declaration of function 'pagefault_disable' arch/x86/mm/highmem_32.c:81: warning: return makes pointer from integer without a cast arch/x86/mm/highmem_32.c:83: error: type of formal parameter 1 is incomplete arch/x86/mm/highmem_32.c:85: error: 'KM_TYPE_NR' undeclared (first use in this function) arch/x86/mm/highmem_32.c:85: error: (Each undeclared identifier is reported only once arch/x86/mm/highmem_32.c:85: error: for each function it appears in.) arch/x86/mm/highmem_32.c:85: error: implicit declaration of function 'smp_processor_id' arch/x86/mm/highmem_32.c:86: error: implicit declaration of function '__fix_to_virt' arch/x86/mm/highmem_32.c:86: error: 'FIX_KMAP_BEGIN' undeclared (first use in this function) arch/x86/mm/highmem_32.c:87: error: implicit declaration of function 'BUG_ON' arch/x86/mm/highmem_32.c:87: error: implicit declaration of function 'pte_none' arch/x86/mm/highmem_32.c:87: error: 'kmap_pte' undeclared (first use in this function) arch/x86/mm/highmem_32.c:88: error: implicit declaration of function 'set_pte' arch/x86/mm/highmem_32.c:88: error: implicit declaration of function 'mk_pte' arch/x86/mm/highmem_32.c:88: error: 'prot' undeclared (first use in this function) arch/x86/mm/highmem_32.c:89: error: implicit declaration of function 'arch_flush_lazy_mmu_mode' arch/x86/mm/highmem_32.c:74: warning: unused variable 'idx' arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:94: warning: 'enum km_type' declared inside parameter list arch/x86/mm/highmem_32.c:94: warning: 'struct page' declared inside parameter list arch/x86/mm/highmem_32.c:94: error: parameter 2 ('type') has incomplete type arch/x86/mm/highmem_32.c: In function 'kmap_atomic': arch/x86/mm/highmem_32.c:96: error: 'kmap_prot' undeclared (first use in this function) arch/x86/mm/highmem_32.c:96: warning: passing argument 1 of 'kmap_atomic_prot' from incompatible pointer type arch/x86/mm/highmem_32.c:96: error: type of formal parameter 2 is incomplete arch/x86/mm/highmem_32.c:96: error: too many arguments to function 'kmap_atomic_prot' arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:99: warning: 'enum km_type' declared inside parameter list arch/x86/mm/highmem_32.c:99: error: parameter 2 ('type') has incomplete type arch/x86/mm/highmem_32.c: In function 'kunmap_atomic': arch/x86/mm/highmem_32.c:101: error: 'PAGE_MASK' undeclared (first use in this function) arch/x86/mm/highmem_32.c:102: error: variable 'idx' has initializer but incomplete type arch/x86/mm/highmem_32.c:102: error: 'KM_TYPE_NR' undeclared (first use in this function) arch/x86/mm/highmem_32.c:102: error: storage size of 'idx' isn't known arch/x86/mm/highmem_32.c:110: error: 'FIX_KMAP_BEGIN' undeclared (first use in this function) arch/x86/mm/highmem_32.c:111: error: implicit declaration of function 'kpte_clear_flush' arch/x86/mm/highmem_32.c:111: error: 'kmap_pte' undeclared (first use in this function) arch/x86/mm/highmem_32.c:120: error: implicit declaration of function 'pagefault_enable' arch/x86/mm/highmem_32.c:102: warning: unused variable 'idx' arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:126: warning: 'enum km_type' declared inside parameter list arch/x86/mm/highmem_32.c:126: error: parameter 2 ('type') has incomplete type arch/x86/mm/highmem_32.c: In function 'kmap_atomic_pfn': arch/x86/mm/highmem_32.c:128: error: storage size of 'idx' isn't known arch/x86/mm/highmem_32.c:133: error: 'KM_TYPE_NR' undeclared (first use in this function) arch/x86/mm/highmem_32.c:134: error: 'FIX_KMAP_BEGIN' undeclared (first use in this function) arch/x86/mm/highmem_32.c:135: error: 'kmap_pte' undeclared (first use in this function) arch/x86/mm/highmem_32.c:135: error: implicit declaration of function 'pfn_pte' arch/x86/mm/highmem_32.c:135: error: 'kmap_prot' undeclared (first use in this function) arch/x86/mm/highmem_32.c:128: warning: unused variable 'idx' arch/x86/mm/highmem_32.c: In function 'kmap_atomic_to_page': arch/x86/mm/highmem_32.c:144: error: 'pte_t' undeclared (first use in this function) arch/x86/mm/highmem_32.c:144: error: 'pte' undeclared (first use in this function) arch/x86/mm/highmem_32.c:146: error: 'FIXADDR_START' undeclared (first use in this function) arch/x86/mm/highmem_32.c:147: error: implicit declaration of function 'virt_to_page' arch/x86/mm/highmem_32.c:147: warning: return makes pointer from integer without a cast arch/x86/mm/highmem_32.c:149: error: implicit declaration of function 'virt_to_fix' arch/x86/mm/highmem_32.c:150: error: 'kmap_pte' undeclared (first use in this function) arch/x86/mm/highmem_32.c:150: error: 'FIX_KMAP_BEGIN' undeclared (first use in this function) arch/x86/mm/highmem_32.c:151: error: implicit declaration of function 'pte_page' arch/x86/mm/highmem_32.c:151: warning: return makes pointer from integer without a cast arch/x86/mm/highmem_32.c: At top level: arch/x86/mm/highmem_32.c:154: warning: data definition has no type or storage class arch/x86/mm/highmem_32.c:154: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/mm/highmem_32.c:154: warning: parameter names (without types) in function declaration arch/x86/mm/highmem_32.c:155: warning: data definition has no type or storage class arch/x86/mm/highmem_32.c:155: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/mm/highmem_32.c:155: warning: parameter names (without types) in function declaration arch/x86/mm/highmem_32.c:156: warning: data definition has no type or storage class arch/x86/mm/highmem_32.c:156: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/mm/highmem_32.c:156: warning: parameter names (without types) in function declaration arch/x86/mm/highmem_32.c:157: warning: data definition has no type or storage class arch/x86/mm/highmem_32.c:157: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/mm/highmem_32.c:157: warning: parameter names (without types) in function declaration include/linux/vmstat.h: In function '__count_vm_events': include/linux/vmstat.h:77: error: 'vm_event_states' undeclared (first use in this function) include/linux/vmstat.h:77: error: request for member 'event' in something not a structure or union include/linux/vmstat.h: In function 'count_vm_events': include/linux/vmstat.h:82: error: 'vm_event_states' undeclared (first use in this function) include/linux/vmstat.h:82: error: invalid lvalue in unary '&' include/linux/vmstat.h: At top level: include/linux/vmstat.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_stat' include/linux/vmstat.h: In function 'zone_page_state_add': include/linux/vmstat.h:131: error: implicit declaration of function 'atomic_long_add' include/linux/vmstat.h:131: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h:132: error: 'vm_stat' undeclared (first use in this function) include/linux/vmstat.h: In function 'global_page_state': include/linux/vmstat.h:137: error: implicit declaration of function 'atomic_long_read' include/linux/vmstat.h:137: error: 'vm_stat' undeclared (first use in this function) include/linux/vmstat.h: In function 'zone_page_state': include/linux/vmstat.h:148: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h: In function 'zap_zone_vm_stats': include/linux/vmstat.h:200: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h:200: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h:200: error: too many arguments to function 'memset' include/linux/vmstat.h: In function '__inc_zone_state': include/linux/vmstat.h:234: error: implicit declaration of function 'atomic_long_inc' include/linux/vmstat.h:234: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h:235: error: 'vm_stat' undeclared (first use in this function) include/linux/vmstat.h: In function '__dec_zone_state': include/linux/vmstat.h:246: error: implicit declaration of function 'atomic_long_dec' include/linux/vmstat.h:246: error: 'struct zone' has no member named 'vm_stat' include/linux/vmstat.h:247: error: 'vm_stat' undeclared (first use in this function) In file included from kernel/printk.c:20: include/linux/mm.h: In function 'lowmem_page_address': include/linux/mm.h:583: error: implicit declaration of function '__va' include/linux/mm.h:583: error: implicit declaration of function 'page_to_pfn' include/linux/mm.h:583: warning: return makes pointer from integer without a cast include/linux/mm.h: In function 'page_mapping': include/linux/mm.h:625: error: 'struct page' has no member named 'mapping' include/linux/mm.h: In function 'PageAnon': include/linux/mm.h:640: error: 'struct page' has no member named 'mapping' include/linux/mm.h: In function 'page_index': include/linux/mm.h:650: error: 'struct page' has no member named 'private' include/linux/mm.h:651: error: 'struct page' has no member named 'index' include/linux/mm.h: In function 'reset_page_mapcount': include/linux/mm.h:661: error: 'struct page' has no member named '_mapcount' include/linux/mm.h: In function 'page_mapcount': include/linux/mm.h:666: error: 'struct page' has no member named '_mapcount' include/linux/mm.h: In function 'page_mapped': include/linux/mm.h:674: error: 'struct page' has no member named '_mapcount' : include/linux/cpuset.h:14:26: error: linux/cgroup.h: No such file or directory include/linux/mm.h: At top level: mm/filemap.c:34:63:arch/x86/mm/pgtable_32.c:59: error: implicit declaration of function 'global_page_state' arch/x86/mm/pgtable_32.c:59: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'int' arch/x86/mm/pgtable_32.c:61: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'int' arch/x86/mm/pgtable_32.c:62: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'int' arch/x86/mm/pgtable_32.c:65: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'int' arch/x86/mm/pgtable_32.c:67: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'int' make[1]: *** [arch/x86/mm/highmem_32.o] Error 1 arch/x86/mm/pgtable_32.c: At top level: arch/x86/mm/pgtable_32.c:74: error: expected declaration specifiers or '...' before 'pte_t' arch/x86/mm/pgtable_32.c: In function 'set_pte_vaddr': arch/x86/mm/pgtable_32.c:76: error: 'pgd_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:76: error: 'pgd' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:77: error: 'pud_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:77: error: 'pud' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:78: error: 'pmd_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:78: error: 'pmd' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:79: error: 'pte_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:79: error: 'pte' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:81: error: 'swapper_pg_dir' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:81: error: implicit declaration of function 'pgd_index' arch/x86/mm/pgtable_32.c:82: error: implicit declaration of function 'pgd_none' arch/x86/mm/pgtable_32.c:83: error: implicit declaration of function 'BUG' arch/x86/mm/pgtable_32.c:86: error: implicit declaration of function 'pud_offset' arch/x86/mm/pgtable_32.c:87: error: implicit declaration of function 'pud_none' arch/x86/mm/pgtable_32.c:91: error: implicit declaration of function 'pmd_offset' arch/x86/mm/pgtable_32.c:92: error: implicit declaration of function 'pmd_none' arch/x86/mm/pgtable_32.c:96: error: implicit declaration of function 'pte_offset_kernel' arch/x86/mm/pgtable_32.c:97: error: implicit declaration of function 'pte_val' arch/x86/mm/pgtable_32.c:97: error: 'pteval' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:98: error: implicit declaration of function 'set_pte_present' arch/x86/mm/pgtable_32.c:100: error: implicit declaration of function 'pte_clear' arch/x86/mm/pgtable_32.c:106: error: implicit declaration of function '__flush_tlb_one' arch/x86/mm/pgtable_32.c: At top level: arch/x86/mm/pgtable_32.c:115: error: expected declaration specifiers or '...' before 'pgprot_t' arch/x86/mm/pgtable_32.c: In function 'set_pmd_pfn': arch/x86/mm/pgtable_32.c:117: error: 'pgd_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:117: error: 'pgd' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:118: error: 'pud_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:118: error: 'pud' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:119: error: 'pmd_t' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:119: error: 'pmd' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:121: error: 'PMD_SIZE' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:125: error: 'PTRS_PER_PTE' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:129: error: 'swapper_pg_dir' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:136: error: implicit declaration of function 'set_pmd' arch/x86/mm/pgtable_32.c:136: error: implicit declaration of function 'pfn_pmd' arch/x86/mm/pgtable_32.c:136: error: 'flags' undeclared (first use in this function) arch/x86/mm/pgtable_32.c: At top level: arch/x86/mm/pgtable_32.c:145: warning: data definition has no type or storage class arch/x86/mm/pgtable_32.c:145: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/mm/pgtable_32.c:145: warning: parameter names (without types) in function declaration arch/x86/mm/pgtable_32.c: In function 'reserve_top_address': arch/x86/mm/pgtable_32.c:156: error: implicit declaration of function 'BUG_ON' arch/x86/mm/pgtable_32.c:156: error: 'fixmaps_set' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:159: error: 'PAGE_SIZE' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:160: error: '__VMALLOC_RESERVE' undeclared (first use in this function) arch/x86/mm/pgtable_32.c: In function 'parse_vmalloc': arch/x86/mm/pgtable_32.c:171: error: 'EINVAL' undeclared (first use in this function) arch/x86/mm/pgtable_32.c:173: error: '__VMALLOC_RESERVE' undeclared (first use in this function) arch/x86/mm/pgtable_32.c: In function 'parse_reservetop': arch/x86/mm/pgtable_32.c:188: error: 'EINVAL' undeclared (first use in this function) CC arch/x86/kernel/setup_percpu.o include/linux/mm.h:715: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:728: error: expected ')' before 'struct' include/linux/mm.h:729: error: expected ')' before 'struct' include/linux/mm.h:744: error: expected declaration specifiers or '...' before 'pte_t' include/linux/mm.h:764: error: expected ')' before '*' token include/linux/mm.h:765: error: expected ';' before 'int' include/linux/mm.h:782: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:782: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:785: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:785: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h: In function 'unmap_shared_mapping_range': include/linux/mm.h:787: error: 'holebegin' undeclared (first use in this function) include/linux/mm.h:787: error: 'holelen' undeclared (first use in this function) include/linux/mm.h:787: error: too many arguments to function 'unmap_mapping_range' include/linux/mm.h: At top level: include/linux/mm.h:790: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:791: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:791: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:812: error: expected declaration specifiers or '...' before 'pte_t' include/linux/mm.h:864: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:873: error: expected declaration specifiers or '...' before 'pgd_t' include/linux/mm.h:883: error: expected declaration specifiers or '...' before 'pud_t' include/linux/mm.h:886: error: expected declaration specifiers or '...' before 'pmd_t' include/linux/mm.h:887: error: expected ')' before '*' token include/linux/mm.h:894: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:900: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h: In function 'vma_nonlinear_insert': include/linux/mm.h:1052: error: 'struct vm_area_struct' has no member named 'shared' include/linux/mm.h:1053: error: 'struct vm_area_struct' has no member named 'shared' cc1: error: include/linux/autoconf.h: No such file or directory include/linux/mm.h: In function 'do_mmap': include/linux/mm.h:1106: error: 'EINVAL' undeclared (first use in this function) include/linux/mm.h:1107: error: implicit declaration of function 'PAGE_ALIGN' include/linux/mm.h:1109: error: 'PAGE_MASK' undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:1115: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/irqinit_32.c:1:25:include/linux/mm.h:1121: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:1123: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:1123: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:1184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_get_page_prot' include/linux/mm.h:1187: error: expected declaration specifiers or '...' before 'pgprot_t' include/linux/mm.h:1201: error: expected ')' before '*' token include/linux/mm.h:1204: error: expected declaration specifiers or '...' before 'pte_fn_t' include/linux/mm.h:1248: error: expected declaration specifiers or '...' before 'size_t' include/linux/mm.h:1248: error: expected declaration specifiers or '...' before 'loff_t' include/linux/mm.h:1262: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:1263: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:1264: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:1265: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token include/linux/mm.h:1267: error: expected ')' before '*' token kernel/printk.c:21:23: error: linux/tty.h: No such file or directory kernel/printk.c:22:30: error: linux/tty_driver.h: No such file or directory In file included from kernel/printk.c:23: include/linux/console.h:54: error: expected specifier-qualifier-list before 'u8' kernel/printk.c:26:23: error: linux/nmi.h: No such file or directory kernel/printk.c:27:26: error: linux/module.h: No such file or directory kernel/printk.c:28:31: error: linux/moduleparam.h: No such file or directory kernel/printk.c:29:56: error: linux/interrupt.h: No such file or directory kernel/printk.c:30:25: error: linux/delay.h: No such file or directory kernel/printk.c:32:28: error: linux/security.h: No such file or directory kernel/printk.c:33:27: error: linux/bootmem.h: No such file or directory kernel/printk.c:34:28: error: linux/syscalls.h: No such file or directory kernel/printk.c:36:25: error: asm/uaccess.h: No such file or directory kernel/printk.c:68: warning: data definition has no type or storage class kernel/printk.c:68: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:68: warning: parameter names (without types) in function declaration kernel/printk.c:75: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX' kernel/printk.c:75: warning: parameter names (without types) in function declaration kernel/printk.c:76: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX' kernel/printk.c:76: warning: parameter names (without types) in function declaration kernel/printk.c:78: warning: data definition has no type or storage class kernel/printk.c:78: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/printk.c:78: warning: parameter names (without types) in function declaration kernel/printk.c:127: warning: data definition has no type or storage class kernel/printk.c:127: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:127: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'log_buf_len_setup': kernel/printk.c:145: error: implicit declaration of function '__ilog2_u32' kernel/printk.c:145: error: implicit declaration of function '__ilog2_u64' error: linux/errno.h: No such file or directory arch/x86/kernel/irqinit_32.c:2:26: error: linux/signal.h: No such file or directory arch/x86/kernel/irqinit_32.c:3:25: error: linux/sched.h: No such file or directory In file included from arch/x86/kernel/irqinit_32.c:4: include/linux/ioport.h:12:28: error: linux/compiler.h: No such file or directoryerror: kernel/printk.c:150: error: implicit declaration of function 'alloc_bootmem' linux/hardirq.h: No such file or directory include/linux/ioport.h:13:25: make[1]: error: linux/types.h: No such file or directory *** [arch/x86/mm/pgtable_32.o] Error 1 In file included from arch/x86/kernel/irqinit_32.c:4: include/linux/ioport.h:19: error: expected specifier-qualifier-list before 'resource_size_t' kernel/printk.c:150: warning: assignment makes pointer from integer without a cast include/linux/ioport.h:113: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:113: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:114: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:114: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:116: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:116: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:118: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:119: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/printk.c:156: error: implicit declaration of function 'local_irq_save' include/linux/ioport.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_alignment' include/linux/ioport.h:128: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:129: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:136: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:136: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:137: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:138: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/printk.c:170: error: implicit declaration of function 'local_irq_restore' include/linux/ioport.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'check_region' include/linux/ioport.h:154: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:155: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:163: error: expected declaration specifiers or '...' before 'resource_size_t' include/linux/ioport.h:163: error: expected declaration specifiers or '...' before 'resource_size_t' arch/x86/kernel/irqinit_32.c:5:29: error: linux/interrupt.h: No such file or directory arch/x86/kernel/irqinit_32.c:6:24: error: linux/slab.h: No such file or directory arch/x86/kernel/irqinit_32.c:7:26: error: linux/random.h: No such file or directory arch/x86/kernel/irqinit_32.c:8:24: error: linux/init.h: No such file or directory arch/x86/kernel/irqinit_32.c:9:31: error: linux/kernel_stat.h: No such file or directory arch/x86/kernel/irqinit_32.c:10:26: error: linux/sysdev.h: No such file or directory arch/x86/kernel/irqinit_32.c:11:26: error: linux/bitops.h: No such file or directory arch/x86/kernel/irqinit_32.c:13:24: error: asm/atomic.h: No such file or directory arch/x86/kernel/irqinit_32.c:14:24: error: asm/system.h: No such file or directory arch/x86/kernel/irqinit_32.c:15:20: error: asm/io.h: No such file or directory arch/x86/kernel/irqinit_32.c:16:23: error: asm/timer.h: No such file or directory arch/x86/kernel/irqinit_32.c:17:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/irqinit_32.c:18:23: error: asm/delay.h: No such file or directory arch/x86/kernel/irqinit_32.c:19:22: error: asm/desc.h: No such file or directory arch/x86/kernel/irqinit_32.c:20:22: error: asm/apic.h: No such file or directory arch/x86/kernel/irqinit_32.c:21:28: error: asm/arch_hooks.h: No such file or directory arch/x86/kernel/irqinit_32.c:22:23: error: asm/i8259.h: No such file or directory arch/x86/kernel/irqinit_32.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'math_error_irq' arch/x86/kernel/irqinit_32.c:53: error: variable 'fpu_irq' has initializer but incomplete type arch/x86/kernel/irqinit_32.c:54: error: unknown field 'handler' specified in initializer arch/x86/kernel/irqinit_32.c:54: error: 'math_error_irq' undeclared here (not in a function) arch/x86/kernel/irqinit_32.c:54: warning: excess elements in struct initializer arch/x86/kernel/irqinit_32.c:54: warning: (near initialization for 'fpu_irq') arch/x86/kernel/irqinit_32.c:55: error: unknown field 'mask' specified in initializer arch/x86/kernel/irqinit_32.c:55: error: 'CPU_MASK_NONE' undeclared here (not in a function) arch/x86/kernel/irqinit_32.c:55: warning: excess elements in struct initializer arch/x86/kernel/irqinit_32.c:55: warning: (near initialization for 'fpu_irq') arch/x86/kernel/irqinit_32.c:56: error: unknown field 'name' specified in initializer arch/x86/kernel/irqinit_32.c:56: warning: excess elements in struct initializer arch/x86/kernel/irqinit_32.c:56: warning: (near initialization for 'fpu_irq') arch/x86/kernel/irqinit_32.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_ISA_irqs' arch/x86/kernel/irqinit_32.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'native_init_IRQ' kernel/printk.c: In function 'log_buf_copy': kernel/printk.c:252: error: implicit declaration of function 'local_irq_disable' kernel/printk.c:269: error: implicit declaration of function 'local_irq_enable' kernel/printk.c: In function 'do_syslog': kernel/printk.c:296: error: implicit declaration of function 'security_syslog' kernel/printk.c:306: error: 'EINVAL' undeclared (first use in this function) kernel/printk.c:312: error: implicit declaration of function 'access_ok' kernel/printk.c:312: error: 'VERIFY_WRITE' undeclared (first use in this function) kernel/printk.c:313: error: 'EFAULT' undeclared (first use in this function) kernel/printk.c:316: error: 'current' undeclared (first use in this function) kernel/printk.c:316: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/printk.c:316: error: implicit declaration of function 'signal_pending' kernel/printk.c:316: error: implicit declaration of function 'schedule' mm/filemap.c:41:61: error: linux/buffer_head.h: No such file or directory make[1]: Target `__build' not remade because of errors. kernel/printk.c:326: error: implicit declaration of function '__put_user' kernel/printk.c:329: error: implicit declaration of function 'cond_resched' make: *** [arch/x86/mm] Error 2 kernel/printk.c:383: error: implicit declaration of function '__get_user' make[1]: *** [arch/x86/kernel/irqinit_32.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/setup_percpu.c:1:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/setup_percpu.c:2:26: error: linux/module.h: No such file or directory arch/x86/kernel/setup_percpu.c:3:24: error: linux/init.h: No such file or directory arch/x86/kernel/setup_percpu.c:4:27: error: linux/bootmem.h: No such file or directory arch/x86/kernel/setup_percpu.c:5:26: error: linux/percpu.h: No such file or directory arch/x86/kernel/setup_percpu.c:6:25: error: linux/kexec.h: No such file or directory arch/x86/kernel/setup_percpu.c:7:30: error: linux/crash_dump.h: No such file or directory arch/x86/kernel/setup_percpu.c:8:21: error: asm/smp.h: No such file or directory arch/x86/kernel/setup_percpu.c:9:24: error: asm/percpu.h: No such file or directory arch/x86/kernel/setup_percpu.c:10:26: error: asm/sections.h: No such file or directory CC arch/x86/kernel/probe_roms_32.o arch/x86/kernel/setup_percpu.c:11:27: error: asm/processor.h: No such file or directory arch/x86/kernel/setup_percpu.c:12:23: error: asm/setup.h: No such file or directory arch/x86/kernel/setup_percpu.c:13:26: error: asm/topology.h: No such file or directory arch/x86/kernel/setup_percpu.c:14:24: error: asm/mpspec.h: No such file or directory arch/x86/kernel/setup_percpu.c:15:25: error: asm/apicdef.h: No such file or directory arch/x86/kernel/setup_percpu.c:16:25: error: asm/highmem.h: No such file or directory arch/x86/kernel/setup_percpu.c:31: warning: data definition has no type or storage class arch/x86/kernel/setup_percpu.c:31: warning: type defaults to 'int' in declaration of 'DEFINE_EARLY_PER_CPU' arch/x86/kernel/setup_percpu.c:31: warning: parameter names (without types) in function declaration arch/x86/kernel/setup_percpu.c:32: warning: data definition has no type or storage class arch/x86/kernel/setup_percpu.c:32: warning: type defaults to 'int' in declaration of 'DEFINE_EARLY_PER_CPU' arch/x86/kernel/setup_percpu.c:32: warning: parameter names (without types) in function declaration arch/x86/kernel/setup_percpu.c:33: warning: data definition has no type or storage class arch/x86/kernel/setup_percpu.c:33: warning: type defaults to 'int' in declaration of 'EXPORT_EARLY_PER_CPU_SYMBOL' arch/x86/kernel/setup_percpu.c:33: warning: parameter names (without types) in function declaration arch/x86/kernel/setup_percpu.c:34: warning: data definition has no type or storage class arch/x86/kernel/setup_percpu.c:34: warning: type defaults to 'int' in declaration of 'EXPORT_EARLY_PER_CPU_SYMBOL' arch/x86/kernel/setup_percpu.c:34: warning: parameter names (without types) in function declaration CC kernel/profile.o kernel/printk.c: In function 'zap_locks': kernel/printk.c:545: error: 'HZ' undeclared (first use in this function) kernel/printk.c:545: warning: type defaults to 'int' in declaration of '__dummy2' kernel/printk.c:545: warning: comparison of distinct pointer types lacks a cast kernel/printk.c:553: error: implicit declaration of function 'init_MUTEX' kernel/printk.c:553: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: At top level: kernel/printk.c:561: error: expected ')' before 'bool' kernel/printk.c: In function 'acquire_console_semaphore_for_printk': kernel/printk.c:651: error: implicit declaration of function 'up' kernel/printk.c:651: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: In function 'vprintk': kernel/printk.c:677: error: implicit declaration of function 'raw_local_irq_save' kernel/printk.c:709: warning: passing argument 2 of 'vscnprintf' makes pointer from integer without a cast kernel/printk.c:709: warning: passing argument 3 of 'vscnprintf' discards qualifiers from pointer target type kernel/printk.c:709: error: too many arguments to function 'vscnprintf' mm/filemap.c: In function 'page_waitqueue': mm/filemap.c:532: error: implicit declaration of function 'hash_ptr' kernel/printk.c:740: error: implicit declaration of function 'cpu_clock' kernel/printk.c:741: error: implicit declaration of function 'do_div' kernel/printk.c:775: error: implicit declaration of function 'raw_local_irq_restore' kernel/printk.c: At top level: kernel/printk.c:780: warning: data definition has no type or storage class kernel/printk.c:780: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:780: warning: parameter names (without types) in function declaration kernel/printk.c:781: warning: data definition has no type or storage class kernel/printk.c:781: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:781: warning: parameter names (without types) in function declaration kernel/printk.c: In function '__add_preferred_console': kernel/printk.c:814: error: 'E2BIG' undeclared (first use in this function) kernel/printk.c:818: error: implicit declaration of function 'strlcpy' make[1]: *** [arch/x86/kernel/setup_percpu.o] Error 1 kernel/printk.c: In function 'console_setup': kernel/printk.c:855: error: too many arguments to function 'strncpy' kernel/printk.c:857: error: too many arguments to function 'strncpy' kernel/printk.c: At top level: kernel/printk.c:918: warning: data definition has no type or storage class kernel/printk.c:918: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:918: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'acquire_console_sem': kernel/printk.c:959: error: implicit declaration of function 'in_interrupt' kernel/printk.c:961: error: implicit declaration of function 'down' kernel/printk.c:961: error: 'secondary_console_sem' undeclared (first use in this function) kernel/printk.c:964: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: At top level: kernel/printk.c:968: warning: data definition has no type or storage class kernel/printk.c:968: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:968: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'try_acquire_console_sem': kernel/printk.c:972: error: implicit declaration of function 'down_try' kernel/printk.c:972: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: At top level: kernel/printk.c:978: warning: data definition has no type or storage class kernel/printk.c:978: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:978: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'wake_up_klogd': kernel/printk.c:988: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/printk.c: In function 'release_console_sem': kernel/printk.c:1012: error: 'secondary_console_sem' undeclared (first use in this function) kernel/printk.c:1027: error: implicit declaration of function 'stop_critical_timings' kernel/printk.c:1029: error: implicit declaration of function 'start_critical_timings' kernel/printk.c:1033: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: At top level: kernel/printk.c:1038: warning: data definition has no type or storage class kernel/printk.c:1038: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1038: warning: parameter names (without types) in function declaration kernel/printk.c:1049: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'console_conditional_schedule' kernel/printk.c:1054: warning: data definition has no type or storage class kernel/printk.c:1054: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1054: warning: parameter names (without types) in function declaration kernel/printk.c:1060: warning: data definition has no type or storage class kernel/printk.c:1060: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1060: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'console_unblank': kernel/printk.c:1071: error: 'console_sem' undeclared (first use in this function) kernel/printk.c: At top level: kernel/printk.c:1115: warning: data definition has no type or storage class kernel/printk.c:1115: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1115: warning: parameter names (without types) in function declaration kernel/printk.c:1123: warning: data definition has no type or storage class kernel/printk.c:1123: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1123: warning: parameter names (without types) in function declaration kernel/printk.c:1242: warning: data definition has no type or storage class kernel/printk.c:1242: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1242: warning: parameter names (without types) in function declaration kernel/printk.c:1279: warning: data definition has no type or storage class kernel/printk.c:1279: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1279: warning: parameter names (without types) in function declaration kernel/printk.c: In function 'tty_write_message': kernel/printk.c:1305: error: dereferencing pointer to incomplete type kernel/printk.c:1306: error: dereferencing pointer to incomplete type kernel/printk.c:1306: error: implicit declaration of function 'strlen' CC kernel/cpu.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/probe_roms_32.c:1:25: error: linux/sched.h: No such file or directory arch/x86/kernel/probe_roms_32.c:2:22: error: linux/mm.h: No such file or directory arch/x86/kernel/probe_roms_32.c:3:27: error: linux/uaccess.h: No such file or directory In file included from arch/x86/kernel/probe_roms_32.c:4: include/linux/mmzone.h:7:28: error: linux/spinlock.h: No such file or directory include/linux/mmzone.h:8:24: error: linux/list.h: No such file or directory include/linux/mmzone.h:9:24: error: linux/wait.h: No such file or directory kernel/printk.c: At top level: include/linux/mmzone.h:10:26: error: linux/bitops.h: No such file or directory kernel/printk.c:1322: warning: data definition has no type or storage class kernel/printk.c:1322: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1322: warning: parameter names (without types) in function declaration kernel/printk.c:1325: error: 'HZ' undeclared here (not in a function) kernel/printk.c:1335: warning: data definition has no type or storage class kernel/printk.c:1335: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1335: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory kernel/printk.c:1355: warning: data definition has no type or storage class kernel/printk.c:1355: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/printk.c:1355: warning: parameter names (without types) in function declaration kernel/profile.c:16:26: error: linux/module.h: No such file or directory include/linux/mmzone.h:11:25: error: linux/cache.h: No such file or directory make[1]: *** [kernel/printk.o] Error 1 CC mm/mempool.o kernel/profile.c:17:27: error: linux/profile.h: No such file or directory kernel/profile.c:18:27: error: linux/bootmem.h: No such file or directory kernel/profile.c:19:28: error: linux/notifier.h: No such file or directory kernel/profile.c:20:22: error: linux/mm.h: No such file or directory kernel/profile.c:21:27: error: linux/cpumask.h: No such file or directory kernel/profile.c:22:23: error: linux/cpu.h: No such file or directory kernel/profile.c:23:27: error: linux/highmem.h: No such file or directory kernel/profile.c:24:25: error: linux/mutex.h: No such file or directory kernel/profile.c:25:26: error: asm/sections.h: No such file or directory kernel/profile.c:26:26: error: asm/irq_regs.h: No such file or directory kernel/profile.c:27:24: error: asm/ptrace.h: No such file or directory kernel/profile.c:30: error: expected specifier-qualifier-list before 'u32' kernel/profile.c:38: warning: 'struct pt_regs' declared inside parameter list kernel/profile.c:38: warning: its scope is only this definition or declaration, which is probably not what you want kernel/profile.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/profile.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/profile.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/profile.c:44: warning: data definition has no type or storage class kernel/profile.c:44: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/profile.c:44: warning: parameter names (without types) in function declaration kernel/profile.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'prof_cpu_mask' kernel/profile.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'profile_setup' kernel/profile.c:100: error: expected declaration specifiers or '...' before string constant kernel/profile.c:100: error: expected declaration specifiers or '...' before 'profile_setup' kernel/profile.c:100: warning: data definition has no type or storage class kernel/profile.c:100: warning: type defaults to 'int' in declaration of '__setup' kernel/profile.c:100: warning: function declaration isn't a prototype kernel/profile.c:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'profile_init' kernel/profile.c: In function 'profile_hits': kernel/profile.c:402: error: 'prof_on' undeclared (first use in this function) kernel/profile.c:402: error: (Each undeclared identifier is reported only once kernel/profile.c:402: error: for each function it appears in.) kernel/profile.c:402: error: 'prof_buffer' undeclared (first use in this function) kernel/profile.c:404: error: '_stext' undeclared (first use in this function) kernel/profile.c:405: error: implicit declaration of function 'atomic_add' kernel/profile.c:405: error: implicit declaration of function 'min' kernel/profile.c: At top level: kernel/profile.c:408: warning: data definition has no type or storage class kernel/profile.c:408: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/profile.c:408: warning: parameter names (without types) in function declaration kernel/profile.c: In function 'profile_tick': kernel/profile.c:412: error: implicit declaration of function 'get_irq_regs' kernel/profile.c:412: warning: initialization makes pointer from integer without a cast kernel/profile.c:414: error: 'CPU_PROFILING' undeclared (first use in this function) kernel/profile.c:414: error: 'timer_hook' undeclared (first use in this function) kernel/profile.c:415: error: implicit declaration of function 'timer_hook' kernel/profile.c:416: error: implicit declaration of function 'user_mode' kernel/profile.c:416: error: implicit declaration of function 'cpu_isset' kernel/profile.c:416: error: implicit declaration of function 'smp_processor_id' kernel/profile.c:416: error: 'prof_cpu_mask' undeclared (first use in this function) kernel/profile.c:417: error: implicit declaration of function 'profile_hit' kernel/profile.c:417: error: implicit declaration of function 'profile_pc' include/linux/mmzone.h:12:27: error: cc1: linux/threads.h: No such file or directory error: include/linux/autoconf.h: No such file or directory include/linux/mmzone.h:13:24: error: linux/numa.h: No such file or directory include/linux/mmzone.h:14:24: error: linux/init.h: No such file or directory include/linux/mmzone.h:15:27: error: linux/seqlock.h: No such file or directory include/linux/mmzone.h:16:28: error: linux/nodemask.h: No such file or directory include/linux/mmzone.h:17:35: error: linux/pageblock-flags.h: No such file or directory include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory kernel/cpu.c:6:27: include/linux/mmzone.h:19:24: error: error: asm/atomic.h: No such file or directory linux/proc_fs.h: No such file or directory include/linux/mmzone.h:20:22: error: asm/page.h: No such file or directory kernel/cpu.c:7:23: error: linux/smp.h: No such file or directory kernel/cpu.c:8:24: error: linux/init.h: No such file or directory In file included from arch/x86/kernel/probe_roms_32.c:4: include/linux/mmzone.h:51: warning: 'struct page' declared inside parameter list include/linux/mmzone.h:51: warning: its scope is only this definition or declaration, which is probably not what you want kernel/cpu.c:9:28: error: linux/notifier.h: No such file or directory include/linux/mmzone.h: In function 'get_pageblock_migratetype': kernel/cpu.c:10:25: include/linux/mmzone.h:53: error: implicit declaration of function 'unlikely' error: linux/sched.h: No such file or directory kernel/cpu.c:11:26: error: linux/unistd.h: No such file or directory include/linux/mmzone.h:56: error: implicit declaration of function 'get_pageblock_flags_group' include/linux/mmzone.h:56: error: 'PB_migrate' undeclared (first use in this function) kernel/cpu.c:12:23: error: linux/cpu.h: No such file or directory include/linux/mmzone.h:56: error: (Each undeclared identifier is reported only once include/linux/mmzone.h:56: error: for each function it appears in.) kernel/cpu.c:13:26: error: include/linux/mmzone.h:56: error: 'PB_migrate_end' undeclared (first use in this function) linux/module.h: No such file or directory include/linux/mmzone.h: At top level: include/linux/mmzone.h:60: error: array type has incomplete element type include/linux/mmzone.h:114: error: field 'list' has incomplete type include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined include/linux/mmzone.h:218: error: 'MAX_NR_ZONES' undeclared here (not in a function) include/linux/mmzone.h:229: error: 'NR_CPUS' undeclared here (not in a function) include/linux/mmzone.h:234: error: expected specifier-qualifier-list before 'spinlock_t' include/linux/mmzone.h: In function 'zone_set_flag': include/linux/mmzone.h:345: error: implicit declaration of function 'set_bit' include/linux/mmzone.h:345: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_test_and_set_flag': include/linux/mmzone.h:350: error: implicit declaration of function 'test_and_set_bit' include/linux/mmzone.h:350: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_clear_flag': include/linux/mmzone.h:355: error: implicit declaration of function 'clear_bit' include/linux/mmzone.h:355: error: 'struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_all_unreclaimable': include/linux/mmzone.h:360: error: implicit declaration of function 'test_bit' include/linux/mmzone.h:360: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_reclaim_locked': include/linux/mmzone.h:365: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: In function 'zone_is_oom_locked': include/linux/mmzone.h:370: error: 'const struct zone' has no member named 'flags' include/linux/mmzone.h: At top level: include/linux/mmzone.h:492: error: 'MAX_NUMNODES' undeclared here (not in a function) include/linux/mmzone.h:546: error: expected specifier-qualifier-list before 'wait_queue_head_t' include/linux/mmzone.h:560:34: error: linux/memory_hotplug.h: No such file or directory include/linux/mmzone.h: In function 'populated_zone': include/linux/mmzone.h:593: error: 'struct zone' has no member named 'present_pages' mm/filemap.c: In function 'file_read_actor': mm/filemap.c:1108: warning: assignment makes pointer from integer without a cast mm/filemap.c:1117: error: implicit declaration of function 'kmap' mm/filemap.c:1117: warning: assignment makes pointer from integer without a cast mm/filemap.c:1119: error: implicit declaration of function 'kunmap' include/linux/mmzone.h: In function 'is_normal': include/linux/mmzone.h:642: error: 'struct zone' has no member named 'zone_pgdat' include/linux/mmzone.h: At top level: include/linux/mmzone.h:667: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:670: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:672: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:674: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:676: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:679: error: expected ';', ',' or ')' before '*' token include/linux/mmzone.h:683:28: error: linux/topology.h: No such file or directory include/linux/mmzone.h:759: error: expected declaration specifiers or '...' before 'nodemask_t' include/linux/mmzone.h:777: error: expected declaration specifiers or '...' before 'nodemask_t' include/linux/mmzone.h: In function 'first_zones_zonelist': include/linux/mmzone.h:780: error: 'nodes' undeclared (first use in this function) include/linux/mmzone.h:781: error: too many arguments to function 'next_zones_zonelist' include/linux/mmzone.h: At top level: include/linux/mmzone.h:991: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'node_memmap_size_bytes' arch/x86/kernel/probe_roms_32.c:5:26: error: linux/ioport.h: No such file or directory arch/x86/kernel/probe_roms_32.c:6:28: error: linux/seq_file.h: No such file or directory arch/x86/kernel/probe_roms_32.c:7:27: error: linux/console.h: No such file or directory arch/x86/kernel/probe_roms_32.c:9:23: error: linux/edd.h: No such file or directory arch/x86/kernel/probe_roms_32.c:10:23: error: linux/dmi.h: No such file or directory arch/x86/kernel/probe_roms_32.c:11:23: error: linux/pfn.h: No such file or directory arch/x86/kernel/probe_roms_32.c:12:23: error: linux/pci.h: No such file or directory arch/x86/kernel/probe_roms_32.c:13:28: error: asm/pci-direct.h: No such file or directory mm/filemap.c: In function 'sys_readahead':arch/x86/kernel/probe_roms_32.c:16:22: error: asm/e820.h: No such file or directory arch/x86/kernel/probe_roms_32.c:17:24: error: asm/mmzone.h: No such file or directory kernel/cpu.c:14:27: mm/filemap.c:1264: error: implicit declaration of function 'fget'error: linux/kthread.h: No such file or directory arch/x86/kernel/probe_roms_32.c:18:23: error: asm/setup.h: No such file or directory kernel/cpu.c:15:32: error: linux/stop_machine.h: No such file or directory arch/x86/kernel/probe_roms_32.c:19:26: error: asm/sections.h: No such file or directory kernel/cpu.c:16:25: error: linux/mutex.h: No such file or directory arch/x86/kernel/probe_roms_32.c:20:20: error: asm/io.h: No such file or directory kernel/cpu.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_present_map' arch/x86/kernel/probe_roms_32.c:23: error: variable 'system_rom_resource' has initializer but incomplete type arch/x86/kernel/probe_roms_32.c:24: error: unknown field 'name' specified in initializer arch/x86/kernel/probe_roms_32.c:24: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:24: warning: (near initialization for 'system_rom_resource') arch/x86/kernel/probe_roms_32.c:25: error: unknown field 'start' specified in initializer arch/x86/kernel/probe_roms_32.c:25: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:25: warning: (near initialization for 'system_rom_resource') arch/x86/kernel/probe_roms_32.c:26: error: unknown field 'end' specified in initializer arch/x86/kernel/probe_roms_32.c:26: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:26: warning: (near initialization for 'system_rom_resource') arch/x86/kernel/probe_roms_32.c:27: error: unknown field 'flags' specified in initializer arch/x86/kernel/probe_roms_32.c:27: error: 'IORESOURCE_BUSY' undeclared here (not in a function) arch/x86/kernel/probe_roms_32.c:27: error: 'IORESOURCE_READONLY' undeclared here (not in a function) arch/x86/kernel/probe_roms_32.c:27: error: 'IORESOURCE_MEM' undeclared here (not in a function) arch/x86/kernel/probe_roms_32.c:28: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:28: warning: (near initialization for 'system_rom_resource') arch/x86/kernel/probe_roms_32.c:30: error: variable 'extension_rom_resource' has initializer but incomplete type arch/x86/kernel/probe_roms_32.c:31: error: unknown field 'name' specified in initializer arch/x86/kernel/probe_roms_32.c:31: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:31: warning: (near initialization for 'extension_rom_resource') arch/x86/kernel/probe_roms_32.c:32: error: unknown field 'start' specified in initializer arch/x86/kernel/probe_roms_32.c:32: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:32: warning: (near initialization for 'extension_rom_resource') arch/x86/kernel/probe_roms_32.c:33: error: unknown field 'end' specified in initializer arch/x86/kernel/probe_roms_32.c:33: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:33: warning: (near initialization for 'extension_rom_resource') arch/x86/kernel/probe_roms_32.c:34: error: unknown field 'flags' specified in initializer arch/x86/kernel/probe_roms_32.c:35: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:35: warning: (near initialization for 'extension_rom_resource') arch/x86/kernel/probe_roms_32.c:37: error: array type has incomplete element type arch/x86/kernel/probe_roms_32.c:38: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:38: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:39: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:39: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:40: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:40: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:41: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:41: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:43: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:43: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:44: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:44: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:45: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:45: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:46: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:46: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:48: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:48: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:49: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:49: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:50: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:50: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:51: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:51: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:53: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:53: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:54: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:54: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:55: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:55: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:56: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:56: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:58: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:58: error: (near initialization for 'adapter_rom_resources') kernel/cpu.c:25: warning: data definition has no type or storage class kernel/cpu.c:25: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/cpu.c:25: warning: parameter names (without types) in function declaration kernel/cpu.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_online_map' kernel/cpu.c:33: warning: data definition has no type or storage class kernel/cpu.c:33: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/cpu.c:33: warning: parameter names (without types) in function declaration kernel/cpu.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_possible_map' kernel/cpu.c:36: warning: data definition has no type or storage class kernel/cpu.c:36: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/cpu.c:36: warning: parameter names (without types) in function declaration arch/x86/kernel/probe_roms_32.c:59: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:59: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:60: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:60: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:61: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:61: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:63: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:63: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:64: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:64: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:65: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:65: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:66: error: field name not in record or union initializer arch/x86/kernel/probe_roms_32.c:66: error: (near initialization for 'adapter_rom_resources') arch/x86/kernel/probe_roms_32.c:69: error: variable 'video_rom_resource' has initializer but incomplete type arch/x86/kernel/probe_roms_32.c:70: error: unknown field 'name' specified in initializer arch/x86/kernel/probe_roms_32.c:70: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:70: warning: (near initialization for 'video_rom_resource') arch/x86/kernel/probe_roms_32.c:71: error: unknown field 'start' specified in initializermm/filemap.c:1264: warning: assignment makes pointer from integer without a cast cc1: make[1]: *** [kernel/profile.o] Error 1 mm/filemap.c:1273: error: implicit declaration of function 'fput' arch/x86/kernel/probe_roms_32.c:71: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:71: warning: (near initialization for 'video_rom_resource') arch/x86/kernel/probe_roms_32.c:72: error: unknown field 'end' specified in initializer arch/x86/kernel/probe_roms_32.c:72: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:72: warning: (near initialization for 'video_rom_resource') arch/x86/kernel/probe_roms_32.c:73: error: unknown field 'flags' specified in initializer arch/x86/kernel/probe_roms_32.c:74: warning: excess elements in struct initializer arch/x86/kernel/probe_roms_32.c:74: warning: (near initialization for 'video_rom_resource') arch/x86/kernel/probe_roms_32.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'romsignature' arch/x86/kernel/probe_roms_32.c:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'romchecksum' arch/x86/kernel/probe_roms_32.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'probe_roms' CC mm/oom_kill.o error: include/linux/autoconf.h: No such file or directory make[1]: *** [kernel/cpu.o] Error 1 mm/mempool.c:11:22: error: linux/mm.h: No such file or directory mm/mempool.c:12:24: error: linux/slab.h: No such file or directory mm/mempool.c:13:26: error: linux/module.h: No such file or directory mm/mempool.c:14:27: error: linux/mempool.h: No such file or directory mm/mempool.c:15:26: error: linux/blkdev.h: No such file or directory mm/mempool.c:16:29: error: linux/writeback.h: No such file or directory mm/mempool.c:18: error: expected ')' before '*' token mm/mempool.c:24: error: expected ')' before '*' token mm/mempool.c:30: error: expected ')' before '*' token mm/mempool.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/mempool.c:59: warning: data definition has no type or storage class mm/mempool.c:59: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:59: warning: parameter names (without types) in function declaration mm/mempool.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/mempool.c:96: warning: data definition has no type or storage class mm/mempool.c:96: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:96: warning: parameter names (without types) in function declaration mm/mempool.c:114: error: expected ')' before '*' token mm/mempool.c:172: warning: data definition has no type or storage class mm/mempool.c:172: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:172: warning: parameter names (without types) in function declaration mm/mempool.c:183: error: expected ')' before '*' token mm/mempool.c:189: warning: data definition has no type or storage class mm/mempool.c:189: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' make[1]: *** [arch/x86/kernel/probe_roms_32.o] Error 1 CC kernel/exit.o mm/filemap.c: In function 'file_remove_suid': mm/filemap.c:1677: error: implicit declaration of function 'security_inode_need_killpriv' mm/filemap.c:1683: error: implicit declaration of function 'security_inode_killpriv' mm/filemap.c: In function 'iov_iter_copy_from_user_atomic': mm/filemap.c:1724: error: implicit declaration of function 'in_atomic' mm/filemap.c:1725: warning: assignment makes pointer from integer without a cast mm/filemap.c: In function 'iov_iter_copy_from_user': mm/filemap.c:1754: warning: assignment makes pointer from integer without a cast CC arch/x86/kernel/sys_i386_32.o mm/filemap.c: In function 'generic_write_checks': mm/filemap.c:1843: error: 'RLIMIT_FSIZE' undeclared (first use in this function) mm/filemap.c:1853: error: 'RLIM_INFINITY' undeclared (first use in this function) mm/filemap.c:1855: error: 'SIGXFSZ' undeclared (first use in this function) mm/mempool.c:189: warning: parameter names (without types) in function declaration mm/mempool.c:202: error: expected ')' before '*' token mm/mempool.c:251: warning: data definition has no type or storage class mm/mempool.c:251: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:251: warning: parameter names (without types) in function declaration mm/mempool.c:261: error: expected declaration specifiers or '...' before 'mempool_t' mm/mempool.c: In function 'mempool_free': mm/mempool.c:265: error: implicit declaration of function 'unlikely' mm/mempool.c:265: error: 'NULL' undeclared (first use in this function) mm/mempool.c:265: error: (Each undeclared identifier is reported only once mm/mempool.c:265: error: for each function it appears in.) mm/mempool.c:268: error: implicit declaration of function 'smp_mb' mm/mempool.c:269: error: 'pool' undeclared (first use in this function) mm/mempool.c:270: error: implicit declaration of function 'spin_lock_irqsave' mm/mempool.c:272: error: implicit declaration of function 'add_element' mm/mempool.c:273: error: implicit declaration of function 'spin_unlock_irqrestore' mm/mempool.c:274: error: implicit declaration of function 'wake_up' mm/mempool.c: At top level: mm/mempool.c:281: warning: data definition has no type or storage class mm/mempool.c:281: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:281: warning: parameter names (without types) in function declaration mm/mempool.c:286: error: expected ')' before 'gfp_mask' mm/mempool.c:291: warning: data definition has no type or storage class mm/mempool.c:291: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:291: warning: parameter names (without types) in function declaration mm/mempool.c: In function 'mempool_free_slab': mm/mempool.c:296: error: implicit declaration of function 'kmem_cache_free' mm/mempool.c: At top level: mm/mempool.c:298: warning: data definition has no type or storage class mm/mempool.c:298: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:298: warning: parameter names (without types) in function declaration mm/mempool.c:304: error: expected ')' before 'gfp_mask' mm/mempool.c:309: warning: data definition has no type or storage class mm/mempool.c:309: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:309: warning: parameter names (without types) in function declaration mm/mempool.c:311: error: expected ')' before 'gfp_mask' mm/mempool.c:316: warning: data definition has no type or storage class mm/mempool.c:316: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:316: warning: parameter names (without types) in function declaration mm/mempool.c: In function 'mempool_kfree': mm/mempool.c:320: error: implicit declaration of function 'kfree' mm/mempool.c: At top level: mm/mempool.c:322: warning: data definition has no type or storage class mm/mempool.c:322: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:322: warning: parameter names (without types) in function declaration mm/mempool.c:328: error: expected ')' before 'gfp_mask' mm/mempool.c:333: warning: data definition has no type or storage class mm/mempool.c:333: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:333: warning: parameter names (without types) in function declaration mm/mempool.c: In function 'mempool_free_pages': mm/mempool.c:338: error: implicit declaration of function '__free_pages' mm/mempool.c: At top level: mm/mempool.c:340: warning: data definition has no type or storage class mm/mempool.c:340: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mempool.c:340: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory mm/oom_kill.c:18:23: error: linux/oom.h: No such file or directory mm/oom_kill.c:19:22: error: linux/mm.h: No such file or directory mm/oom_kill.c:20:23: error: linux/err.h: No such file or directory mm/oom_kill.c:21:25: error: linux/sched.h: No such file or directory mm/oom_kill.c:22:24: error: linux/swap.h: No such file or directory mm/oom_kill.c:23:25: error: linux/timex.h: No such file or directory mm/oom_kill.c:24:27: error: linux/jiffies.h: No such file or directory mm/oom_kill.c:25:26: error: linux/cpuset.h: No such file or directory mm/oom_kill.c:26:26: error: linux/module.h: No such file or directory mm/oom_kill.c:27:28: error: linux/notifier.h: No such file or directory mm/oom_kill.c:28:30: error: linux/memcontrol.h: No such file or directory mm/oom_kill.c:33: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' mm/oom_kill.c:33: warning: parameter names (without types) in function declaration mm/oom_kill.c:56: warning: 'struct task_struct' declared inside parameter list mm/oom_kill.c:56: warning: its scope is only this definition or declaration, which is probably not what you want mm/oom_kill.c: In function 'badness': mm/oom_kill.c:62: error: implicit declaration of function 'task_lock' mm/oom_kill.c:63: error: dereferencing pointer to incomplete type mm/oom_kill.c:65: error: implicit declaration of function 'task_unlock' mm/oom_kill.c:72: error: dereferencing pointer to incomplete type mm/oom_kill.c:82: error: dereferencing pointer to incomplete type mm/oom_kill.c:82: error: 'PF_SWAPOFF' undeclared (first use in this function) mm/oom_kill.c:82: error: (Each undeclared identifier is reported only once mm/oom_kill.c:82: error: for each function it appears in.) mm/oom_kill.c:83: error: 'ULONG_MAX' undeclared (first use in this function) mm/oom_kill.c:93: error: implicit declaration of function 'list_for_each_entry' mm/oom_kill.c:93: error: dereferencing pointer to incomplete type mm/oom_kill.c:93: error: 'sibling' undeclared (first use in this function) mm/oom_kill.c:93: error: expected ';' before '{' token mm/oom_kill.c:108: error: dereferencing pointer to incomplete type mm/oom_kill.c:109: error: dereferencing pointer to incomplete type mm/oom_kill.c:113: error: implicit declaration of function 'int_sqrt' mm/oom_kill.c:124: error: implicit declaration of function 'task_nice' mm/oom_kill.c:131: error: implicit declaration of function '__capable' mm/oom_kill.c:131: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) mm/oom_kill.c:131: error: 'CAP_SYS_RESOURCE' undeclared (first use in this function) mm/oom_kill.c:140: error: 'CAP_SYS_RAWIO' undeclared (first use in this function) mm/oom_kill.c:148: error: implicit declaration of function 'cpuset_mems_allowed_intersects' mm/oom_kill.c:148: error: 'current' undeclared (first use in this function) mm/oom_kill.c:154: error: dereferencing pointer to incomplete type mm/oom_kill.c:155: error: dereferencing pointer to incomplete type mm/oom_kill.c:158: error: dereferencing pointer to incomplete type mm/oom_kill.c:160: error: dereferencing pointer to incomplete type mm/oom_kill.c: At top level: mm/oom_kill.c:174: error: expected declaration specifiers or '...' before 'gfp_t' mm/oom_kill.c:174: warning: 'struct zonelist' declared inside parameter list mm/oom_kill.c:175: error: return type is an incomplete type mm/oom_kill.c: In function 'constrained_alloc': mm/oom_kill.c:192: error: 'CONSTRAINT_NONE' undeclared (first use in this function) mm/oom_kill.c:192: warning: 'return' with a value, in function returning void mm/oom_kill.c: At top level: mm/oom_kill.c:202: warning: 'struct mem_cgroup' declared inside parameter list cc1: error: include/linux/autoconf.h: No such file or directory kernel/exit.c:7:22: error: linux/mm.h: No such file or directory kernel/exit.c:8:24: error: linux/slab.h: No such file or directory kernel/exit.c:9:29: error: linux/interrupt.h: No such file or directory kernel/exit.c:10:26: error: linux/module.h: No such file or directory kernel/exit.c:11:30: error: linux/capability.h: No such file or directory kernel/exit.c:12:30: error: linux/completion.h: No such file or directory kernel/exit.c:13:31: error: linux/personality.h: No such file or directory kernel/exit.c:14:23: error: linux/tty.h: No such file or directory kernel/exit.c:15:33: error: linux/mnt_namespace.h: No such file or directory kernel/exit.c:16:29: error: linux/iocontext.h: No such file or directory kernel/exit.c:17:23: error: linux/key.h: No such file or directory kernel/exit.c:18:28: error: linux/security.h: No such file or directory kernel/exit.c:19:23: error: linux/cpu.h: No such file or directory kernel/exit.c:20:24: error: linux/acct.h: No such file or directory kernel/exit.c:21:31: error: linux/tsacct_kern.h: No such file or directory kernel/exit.c:22:24: error: linux/file.h: No such file or directory kernel/exit.c:23:27: error: linux/fdtable.h: No such file or directory kernel/exit.c:24:27: error: linux/binfmts.h: No such file or directory kernel/exit.c:25:27: error: linux/nsproxy.h: No such file or directory kernel/exit.c:26:33: error: linux/pid_namespace.h: No such file or directory kernel/exit.c:27:26: error: linux/ptrace.h: No such file or directory kernel/exit.c:28:27: error: linux/profile.h: No such file or directory kernel/exit.c:29:25: error: linux/mount.h: No such file or directory kernel/exit.c:30:27: error: linux/proc_fs.h: No such file or directory kernel/exit.c:31:27: error: linux/kthread.h: No such file or directory kernel/exit.c:32:29: error: linux/mempolicy.h: No such file or directory kernel/exit.c:33:34: error: linux/taskstats_kern.h: No such file or directory kernel/exit.c:34:29: error: linux/delayacct.h: No such file or directory kernel/exit.c:35:27: error: linux/freezer.h: No such file or directory kernel/exit.c:36:26: error: linux/cgroup.h: No such file or directory kernel/exit.c:37:28: error: linux/syscalls.h: No such file or directory kernel/exit.c:38:26: error: linux/signal.h: No such file or directory kernel/exit.c:39:32: error: linux/posix-timers.h: No such file or directory kernel/exit.c:40:27: error: linux/cn_proc.h: No such file or directory kernel/exit.c:41:25: error: linux/mutex.h: No such file or directory kernel/exit.c:42:25: error: linux/futex.h: No such file or directory kernel/exit.c:43:26: error: linux/compat.h: No such file or directory kernel/exit.c:44:29: error: linux/pipe_fs_i.h: No such file or directory kernel/exit.c:45:48: error: linux/audit.h: No such file or directory kernel/exit.c:46:28: error: linux/resource.h: No such file or directory kernel/exit.c:47:26: error: linux/blkdev.h: No such file or directory kernel/exit.c:48:42: error: linux/task_io_accounting_ops.h: No such file or directory kernel/exit.c:50:25: error: asm/uaccess.h: No such file or directory kernel/exit.c:51:24: error: asm/unistd.h: No such file or directory kernel/exit.c:52:25: error: asm/pgtable.h: No such file or directory kernel/exit.c:53:29: error: asm/mmu_context.h: No such file or directory kernel/exit.c:55: warning: 'struct task_struct' declared inside parameter list cc1: kernel/exit.c:55: warning: its scope is only this definition or declaration, which is probably not what you want make[1]: error: include/linux/autoconf.h: No such file or directory kernel/exit.c:57: warning: 'struct task_struct' declared inside parameter list *** [mm/mempool.o] Error 1 kernel/exit.c: In function 'task_detached': kernel/exit.c:59: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:62: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function '__unhash_process': kernel/exit.c:64: error: 'nr_threads' undeclared (first use in this function) kernel/exit.c:64: error: (Each undeclared identifier is reported only once kernel/exit.c:64: error: for each function it appears in.) kernel/exit.c:65: error: implicit declaration of function 'detach_pid' kernel/exit.c:65: error: 'PIDTYPE_PID' undeclared (first use in this function) kernel/exit.c:66: error: implicit declaration of function 'thread_group_leader' arch/x86/kernel/sys_i386_32.c:7:25: error: kernel/exit.c:67: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/exit.c:68: error: 'PIDTYPE_SID' undeclared (first use in this function) kernel/exit.c:70: error: implicit declaration of function 'list_del_rcu' kernel/exit.c:70: error: dereferencing pointer to incomplete type kernel/exit.c:71: error: implicit declaration of function '__get_cpu_var' kernel/exit.c:71: error: 'process_counts' undeclared (first use in this function) kernel/exit.c:71: error: invalid lvalue in decrement kernel/exit.c:73: error: dereferencing pointer to incomplete type kernel/exit.c:74: error: implicit declaration of function 'list_del_init' kernel/exit.c:74: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:80: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function '__exit_signal': kernel/exit.c:82: error: dereferencing pointer to incomplete type kernel/exit.c:85: error: implicit declaration of function 'BUG_ON' kernel/exit.c:86: error: implicit declaration of function 'atomic_read' kernel/exit.c:86: error: dereferencing pointer to incomplete type kernel/exit.c:88: error: implicit declaration of function 'rcu_read_lock' kernel/exit.c:89: error: implicit declaration of function 'rcu_dereference' kernel/exit.c:89: error: dereferencing pointer to incomplete type kernel/exit.c:89: warning: assignment makes pointer from integer without a cast kernel/exit.c:90: error: implicit declaration of function 'spin_lock' kernel/exit.c:90: error: dereferencing pointer to incomplete type kernel/exit.c:92: error: implicit declaration of function 'posix_cpu_timers_exit' kernel/exit.c:93: error: implicit declaration of function 'atomic_dec_and_test' kernel/exit.c:93: error: dereferencing pointer to incomplete type kernel/exit.c:94: error: implicit declaration of function 'posix_cpu_timers_exit_group' kernel/exit.c:100: error: dereferencing pointer to incomplete type kernel/exit.c:100: error: dereferencing pointer to incomplete type kernel/exit.c:100: error: dereferencing pointer to incomplete type kernel/exit.c:101: error: implicit declaration of function 'wake_up_process' kernel/exit.c:101: error: dereferencing pointer to incomplete type kernel/exit.c:103: error: dereferencing pointer to incomplete type kernel/exit.c:104: error: dereferencing pointer to incomplete type kernel/exit.c:104: error: implicit declaration of function 'next_thread' kernel/exit.c:115: error: dereferencing pointer to incomplete type kernel/exit.c:115: error: implicit declaration of function 'cputime_add' kernel/exit.c:115: error: dereferencing pointer to incomplete type kernel/exit.c:115: error: dereferencing pointer to incomplete type kernel/exit.c:116: error: dereferencing pointer to incomplete type kernel/exit.c:116: error: dereferencing pointer to incomplete type kernel/exit.c:116: error: dereferencing pointer to incomplete type kernel/exit.c:117: error: dereferencing pointer to incomplete type kernel/exit.c:117: error: dereferencing pointer to incomplete type kernel/exit.c:117: error: dereferencing pointer to incomplete type kernel/exit.c:118: error: dereferencing pointer to incomplete type kernel/exit.c:118: error: dereferencing pointer to incomplete type kernel/exit.c:119: error: dereferencing pointer to incomplete type kernel/exit.c:119: error: dereferencing pointer to incomplete type kernel/exit.c:120: error: dereferencing pointer to incomplete type kernel/exit.c:120: error: dereferencing pointer to incomplete type kernel/exit.c:121: error: dereferencing pointer to incomplete type kernel/exit.c:121: error: dereferencing pointer to incomplete type kernel/exit.c:122: error: dereferencing pointer to incomplete type kernel/exit.c:122: error: implicit declaration of function 'task_io_get_inblock' kernel/exit.c:123: error: dereferencing pointer to incomplete type kernel/exit.c:123: error: implicit declaration of function 'task_io_get_oublock' kernel/exit.c:124: error: dereferencing pointer to incomplete type kernel/exit.c:124: error: dereferencing pointer to incomplete type kernel/exit.c:125: error: 'NULL' undeclared (first use in this function) kernel/exit.c:128: warning: passing argument 1 of '__unhash_process' from incompatible pointer type kernel/exit.c:134: error: implicit declaration of function 'flush_sigqueue' kernel/exit.c:134: error: dereferencing pointer to incomplete type kernel/exit.c:136: error: dereferencing pointer to incomplete type kernel/exit.c:137: error: dereferencing pointer to incomplete type kernel/exit.c:138: error: implicit declaration of function 'spin_unlock' kernel/exit.c:138: error: dereferencing pointer to incomplete type kernel/exit.c:139: error: implicit declaration of function 'rcu_read_unlock' kernel/exit.c:141: error: implicit declaration of function '__cleanup_sighand' kernel/exit.c:142: error: implicit declaration of function 'clear_tsk_thread_flag' kernel/exit.c:142: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/exit.c:144: error: dereferencing pointer to incomplete type kernel/exit.c:145: error: implicit declaration of function 'taskstats_tgid_free' kernel/exit.c:146: error: implicit declaration of function '__cleanup_signal' kernel/exit.c: At top level: kernel/exit.c:150: warning: 'struct rcu_head' declared inside parameter list kernel/exit.c: In function 'delayed_put_task_struct': kernel/exit.c:152: error: implicit declaration of function 'put_task_struct' kernel/exit.c:152: error: implicit declaration of function 'container_of' kernel/exit.c:152: error: expected expression before 'struct' kernel/exit.c: At top level: kernel/exit.c:160: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'ptrace_release_task': kernel/exit.c:162: error: implicit declaration of function 'list_empty' kernel/exit.c:162: error: dereferencing pointer to incomplete type kernel/exit.c:163: error: implicit declaration of function 'ptrace_unlink' kernel/exit.c:164: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:167: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'release_task': kernel/exit.c:172: error: implicit declaration of function 'atomic_dec' kernel/exit.c:172: error: dereferencing pointer to incomplete type kernel/exit.c:173: error: implicit declaration of function 'proc_flush_task' kernel/exit.c:174: error: implicit declaration of function 'write_lock_irq' kernel/exit.c:174: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c:175: warning: passing argument 1 of 'ptrace_release_task' from incompatible pointer type kernel/exit.c:176: warning: passing argument 1 of '__exit_signal' from incompatible pointer type kernel/exit.c:184: error: dereferencing pointer to incomplete type kernel/exit.c:185: error: implicit declaration of function 'thread_group_empty' kernel/exit.c:185: error: dereferencing pointer to incomplete type CC arch/x86/kernel/i386_ksyms_32.o kernel/exit.c:185: error: 'EXIT_ZOMBIE' undeclared (first use in this function) kernel/exit.c:186: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:187: error: implicit declaration of function 'do_notify_parent' kernel/exit.c:187: error: dereferencing pointer to incomplete type kernel/exit.c:196: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:199: error: implicit declaration of function 'write_unlock_irq' kernel/exit.c:200: error: implicit declaration of function 'release_thread' kernel/exit.c:201: error: implicit declaration of function 'call_rcu' kernel/exit.c:201: error: dereferencing pointer to incomplete type kernel/exit.c:204: error: implicit declaration of function 'unlikely' kernel/exit.c: In function 'session_of_pgrp': kernel/exit.c:218: error: 'NULL' undeclared (first use in this function) kernel/exit.c:220: error: implicit declaration of function 'pid_task' kernel/exit.c:220: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/exit.c:220: warning: assignment makes pointer from integer without a cast kernel/exit.c:222: error: 'PIDTYPE_PID' undeclared (first use in this function) kernel/exit.c:222: warning: assignment makes pointer from integer without a cast kernel/exit.c:224: error: implicit declaration of function 'task_session' kernel/exit.c:224: warning: assignment makes pointer from integer without a cast kernel/exit.c: At top level: kernel/exit.c:237: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'will_become_orphaned_pgrp': kernel/exit.c:241: error: implicit declaration of function 'do_each_pid_task' kernel/exit.c:241: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/exit.c:241: error: expected ';' before '{' token kernel/exit.c: In function 'is_current_pgrp_orphaned': kernel/exit.c:259: error: implicit declaration of function 'read_lock' kernel/exit.c:259: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c:260: error: implicit declaration of function 'task_pgrp' kernel/exit.c:260: error: 'current' undeclared (first use in this function) kernel/exit.c:260: error: 'NULL' undeclared (first use in this function) kernel/exit.c:260: warning: passing argument 1 of 'will_become_orphaned_pgrp' makes pointer from integer without a cast kernel/exit.c:261: error: implicit declaration of function 'read_unlock' kernel/exit.c: In function 'has_stopped_jobs': kernel/exit.c:271: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/exit.c:271: error: expected ';' before '{' token kernel/exit.c: At top level: kernel/exit.c:286: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'kill_orphaned_pgrp': kernel/exit.c:288: warning: initialization makes pointer from integer without a cast kernel/exit.c:295: error: dereferencing pointer to incomplete type kernel/exit.c:300: error: 'NULL' undeclared (first use in this function) kernel/exit.c:302: warning: comparison between pointer and integer kernel/exit.c:304: warning: passing argument 2 of 'will_become_orphaned_pgrp' from incompatible pointer type kernel/exit.c:306: error: implicit declaration of function '__kill_pgrp_info' kernel/exit.c:306: error: 'SIGHUP' undeclared (first use in this function) kernel/exit.c:306: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/exit.c:307: error: 'SIGCONT' undeclared (first use in this function) kernel/exit.c: In function 'reparent_to_kthreadd': kernel/exit.c:325: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c:327: error: 'current' undeclared (first use in this function) kernel/exit.c:329: error: 'kthreadd_task' undeclared (first use in this function) kernel/exit.c:330: error: implicit declaration of function 'list_move_tail' kernel/exit.c:333: error: 'SIGCHLD' undeclared (first use in this function) kernel/exit.c:335: error: implicit declaration of function 'task_nice' kernel/exit.c:336: error: implicit declaration of function 'set_user_nice' kernel/exit.c:340: error: implicit declaration of function 'security_task_reparent_to_init' kernel/exit.c:341: error: implicit declaration of function 'memcpy' kernel/exit.c:341: error: 'init_task' undeclared (first use in this function) kernel/exit.c:343: error: implicit declaration of function 'atomic_inc' kernel/exit.c:343: error: 'INIT_USER' undeclared (first use in this function) kernel/exit.c:345: error: implicit declaration of function 'switch_uid' kernel/exit.c: In function '__set_special_pids': kernel/exit.c:350: error: 'current' undeclared (first use in this function) kernel/exit.c:351: error: 'pid_t' undeclared (first use in this function) kernel/exit.c:351: error: expected ';' before 'nr' kernel/exit.c:353: warning: comparison between pointer and integer kernel/exit.c:354: error: implicit declaration of function 'change_pid' kernel/exit.c:354: error: 'PIDTYPE_SID' undeclared (first use in this function) kernel/exit.c:355: error: implicit declaration of function 'set_task_session' kernel/exit.c:355: error: 'nr' undeclared (first use in this function) kernel/exit.c:357: warning: comparison between pointer and integer kernel/exit.c:358: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/exit.c:359: error: implicit declaration of function 'set_task_pgrp' kernel/exit.c: In function 'set_special_pids': kernel/exit.c:365: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c: In function 'allow_signal': kernel/exit.c:377: error: implicit declaration of function 'valid_signal' kernel/exit.c:378: error: 'EINVAL' undeclared (first use in this function) kernel/exit.c:380: error: implicit declaration of function 'spin_lock_irq' kernel/exit.c:380: error: 'current' undeclared (first use in this function) kernel/exit.c:381: error: implicit declaration of function 'sigdelset' kernel/exit.c:387: error: expected ')' before '__user' kernel/exit.c:389: error: implicit declaration of function 'recalc_sigpending' kernel/exit.c:390: error: implicit declaration of function 'spin_unlock_irq' kernel/exit.c: At top level: kernel/exit.c:394: warning: data definition has no type or storage class kernel/exit.c:394: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/exit.c:394: warning: parameter names (without types) in function declaration kernel/exit.c: In function 'disallow_signal': kernel/exit.c:399: error: 'EINVAL' undeclared (first use in this function) kernel/exit.c:401: error: 'current' undeclared (first use in this function) kernel/exit.c:402: error: 'SIG_IGN' undeclared (first use in this function) kernel/exit.c: At top level: kernel/exit.c:408: warning: data definition has no type or storage class kernel/exit.c:408: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/exit.c:408: warning: parameter names (without types) in function declaration kernel/exit.c: In function 'daemonize': linux/errno.h: No such file or directorykernel/exit.c:417: error: 'va_list' undeclared (first use in this function) kernel/exit.c:417: error: expected ';' before 'args' kernel/exit.c:418: warning: ISO C90 forbids mixed declarations and code kernel/exit.c:419: error: 'sigset_t' undeclared (first use in this function) kernel/exit.c:419: error: expected ';' before 'blocked' kernel/exit.c:421: error: implicit declaration of function 'va_start' arch/x86/kernel/sys_i386_32.c:8:25: kernel/exit.c:421: error: 'args' undeclared (first use in this function) error: linux/sched.h: No such file or directorykernel/exit.c:422: error: implicit declaration of function 'vsnprintf' kernel/exit.c:422: error: 'current' undeclared (first use in this function) arch/x86/kernel/sys_i386_32.c:9:22: error: linux/mm.h: No such file or directory kernel/exit.c:423: error: implicit declaration of function 'va_end' arch/x86/kernel/sys_i386_32.c:10:22: error: linux/fs.h: No such file or directory kernel/exit.c:435: error: 'PF_NOFREEZE' undeclared (first use in this function) arch/x86/kernel/sys_i386_32.c:11:23: error: linux/smp.h: No such file or directory kernel/exit.c:437: error: 'init_nsproxy' undeclared (first use in this function) arch/x86/kernel/sys_i386_32.c:12:23: error: linux/sem.h: No such file or directory kernel/exit.c:438: error: implicit declaration of function 'get_nsproxy' arch/x86/kernel/sys_i386_32.c:13:23: error: linux/msg.h: No such file or directory kernel/exit.c:439: error: implicit declaration of function 'switch_task_namespaces' arch/x86/kernel/sys_i386_32.c:14:23: error: linux/shm.h: No such file or directory kernel/exit.c:441: error: 'init_struct_pid' undeclared (first use in this function) arch/x86/kernel/sys_i386_32.c:15:24: error: linux/stat.h: No such file or directory kernel/exit.c:442: error: implicit declaration of function 'proc_clear_tty' arch/x86/kernel/sys_i386_32.c:16:28: error: kernel/exit.c:445: error: implicit declaration of function 'sigfillset' kernel/exit.c:445: error: 'blocked' undeclared (first use in this function) kernel/exit.c:446: error: implicit declaration of function 'sigprocmask' kernel/exit.c:446: error: 'SIG_BLOCK' undeclared (first use in this function) kernel/exit.c:446: error: 'NULL' undeclared (first use in this function) kernel/exit.c:447: error: implicit declaration of function 'flush_signals' linux/syscalls.h: No such file or directorykernel/exit.c:451: error: implicit declaration of function 'exit_fs' kernel/exit.c:452: error: 'init_task' undeclared (first use in this function) kernel/exit.c:454: error: dereferencing pointer to incomplete typearch/x86/kernel/sys_i386_32.c:17:24: error: linux/mman.h: No such file or directory arch/x86/kernel/sys_i386_32.c:18:24: kernel/exit.c:456: error: implicit declaration of function 'exit_files' error: linux/file.h: No such file or directory arch/x86/kernel/sys_i386_32.c:19:27: kernel/exit.c: At top level: error: linux/utsname.h: No such file or directory kernel/exit.c:463: warning: data definition has no type or storage class kernel/exit.c:463: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/sys_i386_32.c:20:23: error: linux/ipc.h: No such file or directory arch/x86/kernel/sys_i386_32.c:22:27: error: linux/uaccess.h: No such file or directory kernel/exit.c:463: warning: parameter names (without types) in function declaration arch/x86/kernel/sys_i386_32.c:23:26: error: linux/unistd.h: No such file or directory kernel/exit.c:465: warning: 'struct files_struct' declared inside parameter list kernel/exit.c: In function 'close_files': kernel/exit.c:477: error: implicit declaration of function 'files_fdtable' kernel/exit.c:477: warning: assignment makes pointer from integer without a cast arch/x86/kernel/sys_i386_32.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/exit.c:480: error: '__NFDBITS' undeclared (first use in this function) kernel/exit.c:481: error: dereferencing pointer to incomplete type kernel/exit.c:483: error: dereferencing pointer to incomplete type kernel/exit.c:486: error: implicit declaration of function 'xchg' arch/x86/kernel/sys_i386_32.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/exit.c:486: error: dereferencing pointer to incomplete type kernel/exit.c:486: error: 'NULL' undeclared (first use in this function) kernel/exit.c:486: warning: initialization makes pointer from integer without a cast arch/x86/kernel/sys_i386_32.c:87: error: expected specifier-qualifier-list before 'fd_set' kernel/exit.c:488: error: implicit declaration of function 'filp_close' arch/x86/kernel/sys_i386_32.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/exit.c:489: error: implicit declaration of function 'cond_resched' arch/x86/kernel/sys_i386_32.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/exit.c: At top level: kernel/exit.c:498: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'get_files_struct': arch/x86/kernel/sys_i386_32.c:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/exit.c:502: error: implicit declaration of function 'task_lock' arch/x86/kernel/sys_i386_32.c:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/exit.c:503: error: dereferencing pointer to incomplete type kernel/exit.c:505: error: dereferencing pointer to incomplete type kernel/exit.c:506: error: implicit declaration of function 'task_unlock' kernel/exit.c: In function 'put_files_struct': kernel/exit.c:515: error: dereferencing pointer to incomplete type kernel/exit.c:516: warning: passing argument 1 of 'close_files' from incompatible pointer type kernel/exit.c:523: warning: assignment makes pointer from integer without a cast kernel/exit.c:524: error: dereferencing pointer to incomplete type kernel/exit.c:525: error: implicit declaration of function 'kmem_cache_free' arch/x86/kernel/sys_i386_32.c: In function 'kernel_execve': kernel/exit.c:525: error: 'files_cachep' undeclared (first use in this function) arch/x86/kernel/sys_i386_32.c:244: error: '__NR_execve' undeclared (first use in this function) kernel/exit.c:526: error: implicit declaration of function 'free_fdtable' arch/x86/kernel/sys_i386_32.c:244: error: (Each undeclared identifier is reported only once arch/x86/kernel/sys_i386_32.c:244: error: for each function it appears in.) kernel/exit.c: In function 'reset_files_struct': kernel/exit.c:532: error: 'current' undeclared (first use in this function) kernel/exit.c:535: error: dereferencing pointer to incomplete type kernel/exit.c:537: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:542: warning: 'struct task_struct' declared inside parameter list kernel/exit.c:543: warning: conflicting types for 'exit_files' kernel/exit.c:456: warning: previous implicit declaration of 'exit_files' was here kernel/exit.c: In function 'exit_files': kernel/exit.c:544: error: dereferencing pointer to incomplete type kernel/exit.c:548: error: dereferencing pointer to incomplete type kernel/exit.c:548: error: 'NULL' undeclared (first use in this function) kernel/exit.c: At top level: kernel/exit.c:554: warning: 'struct fs_struct' declared inside parameter list kernel/exit.c: In function 'put_fs_struct': kernel/exit.c:557: error: dereferencing pointer to incomplete type kernel/exit.c:558: error: implicit declaration of function 'path_put' kernel/exit.c:558: error: dereferencing pointer to incomplete type kernel/exit.c:559: error: dereferencing pointer to incomplete type kernel/exit.c:560: error: 'fs_cachep' undeclared (first use in this function) kernel/exit.c: At top level: kernel/exit.c:564: warning: 'struct task_struct' declared inside parameter list kernel/exit.c:565: warning: conflicting types for 'exit_fs' kernel/exit.c:451: warning: previous implicit declaration of 'exit_fs' was here kernel/exit.c: In function 'exit_fs': kernel/exit.c:566: error: dereferencing pointer to incomplete type kernel/exit.c:570: error: dereferencing pointer to incomplete type kernel/exit.c:570: error: 'NULL' undeclared (first use in this function) kernel/exit.c:572: warning: passing argument 1 of 'put_fs_struct' from incompatible pointer type kernel/exit.c: At top level: kernel/exit.c:576: warning: data definition has no type or storage class kernel/exit.c:576: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/exit.c:576: warning: parameter names (without types) in function declaration kernel/exit.c:664: warning: 'struct task_struct' declared inside parameter list kernel/exit.c:665: error: conflicting types for 'exit_mm' kernel/exit.c:55: error: previous declaration of 'exit_mm' was here kernel/exit.c: In function 'exit_mm': kernel/exit.c:666: error: dereferencing pointer to incomplete type kernel/exit.c:668: error: implicit declaration of function 'mm_release' kernel/exit.c:678: error: implicit declaration of function 'down_read' kernel/exit.c:678: error: dereferencing pointer to incomplete type kernel/exit.c:679: error: dereferencing pointer to incomplete type kernel/exit.c:680: error: implicit declaration of function 'up_read' kernel/exit.c:680: error: dereferencing pointer to incomplete type kernel/exit.c:681: error: implicit declaration of function 'down_write' kernel/exit.c:681: error: dereferencing pointer to incomplete type kernel/exit.c:682: error: dereferencing pointer to incomplete type kernel/exit.c:683: error: implicit declaration of function 'complete' kernel/exit.c:683: error: dereferencing pointer to incomplete type kernel/exit.c:684: error: implicit declaration of function 'up_write' kernel/exit.c:684: error: dereferencing pointer to incomplete type kernel/exit.c:686: error: implicit declaration of function 'wait_for_completion' kernel/exit.c:686: error: dereferencing pointer to incomplete type kernel/exit.c:687: error: dereferencing pointer to incomplete type kernel/exit.c:689: error: dereferencing pointer to incomplete type kernel/exit.c:690: error: dereferencing pointer to incomplete type kernel/exit.c:693: error: dereferencing pointer to incomplete type kernel/exit.c:693: error: 'NULL' undeclared (first use in this function) kernel/exit.c:694: error: dereferencing pointer to incomplete type kernel/exit.c:695: error: implicit declaration of function 'enter_lazy_tlb' kernel/exit.c:695: error: 'current' undeclared (first use in this function) kernel/exit.c:697: error: implicit declaration of function 'clear_freeze_flag' kernel/exit.c:699: error: implicit declaration of function 'mm_update_next_owner' kernel/exit.c:700: error: implicit declaration of function 'mmput' kernel/exit.c: At top level: kernel/exit.c:708: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'ignoring_children': kernel/exit.c:711: error: dereferencing pointer to incomplete type kernel/exit.c:713: error: implicit declaration of function 'spin_lock_irqsave' kernel/exit.c:713: error: dereferencing pointer to incomplete type kernel/exit.c:714: error: dereferencing pointer to incomplete type kernel/exit.c:714: error: 'SIGCHLD' undeclared (first use in this function) kernel/exit.c:714: error: 'SIG_IGN' undeclared (first use in this function) kernel/exit.c:715: error: dereferencing pointer to incomplete type kernel/exit.c:715: error: 'SA_NOCLDWAIT' undeclared (first use in this function) kernel/exit.c:716: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/exit.c:716: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:726: warning: 'struct list_head' declared inside parameter list kernel/exit.c:726: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'ptrace_exit': kernel/exit.c:731: error: implicit declaration of function 'list_for_each_entry_safe' kernel/exit.c:731: error: dereferencing pointer to incomplete type kernel/exit.c:731: error: 'ptrace_entry' undeclared (first use in this function) kernel/exit.c:731: error: expected ';' before '{' token kernel/exit.c:729: warning: unused variable 'ign' kernel/exit.c: At top level: kernel/exit.c:775: warning: 'struct list_head' declared inside parameter list kernel/exit.c:775: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'ptrace_exit_finish': kernel/exit.c:779: error: dereferencing pointer to incomplete type kernel/exit.c:781: error: 'ptrace_entry' undeclared (first use in this function) kernel/exit.c:781: error: expected ';' before '{' token mm/filemap.c: In function 'generic_perform_write_2copy': kernel/exit.c: At top level: mm/filemap.c:2186: warning: assignment makes pointer from integer without a cast kernel/exit.c:787: warning: 'struct task_struct' declared inside parameter list mm/filemap.c:2187: warning: assignment makes pointer from integer without a cast kernel/exit.c: In function 'reparent_thread': kernel/exit.c:789: error: dereferencing pointer to incomplete type kernel/exit.c:791: error: implicit declaration of function 'group_send_sig_info' kernel/exit.c:791: error: dereferencing pointer to incomplete type kernel/exit.c:791: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/exit.c:793: error: dereferencing pointer to incomplete type kernel/exit.c:793: error: dereferencing pointer to incomplete type kernel/exit.c:798: error: implicit declaration of function 'same_thread_group' kernel/exit.c:798: error: dereferencing pointer to incomplete type kernel/exit.c:802: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:803: error: dereferencing pointer to incomplete type kernel/exit.c:803: error: 'SIGCHLD' undeclared (first use in this function) kernel/exit.c:808: error: implicit declaration of function 'ptrace_reparented' kernel/exit.c:809: error: dereferencing pointer to incomplete type kernel/exit.c:809: error: 'EXIT_ZOMBIE' undeclared (first use in this function) kernel/exit.c:810: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:811: error: dereferencing pointer to incomplete type kernel/exit.c:813: warning: passing argument 1 of 'kill_orphaned_pgrp' from incompatible pointer type kernel/exit.c:813: warning: passing argument 2 of 'kill_orphaned_pgrp' from incompatible pointer type kernel/exit.c: At top level: kernel/exit.c:823: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'forget_original_parent': kernel/exit.c:826: error: implicit declaration of function 'LIST_HEAD' kernel/exit.c:826: error: 'ptrace_dead' undeclared (first use in this function) kernel/exit.c:828: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c:833: warning: passing argument 1 of 'ptrace_exit' from incompatible pointer type kernel/exit.c:836: warning: assignment makes pointer from integer without a cast kernel/exit.c:838: error: implicit declaration of function 'task_child_reaper' kernel/exit.c:838: warning: assignment makes pointer from integer without a cast kernel/exit.c:841: error: dereferencing pointer to incomplete type kernel/exit.c:841: error: 'PF_EXITING' undeclared (first use in this function) kernel/exit.c:843: error: dereferencing pointer to incomplete type kernel/exit.c:843: error: 'sibling' undeclared (first use in this function) kernel/exit.c:843: error: expected ';' before '{' token kernel/exit.c:853: error: dereferencing pointer to incomplete type kernel/exit.c:855: warning: passing argument 1 of 'ptrace_exit_finish' from incompatible pointer type kernel/exit.c: At top level: kernel/exit.c:862: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'exit_notify': kernel/exit.c:874: warning: passing argument 1 of 'forget_original_parent' from incompatible pointer type kernel/exit.c:875: error: implicit declaration of function 'exit_task_namespaces' kernel/exit.c:877: error: 'tasklist_lock' undeclared (first use in this function) kernel/exit.c:879: error: dereferencing pointer to incomplete type kernel/exit.c:879: error: 'NULL' undeclared (first use in this function) kernel/exit.c:895: error: dereferencing pointer to incomplete type kernel/exit.c:895: error: 'SIGCHLD' undeclared (first use in this function) kernel/exit.c:895: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:896: error: dereferencing pointer to incomplete type kernel/exit.c:896: error: dereferencing pointer to incomplete type kernel/exit.c:897: error: dereferencing pointer to incomplete type kernel/exit.c:897: error: dereferencing pointer to incomplete type kernel/exit.c:898: error: implicit declaration of function 'capable' kernel/exit.c:898: error: 'CAP_KILL' undeclared (first use in this function) kernel/exit.c:899: error: dereferencing pointer to incomplete type kernel/exit.c:905: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:907: error: dereferencing pointer to incomplete type kernel/exit.c:909: error: dereferencing pointer to incomplete type kernel/exit.c:913: error: 'EXIT_ZOMBIE' undeclared (first use in this function) kernel/exit.c:914: warning: passing argument 1 of 'task_detached' from incompatible pointer type kernel/exit.c:914: error: implicit declaration of function 'likely' kernel/exit.c:914: error: dereferencing pointer to incomplete type kernel/exit.c:915: error: 'EXIT_DEAD' undeclared (first use in this function) kernel/exit.c:916: error: dereferencing pointer to incomplete type kernel/exit.c:920: error: dereferencing pointer to incomplete type kernel/exit.c:921: error: dereferencing pointer to incomplete type kernel/exit.c:922: error: dereferencing pointer to incomplete type kernel/exit.c:928: warning: passing argument 1 of 'release_task' from incompatible pointer type kernel/exit.c: At top level: kernel/exit.c:956: warning: 'struct task_struct' declared inside parameter list kernel/exit.c: In function 'exit_child_reaper': kernel/exit.c:958: error: dereferencing pointer to incomplete type kernel/exit.c:961: error: dereferencing pointer to incomplete type kernel/exit.c:961: error: 'init_pid_ns' undeclared (first use in this function) kernel/exit.c:962: error: implicit declaration of function 'panic' kernel/exit.c:986: error: implicit declaration of function 'zap_pid_ns_processes' kernel/exit.c:986: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:989: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/exit.c:1135: warning: data definition has no type or storage class kernel/exit.c:1135: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/exit.c:1135: warning: parameter names (without types) in function declaration kernel/exit.c:1137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/exit.c:1145: warning: data definition has no type or storage class kernel/exit.c:1145: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/exit.c:1145: warning: parameter names (without types) in function declaration kernel/exit.c:1147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/exit.c:1156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/exit.c:1188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/exit.c:1193: warning: 'enum pid_type' declared inside parameter list kernel/exit.c:1193: warning: 'struct task_struct' declared inside parameter list kernel/exit.c:1193: error: parameter 2 ('type') has incomplete type kernel/exit.c: In function 'task_pid_type': kernel/exit.c:1195: error: 'NULL' undeclared (first use in this function) kernel/exit.c:1196: error: 'PIDTYPE_PID' undeclared (first use in this function) kernel/exit.c:1197: error: dereferencing pointer to incomplete type kernel/exit.c:1198: error: 'PIDTYPE_MAX' undeclared (first use in this function) kernel/exit.c:1199: error: dereferencing pointer to incomplete type kernel/exit.c: At top level: kernel/exit.c:1204: warning: 'struct task_struct' declared inside parameter list kernel/exit.c:1204: warning: 'enum pid_type' declared inside parameter list kernel/exit.c:1203: error: parameter 1 ('type') has incomplete type kernel/exit.c: In function 'eligible_child': kernel/exit.c:1208: error: 'PIDTYPE_MAX' undeclared (first use in this function) kernel/exit.c:1209: warning: passing argument 1 of 'task_pid_type' from incompatible pointer type kernel/exit.c:1209: error: type of formal parameter 2 is incomplete kernel/exit.c:1218: error: dereferencing pointer to incomplete type kernel/exit.c:1218: error: 'SIGCHLD' undeclared (first use in this function) kernel/exit.c:1218: error: '__WCLONE' undeclared (first use in this function) kernel/exit.c:1219: error: '__WALL' undeclared (first use in this function) kernel/exit.c:1222: error: implicit declaration of function 'security_task_wait' kernel/exit.c: At top level: kernel/exit.c:1229: error: expected declaration specifiers or '...' before 'pid_t' kernel/exit.c:1229: error: expected declaration specifiers or '...' before 'uid_t' kernel/exit.c:1231: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1261: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1422: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1505: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1562: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1623: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1646: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1668: error: expected ';', ',' or ')' before '*' token kernel/exit.c:1749: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/exit.c:1790: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/filemap.c: In function '__generic_file_aio_write_nolock': mm/filemap.c:2390: error: 'struct task_struct' has no member named 'backing_dev_info' make[1]: *** [arch/x86/kernel/sys_i386_32.o] Error 1 mm/filemap.c:2462: error: 'struct task_struct' has no member named 'backing_dev_info' cc1: mm/filemap.c: In function 'try_to_release_page': mm/filemap.c:2601: error: implicit declaration of function 'try_to_free_buffers' mm/oom_kill.c: In function 'select_bad_process': mm/oom_kill.c:205: error: 'NULL' undeclared (first use in this function) mm/oom_kill.c:206: error: storage size of 'uptime' isn't known mm/oom_kill.c:209: error: implicit declaration of function 'do_posix_clock_monotonic_gettime' mm/oom_kill.c:210: error: implicit declaration of function 'do_each_thread' mm/oom_kill.c:210: error: expected ';' before '{' token mm/oom_kill.c:206: warning: unused variable 'uptime' make[1]: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:1:26: error: linux/module.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:3:26: error: asm/checksum.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:4:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:5:22: error: asm/desc.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:6:24: error: asm/ftrace.h: No such file or directory arch/x86/kernel/i386_ksyms_32.c:14: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:14: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:14: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:16: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:16: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:16: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:17: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:17: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:17: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:18: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:18: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:18: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:20: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:20: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:20: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:21: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:21: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:21: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:22: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:22: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:22: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:23: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:23: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:23: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:25: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:25: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:25: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:27: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:27: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:27: warning: parameter names (without types) in function declaration arch/x86/kernel/i386_ksyms_32.c:28: warning: data definition has no type or storage class arch/x86/kernel/i386_ksyms_32.c:28: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i386_ksyms_32.c:28: warning: parameter names (without types) in function declaration mm/oom_kill.c: At top level: *** [kernel/exit.o] Error 1mm/oom_kill.c:281: warning: 'struct mem_cgroup' declared inside parameter list CC mm/fadvise.o mm/oom_kill.c: In function 'dump_tasks': mm/oom_kill.c:285: error: implicit declaration of function 'printk' mm/oom_kill.c:285: error: 'KERN_INFO' undeclared (first use in this function) mm/oom_kill.c:285: error: expected ')' before string constant mm/oom_kill.c:287: error: expected ';' before '{' token mm/oom_kill.c: In function '__oom_kill_task': mm/oom_kill.c:313: error: implicit declaration of function 'is_global_init' mm/oom_kill.c:314: error: implicit declaration of function 'WARN_ON' mm/oom_kill.c:315: error: 'KERN_WARNING' undeclared (first use in this function) mm/oom_kill.c:315: error: expected ')' before string constant mm/oom_kill.c:319: error: dereferencing pointer to incomplete type mm/oom_kill.c:321: error: expected ')' before string constant mm/oom_kill.c:326: error: 'KERN_ERR' undeclared (first use in this function) mm/oom_kill.c:326: error: expected ')' before string constant mm/oom_kill.c:334: error: dereferencing pointer to incomplete type mm/oom_kill.c:334: error: 'HZ' undeclared (first use in this function) mm/oom_kill.c:335: error: implicit declaration of function 'set_tsk_thread_flag' mm/oom_kill.c:335: error: 'TIF_MEMDIE' undeclared (first use in this function) mm/oom_kill.c:337: error: implicit declaration of function 'force_sig' mm/oom_kill.c:337: error: 'SIGKILL' undeclared (first use in this function) mm/oom_kill.c: In function 'oom_kill_task': mm/oom_kill.c:345: error: dereferencing pointer to incomplete type mm/oom_kill.c:356: error: 'NULL' undeclared (first use in this function) mm/oom_kill.c:362: error: expected ';' before '{' token mm/oom_kill.c:374: error: expected ';' before '{' token mm/oom_kill.c: At top level: mm/oom_kill.c:382: error: expected declaration specifiers or '...' before 'gfp_t' mm/oom_kill.c:384: warning: 'struct mem_cgroup' declared inside parameter list mm/oom_kill.c: In function 'oom_kill_process': mm/oom_kill.c:388: error: implicit declaration of function 'printk_ratelimit' mm/oom_kill.c:389: error: 'KERN_WARNING' undeclared (first use in this function) mm/oom_kill.c:389: error: expected ')' before string constant mm/oom_kill.c:392: error: implicit declaration of function 'dump_stack' mm/oom_kill.c:393: error: implicit declaration of function 'show_mem' mm/oom_kill.c:395: warning: passing argument 1 of 'dump_tasks' from incompatible pointer type mm/oom_kill.c:402: error: dereferencing pointer to incomplete type mm/oom_kill.c:402: error: 'PF_EXITING' undeclared (first use in this function) mm/oom_kill.c:407: error: 'KERN_ERR' undeclared (first use in this function) mm/oom_kill.c:407: error: expected ')' before string constant mm/oom_kill.c:411: error: dereferencing pointer to incomplete type mm/oom_kill.c:411: error: 'sibling' undeclared (first use in this function) mm/oom_kill.c:411: error: expected ';' before '{' token mm/oom_kill.c: At top level: mm/oom_kill.c:445: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD' mm/oom_kill.c:445: warning: parameter names (without types) in function declaration mm/oom_kill.c:447: warning: 'struct notifier_block' declared inside parameter list mm/oom_kill.c: In function 'register_oom_notifier': mm/oom_kill.c:449: error: implicit declaration of function 'blocking_notifier_chain_register' mm/oom_kill.c:449: error: 'oom_notify_list' undeclared (first use in this function) mm/oom_kill.c: At top level: mm/oom_kill.c:451: warning: data definition has no type or storage class mm/oom_kill.c:451: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/oom_kill.c:451: warning: parameter names (without types) in function declaration mm/oom_kill.c:453: warning: 'struct notifier_block' declared inside parameter list mm/oom_kill.c: In function 'unregister_oom_notifier': mm/oom_kill.c:455: error: implicit declaration of function 'blocking_notifier_chain_unregister' mm/oom_kill.c:455: error: 'oom_notify_list' undeclared (first use in this function) mm/oom_kill.c: At top level: mm/oom_kill.c:457: warning: data definition has no type or storage class mm/oom_kill.c:457: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/oom_kill.c:457: warning: parameter names (without types) in function declaration mm/oom_kill.c:464: error: expected declaration specifiers or '...' before 'gfp_t' mm/oom_kill.c:464: warning: 'struct zonelist' declared inside parameter list mm/oom_kill.c: In function 'try_set_zone_oom': mm/oom_kill.c:470: error: implicit declaration of function 'spin_lock' mm/oom_kill.c:470: error: 'zone_scan_mutex' undeclared (first use in this function) mm/oom_kill.c:471: error: implicit declaration of function 'for_each_zone_zonelist' mm/oom_kill.c:471: error: implicit declaration of function 'gfp_zone' mm/oom_kill.c:471: error: 'gfp_mask' undeclared (first use in this function) mm/oom_kill.c:471: error: expected ';' before '{' token mm/oom_kill.c: At top level: mm/oom_kill.c:497: error: expected declaration specifiers or '...' before 'gfp_t' mm/oom_kill.c:497: warning: 'struct zonelist' declared inside parameter list mm/oom_kill.c: In function 'clear_zonelist_oom': mm/oom_kill.c:502: error: 'zone_scan_mutex' undeclared (first use in this function) mm/oom_kill.c:503: error: 'gfp_mask' undeclared (first use in this function) mm/oom_kill.c:503: error: expected ';' before '{' token mm/oom_kill.c: At top level: mm/oom_kill.c:520: error: expected declaration specifiers or '...' before 'gfp_t' mm/oom_kill.c:520: warning: 'struct zonelist' declared inside parameter list mm/oom_kill.c: In function 'out_of_memory': mm/oom_kill.c:525: error: storage size of 'constraint' isn't known mm/oom_kill.c:527: error: implicit declaration of function 'blocking_notifier_call_chain' mm/oom_kill.c:527: error: 'oom_notify_list' undeclared (first use in this function) mm/oom_kill.c:533: error: implicit declaration of function 'panic' mm/oom_kill.c:539: error: 'gfp_mask' undeclared (first use in this function) mm/oom_kill.c:539: warning: passing argument 1 of 'constrained_alloc' from incompatible pointer type CC kernel/itimer.o mm/oom_kill.c:539: error: too many arguments to function 'constrained_alloc' mm/oom_kill.c:540: error: implicit declaration of function 'read_lock' mm/oom_kill.c:540: error: 'tasklist_lock' undeclared (first use in this function) mm/oom_kill.c:543: error: 'CONSTRAINT_MEMORY_POLICY' undeclared (first use in this function) mm/oom_kill.c:544: error: 'current' undeclared (first use in this function) mm/oom_kill.c:544: error: 'NULL' undeclared (first use in this function) mm/oom_kill.c:545: warning: passing argument 4 of 'oom_kill_process' makes pointer from integer without a cast mm/oom_kill.c:545: error: too many arguments to function 'oom_kill_process' mm/oom_kill.c:548: error: 'CONSTRAINT_NONE' undeclared (first use in this function) mm/oom_kill.c:552: error: 'CONSTRAINT_CPUSET' undeclared (first use in this function) mm/oom_kill.c:555: warning: passing argument 4 of 'oom_kill_process' makes pointer from integer without a cast mm/oom_kill.c:555: error: too many arguments to function 'oom_kill_process' mm/oom_kill.c:565: error: implicit declaration of function 'PTR_ERR' mm/oom_kill.c:570: error: implicit declaration of function 'read_unlock' mm/oom_kill.c:575: warning: passing argument 4 of 'oom_kill_process' makes pointer from integer without a cast mm/oom_kill.c:575: error: too many arguments to function 'oom_kill_process' mm/oom_kill.c:588: error: implicit declaration of function 'test_thread_flag' mm/oom_kill.c:588: error: 'TIF_MEMDIE' undeclared (first use in this function) mm/oom_kill.c:589: error: implicit declaration of function 'schedule_timeout_uninterruptible' mm/oom_kill.c:525: warning: unused variable 'constraint' make[1]: *** [mm/oom_kill.o] Error 1make[1]: *** [arch/x86/kernel/i386_ksyms_32.o] Error 1 CC arch/x86/kernel/bootflag.o cc1: error: include/linux/autoconf.h: No such file or directory mm/fadvise.c:10:26: error: linux/kernel.h: No such file or directory mm/fadvise.c:11:24: error: linux/file.h: No such file or directory mm/fadvise.c:12:22: error: linux/fs.h: No such file or directory mm/fadvise.c:13:22: error: linux/mm.h: No such file or directory mm/fadvise.c:14:27: error: linux/pagemap.h: No such file or directory mm/fadvise.c:15:31: error: linux/backing-dev.h: No such file or directory mm/fadvise.c:16:27: error: linux/pagevec.h: No such file or directory mm/fadvise.c:17:27: error: linux/fadvise.h: No such file or directory mm/fadvise.c:18:29: error: linux/writeback.h: No such file or directory mm/fadvise.c:19:28: error: linux/syscalls.h: No such file or directory mm/fadvise.c:21:24: error: asm/unistd.h: No such file or directory mm/fadvise.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' cc1: error: include/linux/autoconf.h: No such file or directory kernel/itimer.c:9:22: error: linux/mm.h: No such file or directory kernel/itimer.c:10:29: error: linux/interrupt.h: No such file or directory kernel/itimer.c:11:28: error: linux/syscalls.h: No such file or directory kernel/itimer.c:12:24: error: linux/time.h: No such file or directory kernel/itimer.c:13:32: error: linux/posix-timers.h: No such file or directory kernel/itimer.c:14:27: error: linux/hrtimer.h: No such file or directory kernel/itimer.c:16:25: error: asm/uaccess.h: No such file or directory kernel/itimer.c:26: warning: 'struct hrtimer' declared inside parameter list kernel/itimer.c:26: warning: its scope is only this definition or declaration, which is probably not what you want kernel/itimer.c:27: error: return type is an incomplete type kernel/itimer.c: In function 'itimer_get_remtime': kernel/itimer.c:28: error: 'ktime_t' undeclared (first use in this function) kernel/itimer.c:28: error: (Each undeclared identifier is reported only once kernel/itimer.c:28: error: for each function it appears in.) kernel/itimer.c:28: error: expected ';' before 'rem' kernel/itimer.c:35: error: implicit declaration of function 'hrtimer_active' kernel/itimer.c:36: error: 'rem' undeclared (first use in this function) kernel/itimer.c:37: error: 'NSEC_PER_USEC' undeclared (first use in this function) kernel/itimer.c:41: error: implicit declaration of function 'ktime_to_timeval' kernel/itimer.c:41: warning: 'return' with a value, in function returning void kernel/itimer.c: At top level: kernel/itimer.c:44: warning: 'struct itimerval' declared inside parameter list kernel/itimer.c: In function 'do_getitimer': kernel/itimer.c:46: error: 'current' undeclared (first use in this function) kernel/itimer.c:47: error: 'cputime_t' undeclared (first use in this function) kernel/itimer.c:47: error: expected ';' before 'cinterval' kernel/itimer.c:50: error: 'ITIMER_REAL' undeclared (first use in this function) kernel/itimer.c:51: error: implicit declaration of function 'spin_lock_irq' kernel/itimer.c:51: error: dereferencing pointer to incomplete type kernel/itimer.c:52: error: dereferencing pointer to incomplete type kernel/itimer.c:52: error: dereferencing pointer to incomplete type kernel/itimer.c:53: error: dereferencing pointer to incomplete type kernel/itimer.c:54: error: dereferencing pointer to incomplete type kernel/itimer.c:55: error: implicit declaration of function 'spin_unlock_irq' kernel/itimer.c:55: error: dereferencing pointer to incomplete type kernel/itimer.c:57: error: 'ITIMER_VIRTUAL' undeclared (first use in this function) kernel/itimer.c:58: error: implicit declaration of function 'read_lock' kernel/itimer.c:58: error: 'tasklist_lock' undeclared (first use in this function) kernel/itimer.c:59: error: dereferencing pointer to incomplete type kernel/itimer.c:60: error: 'cval' undeclared (first use in this function) kernel/itimer.c:60: error: dereferencing pointer to incomplete type kernel/itimer.c:61: error: 'cinterval' undeclared (first use in this function) kernel/itimer.c:61: error: dereferencing pointer to incomplete type kernel/itimer.c:62: error: implicit declaration of function 'cputime_eq' kernel/itimer.c:62: error: 'cputime_zero' undeclared (first use in this function) kernel/itimer.c:64: error: expected ';' before 'utime' kernel/itimer.c:66: error: 'utime' undeclared (first use in this function) kernel/itimer.c:66: error: implicit declaration of function 'cputime_add' kernel/itimer.c:66: error: dereferencing pointer to incomplete type kernel/itimer.c:67: error: implicit declaration of function 'next_thread' kernel/itimer.c:67: warning: assignment makes pointer from integer without a cast kernel/itimer.c:69: error: implicit declaration of function 'cputime_le' kernel/itimer.c:70: error: implicit declaration of function 'jiffies_to_cputime' kernel/itimer.c:72: error: implicit declaration of function 'cputime_sub' kernel/itimer.c:75: error: dereferencing pointer to incomplete type kernel/itimer.c:76: error: implicit declaration of function 'read_unlock' kernel/itimer.c:77: error: implicit declaration of function 'cputime_to_timeval' kernel/itimer.c:77: error: dereferencing pointer to incomplete type kernel/itimer.c:78: error: dereferencing pointer to incomplete type kernel/itimer.c:80: error: 'ITIMER_PROF' undeclared (first use in this function) kernel/itimer.c:82: error: dereferencing pointer to incomplete type kernel/itimer.c:83: error: dereferencing pointer to incomplete type kernel/itimer.c:84: error: dereferencing pointer to incomplete type kernel/itimer.c:87: error: expected ';' before 'ptime' kernel/itimer.c:90: error: 'ptime' undeclared (first use in this function) kernel/itimer.c:91: error: dereferencing pointer to incomplete type kernel/itimer.c:92: error: dereferencing pointer to incomplete type kernel/itimer.c:93: warning: assignment makes pointer from integer without a cast kernel/itimer.c:101: error: dereferencing pointer to incomplete type kernel/itimer.c:103: error: dereferencing pointer to incomplete type kernel/itimer.c:104: error: dereferencing pointer to incomplete type kernel/itimer.c:107: error: 'EINVAL' undeclared (first use in this function) kernel/itimer.c: At top level: kernel/itimer.c:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/itimer.c:130: warning: 'struct hrtimer' declared inside parameter list kernel/itimer.c:131: error: return type is an incomplete type kernel/itimer.c: In function 'it_real_fn': kernel/itimer.c:133: error: implicit declaration of function 'container_of' kernel/itimer.c:133: error: expected expression before 'struct' kernel/itimer.c:133: warning: initialization makes pointer from integer without a cast kernel/itimer.c:135: error: implicit declaration of function 'kill_pid_info' kernel/itimer.c:135: error: 'SIGALRM' undeclared (first use in this function) kernel/itimer.c:135: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/itimer.c:135: error: dereferencing pointer to incomplete type kernel/itimer.c:137: error: 'HRTIMER_NORESTART' undeclared (first use in this function) kernel/itimer.c:137: warning: 'return' with a value, in function returning void kernel/itimer.c: At top level: kernel/itimer.c:146: warning: 'struct itimerval' declared inside parameter list kernel/itimer.c: In function 'do_setitimer': kernel/itimer.c:148: error: 'current' undeclared (first use in this function) kernel/itimer.c:150: error: 'ktime_t' undeclared (first use in this function) kernel/itimer.c:150: error: expected ';' before 'expires' kernel/itimer.c:151: error: 'cputime_t' undeclared (first use in this function) kernel/itimer.c:151: error: expected ';' before 'cval' kernel/itimer.c:156: error: dereferencing pointer to incomplete type kernel/itimer.c:156: error: dereferencing pointer to incomplete type kernel/itimer.c:156: error: 'USEC_PER_SEC' undeclared (first use in this function) kernel/itimer.c:157: error: dereferencing pointer to incomplete type kernel/itimer.c:157: error: dereferencing pointer to incomplete type kernel/itimer.c:158: error: 'EINVAL' undeclared (first use in this function) kernel/itimer.c:161: error: 'ITIMER_REAL' undeclared (first use in this function) kernel/itimer.c:163: error: dereferencing pointer to incomplete type kernel/itimer.c:164: error: dereferencing pointer to incomplete type kernel/itimer.c:166: error: dereferencing pointer to incomplete type kernel/itimer.c:166: warning: passing argument 1 of 'itimer_get_remtime' from incompatible pointer type kernel/itimer.c:167: error: dereferencing pointer to incomplete type kernel/itimer.c:168: error: dereferencing pointer to incomplete type kernel/itimer.c:171: error: implicit declaration of function 'hrtimer_try_to_cancel' kernel/itimer.c:172: error: dereferencing pointer to incomplete type kernel/itimer.c:175: error: 'expires' undeclared (first use in this function) kernel/itimer.c:175: error: implicit declaration of function 'timeval_to_ktime' kernel/itimer.c:175: error: dereferencing pointer to incomplete type kernel/itimer.c:177: error: dereferencing pointer to incomplete type kernel/itimer.c:178: error: dereferencing pointer to incomplete type kernel/itimer.c:179: error: implicit declaration of function 'hrtimer_start' kernel/itimer.c:179: error: 'HRTIMER_MODE_REL' undeclared (first use in this function) kernel/itimer.c:181: error: dereferencing pointer to incomplete type kernel/itimer.c:183: error: dereferencing pointer to incomplete type kernel/itimer.c:185: error: 'ITIMER_VIRTUAL' undeclared (first use in this function) kernel/itimer.c:186: error: 'nval' undeclared (first use in this function) kernel/itimer.c:186: error: implicit declaration of function 'timeval_to_cputime' kernel/itimer.c:186: error: dereferencing pointer to incomplete type kernel/itimer.c:187: error: 'ninterval' undeclared (first use in this function) kernel/itimer.c:187: error: dereferencing pointer to incomplete type kernel/itimer.c:188: error: 'tasklist_lock' undeclared (first use in this function) kernel/itimer.c:189: error: dereferencing pointer to incomplete type kernel/itimer.c:190: error: 'cval' undeclared (first use in this function) kernel/itimer.c:190: error: dereferencing pointer to incomplete type kernel/itimer.c:191: error: 'cinterval' undeclared (first use in this function) kernel/itimer.c:191: error: dereferencing pointer to incomplete type kernel/itimer.c:192: error: 'cputime_zero' undeclared (first use in this function) kernel/itimer.c:194: error: implicit declaration of function 'cputime_gt' kernel/itimer.c:197: error: implicit declaration of function 'set_process_cpu_timer' kernel/itimer.c:197: error: 'CPUCLOCK_VIRT' undeclared (first use in this function) kernel/itimer.c:200: error: dereferencing pointer to incomplete type kernel/itimer.c:201: error: dereferencing pointer to incomplete type kernel/itimer.c:202: error: dereferencing pointer to incomplete type kernel/itimer.c:205: error: dereferencing pointer to incomplete type kernel/itimer.c:206: error: dereferencing pointer to incomplete type kernel/itimer.c:209: error: 'ITIMER_PROF' undeclared (first use in this function) kernel/itimer.c:210: error: dereferencing pointer to incomplete type kernel/itimer.c:211: error: dereferencing pointer to incomplete type kernel/itimer.c:213: error: dereferencing pointer to incomplete type kernel/itimer.c:214: error: dereferencing pointer to incomplete type kernel/itimer.c:215: error: dereferencing pointer to incomplete type kernel/itimer.c:221: error: 'CPUCLOCK_PROF' undeclared (first use in this function) kernel/itimer.c:224: error: dereferencing pointer to incomplete type kernel/itimer.c:225: error: dereferencing pointer to incomplete type kernel/itimer.c:226: error: dereferencing pointer to incomplete type kernel/itimer.c:229: error: dereferencing pointer to incomplete type kernel/itimer.c:230: error: dereferencing pointer to incomplete type kernel/itimer.c: In function 'alarm_setitimer': kernel/itimer.c:253: error: storage size of 'it_new' isn't known kernel/itimer.c:253: error: storage size of 'it_old' isn't known kernel/itimer.c:255:5: warning: "BITS_PER_LONG" is not defined kernel/itimer.c:256: error: 'INT_MAX' undeclared (first use in this function) kernel/itimer.c:263: error: 'ITIMER_REAL' undeclared (first use in this function) kernel/itimer.c:253: warning: unused variable 'it_old' kernel/itimer.c:253: warning: unused variable 'it_new' kernel/itimer.c: At top level: kernel/itimer.c:276: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/bootflag.c:4:25: error: linux/types.h: No such file or directory arch/x86/kernel/bootflag.c:5:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/bootflag.c:6:24: error: linux/init.h: No such file or directory arch/x86/kernel/bootflag.c:7:26: error: linux/string.h: No such file or directory arch/x86/kernel/bootflag.c:8:24: error: linux/slab.h: No such file or directory arch/x86/kernel/bootflag.c:9:28: error: linux/spinlock.h: No such file or directory arch/x86/kernel/bootflag.c:10:24: error: linux/acpi.h: No such file or directory arch/x86/kernel/bootflag.c:11:20: error: asm/io.h: No such file or directory arch/x86/kernel/bootflag.c:13:31: error: linux/mc146818rtc.h: No such file or directory arch/x86/kernel/bootflag.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__initdata' arch/x86/kernel/bootflag.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parity' arch/x86/kernel/bootflag.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sbf_write' arch/x86/kernel/bootflag.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/bootflag.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sbf_value_valid' arch/x86/kernel/bootflag.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sbf_init' arch/x86/kernel/bootflag.c:102: warning: data definition has no type or storage class arch/x86/kernel/bootflag.c:102: warning: type defaults to 'int' in declaration of 'module_init' arch/x86/kernel/bootflag.c:102: warning: parameter names (without types) in function declaration make[1]: *** [kernel/itimer.o] Error 1 make[1]: *** [mm/fadvise.o] Error 1 CC arch/x86/kernel/e820.o TIMEC kernel/timeconst.h cc1: error: include/linux/autoconf.h: No such file or directory make[1]: *** [mm/filemap.o] Error 1 arch/x86/kernel/e820.c:11:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/e820.c:12:25: error: linux/types.h: No such file or directory arch/x86/kernel/e820.c:13:24: error: linux/init.h: No such file or directory arch/x86/kernel/e820.c:14:27: error: linux/bootmem.h: No such file or directory arch/x86/kernel/e820.c:15:26: error: linux/ioport.h: No such file or directory arch/x86/kernel/e820.c:16:26: error: linux/string.h: No such file or directory arch/x86/kernel/e820.c:17:25: error: linux/kexec.h: No such file or directory arch/x86/kernel/e820.c:18:26: error: linux/module.h: No such file or directory arch/x86/kernel/e820.c:19:22: error: linux/mm.h: No such file or directory arch/x86/kernel/e820.c:20:23: error: linux/pfn.h: No such file or directory arch/x86/kernel/e820.c:21:27: error: linux/suspend.h: No such file or directory arch/x86/kernel/e820.c:22:32: error: linux/firmware-map.h: No such file or directory arch/x86/kernel/e820.c:24:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/e820.c:25:22: error: asm/page.h: No such file or directory arch/x86/kernel/e820.c:26:22: error: asm/e820.h: No such file or directory arch/x86/kernel/e820.c:27:23: error: asm/proto.h: No such file or directory arch/x86/kernel/e820.c:28:23: error: asm/setup.h: No such file or directory arch/x86/kernel/e820.c:29:28: error: asm/trampoline.h: No such file or directory arch/x86/kernel/e820.c:59: error: expected ')' before 'start' arch/x86/kernel/e820.c:74: warning: data definition has no type or storage class arch/x86/kernel/e820.c:74: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/x86/kernel/e820.c:74: warning: parameter names (without types) in function declaration arch/x86/kernel/e820.c:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_all_mapped' CC mm/maccess.o arch/x86/kernel/e820.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_add_region' arch/x86/kernel/e820.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_print_map' arch/x86/kernel/e820.c:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sanitize_e820_map' arch/x86/kernel/e820.c:379: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__append_e820_map' make[1]: arch/x86/kernel/e820.c:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'append_e820_map' *** [arch/x86/kernel/bootflag.o] Error 1 arch/x86/kernel/e820.c:417: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:464: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:509: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'update_e820' arch/x86/kernel/e820.c:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'update_e820_saved' arch/x86/kernel/e820.c:533: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/e820.c:574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' arch/x86/kernel/e820.c:614: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parse_e820_ext' CC mm/page_alloc.o arch/x86/kernel/e820.c:671: error: expected specifier-qualifier-list before 'u64' arch/x86/kernel/e820.c:675: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__initdata' arch/x86/kernel/e820.c:696: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_overlapped_early' arch/x86/kernel/e820.c:715: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'drop_range' arch/x86/kernel/e820.c:738: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'drop_overlaps_that_are_ok' arch/x86/kernel/e820.c:795: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__reserve_early' arch/x86/kernel/e820.c:837: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'reserve_early_overlap_ok' arch/x86/kernel/e820.c:851: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'reserve_early' arch/x86/kernel/e820.c:857: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'free_early' arch/x86/kernel/e820.c:871: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'early_res_to_bootmem' arch/x86/kernel/e820.c:900: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_addr' arch/x86/kernel/e820.c:918: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_addr_size' arch/x86/kernel/e820.c:954: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:986: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:1019: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c:1055: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_end_pfn' arch/x86/kernel/e820.c:1089: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_end_of_ram_pfn' arch/x86/kernel/e820.c:1094: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_end_of_low_ram_pfn' arch/x86/kernel/e820.c:1102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_find_active_region' arch/x86/kernel/e820.c:1132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_register_active_regions' arch/x86/kernel/e820.c:1151: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/e820.c: In function 'early_panic': arch/x86/kernel/e820.c:1169: error: implicit declaration of function 'early_printk' arch/x86/kernel/e820.c:1170: error: implicit declaration of function 'panic' arch/x86/kernel/e820.c: At top level: arch/x86/kernel/e820.c:1173: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__initdata' arch/x86/kernel/e820.c:1176: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parse_memopt' arch/x86/kernel/e820.c:1196: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/e820.c:1196: error: expected declaration specifiers or '...' before 'parse_memopt' arch/x86/kernel/e820.c:1196: warning: data definition has no type or storage class arch/x86/kernel/e820.c:1196: warning: type defaults to 'int' in declaration of 'early_param' arch/x86/kernel/e820.c:1196: warning: function declaration isn't a prototype arch/x86/kernel/e820.c:1198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parse_memmap_opt' arch/x86/kernel/e820.c:1240: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/e820.c:1240: error: expected declaration specifiers or '...' before 'parse_memmap_opt' arch/x86/kernel/e820.c:1240: warning: data definition has no type or storage class arch/x86/kernel/e820.c:1240: warning: type defaults to 'int' in declaration of 'early_param' arch/x86/kernel/e820.c:1240: warning: function declaration isn't a prototype arch/x86/kernel/e820.c:1242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'finish_e820_parsing' arch/x86/kernel/e820.c: In function 'e820_type_to_string': arch/x86/kernel/e820.c:1259: error: 'E820_RESERVED_KERN' undeclared (first use in this function) arch/x86/kernel/e820.c:1259: error: (Each undeclared identifier is reported only once arch/x86/kernel/e820.c:1259: error: for each function it appears in.) arch/x86/kernel/e820.c:1260: error: 'E820_RAM' undeclared (first use in this function) arch/x86/kernel/e820.c:1261: error: 'E820_ACPI' undeclared (first use in this function) arch/x86/kernel/e820.c:1262: error: 'E820_NVS' undeclared (first use in this function) arch/x86/kernel/e820.c: At top level: arch/x86/kernel/e820.c:1270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e820_reserve_resources' arch/x86/kernel/e820.c:1302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'default_machine_specific_memory_setup' arch/x86/kernel/e820.c:1340: error: expected ',' or ';' before 'machine_specific_memory_setup' arch/x86/kernel/e820.c:1352: error: expected ',' or ';' before 'memory_setup' arch/x86/kernel/e820.c:1357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_memory_map' make[1]: *** [arch/x86/kernel/e820.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory mm/maccess.c:4:27: error: linux/uaccess.h: No such file or directory mm/maccess.c:5:26: error: linux/module.h: No such file or directory mm/maccess.c:6:22: error: linux/mm.h: No such file or directory mm/maccess.c:17: error: expected declaration specifiers or '...' before 'size_t' mm/maccess.c: In function 'probe_kernel_read': mm/maccess.c:20: error: 'mm_segment_t' undeclared (first use in this function) mm/maccess.c:20: error: (Each undeclared identifier is reported only once mm/maccess.c:20: error: for each function it appears in.) mm/maccess.c:20: error: expected ';' before 'old_fs' mm/maccess.c:22: error: implicit declaration of function 'set_fs' mm/maccess.c:22: error: 'KERNEL_DS' undeclared (first use in this function) mm/maccess.c:23: error: implicit declaration of function 'pagefault_disable' mm/maccess.c:24: error: implicit declaration of function '__copy_from_user_inatomic' mm/maccess.c:25: error: '__force' undeclared (first use in this function) mm/maccess.c:25: error: expected ')' before 'const' mm/maccess.c:25: error: expected ')' before 'src' mm/maccess.c:26: error: implicit declaration of function 'pagefault_enable' mm/maccess.c:27: error: 'old_fs' undeclared (first use in this function) mm/maccess.c:29: error: 'EFAULT' undeclared (first use in this function) mm/maccess.c: At top level: mm/maccess.c:31: warning: data definition has no type or storage class mm/maccess.c:31: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/maccess.c:31: warning: parameter names (without types) in function declaration mm/maccess.c:42: error: expected declaration specifiers or '...' before 'size_t' mm/maccess.c: In function 'probe_kernel_write': mm/maccess.c:45: error: 'mm_segment_t' undeclared (first use in this function) mm/maccess.c:45: error: expected ';' before 'old_fs' mm/maccess.c:47: error: 'KERNEL_DS' undeclared (first use in this function) mm/maccess.c:49: error: implicit declaration of function '__copy_to_user_inatomic' mm/maccess.c:49: error: '__force' undeclared (first use in this function) mm/maccess.c:49: error: expected ')' before 'void' mm/maccess.c:49: error: expected ')' before 'dst' mm/maccess.c:51: error: 'old_fs' undeclared (first use in this function) mm/maccess.c:53: error: 'EFAULT' undeclared (first use in this function) mm/maccess.c: At top level: mm/maccess.c:55: warning: data definition has no type or storage class mm/maccess.c:55: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/maccess.c:55: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory mm/page_alloc.c:17:26: error: linux/stddef.h: No such file or directory mm/page_alloc.c:18:22: error: linux/mm.h: No such file or directory mm/page_alloc.c:19:24: error: linux/swap.h: No such file or directory CC arch/x86/kernel/pci-dma.o mm/page_alloc.c:20:29: error: linux/interrupt.h: No such file or directory mm/page_alloc.c:21:27: error: linux/pagemap.h: No such file or directory mm/page_alloc.c:22:27: error: linux/jiffies.h: No such file or directory mm/page_alloc.c:23:27: error: linux/bootmem.h: No such file or directory mm/page_alloc.c:24:28: error: linux/compiler.h: No such file or directory mm/page_alloc.c:25:26: error: linux/kernel.h: No such file or directory mm/page_alloc.c:26:26: error: linux/module.h: No such file or directory mm/page_alloc.c:27:27: error: linux/suspend.h: No such file or directory mm/page_alloc.c:28:27: error: linux/pagevec.h: No such file or directory mm/page_alloc.c:29:26: error: linux/blkdev.h: No such file or directory mm/page_alloc.c:30:24: error: linux/slab.h: No such file or directory mm/page_alloc.c:31:23: error: linux/oom.h: No such file or directory mm/page_alloc.c:32:28: error: linux/notifier.h: No such file or directory mm/page_alloc.c:33:28: error: linux/topology.h: No such file or directory mm/page_alloc.c:34:26: error: linux/sysctl.h: No such file or directory mm/page_alloc.c:35:23: error: linux/cpu.h: No such file or directory mm/page_alloc.c:36:26: error: linux/cpuset.h: No such file or directory mm/page_alloc.c:37:34: error: linux/memory_hotplug.h: No such file or directory mm/page_alloc.c:38:28: error: linux/nodemask.h: No such file or directory mm/page_alloc.c:39:27: error: linux/vmalloc.h: No such file or directory mm/page_alloc.c:40:29: error: linux/mempolicy.h: No such file or directory mm/page_alloc.c:41:32: error: linux/stop_machine.h: No such file or directory mm/page_alloc.c:42:24: error: linux/sort.h: No such file or directory mm/page_alloc.c:43:23: error: linux/pfn.h: No such file or directory mm/page_alloc.c:44:31: error: linux/backing-dev.h: No such file or directory mm/page_alloc.c:45:32: error: linux/fault-inject.h: No such file or directory mm/page_alloc.c:46:34: error: linux/page-isolation.h: No such file or directory mm/page_alloc.c:47:30: error: linux/memcontrol.h: No such file or directory mm/page_alloc.c:48:32: error: linux/debugobjects.h: No such file or directory mm/page_alloc.c:50:26: error: asm/tlbflush.h: No such file or directory mm/page_alloc.c:51:23: error: asm/div64.h: No such file or directory In file included from mm/page_alloc.c:52: mm/internal.h:16: warning: 'struct page' declared inside parameter list mm/internal.h:16: warning: its scope is only this definition or declaration, which is probably not what you want mm/internal.h: In function 'set_page_count': mm/internal.h:18: error: implicit declaration of function 'atomic_set' mm/internal.h:18: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:25: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'set_page_refcounted': mm/internal.h:27: error: implicit declaration of function 'VM_BUG_ON' mm/internal.h:27: error: implicit declaration of function 'PageTail' mm/internal.h:28: error: implicit declaration of function 'atomic_read' mm/internal.h:28: error: dereferencing pointer to incomplete type mm/internal.h:29: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/internal.h: At top level: mm/internal.h:32: warning: 'struct page' declared inside parameter list mm/internal.h: In function '__put_page': mm/internal.h:34: error: implicit declaration of function 'atomic_dec' mm/internal.h:34: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:37: warning: 'struct page' declared inside parameter list mm/internal.h:44: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'page_order': mm/internal.h:46: error: implicit declaration of function 'PageBuddy' mm/internal.h:47: error: implicit declaration of function 'page_private' mm/page_alloc.c: At top level: mm/page_alloc.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'node_states' mm/page_alloc.c:68: warning: data definition has no type or storage class mm/page_alloc.c:68: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:68: warning: parameter names (without types) in function declaration mm/page_alloc.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/page_alloc.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/page_alloc.c:79: warning: 'struct page' declared inside parameter list mm/page_alloc.c:92: error: 'MAX_NR_ZONES' undeclared here (not in a function) mm/page_alloc.c:105: warning: data definition has no type or storage class mm/page_alloc.c:105: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:105: warning: parameter names (without types) in function declaration mm/page_alloc.c:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nr_kernel_pages' mm/page_alloc.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nr_all_pages' mm/page_alloc.c:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dma_reserve' mm/page_alloc.c:165:5: warning: "MAX_NUMNODES" is not defined mm/page_alloc.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/page_alloc.c:172: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'set_pageblock_migratetype': mm/page_alloc.c:174: error: implicit declaration of function 'set_pageblock_flags_group' mm/page_alloc.c:175: error: 'PB_migrate' undeclared (first use in this function) mm/page_alloc.c:175: error: (Each undeclared identifier is reported only once mm/page_alloc.c:175: error: for each function it appears in.) mm/page_alloc.c:175: error: 'PB_migrate_end' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:218: warning: 'struct page' declared inside parameter list mm/page_alloc.c:218: warning: 'struct zone' declared inside parameter list mm/page_alloc.c:224: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'bad_page': mm/page_alloc.c:226: error: implicit declaration of function 'page_get_page_cgroup' mm/page_alloc.c:226: warning: initialization makes pointer from integer without a cast mm/page_alloc.c:228: error: implicit declaration of function 'printk' mm/page_alloc.c:228: error: 'KERN_EMERG' undeclared (first use in this function) mm/page_alloc.c:228: error: expected ')' before string constant mm/page_alloc.c:234: error: expected ')' before string constant mm/page_alloc.c:235: error: implicit declaration of function 'page_reset_bad_cgroup' mm/page_alloc.c:237: error: expected ')' before string constant mm/page_alloc.c:239: error: implicit declaration of function 'dump_stack' mm/page_alloc.c:240: error: dereferencing pointer to incomplete type mm/page_alloc.c:240: error: 'PAGE_FLAGS_CLEAR_WHEN_BAD' undeclared (first use in this function) mm/page_alloc.c:241: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/page_alloc.c:242: error: implicit declaration of function 'reset_page_mapcount' mm/page_alloc.c:243: error: dereferencing pointer to incomplete type mm/page_alloc.c:243: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:244: error: implicit declaration of function 'add_taint' mm/page_alloc.c:244: error: 'TAINT_BAD_PAGE' undeclared (first use in this function) make[1]: *** [mm/maccess.o] Error 1 CC arch/x86/kernel/quirks.o CC fs/open.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/pci-dma.c:1:31: error: linux/dma-mapping.h: No such file or directory arch/x86/kernel/pci-dma.c:2:24: error: linux/dmar.h: No such file or directory arch/x86/kernel/pci-dma.c:3:27: error: linux/bootmem.h: No such file or directory arch/x86/kernel/pci-dma.c:4:23: error: linux/pci.h: No such file or directory arch/x86/kernel/pci-dma.c:6:23: error: asm/proto.h: No such file or directory arch/x86/kernel/pci-dma.c:7:21: error: asm/dma.h: No such file or directory arch/x86/kernel/pci-dma.c:8:23: error: asm/iommu.h: No such file or directory arch/x86/kernel/pci-dma.c:9:25: error: asm/calgary.h: No such file or directory arch/x86/kernel/pci-dma.c:10:27: error: asm/amd_iommu.h: No such file or directory arch/x86/kernel/pci-dma.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:15: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:15: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:15: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/pci-dma.c:36: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:36: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:36: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_dma_address' arch/x86/kernel/pci-dma.c:39: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:39: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:39: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:44: error: variable 'fallback_dev' has initializer but incomplete type arch/x86/kernel/pci-dma.c:45: error: unknown field 'bus_id' specified in initializer arch/x86/kernel/pci-dma.c:45: warning: excess elements in struct initializer arch/x86/kernel/pci-dma.c:45: warning: (near initialization for 'fallback_dev') arch/x86/kernel/pci-dma.c:46: error: unknown field 'coherent_dma_mask' specified in initializer arch/x86/kernel/pci-dma.c:46: error: 'DMA_32BIT_MASK' undeclared here (not in a function) arch/x86/kernel/pci-dma.c:46: warning: excess elements in struct initializer arch/x86/kernel/pci-dma.c:46: warning: (near initialization for 'fallback_dev') arch/x86/kernel/pci-dma.c:47: error: unknown field 'dma_mask' specified in initializer arch/x86/kernel/pci-dma.c:47: error: invalid use of undefined type 'struct device' arch/x86/kernel/pci-dma.c:47: warning: excess elements in struct initializer arch/x86/kernel/pci-dma.c:47: warning: (near initialization for 'fallback_dev') arch/x86/kernel/pci-dma.c:50: error: expected declaration specifiers or '...' before 'u64' arch/x86/kernel/pci-dma.c: In function 'dma_set_mask': arch/x86/kernel/pci-dma.c:52: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:52: error: implicit declaration of function 'dma_supported' arch/x86/kernel/pci-dma.c:52: error: 'mask' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:52: error: (Each undeclared identifier is reported only once arch/x86/kernel/pci-dma.c:52: error: for each function it appears in.) arch/x86/kernel/pci-dma.c:53: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:55: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c: At top level: arch/x86/kernel/pci-dma.c:59: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:59: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:59: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/pci-dma.c:193: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/pci-dma.c:193: error: expected declaration specifiers or '...' before 'iommu_setup' arch/x86/kernel/pci-dma.c:193: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:193: warning: type defaults to 'int' in declaration of 'early_param' arch/x86/kernel/pci-dma.c:193: warning: function declaration isn't a prototype arch/x86/kernel/pci-dma.c:313: error: expected declaration specifiers or '...' before 'u64' arch/x86/kernel/pci-dma.c: In function 'dma_supported': arch/x86/kernel/pci-dma.c:322: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:323: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:323: error: 'mask' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:328: error: 'DMA_24BIT_MASK' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:343: error: 'iommu_sac_force' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:343: error: 'DMA_40BIT_MASK' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:344: error: implicit declaration of function 'dev_info' arch/x86/kernel/pci-dma.c: At top level: arch/x86/kernel/pci-dma.c:350: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:350: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:350: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct' arch/x86/kernel/pci-dma.c:367: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/pci-dma.c:367: error: expected declaration specifiers or '...' before 'dma_addr_t' arch/x86/kernel/pci-dma.c:368: error: expected declaration specifiers or '...' before 'gfp_t' arch/x86/kernel/pci-dma.c: In function 'dma_alloc_coherent': arch/x86/kernel/pci-dma.c:370: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:373: error: 'dma_addr_t' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:373: error: expected ';' before 'bus' arch/x86/kernel/pci-dma.c:374: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/pci-dma.c:377: error: 'gfp' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:377: error: '__GFP_DMA' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:377: error: '__GFP_HIGHMEM' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:377: error: '__GFP_DMA32' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:384: error: 'GFP_DMA' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:386: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:388: error: 'DMA_24BIT_MASK' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:391: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:411: error: implicit declaration of function 'dma_alloc_pages' arch/x86/kernel/pci-dma.c:412: error: '__GFP_NORETRY' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:412: error: implicit declaration of function 'get_order' arch/x86/kernel/pci-dma.c:412: error: 'size' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:412: warning: assignment makes pointer from integer without a cast arch/x86/kernel/pci-dma.c:418: error: 'bus' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:418: error: implicit declaration of function 'page_to_phys' arch/x86/kernel/pci-dma.c:419: error: implicit declaration of function 'page_address' arch/x86/kernel/pci-dma.c:419: warning: assignment makes pointer from integer without a cast arch/x86/kernel/pci-dma.c:422: error: 'force_iommu' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:425: error: implicit declaration of function 'free_pages' arch/x86/kernel/pci-dma.c:431: error: 'GFP_DMA32' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:438: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:439: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:440: error: 'dma_handle' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:444: error: implicit declaration of function 'memset' arch/x86/kernel/pci-dma.c:451: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:454: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:457: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:458: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:458: error: implicit declaration of function 'virt_to_phys' arch/x86/kernel/pci-dma.c:460: error: 'PCI_DMA_BIDIRECTIONAL' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:461: error: 'bad_dma_address' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:465: error: 'panic_on_overflow' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:466: error: implicit declaration of function 'panic' arch/x86/kernel/pci-dma.c: At top level: arch/x86/kernel/pci-dma.c:471: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:471: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:471: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:477: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/pci-dma.c:478: error: expected declaration specifiers or '...' before 'dma_addr_t' arch/x86/kernel/pci-dma.c: In function 'dma_free_coherent': arch/x86/kernel/pci-dma.c:480: error: 'size' undeclared (first use in this function) arch/x86/kernel/pci-dma.c:481: error: implicit declaration of function 'WARN_ON' arch/x86/kernel/pci-dma.c:481: error: implicit declaration of function 'irqs_disabled' arch/x86/kernel/pci-dma.c:484: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:485: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-dma.c:485: error: 'bus' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/pci-dma.c: At top level: arch/x86/kernel/pci-dma.c:488: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:488: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/pci-dma.c:488: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-dma.c:490: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pci_iommu_init' arch/x86/kernel/pci-dma.c: In function 'pci_iommu_shutdown': arch/x86/kernel/pci-dma.c:506: error: implicit declaration of function 'gart_iommu_shutdown' arch/x86/kernel/pci-dma.c: At top level: arch/x86/kernel/pci-dma.c:509: warning: data definition has no type or storage class arch/x86/kernel/pci-dma.c:509: warning: type defaults to 'int' in declaration of 'fs_initcall' arch/x86/kernel/pci-dma.c:509: warning: parameter names (without types) in function declaration arch/x86/kernel/quirks.c:4:23: error: linux/pci.h: No such file or directory arch/x86/kernel/quirks.c:5:23: error: linux/irq.h: No such file or directory arch/x86/kernel/quirks.c:7:22: error: asm/hpet.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory fs/open.c:7:26: error: linux/string.h: No such file or directory fs/open.c:8:22: error: linux/mm.h: No such file or directory fs/open.c:9:24: error: linux/file.h: No such file or directory fs/open.c:10:27: error: linux/fdtable.h: No such file or directory fs/open.c:11:28: error: linux/quotaops.h: No such file or directory fs/open.c:12:28: error: linux/fsnotify.h: No such file or directory fs/open.c:13:26: error: linux/module.h: No such file or directory fs/open.c:14:24: error: linux/slab.h: No such file or directory fs/open.c:15:23: error: linux/tty.h: No such file or directory fs/open.c:16:25: error: linux/namei.h: No such file or directory fs/open.c:17:31: error: linux/backing-dev.h: No such file or directory fs/open.c:18:30: error: linux/capability.h: No such file or directory fs/open.c:19:30: error: linux/securebits.h: No such file or directory fs/open.c:20:28: error: linux/security.h: No such file or directory fs/open.c:21:25: error: linux/mount.h: No such file or directory fs/open.c:22:23: error: linux/vfs.h: No such file or directory fs/open.c:23:25: error: linux/fcntl.h: No such file or directory fs/open.c:24:25: error: asm/uaccess.h: No such file or directory fs/open.c:25:22: error: linux/fs.h: No such file or directory fs/open.c:26:31: error: linux/personality.h: No such file or directory fs/open.c:27:27: error: linux/pagemap.h: No such file or directory fs/open.c:28:28: error: linux/syscalls.h: No such file or directory fs/open.c:29:28: error: linux/rcupdate.h: No such file or directory fs/open.c:30:25: error: linux/audit.h: No such file or directory fs/open.c:31:26: error: linux/falloc.h: No such file or directory fs/open.c:33: warning: 'struct kstatfs' declared inside parameter list fs/open.c:33: warning: its scope is only this definition or declaration, which is probably not what you want fs/open.c:33: warning: 'struct dentry' declared inside parameter list fs/open.c: In function 'vfs_statfs': fs/open.c:35: error: 'ENODEV' undeclared (first use in this function) fs/open.c:35: error: (Each undeclared identifier is reported only once fs/open.c:35: error: for each function it appears in.) fs/open.c:38: error: 'ENOSYS' undeclared (first use in this function) fs/open.c:39: error: dereferencing pointer to incomplete type fs/open.c:40: error: implicit declaration of function 'memset' fs/open.c:40: error: dereferencing pointer to incomplete type fs/open.c:41: error: implicit declaration of function 'security_sb_statfs' fs/open.c:44: error: dereferencing pointer to incomplete type fs/open.c:45: error: dereferencing pointer to incomplete type fs/open.c:46: error: dereferencing pointer to incomplete type fs/open.c:46: error: dereferencing pointer to incomplete type fs/open.c: At top level: fs/open.c:52: warning: data definition has no type or storage class fs/open.c:52: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:52: warning: parameter names (without types) in function declaration fs/open.c:54: warning: 'struct statfs' declared inside parameter list fs/open.c:54: warning: 'struct dentry' declared inside parameter list fs/open.c: In function 'vfs_statfs_native': fs/open.c:56: error: storage size of 'st' isn't known fs/open.c:59: warning: passing argument 1 of 'vfs_statfs' from incompatible pointer type fs/open.c:63: error: dereferencing pointer to incomplete type fs/open.c:64: error: implicit declaration of function 'memcpy' fs/open.c:66: error: dereferencing pointer to incomplete type fs/open.c:69: error: 'EOVERFLOW' undeclared (first use in this function) fs/open.c:82: error: dereferencing pointer to incomplete type fs/open.c:83: error: dereferencing pointer to incomplete type fs/open.c:84: error: dereferencing pointer to incomplete type fs/open.c:85: error: dereferencing pointer to incomplete type fs/open.c:86: error: dereferencing pointer to incomplete type fs/open.c:87: error: dereferencing pointer to incomplete type fs/open.c:88: error: dereferencing pointer to incomplete type fs/open.c:89: error: dereferencing pointer to incomplete type fs/open.c:90: error: dereferencing pointer to incomplete type fs/open.c:91: error: dereferencing pointer to incomplete type fs/open.c:92: error: dereferencing pointer to incomplete type fs/open.c:92: error: dereferencing pointer to incomplete type fs/open.c:56: warning: unused variable 'st' fs/open.c: At top level: fs/open.c:97: warning: 'struct statfs64' declared inside parameter list fs/open.c:97: warning: 'struct dentry' declared inside parameter list fs/open.c: In function 'vfs_statfs64': fs/open.c:99: error: storage size of 'st' isn't known fs/open.c:102: warning: passing argument 1 of 'vfs_statfs' from incompatible pointer type fs/open.c:106: error: dereferencing pointer to incomplete type fs/open.c:109: error: dereferencing pointer to incomplete type fs/open.c:110: error: dereferencing pointer to incomplete type fs/open.c:111: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:262: warning: 'struct page' declared inside parameter list fs/open.c:112: error: dereferencing pointer to incomplete type fs/open.c:113: error: dereferencing pointer to incomplete type fs/open.c:114: error: dereferencing pointer to incomplete type fs/open.c:115: error: dereferencing pointer to incomplete type fs/open.c:116: error: dereferencing pointer to incomplete type fs/open.c:117: error: dereferencing pointer to incomplete type fs/open.c:118: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function 'free_compound_page': fs/open.c:119: error: dereferencing pointer to incomplete type mm/page_alloc.c:264: error: implicit declaration of function 'compound_order' fs/open.c:119: error: dereferencing pointer to incomplete type fs/open.c:99: warning: unused variable 'st' fs/open.c: At top level: fs/open.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'make[1]: *** [arch/x86/kernel/pci-dma.o] Error 1 fs/open.c:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:199: error: expected declaration specifiers or '...' before 'loff_t' fs/open.c:200: warning: 'struct file' declared inside parameter list fs/open.c:200: warning: 'struct dentry' declared inside parameter list fs/open.c: In function 'do_truncate': fs/open.c:203: error: storage size of 'newattrs' isn't known fs/open.c:206: error: 'length' undeclared (first use in this function) fs/open.c:207: error: 'EINVAL' undeclared (first use in this function) fs/open.c:210: error: 'ATTR_SIZE' undeclared (first use in this function) fs/open.c:213: error: 'ATTR_FILE' undeclared (first use in this function) fs/open.c:217: error: implicit declaration of function 'should_remove_suid' fs/open.c:219: error: implicit declaration of function 'mutex_lock' fs/open.c:219: error: dereferencing pointer to incomplete type fs/open.c:220: error: implicit declaration of function 'notify_change' fs/open.c:221: error: implicit declaration of function 'mutex_unlock' fs/open.c:221: error: dereferencing pointer to incomplete type fs/open.c:203: warning: unused variable 'newattrs' fs/open.c: At top level: fs/open.c:225: error: expected ';', ',' or ')' before '*' token fs/open.c:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:295: error: expected declaration specifiers or '...' before 'loff_t' fs/open.c: In function 'do_sys_ftruncate': fs/open.c:302: error: 'EINVAL' undeclared (first use in this function) fs/open.c:303: error: 'length' undeclared (first use in this function) fs/open.c:305: error: 'EBADF' undeclared (first use in this function) fs/open.c:306: error: implicit declaration of function 'fget' fs/open.c:306: warning: assignment makes pointer from integer without a cast fs/open.c:311: error: dereferencing pointer to incomplete type fs/open.c:311: error: 'O_LARGEFILE' undeclared (first use in this function) fs/open.c:314: error: dereferencing pointer to incomplete type fs/open.c:315: error: dereferencing pointer to incomplete type fs/open.c:317: error: implicit declaration of function 'S_ISREG' fs/open.c:317: error: dereferencing pointer to incomplete type fs/open.c:317: error: dereferencing pointer to incomplete type fs/open.c:317: error: 'FMODE_WRITE' undeclared (first use in this function) fs/open.c:322: error: 'MAX_NON_LFS' undeclared (first use in this function) fs/open.c:325: error: 'EPERM' undeclared (first use in this function) fs/open.c:326: error: implicit declaration of function 'IS_APPEND' fs/open.c:329: error: implicit declaration of function 'locks_verify_truncate' fs/open.c:331: error: 'ATTR_MTIME' undeclared (first use in this function) fs/open.c:331: error: 'ATTR_CTIME' undeclared (first use in this function) fs/open.c:331: warning: passing argument 1 of 'do_truncate' from incompatible pointer type fs/open.c:331: error: too many arguments to function 'do_truncate' fs/open.c:333: error: implicit declaration of function 'fput' fs/open.c: At top level: fs/open.c:338: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:347:5: warning: "BITS_PER_LONG" is not defined fs/open.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:493: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:545: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:570: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:604: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:634: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:639: error: expected declaration specifiers or '...' before 'uid_t' fs/open.c:639: error: expected declaration specifiers or '...' before 'gid_t' fs/open.c:639: warning: 'struct dentry' declared inside parameter list fs/open.c: In function 'chown_common': fs/open.c:641: error: dereferencing pointer to incomplete type fs/open.c:643: error: storage size of 'newattrs' isn't known fs/open.c:645: error: 'ATTR_CTIME' undeclared (first use in this function) fs/open.c:646: error: 'user' undeclared (first use in this function) fs/open.c:646: error: 'uid_t' undeclared (first use in this function) fs/open.c:647: error: 'ATTR_UID' undeclared (first use in this function) fs/open.c:650: error: 'group' undeclared (first use in this function) fs/open.c:650: error: 'gid_t' undeclared (first use in this function) fs/open.c:651: error: 'ATTR_GID' undeclared (first use in this function) fs/open.c:654: error: implicit declaration of function 'S_ISDIR' fs/open.c:654: error: dereferencing pointer to incomplete type fs/open.c:656: error: 'ATTR_KILL_SUID' undeclared (first use in this function) fs/open.c:656: error: 'ATTR_KILL_SGID' undeclared (first use in this function) fs/open.c:656: error: 'ATTR_KILL_PRIV' undeclared (first use in this function) fs/open.c:657: error: dereferencing pointer to incomplete type fs/open.c:659: error: dereferencing pointer to incomplete type fs/open.c:643: warning: unused variable 'newattrs' fs/open.c: At top level: fs/open.c:664: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:683: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:708: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:728: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:758: warning: 'struct vfsmount' declared inside parameter list fs/open.c:758: warning: 'struct inode' declared inside parameter list fs/open.c: In function '__get_file_write_access': fs/open.c:761: error: implicit declaration of function 'get_write_access' fs/open.c:769: error: implicit declaration of function 'special_file' fs/open.c:769: error: dereferencing pointer to incomplete type fs/open.c:773: error: implicit declaration of function 'mnt_want_write' fs/open.c:775: error: implicit declaration of function 'put_write_access' fs/open.c: At top level: fs/open.c:782: warning: 'struct inode' declared inside parameter list fs/open.c:782: warning: 'struct vfsmount' declared inside parameter list fs/open.c:782: warning: 'struct dentry' declared inside parameter list fs/open.c: In function '__dentry_open': fs/open.c:787: error: dereferencing pointer to incomplete type fs/open.c:788: error: dereferencing pointer to incomplete type fs/open.c:788: error: 'O_ACCMODE' undeclared (first use in this function) fs/open.c:788: error: 'FMODE_LSEEK' undeclared (first use in this function) fs/open.c:789: error: 'FMODE_PREAD' undeclared (first use in this function) fs/open.c:789: error: 'FMODE_PWRITE' undeclared (first use in this function) CC mm/page-writeback.o mm/page_alloc.c:264: warning: passing argument 1 of '__free_pages_ok' from incompatible pointer type mm/page_alloc.c: At top level: mm/page_alloc.c:267: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'prep_compound_page': mm/page_alloc.c:272: error: implicit declaration of function 'set_compound_page_dtor' mm/page_alloc.c:273: error: implicit declaration of function 'set_compound_order' mm/page_alloc.c:274: error: implicit declaration of function '__SetPageHead' mm/page_alloc.c:276: error: invalid use of undefined type 'struct page' mm/page_alloc.c:278: error: implicit declaration of function '__SetPageTail' mm/page_alloc.c:279: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:283: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'destroy_compound_page': mm/page_alloc.c:288: error: implicit declaration of function 'unlikely' mm/page_alloc.c:289: warning: passing argument 1 of 'bad_page' from incompatible pointer type mm/page_alloc.c:291: error: implicit declaration of function 'PageHead' mm/page_alloc.c:292: warning: passing argument 1 of 'bad_page' from incompatible pointer type mm/page_alloc.c:293: error: implicit declaration of function '__ClearPageHead' mm/page_alloc.c:295: error: invalid use of undefined type 'struct page' mm/page_alloc.c:298: error: dereferencing pointer to incomplete type mm/page_alloc.c:299: warning: passing argument 1 of 'bad_page' from incompatible pointer type mm/page_alloc.c:300: error: implicit declaration of function '__ClearPageTail' mm/page_alloc.c: At top level: mm/page_alloc.c:304: error: expected declaration specifiers or '...' before 'gfp_t' mm/page_alloc.c:304: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'prep_zero_page': mm/page_alloc.c:312: error: 'gfp_flags' undeclared (first use in this function) mm/page_alloc.c:312: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/page_alloc.c:312: error: implicit declaration of function 'in_interrupt' mm/page_alloc.c:314: error: implicit declaration of function 'clear_highpage' mm/page_alloc.c:314: error: invalid use of undefined type 'struct page' mm/page_alloc.c: At top level: mm/page_alloc.c:317: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'set_page_order': mm/page_alloc.c:319: error: implicit declaration of function 'set_page_private' mm/page_alloc.c:320: error: implicit declaration of function '__SetPageBuddy' mm/page_alloc.c: At top level: mm/page_alloc.c:323: warning: 'struct page' declared inside parameter list mm/page_alloc.c: In function 'rmv_page_order': mm/page_alloc.c:325: error: implicit declaration of function '__ClearPageBuddy' mm/page_alloc.c: In function '__page_find_buddy': mm/page_alloc.c:351: error: invalid use of undefined type 'struct page' mm/page_alloc.c: In function 'page_is_buddy': mm/page_alloc.c:376: error: implicit declaration of function 'pfn_valid_within' mm/page_alloc.c:376: error: implicit declaration of function 'page_to_pfn' mm/page_alloc.c:379: error: implicit declaration of function 'page_zone_id' mm/page_alloc.c:382: warning: passing argument 1 of 'page_order' from incompatible pointer type mm/page_alloc.c:383: error: implicit declaration of function 'BUG_ON' mm/page_alloc.c:383: error: implicit declaration of function 'page_count' mm/page_alloc.c: At top level: mm/page_alloc.c:414: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function '__free_one_page': mm/page_alloc.c:418: error: implicit declaration of function 'get_pageblock_migratetype' mm/page_alloc.c:420: error: implicit declaration of function 'PageCompound' mm/page_alloc.c:421: warning: passing argument 1 of 'destroy_compound_page' from incompatible pointer type mm/page_alloc.c:423: error: 'MAX_ORDER' undeclared (first use in this function) mm/page_alloc.c:426: warning: passing argument 1 of 'bad_range' from incompatible pointer type mm/page_alloc.c:426: warning: passing argument 2 of 'bad_range' from incompatible pointer type mm/page_alloc.c:428: error: implicit declaration of function '__mod_zone_page_state' mm/page_alloc.c:428: error: 'NR_FREE_PAGES' undeclared (first use in this function) mm/page_alloc.c:437: error: implicit declaration of function 'list_del' mm/page_alloc.c:437: error: dereferencing pointer to incomplete type mm/page_alloc.c:438: error: dereferencing pointer to incomplete type mm/page_alloc.c:439: warning: passing argument 1 of 'rmv_page_order' from incompatible pointer type mm/page_alloc.c:441: error: invalid use of undefined type 'struct page' mm/page_alloc.c:445: warning: passing argument 1 of 'set_page_order' from incompatible pointer type mm/page_alloc.c:446: error: implicit declaration of function 'list_add' mm/page_alloc.c:446: error: dereferencing pointer to incomplete type mm/page_alloc.c:447: error: dereferencing pointer to incomplete type mm/page_alloc.c:448: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function 'free_pages_check': mm/page_alloc.c:453: error: implicit declaration of function 'page_mapcount' make[1]: *** [arch/x86/kernel/quirks.o] Error 1 mm/page_alloc.c:454: error: dereferencing pointer to incomplete type mm/page_alloc.c:454: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:457: error: dereferencing pointer to incomplete type mm/page_alloc.c:457: error: 'PAGE_FLAGS_CHECK_AT_FREE' undeclared (first use in this function) mm/page_alloc.c:458: warning: passing argument 1 of 'bad_page' from incompatible pointer type mm/page_alloc.c:459: error: implicit declaration of function 'PageDirty' mm/page_alloc.c:460: error: implicit declaration of function '__ClearPageDirty' mm/page_alloc.c:466: error: implicit declaration of function 'PageReserved' mm/page_alloc.c: At top level: mm/page_alloc.c:481: warning: 'struct list_head' declared inside parameter list mm/page_alloc.c:481: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function 'free_pages_bulk': mm/page_alloc.c:483: error: implicit declaration of function 'spin_lock' mm/page_alloc.c:483: error: dereferencing pointer to incomplete type mm/page_alloc.c:484: error: implicit declaration of function 'zone_clear_flag' mm/page_alloc.c:484: error: 'ZONE_ALL_UNRECLAIMABLE' undeclared (first use in this function) mm/page_alloc.c:485: error: dereferencing pointer to incomplete type mm/page_alloc.c:489: error: implicit declaration of function 'list_empty' mm/page_alloc.c:490: error: implicit declaration of function 'list_entry' mm/page_alloc.c:490: error: dereferencing pointer to incomplete type mm/page_alloc.c:490: error: expected expression before 'struct' mm/page_alloc.c:490: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:492: error: dereferencing pointer to incomplete type mm/page_alloc.c:493: warning: passing argument 2 of '__free_one_page' from incompatible pointer type mm/page_alloc.c:495: error: implicit declaration of function 'spin_unlock' mm/page_alloc.c:495: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:498: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function 'free_one_page': mm/page_alloc.c:500: error: dereferencing pointer to incomplete type mm/page_alloc.c:501: error: 'ZONE_ALL_UNRECLAIMABLE' undeclared (first use in this function) mm/page_alloc.c:502: error: dereferencing pointer to incomplete type mm/page_alloc.c:503: warning: passing argument 2 of '__free_one_page' from incompatible pointer type mm/page_alloc.c:504: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:508: error: conflicting types for '__free_pages_ok' mm/page_alloc.c:79: error: previous declaration of '__free_pages_ok' was here mm/page_alloc.c: In function '__free_pages_ok': mm/page_alloc.c:514: error: invalid use of undefined type 'struct page' mm/page_alloc.c:518: error: implicit declaration of function 'PageHighMem' mm/page_alloc.c:519: error: implicit declaration of function 'debug_check_no_locks_freed' mm/page_alloc.c:519: error: implicit declaration of function 'page_address' mm/page_alloc.c:519: error: 'PAGE_SIZE' undeclared (first use in this function) mm/page_alloc.c:520: error: implicit declaration of function 'debug_check_no_obj_freed' mm/page_alloc.c:523: error: implicit declaration of function 'arch_free_page' mm/page_alloc.c:524: error: implicit declaration of function 'kernel_map_pages' mm/page_alloc.c:526: error: implicit declaration of function 'local_irq_save' mm/page_alloc.c:527: error: implicit declaration of function '__count_vm_events' mm/page_alloc.c:527: error: 'PGFREE' undeclared (first use in this function) mm/page_alloc.c:528: error: implicit declaration of function 'page_zone' mm/page_alloc.c:528: warning: passing argument 1 of 'free_one_page' makes pointer from integer without a cast mm/page_alloc.c:529: error: implicit declaration of function 'local_irq_restore' mm/page_alloc.c: At top level: mm/page_alloc.c:536: error: conflicting types for '__free_pages_bootmem' mm/internal.h:37: error: previous declaration of '__free_pages_bootmem' was here mm/page_alloc.c: In function '__free_pages_bootmem': mm/page_alloc.c:538: error: implicit declaration of function '__ClearPageReserved' mm/page_alloc.c:539: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/page_alloc.c:540: warning: passing argument 1 of 'set_page_refcounted' from incompatible pointer type mm/page_alloc.c:541: error: implicit declaration of function '__free_page' mm/page_alloc.c:545: error: implicit declaration of function 'prefetchw' mm/page_alloc.c:546: error: 'BITS_PER_LONG' undeclared (first use in this function) mm/page_alloc.c:547: error: invalid use of undefined type 'struct page' mm/page_alloc.c:547: error: dereferencing pointer to incomplete type mm/page_alloc.c:550: error: invalid use of undefined type 'struct page' mm/page_alloc.c:552: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/page_alloc.c:555: warning: passing argument 1 of 'set_page_refcounted' from incompatible pointer type mm/page_alloc.c:556: error: implicit declaration of function '__free_pages' fs/open.c:790: error: dereferencing pointer to incomplete type CC arch/x86/kernel/i8237.o mm/page_alloc.c: At top level: mm/page_alloc.c:577: warning: 'struct free_area' declared inside parameter list mm/page_alloc.c:577: warning: 'struct zone' declared inside parameter list fs/open.c:791: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function 'expand': fs/open.c:791: error: 'FMODE_WRITE' undeclared (first use in this function) mm/page_alloc.c:582: error: decrement of pointer to unknown structure mm/page_alloc.c:582: error: arithmetic on pointer to an incomplete type mm/page_alloc.c:585: error: invalid use of undefined type 'struct page' mm/page_alloc.c:585: error: dereferencing pointer to incomplete type mm/page_alloc.c:585: warning: passing argument 1 of 'bad_range' from incompatible pointer type mm/page_alloc.c:586: error: invalid use of undefined type 'struct page' mm/page_alloc.c:586: error: dereferencing pointer to incomplete type mm/page_alloc.c:586: error: dereferencing pointer to incomplete type mm/page_alloc.c:587: error: dereferencing pointer to incomplete type mm/page_alloc.c:588: error: invalid use of undefined type 'struct page' mm/page_alloc.c:588: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:595: error: expected declaration specifiers or '...' before 'gfp_t' mm/page_alloc.c: In function 'prep_new_page': mm/page_alloc.c:598: error: dereferencing pointer to incomplete type mm/page_alloc.c:598: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:601: error: dereferencing pointer to incomplete type mm/page_alloc.c:601: error: 'PAGE_FLAGS_CHECK_AT_PREP' undeclared (first use in this function) mm/page_alloc.c:602: warning: passing argument 1 of 'bad_page' from incompatible pointer type mm/page_alloc.c:611: error: dereferencing pointer to incomplete type mm/page_alloc.c:611: error: 'PG_uptodate' undeclared (first use in this function) mm/page_alloc.c:611: error: 'PG_error' undeclared (first use in this function) mm/page_alloc.c:611: error: 'PG_reclaim' undeclared (first use in this function) mm/page_alloc.c:612: error: 'PG_referenced' undeclared (first use in this function) mm/page_alloc.c:612: error: 'PG_arch_1' undeclared (first use in this function) mm/page_alloc.c:613: error: 'PG_owner_priv_1' undeclared (first use in this function) mm/page_alloc.c:613: error: 'PG_mappedtodisk' undeclared (first use in this function) mm/page_alloc.c:615: warning: passing argument 1 of 'set_page_refcounted' from incompatible pointer type mm/page_alloc.c:617: error: implicit declaration of function 'arch_alloc_page' mm/page_alloc.c:620: error: 'gfp_flags' undeclared (first use in this function) mm/page_alloc.c:620: error: '__GFP_ZERO' undeclared (first use in this function) mm/page_alloc.c:621: warning: passing argument 1 of 'prep_zero_page' from incompatible pointer type mm/page_alloc.c:621: error: too many arguments to function 'prep_zero_page' fs/open.c:792: warning: passing argument 1 of '__get_file_write_access' from incompatible pointer typemm/page_alloc.c:623: error: '__GFP_COMP' undeclared (first use in this function) mm/page_alloc.c:624: warning: passing argument 1 of 'prep_compound_page' from incompatible pointer type fs/open.c:792: warning: passing argument 2 of '__get_file_write_access' from incompatible pointer type mm/page_alloc.c: At top level: mm/page_alloc.c:634: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function '__rmqueue_smallest': mm/page_alloc.c:641: error: 'MAX_ORDER' undeclared (first use in this function) fs/open.c:795: error: dereferencing pointer to incomplete type mm/page_alloc.c:642: error: dereferencing pointer to incomplete type fs/open.c:796: error: implicit declaration of function 'file_take_write' mm/page_alloc.c:643: error: dereferencing pointer to incomplete type fs/open.c:799: error: dereferencing pointer to incomplete type mm/page_alloc.c:646: error: dereferencing pointer to incomplete type fs/open.c:799: error: dereferencing pointer to incomplete type mm/page_alloc.c:647: error: expected expression before 'struct' mm/page_alloc.c:647: warning: assignment makes pointer from integer without a cast fs/open.c:800: error: dereferencing pointer to incomplete type mm/page_alloc.c:648: error: dereferencing pointer to incomplete type fs/open.c:801: error: dereferencing pointer to incomplete type mm/page_alloc.c:649: warning: passing argument 1 of 'rmv_page_order' from incompatible pointer type fs/open.c:802: error: dereferencing pointer to incomplete typemm/page_alloc.c:650: error: dereferencing pointer to incomplete type mm/page_alloc.c:651: error: 'NR_FREE_PAGES' undeclared (first use in this function) fs/open.c:803: error: dereferencing pointer to incomplete type fs/open.c:803: error: implicit declaration of function 'fops_get'mm/page_alloc.c:652: warning: passing argument 1 of 'expand' from incompatible pointer type mm/page_alloc.c:652: warning: passing argument 5 of 'expand' from incompatible pointer type fs/open.c:803: error: dereferencing pointer to incomplete type mm/page_alloc.c:656: error: 'NULL' undeclared (first use in this function) fs/open.c:804: error: implicit declaration of function 'file_move' fs/open.c:804: error: dereferencing pointer to incomplete type fs/open.c:806: error: implicit declaration of function 'security_dentry_open' mm/page_alloc.c: At top level: mm/page_alloc.c:664: error: 'MIGRATE_TYPES' undeclared here (not in a function) fs/open.c:810: error: dereferencing pointer to incomplete type mm/page_alloc.c:665: error: 'MIGRATE_UNMOVABLE' undeclared here (not in a function) fs/open.c:811: error: dereferencing pointer to incomplete type mm/page_alloc.c:665: error: array index in initializer not of integer type mm/page_alloc.c:665: error: (near initialization for 'fallbacks') fs/open.c:813: warning: passing argument 1 of 'open' from incompatible pointer type mm/page_alloc.c:665: error: 'MIGRATE_RECLAIMABLE' undeclared here (not in a function) mm/page_alloc.c:665: error: 'MIGRATE_MOVABLE' undeclared here (not in a function)fs/open.c:818: error: dereferencing pointer to incomplete type fs/open.c:818: error: 'O_CREAT' undeclared (first use in this function)mm/page_alloc.c:665: error: 'MIGRATE_RESERVE' undeclared here (not in a function) mm/page_alloc.c:666: error: array index in initializer not of integer type fs/open.c:818: error: 'O_EXCL' undeclared (first use in this function) mm/page_alloc.c:666: error: (near initialization for 'fallbacks')fs/open.c:818: error: 'O_NOCTTY' undeclared (first use in this function) fs/open.c:818: error: 'O_TRUNC' undeclared (first use in this function) mm/page_alloc.c:667: error: array index in initializer not of integer type fs/open.c:820: error: implicit declaration of function 'file_ra_state_init' mm/page_alloc.c:667: error: (near initialization for 'fallbacks')fs/open.c:820: error: dereferencing pointer to incomplete type fs/open.c:820: error: dereferencing pointer to incomplete type mm/page_alloc.c:668: error: array index in initializer not of integer type fs/open.c:823: error: dereferencing pointer to incomplete type mm/page_alloc.c:668: error: (near initialization for 'fallbacks') fs/open.c:823: error: 'O_DIRECT' undeclared (first use in this function) fs/open.c:824: error: dereferencing pointer to incomplete type mm/page_alloc.c:678: warning: 'struct zone' declared inside parameter listfs/open.c:825: error: dereferencing pointer to incomplete type fs/open.c:826: error: dereferencing pointer to incomplete type fs/open.c:828: error: implicit declaration of function 'ERR_PTR' fs/open.c:828: error: 'EINVAL' undeclared (first use in this function) fs/open.c:828: warning: assignment makes pointer from integer without a cast mm/page_alloc.c: In function 'move_freepages': mm/page_alloc.c:697: error: increment of pointer to unknown structure mm/page_alloc.c:697: error: arithmetic on pointer to an incomplete type fs/open.c:835: error: implicit declaration of function 'fops_put' mm/page_alloc.c:702: error: increment of pointer to unknown structure fs/open.c:835: error: dereferencing pointer to incomplete type mm/page_alloc.c:702: error: arithmetic on pointer to an incomplete type fs/open.c:836: error: dereferencing pointer to incomplete type mm/page_alloc.c:706: warning: passing argument 1 of 'page_order' from incompatible pointer type fs/open.c:838: error: dereferencing pointer to incomplete type mm/page_alloc.c:707: error: dereferencing pointer to incomplete type fs/open.c:845: error: implicit declaration of function 'file_reset_write' mm/page_alloc.c:708: error: dereferencing pointer to incomplete type fs/open.c:846: error: implicit declaration of function 'mnt_drop_write' mm/page_alloc.c:709: error: dereferencing pointer to incomplete type fs/open.c:849: error: implicit declaration of function 'file_kill' mm/page_alloc.c:710: error: invalid use of undefined type 'struct page' fs/open.c:850: error: dereferencing pointer to incomplete type fs/open.c:850: error: 'NULL' undeclared (first use in this function) fs/open.c:851: error: dereferencing pointer to incomplete type fs/open.c:853: error: implicit declaration of function 'put_filp' fs/open.c:854: error: implicit declaration of function 'dput' fs/open.c:855: error: implicit declaration of function 'mntput' mm/page_alloc.c: At top level: fs/open.c:856: warning: return makes pointer from integer without a cast mm/page_alloc.c:717: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function 'move_freepages_block': mm/page_alloc.c:723: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page_alloc.c:724: error: implicit declaration of function 'pfn_to_page' mm/page_alloc.c:724: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:729: error: dereferencing pointer to incomplete type mm/page_alloc.c:731: error: dereferencing pointer to incomplete type mm/page_alloc.c:731: error: dereferencing pointer to incomplete type mm/page_alloc.c:734: warning: passing argument 1 of 'move_freepages' from incompatible pointer type fs/open.c: At top level: fs/open.c:879: warning: 'struct inode' declared inside parameter list mm/page_alloc.c: At top level: fs/open.c:879: warning: 'struct dentry' declared inside parameter list mm/page_alloc.c:739: warning: 'struct zone' declared inside parameter list fs/open.c:879: warning: 'struct nameidata' declared inside parameter list mm/page_alloc.c: In function '__rmqueue_fallback': mm/page_alloc.c:747: error: 'MAX_ORDER' undeclared (first use in this function) fs/open.c: In function 'lookup_instantiate_filp': fs/open.c:881: error: implicit declaration of function 'IS_ERR' mm/page_alloc.c:756: error: dereferencing pointer to incomplete type fs/open.c:881: error: dereferencing pointer to incomplete typemm/page_alloc.c:757: error: dereferencing pointer to incomplete type mm/page_alloc.c:760: error: dereferencing pointer to incomplete type mm/page_alloc.c:761: error: expected expression before 'struct' fs/open.c:885: error: dereferencing pointer to incomplete typemm/page_alloc.c:761: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:762: error: dereferencing pointer to incomplete type fs/open.c:885: error: implicit declaration of function 'dget' mm/page_alloc.c:770: error: 'pageblock_order' undeclared (first use in this function) fs/open.c:885: error: implicit declaration of function 'mntget' fs/open.c:885: error: dereferencing pointer to incomplete type mm/page_alloc.c:774: warning: passing argument 1 of 'move_freepages_block' from incompatible pointer type fs/open.c:886: error: dereferencing pointer to incomplete type mm/page_alloc.c:779: warning: passing argument 1 of 'set_pageblock_migratetype' from incompatible pointer type fs/open.c:887: error: dereferencing pointer to incomplete type mm/page_alloc.c:785: error: dereferencing pointer to incomplete type fs/open.c:888: warning: passing argument 1 of '__dentry_open' makes pointer from integer without a cast mm/page_alloc.c:786: warning: passing argument 1 of 'rmv_page_order' from incompatible pointer type fs/open.c:888: warning: passing argument 2 of '__dentry_open' makes pointer from integer without a cast mm/page_alloc.c:787: error: 'NR_FREE_PAGES' undeclared (first use in this function) fs/open.c:888: warning: passing argument 5 of '__dentry_open' from incompatible pointer type mm/page_alloc.c:792: warning: passing argument 1 of 'set_pageblock_migratetype' from incompatible pointer type fs/open.c:890: error: dereferencing pointer to incomplete type mm/page_alloc.c:794: warning: passing argument 1 of 'expand' from incompatible pointer type fs/open.c:892: error: implicit declaration of function 'release_open_intent' mm/page_alloc.c:794: warning: passing argument 5 of 'expand' from incompatible pointer type fs/open.c:893: error: dereferencing pointer to incomplete type mm/page_alloc.c:800: warning: passing argument 1 of '__rmqueue_smallest' from incompatible pointer type fs/open.c: At top level: fs/open.c:896: warning: data definition has no type or storage class fs/open.c:896: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/open.c:896: warning: parameter names (without types) in function declaration fs/open.c:905: warning: 'struct nameidata' declared inside parameter list mm/page_alloc.c: At top level: mm/page_alloc.c:808: warning: 'struct zone' declared inside parameter list fs/open.c: In function 'nameidata_to_filp': fs/open.c:910: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function '__rmqueue': fs/open.c:912: error: dereferencing pointer to incomplete type mm/page_alloc.c:812: warning: passing argument 1 of '__rmqueue_smallest' from incompatible pointer typefs/open.c:912: error: 'NULL' undeclared (first use in this function) fs/open.c:913: error: dereferencing pointer to incomplete type fs/open.c:913: error: dereferencing pointer to incomplete type mm/page_alloc.c:815: warning: passing argument 1 of '__rmqueue_fallback' from incompatible pointer type fs/open.c:916: error: implicit declaration of function 'path_put' fs/open.c:916: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level:fs/open.c: At top level: fs/open.c:924: warning: 'struct vfsmount' declared inside parameter list mm/page_alloc.c:827: warning: 'struct list_head' declared inside parameter list fs/open.c:924: warning: 'struct dentry' declared inside parameter list mm/page_alloc.c:827: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function 'rmqueue_bulk': fs/open.c: In function 'dentry_open': mm/page_alloc.c:831: error: dereferencing pointer to incomplete type fs/open.c:936: error: implicit declaration of function 'printk' mm/page_alloc.c:833: warning: passing argument 1 of '__rmqueue' from incompatible pointer type fs/open.c:936: error: 'KERN_WARNING' undeclared (first use in this function) mm/page_alloc.c:834: error: 'NULL' undeclared (first use in this function) fs/open.c:936: error: expected ')' before string constant mm/page_alloc.c:846: error: dereferencing pointer to incomplete type fs/open.c:937: error: implicit declaration of function 'dump_stack' mm/page_alloc.c:848: error: dereferencing pointer to incomplete type fs/open.c:938: error: 'EINVAL' undeclared (first use in this function) mm/page_alloc.c:850: error: dereferencing pointer to incomplete type fs/open.c:938: warning: return makes pointer from integer without a cast fs/open.c:941: error: 'ENFILE' undeclared (first use in this function) fs/open.c:942: error: implicit declaration of function 'get_empty_filp' fs/open.c:942: warning: assignment makes pointer from integer without a cast fs/open.c:943: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c: In function 'drain_pages': fs/open.c:946: warning: return makes pointer from integer without a cast mm/page_alloc.c:891: error: implicit declaration of function 'for_each_zone' fs/open.c:949: warning: passing argument 1 of '__dentry_open' from incompatible pointer type mm/page_alloc.c:891: error: expected ';' before '{' token fs/open.c:949: warning: passing argument 2 of '__dentry_open' from incompatible pointer type mm/page_alloc.c:888: warning: unused variable 'flags' fs/open.c: At top level: mm/page_alloc.c: In function 'drain_local_pages': fs/open.c:951: warning: data definition has no type or storage class mm/page_alloc.c:913: error: implicit declaration of function 'smp_processor_id' fs/open.c:951: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:951: warning: parameter names (without types) in function declaration mm/page_alloc.c: In function 'drain_all_pages': fs/open.c: In function 'get_unused_fd_flags': mm/page_alloc.c:921: error: implicit declaration of function 'on_each_cpu' fs/open.c:958: error: 'current' undeclared (first use in this function) mm/page_alloc.c:921: error: 'NULL' undeclared (first use in this function) fs/open.c:962: error: 'EMFILE' undeclared (first use in this function) fs/open.c:963: error: implicit declaration of function 'spin_lock' fs/open.c:963: error: dereferencing pointer to incomplete type fs/open.c:966: error: implicit declaration of function 'files_fdtable' mm/page_alloc.c: In function 'free_hot_cold_page': fs/open.c:966: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:965: warning: initialization makes pointer from integer without a cast fs/open.c:967: error: implicit declaration of function 'find_next_zero_bit' fs/open.c:967: error: dereferencing pointer to incomplete type mm/page_alloc.c:969: error: implicit declaration of function 'PageAnon' fs/open.c:967: error: dereferencing pointer to incomplete type mm/page_alloc.c:970: error: dereferencing pointer to incomplete type fs/open.c:968: error: dereferencing pointer to incomplete type mm/page_alloc.c:970: error: 'NULL' undeclared (first use in this function) fs/open.c:974: error: 'RLIMIT_NOFILE' undeclared (first use in this function) mm/page_alloc.c:975: error: 'PAGE_SIZE' undeclared (first use in this function) fs/open.c:978: error: implicit declaration of function 'expand_files' mm/page_alloc.c:981: error: implicit declaration of function 'zone_pcp' mm/page_alloc.c:981: error: implicit declaration of function 'get_cpu' mm/page_alloc.c:981: error: invalid type argument of '->' fs/open.c:991: error: implicit declaration of function 'FD_SET'mm/page_alloc.c:983: error: implicit declaration of function '__count_vm_event' mm/page_alloc.c:983: error: 'PGFREE' undeclared (first use in this function) fs/open.c:991: error: dereferencing pointer to incomplete type mm/page_alloc.c:985: error: implicit declaration of function 'list_add_tail' fs/open.c:992: error: 'O_CLOEXEC' undeclared (first use in this function) mm/page_alloc.c:985: error: dereferencing pointer to incomplete type fs/open.c:993: error: dereferencing pointer to incomplete type mm/page_alloc.c:985: error: dereferencing pointer to incomplete type fs/open.c:995: error: implicit declaration of function 'FD_CLR' mm/page_alloc.c:987: error: dereferencing pointer to incomplete type fs/open.c:995: error: dereferencing pointer to incomplete type mm/page_alloc.c:987: error: dereferencing pointer to incomplete type fs/open.c:996: error: dereferencing pointer to incomplete type mm/page_alloc.c:989: error: dereferencing pointer to incomplete type mm/page_alloc.c:990: error: dereferencing pointer to incomplete type fs/open.c:999: error: dereferencing pointer to incomplete type mm/page_alloc.c:990: error: dereferencing pointer to incomplete typefs/open.c:999: error: 'NULL' undeclared (first use in this function) fs/open.c:1000: error: 'KERN_WARNING' undeclared (first use in this function) mm/page_alloc.c:991: error: dereferencing pointer to incomplete type fs/open.c:1000: error: expected ')' before string constant mm/page_alloc.c:991: error: dereferencing pointer to incomplete type fs/open.c:1001: error: dereferencing pointer to incomplete type mm/page_alloc.c:991: warning: passing argument 1 of 'free_pages_bulk' from incompatible pointer type fs/open.c:1007: error: implicit declaration of function 'spin_unlock' mm/page_alloc.c:992: error: dereferencing pointer to incomplete type fs/open.c:1007: error: dereferencing pointer to incomplete type mm/page_alloc.c:992: error: dereferencing pointer to incomplete type mm/page_alloc.c:995: error: implicit declaration of function 'put_cpu' fs/open.c: At top level: fs/open.c:1016: warning: data definition has no type or storage class fs/open.c:1016: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:1016: warning: parameter names (without types) in function declaration fs/open.c:1018: warning: 'struct files_struct' declared inside parameter list fs/open.c: In function '__put_unused_fd': fs/open.c:1020: warning: initialization makes pointer from integer without a cast mm/page_alloc.c: In function 'split_page':fs/open.c:1021: error: implicit declaration of function '__FD_CLR' fs/open.c:1021: error: dereferencing pointer to incomplete type mm/page_alloc.c:1023: error: invalid use of undefined type 'struct page' fs/open.c:1022: error: dereferencing pointer to incomplete type mm/page_alloc.c:1023: warning: passing argument 1 of 'set_page_refcounted' from incompatible pointer typefs/open.c:1023: error: dereferencing pointer to incomplete type fs/open.c: In function 'put_unused_fd': fs/open.c:1028: error: 'current' undeclared (first use in this function) fs/open.c:1029: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:1032: error: expected declaration specifiers or '...' before 'gfp_t' fs/open.c:1030: warning: passing argument 1 of '__put_unused_fd' from incompatible pointer type mm/page_alloc.c:1032: warning: 'struct zone' declared inside parameter list fs/open.c:1031: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function 'buffered_rmqueue': mm/page_alloc.c:1036: error: 'gfp_flags' undeclared (first use in this function) mm/page_alloc.c:1036: error: '__GFP_COLD' undeclared (first use in this function) fs/open.c: At top level: fs/open.c:1034: warning: data definition has no type or storage class mm/page_alloc.c:1038: error: implicit declaration of function 'allocflags_to_migratetype' fs/open.c:1034: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:1034: warning: parameter names (without types) in function declaration mm/page_alloc.c:1042: error: implicit declaration of function 'likely' fs/open.c: In function 'fd_install': mm/page_alloc.c:1045: error: invalid type argument of '->' fs/open.c:1051: error: 'current' undeclared (first use in this function) mm/page_alloc.c:1047: error: dereferencing pointer to incomplete type fs/open.c:1053: error: dereferencing pointer to incomplete type mm/page_alloc.c:1048: error: dereferencing pointer to incomplete type fs/open.c:1054: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:1049: error: dereferencing pointer to incomplete type fs/open.c:1055: error: implicit declaration of function 'BUG_ON' mm/page_alloc.c:1049: error: dereferencing pointer to incomplete typefs/open.c:1055: error: dereferencing pointer to incomplete type fs/open.c:1055: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:1049: warning: passing argument 1 of 'rmqueue_bulk' from incompatible pointer type fs/open.c:1056: error: implicit declaration of function 'rcu_assign_pointer' mm/page_alloc.c:1050: error: dereferencing pointer to incomplete type fs/open.c:1056: error: dereferencing pointer to incomplete type mm/page_alloc.c:1056: error: implicit declaration of function 'list_for_each_entry_reverse' fs/open.c:1057: error: dereferencing pointer to incomplete type mm/page_alloc.c:1056: error: dereferencing pointer to incomplete type mm/page_alloc.c:1056: error: 'lru' undeclared (first use in this function) fs/open.c: At top level: mm/page_alloc.c:1057: error: expected ';' before 'if' fs/open.c:1060: warning: data definition has no type or storage class mm/page_alloc.c:1060: error: implicit declaration of function 'list_for_each_entry' fs/open.c:1060: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1060: error: dereferencing pointer to incomplete type fs/open.c:1060: warning: parameter names (without types) in function declaration mm/page_alloc.c:1061: error: expected ';' before 'if' fs/open.c:1062: error: expected ';', ',' or ')' before '*' token mm/page_alloc.c:1066: error: dereferencing pointer to incomplete type mm/page_alloc.c:1066: error: dereferencing pointer to incomplete type fs/open.c:1084: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/page_alloc.c:1067: error: dereferencing pointer to incomplete type fs/open.c:1097: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/page_alloc.c:1068: error: dereferencing pointer to incomplete type mm/page_alloc.c:1068: error: dereferencing pointer to incomplete type fs/open.c:1117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'mm/page_alloc.c:1068: warning: passing argument 1 of 'rmqueue_bulk' from incompatible pointer type mm/page_alloc.c:1069: error: dereferencing pointer to incomplete type mm/page_alloc.c:1069: error: expected expression before 'struct' fs/open.c:1128: error: expected declaration specifiers or '...' before 'fl_owner_t' mm/page_alloc.c:1069: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:1072: error: dereferencing pointer to incomplete type fs/open.c: In function 'filp_close':mm/page_alloc.c:1073: error: dereferencing pointer to incomplete type fs/open.c:1132: error: implicit declaration of function 'file_count' mm/page_alloc.c:1075: error: implicit declaration of function 'spin_lock_irqsave' mm/page_alloc.c:1075: error: dereferencing pointer to incomplete type fs/open.c:1133: error: 'KERN_ERR' undeclared (first use in this function) mm/page_alloc.c:1076: warning: passing argument 1 of '__rmqueue' from incompatible pointer type fs/open.c:1133: error: expected ')' before string constant mm/page_alloc.c:1077: error: dereferencing pointer to incomplete type fs/open.c:1137: error: dereferencing pointer to incomplete type mm/page_alloc.c:1082: error: implicit declaration of function '__count_zone_vm_events' fs/open.c:1137: error: dereferencing pointer to incomplete type mm/page_alloc.c:1082: error: 'PGALLOC' undeclared (first use in this function) fs/open.c:1138: error: dereferencing pointer to incomplete type mm/page_alloc.c:1083: error: implicit declaration of function 'zone_statistics'fs/open.c:1138: error: 'id' undeclared (first use in this function) fs/open.c:1140: error: implicit declaration of function 'dnotify_flush' mm/page_alloc.c:1087: warning: passing argument 1 of 'bad_range' from incompatible pointer type fs/open.c:1141: error: implicit declaration of function 'locks_remove_posix' mm/page_alloc.c:1087: warning: passing argument 2 of 'bad_range' from incompatible pointer type mm/page_alloc.c:1088: error: too many arguments to function 'prep_new_page' fs/open.c: At top level: fs/open.c:1146: warning: data definition has no type or storage classmm/page_alloc.c:1095: error: 'NULL' undeclared (first use in this function) fs/open.c:1146: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:1146: warning: parameter names (without types) in function declaration fs/open.c:1153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/open.c:1187: warning: data definition has no type or storage class fs/open.c:1187: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:1187: warning: parameter names (without types) in function declaration fs/open.c:1193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/page_alloc.c: At top level: mm/page_alloc.c:1194: error: expected ')' before 'gfp_mask' fs/open.c:1209: warning: 'struct inode' declared inside parameter list fs/open.c: In function 'generic_file_open': mm/page_alloc.c:1206: warning: 'struct zone' declared inside parameter list fs/open.c:1211: error: dereferencing pointer to incomplete type fs/open.c:1211: error: 'O_LARGEFILE' undeclared (first use in this function) mm/page_alloc.c: In function 'zone_watermark_ok': fs/open.c:1211: error: implicit declaration of function 'i_size_read' mm/page_alloc.c:1210: error: implicit declaration of function 'zone_page_state' fs/open.c:1211: error: 'MAX_NON_LFS' undeclared (first use in this function) mm/page_alloc.c:1210: error: 'NR_FREE_PAGES' undeclared (first use in this function) fs/open.c:1212: error: 'EOVERFLOW' undeclared (first use in this function) fs/open.c: At top level: fs/open.c:1216: warning: data definition has no type or storage class fs/open.c:1216: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1218: error: dereferencing pointer to incomplete type fs/open.c:1216: warning: parameter names (without types) in function declaration mm/page_alloc.c:1222: error: dereferencing pointer to incomplete type fs/open.c:1222: warning: 'struct inode' declared inside parameter list fs/open.c: In function 'nonseekable_open': fs/open.c:1224: error: dereferencing pointer to incomplete type fs/open.c:1224: error: 'FMODE_LSEEK' undeclared (first use in this function) fs/open.c:1224: error: 'FMODE_PREAD' undeclared (first use in this function) fs/open.c:1224: error: 'FMODE_PWRITE' undeclared (first use in this function) fs/open.c: At top level: fs/open.c:1228: warning: data definition has no type or storage class fs/open.c:1228: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/open.c:1228: warning: parameter names (without types) in function declaration mm/page_alloc.c: At top level: mm/page_alloc.c:1337: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token make[1]: *** [fs/open.o] Error 1 mm/page_alloc.c:1343: error: expected declaration specifiers or '...' before 'nodemask_t' mm/page_alloc.c:1343: warning: 'struct zoneref' declared inside parameter list mm/page_alloc.c:1343: warning: 'struct zonelist' declared inside parameter list mm/page_alloc.c:1348: warning: 'struct zoneref' declared inside parameter list mm/page_alloc.c:1348: warning: 'struct zonelist' declared inside parameter list mm/page_alloc.c:1358: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1433: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1637: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1644: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1650: warning: data definition has no type or storage class mm/page_alloc.c:1650: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1650: warning: parameter names (without types) in function declaration mm/page_alloc.c:1655: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1664: warning: data definition has no type or storage class mm/page_alloc.c:1664: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1664: warning: parameter names (without types) in function declaration mm/page_alloc.c:1666: error: expected ')' before 'gfp_mask' mm/page_alloc.c:1682: warning: data definition has no type or storage class mm/page_alloc.c:1682: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1682: warning: parameter names (without types) in function declaration mm/page_alloc.c:1684: warning: 'struct pagevec' declared inside parameter list mm/page_alloc.c: In function '__pagevec_free': mm/page_alloc.c:1686: error: implicit declaration of function 'pagevec_count' mm/page_alloc.c:1689: error: dereferencing pointer to incomplete type mm/page_alloc.c:1689: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:1693: warning: conflicting types for '__free_pages' mm/page_alloc.c:556: warning: previous implicit declaration of '__free_pages' was here mm/page_alloc.c: In function '__free_pages': mm/page_alloc.c:1694: error: implicit declaration of function 'put_page_testzero' mm/page_alloc.c: At top level: mm/page_alloc.c:1702: warning: data definition has no type or storage class mm/page_alloc.c:1702: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1702: warning: parameter names (without types) in function declaration mm/page_alloc.c: In function 'free_pages': mm/page_alloc.c:1707: error: implicit declaration of function 'virt_addr_valid' mm/page_alloc.c:1708: error: implicit declaration of function 'virt_to_page' mm/page_alloc.c:1708: warning: passing argument 1 of '__free_pages' makes pointer from integer without a cast mm/page_alloc.c: At top level: mm/page_alloc.c:1712: warning: data definition has no type or storage class mm/page_alloc.c:1712: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1712: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory mm/page_alloc.c: In function 'nr_free_zone_pages': mm/page_alloc.c:1722: error: implicit declaration of function 'node_zonelist' mm/page_alloc.c:1722: error: implicit declaration of function 'numa_node_id' mm/page_alloc.c:1722: error: 'GFP_KERNEL' undeclared (first use in this function) mm/page_alloc.c:1722: warning: initialization makes pointer from integer without a cast mm/page_alloc.c:1724: error: implicit declaration of function 'for_each_zone_zonelist' mm/page_alloc.c:1724: error: expected ';' before '{' token mm/page_alloc.c:1720: warning: unused variable 'sum' mm/page_alloc.c: In function 'nr_free_buffer_pages': mm/page_alloc.c:1739: error: implicit declaration of function 'gfp_zone' mm/page_alloc.c:1739: error: 'GFP_USER' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:1741: warning: data definition has no type or storage class mm/page_alloc.c:1741: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/page_alloc.c:1741: warning: parameter names (without types) in function declaration mm/page_alloc.c: In function 'nr_free_pagecache_pages': mm/page_alloc.c:1748: error: 'GFP_HIGHUSER_MOVABLE' undeclared (first use in this function) mm/page-writeback.c:14:26: error: linux/kernel.h: No such file or directory mm/page-writeback.c:15:26: error: linux/module.h: No such file or directory mm/page-writeback.c:16:28: error: linux/spinlock.h: No such file or directory mm/page-writeback.c:17:22: error: linux/fs.h: No such file or directory mm/page-writeback.c:18:22: error: linux/mm.h: No such file or directory mm/page-writeback.c:19:24: error: linux/swap.h: No such file or directory mm/page-writeback.c:20:24: error: linux/slab.h: No such file or directory mm/page-writeback.c:21:27: error: linux/pagemap.h: No such file or directory mm/page-writeback.c:22:29: error: linux/writeback.h: No such file or directory mm/page-writeback.c:23:24: error: linux/init.h: No such file or directory mm/page-writeback.c:24:31: error: linux/backing-dev.h: No such file or directory mm/page-writeback.c:25:42: error: linux/task_io_accounting_ops.h: No such file or directory mm/page-writeback.c:26:26: error: linux/blkdev.h: No such file or directory mm/page-writeback.c:27:25: error: linux/mpage.h: No such file or directory mm/page-writeback.c:28:24: error: linux/rmap.h: No such file or directory mm/page-writeback.c:29:26: error: linux/percpu.h: No such file or directory mm/page-writeback.c:30:28: error: linux/notifier.h: No such file or directory mm/page-writeback.c:31:23: error: linux/smp.h: No such file or directory mm/page-writeback.c:32:26: error: linux/sysctl.h: No such file or directory mm/page-writeback.c:33:23: error: linux/cpu.h: No such file or directory mm/page-writeback.c:34:28: error: linux/syscalls.h: No such file or directory mm/page-writeback.c:35:31: error: linux/buffer_head.h: No such file or directory mm/page-writeback.c:36:27: error: linux/pagevec.h: No such file or directory mm/page-writeback.c:85: error: 'HZ' undeclared here (not in a function) mm/page-writeback.c:103: warning: data definition has no type or storage class mm/page-writeback.c:103: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:103: warning: parameter names (without types) in function declaration mm/page-writeback.c: In function 'calc_period_shift': mm/page-writeback.c:138: error: implicit declaration of function 'determine_dirtyable_memory' mm/page-writeback.c:139: error: implicit declaration of function 'ilog2' mm/page-writeback.c: At top level: mm/page-writeback.c:146: error: expected ';', ',' or ')' before '*' token mm/page-writeback.c:163: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c:163: warning: its scope is only this definition or declaration, which is probably not what you want mm/page-writeback.c: In function '__bdi_writeout_inc': mm/page-writeback.c:165: error: implicit declaration of function '__prop_inc_percpu_max' mm/page-writeback.c:165: error: dereferencing pointer to incomplete type mm/page-writeback.c:166: error: dereferencing pointer to incomplete type mm/page-writeback.c: At top level: mm/page-writeback.c:169: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c: In function 'bdi_writeout_inc': mm/page-writeback.c:173: error: implicit declaration of function 'local_irq_save' mm/page-writeback.c:174: warning: passing argument 1 of '__bdi_writeout_inc' from incompatible pointer type mm/page-writeback.c:175: error: implicit declaration of function 'local_irq_restore' mm/page-writeback.c: At top level: mm/page-writeback.c:177: warning: data definition has no type or storage class mm/page-writeback.c:177: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/page-writeback.c:177: warning: parameter names (without types) in function declaration mm/page-writeback.c:179: warning: 'struct task_struct' declared inside parameter list mm/page-writeback.c: In function 'task_dirty_inc': mm/page-writeback.c:181: error: implicit declaration of function 'prop_inc_single' mm/page-writeback.c:181: error: dereferencing pointer to incomplete type mm/page-writeback.c: At top level: mm/page-writeback.c:188: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c: In function 'bdi_writeout_fraction': mm/page-writeback.c:190: error: implicit declaration of function 'bdi_cap_writeback_dirty' mm/page-writeback.c:191: error: implicit declaration of function 'prop_fraction_percpu' mm/page-writeback.c:191: error: dereferencing pointer to incomplete type mm/page-writeback.c: At top level: mm/page-writeback.c:205: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c: In function 'clip_bdi_dirty_limit': mm/page-writeback.c:210: error: implicit declaration of function 'global_page_state' mm/page-writeback.c:210: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:210: error: (Each undeclared identifier is reported only once mm/page-writeback.c:210: error: for each function it appears in.) mm/page-writeback.c:211: error: 'NR_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:212: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) mm/page-writeback.c:213: error: 'NR_WRITEBACK_TEMP' undeclared (first use in this function) mm/page-writeback.c:218: error: implicit declaration of function 'bdi_stat' mm/page-writeback.c:218: error: 'BDI_RECLAIMABLE' undeclared (first use in this function) mm/page-writeback.c:219: error: 'BDI_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:221: error: implicit declaration of function 'min' mm/page-writeback.c: At top level: mm/page-writeback.c:225: warning: 'struct task_struct' declared inside parameter list mm/page-writeback.c: In function 'task_dirties_fraction': mm/page-writeback.c:227: error: implicit declaration of function 'prop_fraction_single' mm/page-writeback.c:227: error: dereferencing pointer to incomplete type mm/page-writeback.c: At top level: mm/page-writeback.c:238: warning: 'struct task_struct' declared inside parameter list mm/page-writeback.c: In function 'task_dirty_limit': mm/page-writeback.c:242: error: 'u64' undeclared (first use in this function) mm/page-writeback.c:242: error: expected ';' before 'inv' mm/page-writeback.c:244: warning: passing argument 1 of 'task_dirties_fraction' from incompatible pointer type mm/page-writeback.c:245: error: 'inv' undeclared (first use in this function) mm/page-writeback.c:246: error: implicit declaration of function 'do_div' mm/page-writeback.c: At top level: mm/page-writeback.c:258: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' mm/page-writeback.c:258: warning: parameter names (without types) in function declaration mm/page-writeback.c:261: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c: In function 'bdi_set_min_ratio': mm/page-writeback.c:266: error: implicit declaration of function 'spin_lock_irqsave' mm/page-writeback.c:266: error: 'bdi_lock' undeclared (first use in this function) mm/page-writeback.c:267: error: dereferencing pointer to incomplete type mm/page-writeback.c:268: error: 'EINVAL' undeclared (first use in this function) mm/page-writeback.c:270: error: dereferencing pointer to incomplete type mm/page-writeback.c:273: error: dereferencing pointer to incomplete type mm/page-writeback.c:278: error: implicit declaration of function 'spin_unlock_irqrestore' mm/page-writeback.c: At top level: mm/page-writeback.c:283: warning: 'struct backing_dev_info' declared inside parameter list mm/page-writeback.c: In function 'bdi_set_max_ratio': mm/page-writeback.c:289: error: 'EINVAL' undeclared (first use in this function) mm/page-writeback.c:291: error: 'bdi_lock' undeclared (first use in this function) mm/page-writeback.c:292: error: dereferencing pointer to incomplete type mm/page-writeback.c:295: error: dereferencing pointer to incomplete type mm/page-writeback.c:296: error: dereferencing pointer to incomplete type mm/page-writeback.c:296: error: 'PROP_FRAC_BASE' undeclared (first use in this function) mm/page-writeback.c: At top level: mm/page-writeback.c:302: warning: data definition has no type or storage class mm/page-writeback.c:302: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:302: warning: parameter names (without types) in function declaration mm/page-writeback.c:355: error: conflicting types for 'determine_dirtyable_memory' mm/page-writeback.c:138: error: previous implicit declaration of 'determine_dirtyable_memory' was here mm/page-writeback.c: In function 'determine_dirtyable_memory': mm/page-writeback.c:358: error: 'NR_FREE_PAGES' undeclared (first use in this function) mm/page-writeback.c:359: error: 'NR_INACTIVE' undeclared (first use in this function) mm/page-writeback.c:360: error: 'NR_ACTIVE' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:1751: warning: 'struct zone' declared inside parameter list mm/page-writeback.c: At top level: mm/page_alloc.c: In function 'show_node': mm/page-writeback.c:370: warning: 'struct backing_dev_info' declared inside parameter list mm/page_alloc.c:1753: error: 'NUMA_BUILD' undeclared (first use in this function) mm/page_alloc.c:1754: error: implicit declaration of function 'zone_to_nid' mm/page-writeback.c: In function 'get_dirty_limits': mm/page-writeback.c:389: error: 'current' undeclared (first use in this function) mm/page-writeback.c:390: error: dereferencing pointer to incomplete type mm/page-writeback.c:390: error: 'PF_LESS_THROTTLE' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page-writeback.c:390: error: implicit declaration of function 'rt_task' mm/page_alloc.c:1757: warning: 'struct sysinfo' declared inside parameter list mm/page_alloc.c: In function 'si_meminfo': mm/page_alloc.c:1759: error: dereferencing pointer to incomplete type mm/page_alloc.c:1759: error: 'totalram_pages' undeclared (first use in this function) mm/page_alloc.c:1760: error: dereferencing pointer to incomplete type mm/page_alloc.c:1761: error: dereferencing pointer to incomplete type mm/page_alloc.c:1761: error: implicit declaration of function 'global_page_state' mm/page_alloc.c:1761: error: 'NR_FREE_PAGES' undeclared (first use in this function) mm/page_alloc.c:1762: error: dereferencing pointer to incomplete type mm/page_alloc.c:1762: error: implicit declaration of function 'nr_blockdev_pages' mm/page_alloc.c:1763: error: dereferencing pointer to incomplete type mm/page_alloc.c:1763: error: 'totalhigh_pages' undeclared (first use in this function) mm/page_alloc.c:1764: error: dereferencing pointer to incomplete type mm/page_alloc.c:1764: error: implicit declaration of function 'nr_free_highpages' mm/page_alloc.c:1765: error: dereferencing pointer to incomplete type mm/page_alloc.c:1765: error: 'PAGE_SIZE' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:1768: warning: data definition has no type or storage class mm/page_alloc.c:1768: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:1768: warning: parameter names (without types) in function declaration mm/page_alloc.c: In function 'show_free_areas': mm/page_alloc.c:1801: error: expected ';' before '{' token mm/page_alloc.c:1833: error: expected ';' before '{' token CC fs/read_write.o mm/page_alloc.c:1890: error: implicit declaration of function 'show_swap_cache_info' mm/page_alloc.c:1798: warning: unused variable 'cpu' mm/page_alloc.c: At top level: mm/page_alloc.c:1893: warning: 'struct zoneref' declared inside parameter list mm/page_alloc.c:1893: warning: 'struct zone' declared inside parameter list mm/page_alloc.c: In function 'zoneref_set_zone': mm/page_alloc.c:1895: error: dereferencing pointer to incomplete type mm/page_alloc.c:1896: error: dereferencing pointer to incomplete type mm/page_alloc.c:1896: error: implicit declaration of function 'zone_idx' mm/page_alloc.c: At top level: mm/page_alloc.c:1904: error: expected ')' before '*' token mm/page_alloc.c:2291: error: expected ')' before '*' token mm/page_alloc.c:2328: error: expected ')' before '*' token mm/page_alloc.c: In function '__build_all_zonelists': mm/page_alloc.c:2340: error: implicit declaration of function 'for_each_online_node' mm/page_alloc.c:2340: error: expected ';' before '{' token cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/i8237.c:12:24: error: linux/init.h: No such file or directory arch/x86/kernel/i8237.c:13:26: error: linux/sysdev.h: No such file or directory arch/x86/kernel/i8237.c:15:21: error: asm/dma.h: No such file or directory arch/x86/kernel/i8237.c:24: warning: 'struct sys_device' declared inside parameter list arch/x86/kernel/i8237.c:24: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/i8237.c: In function 'i8237A_resume': arch/x86/kernel/i8237.c:29: error: implicit declaration of function 'claim_dma_lock' arch/x86/kernel/i8237.c:31: error: implicit declaration of function 'dma_outb' arch/x86/kernel/i8237.c:31: error: 'DMA1_RESET_REG' undeclared (first use in this function) arch/x86/kernel/i8237.c:31: error: (Each undeclared identifier is reported only once arch/x86/kernel/i8237.c:31: error: for each function it appears in.) arch/x86/kernel/i8237.c:32: error: 'DMA2_RESET_REG' undeclared (first use in this function) arch/x86/kernel/i8237.c:35: error: implicit declaration of function 'set_dma_addr' arch/x86/kernel/i8237.c:37: error: implicit declaration of function 'set_dma_count' arch/x86/kernel/i8237.c:41: error: implicit declaration of function 'enable_dma' arch/x86/kernel/i8237.c:43: error: implicit declaration of function 'release_dma_lock' arch/x86/kernel/i8237.c: At top level: arch/x86/kernel/i8237.c:48: error: expected declaration specifiers or '...' before 'pm_message_t' arch/x86/kernel/i8237.c:48: warning: 'struct sys_device' declared inside parameter list arch/x86/kernel/i8237.c:53: error: variable 'i8237_sysdev_class' has initializer but incomplete type arch/x86/kernel/i8237.c:54: error: unknown field 'name' specified in initializer arch/x86/kernel/i8237.c:54: warning: excess elements in struct initializer arch/x86/kernel/i8237.c:54: warning: (near initialization for 'i8237_sysdev_class') arch/x86/kernel/i8237.c:55: error: unknown field 'suspend' specified in initializer arch/x86/kernel/i8237.c:55: warning: excess elements in struct initializer arch/x86/kernel/i8237.c:55: warning: (near initialization for 'i8237_sysdev_class') arch/x86/kernel/i8237.c:56: error: unknown field 'resume' specified in initializer arch/x86/kernel/i8237.c:56: warning: excess elements in struct initializer arch/x86/kernel/i8237.c:56: warning: (near initialization for 'i8237_sysdev_class') arch/x86/kernel/i8237.c:59: error: variable 'device_i8237A' has initializer but incomplete type arch/x86/kernel/i8237.c:60: error: unknown field 'id' specified in initializer arch/x86/kernel/i8237.c:60: warning: excess elements in struct initializer arch/x86/kernel/i8237.c:60: warning: (near initialization for 'device_i8237A') arch/x86/kernel/i8237.c:61: error: unknown field 'cls' specified in initializer arch/x86/kernel/i8237.c:61: warning: excess elements in struct initializer arch/x86/kernel/i8237.c:61: warning: (near initialization for 'device_i8237A') arch/x86/kernel/i8237.c:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i8237A_init_sysfs' arch/x86/kernel/i8237.c:72: warning: data definition has no type or storage class arch/x86/kernel/i8237.c:72: warning: type defaults to 'int' in declaration of 'device_initcall' arch/x86/kernel/i8237.c:72: warning: parameter names (without types) in function declaration mm/page-writeback.c:398: error: 'u64' undeclared (first use in this function)mm/page_alloc.c: In function 'build_all_zonelists': mm/page_alloc.c:2353: error: 'system_state' undeclared (first use in this function) mm/page-writeback.c:398: error: expected ';' before 'bdi_dirty' mm/page_alloc.c:2353: error: 'SYSTEM_BOOTING' undeclared (first use in this function) mm/page_alloc.c:2354: error: 'NULL' undeclared (first use in this function) mm/page-writeback.c:399: warning: ISO C90 forbids mixed declarations and code mm/page_alloc.c:2355: error: implicit declaration of function 'cpuset_init_current_mems_allowed' mm/page_alloc.c:2359: error: implicit declaration of function 'stop_machine' mm/page-writeback.c:404: warning: passing argument 1 of 'bdi_writeout_fraction' from incompatible pointer type mm/page_alloc.c:2362: error: 'vm_total_pages' undeclared (first use in this function) mm/page-writeback.c:406: error: 'bdi_dirty' undeclared (first use in this function) mm/page_alloc.c:2370: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page_alloc.c:2371: error: 'page_group_by_mobility_disabled' undeclared (first use in this function) mm/page-writeback.c:409: error: dereferencing pointer to incomplete type mm/page-writeback.c:410: error: dereferencing pointer to incomplete type mm/page_alloc.c:2377: error: implicit declaration of function 'num_online_nodes'mm/page-writeback.c:411: error: dereferencing pointer to incomplete type mm/page-writeback.c:414: warning: passing argument 1 of 'clip_bdi_dirty_limit' from incompatible pointer type mm/page-writeback.c: At top level: mm/page-writeback.c:426: warning: 'struct address_space' declared inside parameter list mm/page_alloc.c: In function 'wait_table_hash_nr_entries': mm/page_alloc.c:2414: error: implicit declaration of function 'min' mm/page_alloc.c:2416: error: implicit declaration of function 'max' mm/page-writeback.c: In function 'balance_dirty_pages': mm/page-writeback.c:436: error: dereferencing pointer to incomplete type mm/page_alloc.c: In function 'wait_table_bits': mm/page_alloc.c:2449: error: implicit declaration of function 'ffz'mm/page-writeback.c:439: error: variable 'wbc' has initializer but incomplete type mm/page-writeback.c:440: error: unknown field 'bdi' specified in initializer mm/page-writeback.c:440: warning: excess elements in struct initializer mm/page-writeback.c:440: warning: (near initialization for 'wbc') mm/page-writeback.c:441: error: unknown field 'sync_mode' specified in initializer mm/page-writeback.c:441: error: 'WB_SYNC_NONE' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:2461: warning: 'struct zone' declared inside parameter list mm/page-writeback.c:441: warning: excess elements in struct initializer mm/page-writeback.c:441: warning: (near initialization for 'wbc') mm/page_alloc.c: In function 'setup_zone_migrate_reserve': mm/page-writeback.c:442: error: unknown field 'older_than_this' specified in initializer mm/page_alloc.c:2468: error: dereferencing pointer to incomplete type mm/page-writeback.c:442: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:2469: error: dereferencing pointer to incomplete type mm/page-writeback.c:442: warning: excess elements in struct initializermm/page_alloc.c:2470: error: implicit declaration of function 'roundup' mm/page_alloc.c:2470: error: dereferencing pointer to incomplete type mm/page-writeback.c:442: warning: (near initialization for 'wbc') mm/page_alloc.c:2470: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page-writeback.c:443: error: unknown field 'nr_to_write' specified in initializer mm/page_alloc.c:2471: error: 'pageblock_order' undeclared (first use in this function)mm/page-writeback.c:443: warning: excess elements in struct initializer mm/page-writeback.c:443: warning: (near initialization for 'wbc') mm/page-writeback.c:444: error: unknown field 'range_cyclic' specified in initializer mm/page_alloc.c:2474: error: implicit declaration of function 'pfn_valid' mm/page-writeback.c:444: warning: excess elements in struct initializer mm/page-writeback.c:444: warning: (near initialization for 'wbc') mm/page_alloc.c:2476: warning: assignment makes pointer from integer without a cast mm/page-writeback.c:439: error: storage size of 'wbc' isn't known mm/page-writeback.c:448: warning: passing argument 4 of 'get_dirty_limits' from incompatible pointer type mm/page_alloc.c:2492: warning: passing argument 1 of 'set_pageblock_migratetype' from incompatible pointer type mm/page-writeback.c:450: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page_alloc.c:2493: warning: passing argument 1 of 'move_freepages_block' from incompatible pointer type mm/page-writeback.c:451: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) mm/page_alloc.c:2503: warning: passing argument 1 of 'set_pageblock_migratetype' from incompatible pointer type mm/page-writeback.c:452: error: 'NR_WRITEBACK' undeclared (first use in this function) mm/page_alloc.c:2504: warning: passing argument 1 of 'move_freepages_block' from incompatible pointer type mm/page-writeback.c:454: error: 'BDI_RECLAIMABLE' undeclared (first use in this function) mm/page-writeback.c:455: error: 'BDI_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:469: error: dereferencing pointer to incomplete typemm/page_alloc.c: At top level: mm/page_alloc.c:2514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'memmap_init_zone'mm/page-writeback.c:470: error: dereferencing pointer to incomplete type mm/page-writeback.c:479: error: implicit declaration of function 'writeback_inodes' mm/page-writeback.c:482: warning: passing argument 4 of 'get_dirty_limits' from incompatible pointer type mm/page_alloc.c:2568: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zone_init_free_lists' mm/page-writeback.c:495: error: implicit declaration of function 'bdi_stat_error' mm/page_alloc.c:2582: warning: 'struct zone' declared inside parameter list mm/page-writeback.c:496: error: implicit declaration of function 'bdi_stat_sum' mm/page_alloc.c: In function 'zone_batchsize': mm/page_alloc.c:2592: error: dereferencing pointer to incomplete type mm/page_alloc.c:2593: error: 'PAGE_SIZE' undeclared (first use in this function) mm/page-writeback.c:508: error: implicit declaration of function 'congestion_wait' mm/page-writeback.c:508: error: 'WRITE' undeclared (first use in this function)mm/page_alloc.c:2609: error: implicit declaration of function 'fls' mm/page-writeback.c:439: warning: unused variable 'wbc' mm/page-writeback.c:512: error: dereferencing pointer to incomplete type mm/page-writeback.c:513: error: dereferencing pointer to incomplete type mm/page-writeback.c:515: error: implicit declaration of function 'writeback_in_progress' mm/page_alloc.c: At top level: mm/page_alloc.c:2614: warning: 'struct per_cpu_pageset' declared inside parameter list mm/page_alloc.c: In function 'setup_pageset': mm/page_alloc.c:2618: error: implicit declaration of function 'memset' mm/page-writeback.c:530: error: implicit declaration of function 'pdflush_operation' mm/page_alloc.c:2618: error: dereferencing pointer to incomplete type mm/page_alloc.c:2620: error: dereferencing pointer to incomplete type mm/page_alloc.c:2621: error: dereferencing pointer to incomplete type mm/page_alloc.c:2622: error: dereferencing pointer to incomplete type mm/page_alloc.c:2623: error: dereferencing pointer to incomplete type mm/page_alloc.c:2624: error: implicit declaration of function 'INIT_LIST_HEAD' mm/page_alloc.c:2624: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page-writeback.c: At top level: mm/page_alloc.c:2633: warning: 'struct per_cpu_pageset' declared inside parameter list mm/page_alloc.c: In function 'setup_pagelist_highmark': make[1]: *** [arch/x86/kernel/i8237.o] Error 1 mm/page_alloc.c:2637: error: dereferencing pointer to incomplete type mm/page_alloc.c:2638: error: dereferencing pointer to incomplete type mm/page_alloc.c:2639: error: dereferencing pointer to incomplete type mm/page_alloc.c:2640: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/page_alloc.c:2641: error: dereferencing pointer to incomplete type mm/page_alloc.c: At top level: mm/page_alloc.c:2763: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init_refok' mm/page_alloc.c:2806: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/page_alloc.c:2825: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' mm/page_alloc.c:3220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zone_spanned_pages_in_node' mm/page_alloc.c:3227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zone_absent_pages_in_node' mm/page_alloc.c:3239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'calculate_node_totalpages'cc1: error: include/linux/autoconf.h: No such file or directory CC arch/x86/kernel/topology.o fs/read_write.c:7:25: error: linux/slab.h: No such file or directory fs/read_write.c:8:24: error: linux/stat.h: No such file or directory fs/read_write.c:9:25: error: linux/fcntl.h: No such file or directory fs/read_write.c:10:24: error: linux/file.h: No such file or directory fs/read_write.c:11:23: error: linux/uio.h: No such file or directory fs/read_write.c:12:28: error: linux/smp_lock.h: No such file or directory fs/read_write.c:13:28: error: linux/fsnotify.h: No such file or directory fs/read_write.c:14:28: error: linux/security.h: No such file or directory fs/read_write.c:15:26: error: linux/module.h: No such file or directory fs/read_write.c:16:28: error: linux/syscalls.h: No such file or directory fs/read_write.c:17:27: error: linux/pagemap.h: No such file or directory fs/read_write.c:18:26: error: linux/splice.h: No such file or directory In file included from fs/read_write.c:19: fs/read_write.h:7: error: expected declaration specifiers or '...' before '*' token fs/read_write.h:7: error: expected ';', ',' or ')' before '*' token fs/read_write.h:8: error: expected declaration specifiers or '...' before '*' token fs/read_write.h:9: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.h:9: warning: 'struct iovec' declared inside parameter list fs/read_write.h:9: warning: its scope is only this definition or declaration, which is probably not what you want fs/read_write.h:9: warning: 'struct kiocb' declared inside parameter list fs/read_write.h:9: warning: type defaults to 'int' in declaration of 'ssize_t' fs/read_write.h:9: error: 'ssize_t' declared as function returning a function fs/read_write.h:9: warning: function declaration isn't a prototype fs/read_write.h:12: error: expected declaration specifiers or '...' before 'size_t' fs/read_write.h:12: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.h:12: error: expected declaration specifiers or '...' before 'iov_fn_t' fs/read_write.h:12: warning: 'struct iovec' declared inside parameter list fs/read_write.h:12: warning: 'struct file' declared inside parameter list fs/read_write.h:12: error: 'do_sync_readv_writev' declared as function returning a function fs/read_write.h:14: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.h:14: error: expected declaration specifiers or '...' before 'io_fn_t' fs/read_write.h:14: warning: 'struct iovec' declared inside parameter list fs/read_write.h:14: warning: 'struct file' declared inside parameter list fs/read_write.h:14: error: 'do_loop_readv_writev' declared as function returning a function fs/read_write.c:21:25: error: asm/uaccess.h: No such file or directory fs/read_write.c:22:24: error: asm/unistd.h: No such file or directory fs/read_write.c:24: error: variable 'generic_ro_fops' has initializer but incomplete type fs/read_write.c:25: error: unknown field 'llseek' specified in initializer fs/read_write.c:25: error: 'generic_file_llseek' undeclared here (not in a function) fs/read_write.c:25: warning: excess elements in struct initializer fs/read_write.c:25: warning: (near initialization for 'generic_ro_fops') fs/read_write.c:26: error: unknown field 'read' specified in initializer fs/read_write.c:26: error: 'do_sync_read' undeclared here (not in a function) fs/read_write.c:26: warning: excess elements in struct initializer fs/read_write.c:26: warning: (near initialization for 'generic_ro_fops') fs/read_write.c:27: error: unknown field 'aio_read' specified in initializer fs/read_write.c:27: error: 'generic_file_aio_read' undeclared here (not in a function) fs/read_write.c:27: warning: excess elements in struct initializer fs/read_write.c:27: warning: (near initialization for 'generic_ro_fops') fs/read_write.c:28: error: unknown field 'mmap' specified in initializer fs/read_write.c:28: error: 'generic_file_readonly_mmap' undeclared here (not in a function) fs/read_write.c:28: warning: excess elements in struct initializer fs/read_write.c:28: warning: (near initialization for 'generic_ro_fops') fs/read_write.c:29: error: unknown field 'splice_read' specified in initializer fs/read_write.c:29: error: 'generic_file_splice_read' undeclared here (not in a function) fs/read_write.c:29: warning: excess elements in struct initializer fs/read_write.c:29: warning: (near initialization for 'generic_ro_fops') fs/read_write.c:32: warning: data definition has no type or storage class fs/read_write.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:32: warning: parameter names (without types) in function declaration fs/read_write.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_llseek_unlocked' fs/read_write.c:58: warning: data definition has no type or storage class fs/read_write.c:58: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:58: warning: parameter names (without types) in function declaration fs/read_write.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_llseek' fs/read_write.c:68: warning: data definition has no type or storage class fs/read_write.c:68: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:68: warning: parameter names (without types) in function declaration fs/read_write.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_llseek' fs/read_write.c:74: warning: data definition has no type or storage class fs/read_write.c:74: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:74: warning: parameter names (without types) in function declaration fs/read_write.c:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'default_llseek' fs/read_write.c:99: warning: data definition has no type or storage class fs/read_write.c:99: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:99: warning: parameter names (without types) in function declaration fs/read_write.c:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_llseek' fs/read_write.c:113: warning: data definition has no type or storage class fs/read_write.c:113: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:113: warning: parameter names (without types) in function declaration fs/read_write.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t' fs/read_write.c:180: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:180: error: expected declaration specifiers or '...' before 'size_t' fs/read_write.c:180: warning: 'struct file' declared inside parameter list fs/read_write.c: In function 'rw_verify_area': fs/read_write.c:183: error: 'loff_t' undeclared (first use in this function) fs/read_write.c:183: error: (Each undeclared identifier is reported only once fs/read_write.c:183: error: for each function it appears in.) fs/read_write.c:183: error: expected ';' before 'pos' fs/read_write.c:184: error: 'EINVAL' undeclared (first use in this function) fs/read_write.c:184: warning: ISO C90 forbids mixed declarations and code fs/read_write.c:186: error: dereferencing pointer to incomplete type fs/read_write.c:187: error: implicit declaration of function 'unlikely' fs/read_write.c:187: error: 'count' undeclared (first use in this function) fs/read_write.c:189: error: 'pos' undeclared (first use in this function) fs/read_write.c:189: error: 'ppos' undeclared (first use in this function) fs/read_write.c:193: error: dereferencing pointer to incomplete type fs/read_write.c:193: error: implicit declaration of function 'mandatory_lock' fs/read_write.c:194: error: implicit declaration of function 'locks_mandatory_area' fs/read_write.c:195: error: 'READ' undeclared (first use in this function) fs/read_write.c:195: error: 'FLOCK_VERIFY_READ' undeclared (first use in this function) fs/read_write.c:195: error: 'FLOCK_VERIFY_WRITE' undeclared (first use in this function) fs/read_write.c:200: error: implicit declaration of function 'security_file_permission' fs/read_write.c:201: error: 'MAY_READ' undeclared (first use in this function) fs/read_write.c:201: error: 'MAY_WRITE' undeclared (first use in this function) fs/read_write.c:204: error: 'INT_MAX' undeclared (first use in this function) fs/read_write.c:204: error: 'PAGE_CACHE_MASK' undeclared (first use in this function) fs/read_write.c: At top level: fs/read_write.c:207: warning: 'struct kiocb' declared inside parameter list fs/read_write.c: In function 'wait_on_retry_sync_kiocb': fs/read_write.c:209: error: implicit declaration of function 'set_current_state' fs/read_write.c:209: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/read_write.c:210: error: implicit declaration of function 'kiocbIsKicked' fs/read_write.c:211: error: implicit declaration of function 'schedule' fs/read_write.c:213: error: implicit declaration of function 'kiocbClearKicked' fs/read_write.c:214: error: implicit declaration of function '__set_current_state' fs/read_write.c:214: error: 'TASK_RUNNING' undeclared (first use in this function) fs/read_write.c: At top level: fs/read_write.c:217: error: expected ';', ',' or ')' before '*' token fs/read_write.c:240: warning: data definition has no type or storage class fs/read_write.c:240: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:240: warning: parameter names (without types) in function declaration fs/read_write.c:242: error: expected ';', ',' or ')' before '*' token fs/read_write.c:270: warning: data definition has no type or storage class fs/read_write.c:270: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:270: warning: parameter names (without types) in function declaration fs/read_write.c:272: error: expected ';', ',' or ')' before '*' token fs/read_write.c:295: warning: data definition has no type or storage class fs/read_write.c:295: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:295: warning: parameter names (without types) in function declaration fs/read_write.c:297: error: expected ';', ',' or ')' before '*' token fs/read_write.c:325: warning: data definition has no type or storage class fs/read_write.c:325: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:325: warning: parameter names (without types) in function declaration fs/read_write.c:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_pos_read' fs/read_write.c:332: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:332: warning: 'struct file' declared inside parameter list fs/read_write.c: In function 'file_pos_write': fs/read_write.c:334: error: dereferencing pointer to incomplete type fs/read_write.c:334: error: 'pos' undeclared (first use in this function) fs/read_write.c: At top level: fs/read_write.c:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:354: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:371: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:392: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:416: error: expected declaration specifiers or '...' before 'size_t' fs/read_write.c:416: warning: 'struct iovec' declared inside parameter list fs/read_write.c: In function 'iov_shorten': fs/read_write.c:419: error: 'size_t' undeclared (first use in this function) fs/read_write.c:419: error: expected ';' before 'len' fs/read_write.c:423: error: 'len' undeclared (first use in this function) fs/read_write.c:423: error: dereferencing pointer to incomplete type fs/read_write.c:423: error: 'to' undeclared (first use in this function) fs/read_write.c:424: error: dereferencing pointer to incomplete type fs/read_write.c:427: error: dereferencing pointer to incomplete type fs/read_write.c:428: error: increment of pointer to unknown structure fs/read_write.c:428: error: arithmetic on pointer to an incomplete type fs/read_write.c: At top level: fs/read_write.c:432: warning: data definition has no type or storage class fs/read_write.c:432: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:432: warning: parameter names (without types) in function declaration fs/read_write.c:435: error: expected declaration specifiers or '...' before 'size_t' fs/read_write.c:435: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:435: error: expected declaration specifiers or '...' before 'iov_fn_t' fs/read_write.c:435: warning: 'struct iovec' declared inside parameter list fs/read_write.c:435: warning: 'struct file' declared inside parameter list fs/read_write.c:436: error: 'do_sync_readv_writev' declared as function returning a function fs/read_write.c:436: error: conflicting types for 'do_sync_readv_writev' fs/read_write.h:12: error: previous declaration of 'do_sync_readv_writev' was here fs/read_write.c: In function 'do_sync_readv_writev': fs/read_write.c:437: error: storage size of 'kiocb' isn't known fs/read_write.c:440: error: implicit declaration of function 'init_sync_kiocb' fs/read_write.c:441: error: 'ppos' undeclared (first use in this function) fs/read_write.c:442: error: 'len' undeclared (first use in this function) fs/read_write.c:446: error: implicit declaration of function 'fn' fs/read_write.c:446: error: invalid lvalue in assignment fs/read_write.c:447: error: 'EIOCBRETRY' undeclared (first use in this function) fs/read_write.c:452: error: 'EIOCBQUEUED' undeclared (first use in this function) fs/read_write.c:453: error: implicit declaration of function 'wait_on_sync_kiocb' fs/read_write.c:453: error: invalid lvalue in assignment fs/read_write.c:455: warning: return makes integer from pointer without a cast fs/read_write.c:437: warning: unused variable 'kiocb' fs/read_write.c: At top level: fs/read_write.c:460: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:460: error: expected declaration specifiers or '...' before 'io_fn_t' fs/read_write.c:460: warning: 'struct iovec' declared inside parameter list fs/read_write.c:460: warning: 'struct file' declared inside parameter list fs/read_write.c:461: error: 'do_loop_readv_writev' declared as function returning a function fs/read_write.c:461: error: conflicting types for 'do_loop_readv_writev' fs/read_write.h:14: error: previous declaration of 'do_loop_readv_writev' was here fs/read_write.c: In function 'do_loop_readv_writev': fs/read_write.c:463: error: function 'ret' is initialized like a variable fs/read_write.c:466: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/read_write.c:466: error: 'base' undeclared (first use in this function) fs/read_write.c:467: error: 'size_t' undeclared (first use in this function) fs/read_write.c:467: error: expected ';' before 'len' fs/read_write.c:468: warning: ISO C90 forbids mixed declarations and code fs/read_write.c:470: error: dereferencing pointer to incomplete type fs/read_write.c:471: error: 'len' undeclared (first use in this function) fs/read_write.c:471: error: dereferencing pointer to incomplete type fs/read_write.c:472: error: increment of pointer to unknown structure fs/read_write.c:472: error: arithmetic on pointer to an incomplete type fs/read_write.c:475: error: 'ppos' undeclared (first use in this function) fs/read_write.c:475: error: invalid lvalue in assignment fs/read_write.c:478: warning: the address of 'ret', will always evaluate as 'true' fs/read_write.c:479: error: invalid lvalue in assignment fs/read_write.c:482: error: invalid lvalue in assignment fs/read_write.c:487: warning: return makes integer from pointer without a cast fs/read_write.c: At top level: fs/read_write.c:493: error: expected ';', ',' or ')' before '*' token fs/read_write.c:562: error: expected ';', ',' or ')' before '*' token fs/read_write.c:614: error: expected ';', ',' or ')' before '*' token fs/read_write.c:625: warning: data definition has no type or storage class fs/read_write.c:625: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:625: warning: parameter names (without types) in function declaration fs/read_write.c:627: error: expected ';', ',' or ')' before '*' token fs/read_write.c:638: warning: data definition has no type or storage class fs/read_write.c:638: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/read_write.c:638: warning: parameter names (without types) in function declaration fs/read_write.c:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:661: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/read_write.c:682: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:683: error: expected declaration specifiers or '...' before 'size_t' fs/read_write.c:683: error: expected declaration specifiers or '...' before 'loff_t' fs/read_write.c:684: error: 'do_sendfile' declared as function returning a function fs/read_write.c: In function 'do_sendfile': fs/read_write.c:687: error: 'loff_t' undeclared (first use in this function) fs/read_write.c:687: error: expected ';' before 'pos' fs/read_write.c:688: warning: ISO C90 forbids mixed declarations and code fs/read_write.c:694: error: 'EBADF' undeclared (first use in this function) fs/read_write.c:695: error: implicit declaration of function 'fget_light' fs/read_write.c:695: warning: assignment makes pointer from integer without a cast fs/read_write.c:698: error: dereferencing pointer to incomplete type fs/read_write.c:698: error: 'FMODE_READ' undeclared (first use in this function) fs/read_write.c:700: error: 'EINVAL' undeclared (first use in this function) fs/read_write.c:701: error: dereferencing pointer to incomplete type fs/read_write.c:704: error: dereferencing pointer to incomplete type fs/read_write.c:704: error: dereferencing pointer to incomplete type fs/read_write.c:706: error: 'ESPIPE' undeclared (first use in this function) fs/read_write.c:707: error: 'ppos' undeclared (first use in this function) fs/read_write.c:708: error: dereferencing pointer to incomplete type fs/read_write.c:710: error: dereferencing pointer to incomplete type fs/read_write.c:710: error: 'FMODE_PREAD' undeclared (first use in this function) fs/read_write.c:712: error: 'READ' undeclared (first use in this function) fs/read_write.c:712: error: 'count' undeclared (first use in this function) fs/read_write.c:712: warning: passing argument 2 of 'rw_verify_area' from incompatible pointer type mm/page-writeback.c:533: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function 'set_page_dirty_balance': mm/page-writeback.c:535: error: implicit declaration of function 'set_page_dirty' mm/page-writeback.c:536: error: implicit declaration of function 'page_mapping' mm/page-writeback.c:536: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:539: error: implicit declaration of function 'balance_dirty_pages_ratelimited' mm/page-writeback.c: At top level: mm/page-writeback.c:558: warning: 'struct address_space' declared inside parameter list mm/page-writeback.c: In function 'balance_dirty_pages_ratelimited_nr': mm/page-writeback.c:560: error: expected declaration specifiers or '...' before 'ratelimits' mm/page-writeback.c:560: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' mm/page-writeback.c:560: error: invalid storage class for function 'DEFINE_PER_CPU' mm/page-writeback.c:565: error: dereferencing pointer to incomplete type mm/page-writeback.c:572: error: implicit declaration of function 'preempt_disable' mm/page-writeback.c:573: error: implicit declaration of function '__get_cpu_var' mm/page-writeback.c:573: error: 'ratelimits' undeclared (first use in this function) mm/page-writeback.c:573: error: invalid lvalue in unary '&' mm/page-writeback.c:575: error: implicit declaration of function 'unlikely' mm/page-writeback.c:577: error: implicit declaration of function 'preempt_enable' mm/page-writeback.c:578: warning: passing argument 1 of 'balance_dirty_pages' from incompatible pointer type mm/page-writeback.c: At top level: mm/page-writeback.c:583: warning: data definition has no type or storage class mm/page-writeback.c:583: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:583: warning: parameter names (without types) in function declaration mm/page-writeback.c:585: error: expected ')' before 'gfp_mask' mm/page-writeback.c: In function 'background_writeout': mm/page-writeback.c:621: error: variable 'wbc' has initializer but incomplete type mm/page-writeback.c:622: error: unknown field 'bdi' specified in initializer mm/page-writeback.c:622: error: 'NULL' undeclared (first use in this function) mm/page-writeback.c:622: warning: excess elements in struct initializer mm/page-writeback.c:622: warning: (near initialization for 'wbc') mm/page-writeback.c:623: error: unknown field 'sync_mode' specified in initializer mm/page-writeback.c:623: error: 'WB_SYNC_NONE' undeclared (first use in this function) mm/page-writeback.c:623: warning: excess elements in struct initializer mm/page-writeback.c:623: warning: (near initialization for 'wbc') mm/page-writeback.c:624: error: unknown field 'older_than_this' specified in initializer mm/page-writeback.c:624: warning: excess elements in struct initializer mm/page-writeback.c:624: warning: (near initialization for 'wbc') mm/page-writeback.c:625: error: unknown field 'nr_to_write' specified in initializer mm/page-writeback.c:625: warning: excess elements in struct initializer mm/page-writeback.c:625: warning: (near initialization for 'wbc') mm/page-writeback.c:626: error: unknown field 'nonblocking' specified in initializer mm/page-writeback.c:626: warning: excess elements in struct initializer mm/page-writeback.c:626: warning: (near initialization for 'wbc') mm/page-writeback.c:627: error: unknown field 'range_cyclic' specified in initializer mm/page-writeback.c:627: warning: excess elements in struct initializer mm/page-writeback.c:627: warning: (near initialization for 'wbc') mm/page-writeback.c:621: error: storage size of 'wbc' isn't known mm/page-writeback.c:635: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:636: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) mm/page-writeback.c:648: error: 'WRITE' undeclared (first use in this function) mm/page-writeback.c:621: warning: unused variable 'wbc' mm/page-writeback.c: In function 'wakeup_pdflush': mm/page-writeback.c:663: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:664: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) mm/page-writeback.c: At top level: mm/page-writeback.c:671: error: expected ')' before numeric constant mm/page-writeback.c:672: error: expected ')' before numeric constant mm/page-writeback.c: In function 'wb_kupdate': mm/page-writeback.c:695: error: variable 'wbc' has initializer but incomplete type mm/page-writeback.c:696: error: unknown field 'bdi' specified in initializer mm/page-writeback.c:696: error: 'NULL' undeclared (first use in this function) mm/page_alloc.c:3268: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usemap_size' mm/page_alloc.c:3280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_usemap' mm/page_alloc.c: In function 'pageblock_default_order': mm/page_alloc.c:3329: error: 'MAX_ORDER' undeclared (first use in this function) mm/page_alloc.c: At top level: mm/page_alloc.c:3341: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'free_area_init_core' mm/page_alloc.c:3426: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alloc_node_mem_map' mm/page_alloc.c:3467: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'free_area_init_node' mm/page_alloc.c:4022: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_dma_reserve' mm/page_alloc.c:4028: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'contig_bootmem_data' mm/page_alloc.c:4029: error: variable 'contig_page_data' has initializer but incomplete type mm/page_alloc.c:4029: error: unknown field 'bdata' specified in initializer mm/page_alloc.c:4029: error: 'contig_bootmem_data' undeclared here (not in a function) mm/page_alloc.c:4029: warning: excess elements in struct initializer mm/page_alloc.c:4029: warning: (near initialization for 'contig_page_data') mm/page_alloc.c:4031: warning: data definition has no type or storage class mm/page_alloc.c:4031: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page_alloc.c:4031: warning: parameter names (without types) in function declaration mm/page_alloc.c:4034: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'free_area_init' mm/page_alloc.c:4041: warning: 'struct notifier_block' declared inside parameter list mm/page_alloc.c: In function 'page_alloc_cpu_notify': mm/page_alloc.c:4045: error: 'CPU_DEAD' undeclared (first use in this function) mm/page_alloc.c:4045: error: 'CPU_DEAD_FROZEN' undeclared (first use in this function) fs/read_write.c:712: error: too many arguments to function 'rw_verify_area'mm/page_alloc.c:4054: error: implicit declaration of function 'vm_events_fold_cpu' mm/page-writeback.c:696: warning: excess elements in struct initializer cc1: mm/page-writeback.c:696: warning: (near initialization for 'wbc')fs/read_write.c:712: error: invalid lvalue in assignment error: mm/page_alloc.c:4063: error: implicit declaration of function 'refresh_cpu_vm_stats' include/linux/autoconf.h: No such file or directory mm/page_alloc.c:4065: error: 'NOTIFY_OK' undeclared (first use in this function) mm/page-writeback.c:697: error: unknown field 'sync_mode' specified in initializer mm/page-writeback.c:697: error: 'WB_SYNC_NONE' undeclared (first use in this function) mm/page-writeback.c:697: warning: excess elements in struct initializer mm/page_alloc.c: At top level: mm/page-writeback.c:697: warning: (near initialization for 'wbc') mm/page_alloc.c:4068: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'page_alloc_init' mm/page-writeback.c:698: error: unknown field 'older_than_this' specified in initializer mm/page-writeback.c:698: warning: excess elements in struct initializer mm/page-writeback.c:698: warning: (near initialization for 'wbc') mm/page_alloc.c: In function 'calculate_totalreserve_pages': mm/page-writeback.c:699: error: unknown field 'nr_to_write' specified in initializer mm/page_alloc.c:4081: error: storage size of 'i' isn't known mm/page-writeback.c:699: warning: excess elements in struct initializermm/page_alloc.c:4081: error: storage size of 'j' isn't known arch/x86/kernel/topology.c:28:24:fs/read_write.c:721: warning: assignment makes pointer from integer without a cast mm/page_alloc.c:4083: error: implicit declaration of function 'for_each_online_pgdat' error: mm/page-writeback.c:699: warning: (near initialization for 'wbc') mm/page_alloc.c:4083: error: expected ';' before '{' tokenlinux/init.h: No such file or directory mm/page-writeback.c:700: error: unknown field 'nonblocking' specified in initializer arch/x86/kernel/topology.c:29:23: error: mm/page_alloc.c:4081: warning: unused variable 'j' mm/page-writeback.c:700: warning: excess elements in struct initializer linux/smp.h: No such file or directory fs/read_write.c:724: error: dereferencing pointer to incomplete typemm/page_alloc.c:4081: warning: unused variable 'i' mm/page-writeback.c:700: warning: (near initialization for 'wbc') mm/page-writeback.c:701: error: unknown field 'for_kupdate' specified in initializer mm/page-writeback.c:701: warning: excess elements in struct initializer mm/page-writeback.c:701: warning: (near initialization for 'wbc') mm/page-writeback.c:702: error: unknown field 'range_cyclic' specified in initializer mm/page-writeback.c:702: warning: excess elements in struct initializer mm/page-writeback.c:702: warning: (near initialization for 'wbc') mm/page-writeback.c:695: error: storage size of 'wbc' isn't known mm/page-writeback.c:705: error: implicit declaration of function 'sync_supers' mm/page-writeback.c:707: error: 'jiffies' undeclared (first use in this function) mm/page-writeback.c:710: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:711: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) mm/page-writeback.c:712: error: 'inodes_stat' undeclared (first use in this function) mm/page-writeback.c:720: error: 'WRITE' undeclared (first use in this function) mm/page-writeback.c:726: error: implicit declaration of function 'time_before' mm/page-writeback.c:729: error: implicit declaration of function 'mod_timer' mm/page-writeback.c:729: error: 'wb_timer' undeclared (first use in this function) mm/page-writeback.c:695: warning: unused variable 'wbc' mm/page-writeback.c: At top level: mm/page-writeback.c:735: error: expected ')' before '*' token mm/page-writeback.c: In function 'wb_timer_fn': mm/page-writeback.c:749: error: 'wb_timer' undeclared (first use in this function) mm/page-writeback.c:749: error: 'jiffies' undeclared (first use in this function) mm/page-writeback.c: In function 'laptop_flush': mm/page-writeback.c:754: error: implicit declaration of function 'sys_sync' mm/page-writeback.c: In function 'laptop_io_completion': mm/page-writeback.c:769: error: 'laptop_mode_wb_timer' undeclared (first use in this function) mm/page-writeback.c:769: error: 'jiffies' undeclared (first use in this function) mm/page-writeback.c: In function 'laptop_sync_completion': mm/page-writeback.c:779: error: implicit declaration of function 'del_timer' mm/page-writeback.c:779: error: 'laptop_mode_wb_timer' undeclared (first use in this function) mm/page-writeback.c: In function 'writeback_set_ratelimit': mm/page-writeback.c:801: error: 'vm_total_pages' undeclared (first use in this function) mm/page-writeback.c:801: error: implicit declaration of function 'num_online_cpus' mm/page-writeback.c:804: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/page-writeback.c: At top level: mm/page-writeback.c:809: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ratelimit_handler' mm/page-writeback.c:815: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ratelimit_nb' mm/page-writeback.c:838: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'page_writeback_init' mm/page-writeback.c:867: error: expected declaration specifiers or '...' before 'writepage_t' mm/page-writeback.c:868: warning: 'struct writeback_control' declared inside parameter list mm/page-writeback.c:868: warning: 'struct address_space' declared inside parameter list mm/page-writeback.c: In function 'write_cache_pages': mm/page-writeback.c:870: error: dereferencing pointer to incomplete type mm/page-writeback.c:873: error: storage size of 'pvec' isn't known mm/page-writeback.c:875: error: 'pgoff_t' undeclared (first use in this function) mm/page-writeback.c:875: error: expected ';' before 'index' mm/page-writeback.c:876: error: expected ';' before 'end' mm/page-writeback.c:877: warning: ISO C90 forbids mixed declarations and code mm/page-writeback.c:880: error: dereferencing pointer to incomplete type mm/page-writeback.c:880: error: implicit declaration of function 'bdi_write_congested' mm/page-writeback.c:881: error: dereferencing pointer to incomplete type mm/page-writeback.c:885: error: implicit declaration of function 'pagevec_init' mm/page-writeback.c:886: error: dereferencing pointer to incomplete type mm/page-writeback.c:887: error: 'index' undeclared (first use in this function) mm/page-writeback.c:887: error: dereferencing pointer to incomplete type mm/page-writeback.c:888: error: 'end' undeclared (first use in this function) mm/page-writeback.c:890: error: dereferencing pointer to incomplete type mm/page-writeback.c:890: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/page-writeback.c:891: error: dereferencing pointer to incomplete type mm/page-writeback.c:892: error: dereferencing pointer to incomplete type mm/page-writeback.c:892: error: dereferencing pointer to incomplete type mm/page-writeback.c:892: error: 'LLONG_MAX' undeclared (first use in this function) mm/page-writeback.c:898: error: implicit declaration of function 'pagevec_lookup_tag' mm/page-writeback.c:899: error: 'PAGECACHE_TAG_DIRTY' undeclared (first use in this function) mm/page-writeback.c:900: error: expected ')' before 'PAGEVEC_SIZE' mm/page-writeback.c:914: error: implicit declaration of function 'lock_page' mm/page-writeback.c:916: error: dereferencing pointer to incomplete type mm/page-writeback.c:917: error: implicit declaration of function 'unlock_page' mm/page-writeback.c:921: error: dereferencing pointer to incomplete type mm/page-writeback.c:921: error: dereferencing pointer to incomplete type mm/page-writeback.c:927: error: dereferencing pointer to incomplete type mm/page-writeback.c:927: error: 'WB_SYNC_NONE' undeclared (first use in this function) mm/page-writeback.c:928: error: implicit declaration of function 'wait_on_page_writeback' mm/page-writeback.c:930: error: implicit declaration of function 'PageWriteback' mm/page-writeback.c:931: error: implicit declaration of function 'clear_page_dirty_for_io' mm/page-writeback.c:936: error: 'writepage' undeclared (first use in this function) mm/page-writeback.c:938: error: 'AOP_WRITEPAGE_ACTIVATE' undeclared (first use in this function) mm/page-writeback.c:942: error: dereferencing pointer to incomplete type mm/page-writeback.c:944: error: dereferencing pointer to incomplete type mm/page-writeback.c:945: error: dereferencing pointer to incomplete type mm/page-writeback.c:949: error: implicit declaration of function 'pagevec_release' mm/page-writeback.c:950: error: implicit declaration of function 'cond_resched' mm/page-writeback.c:961: error: dereferencing pointer to incomplete type mm/page-writeback.c:961: error: dereferencing pointer to incomplete type mm/page-writeback.c:962: error: dereferencing pointer to incomplete type mm/page-writeback.c:964: error: dereferencing pointer to incomplete type mm/page-writeback.c:965: error: dereferencing pointer to incomplete type mm/page-writeback.c:873: warning: unused variable 'pvec' mm/page-writeback.c: At top level: mm/page-writeback.c:968: warning: data definition has no type or storage class mm/page-writeback.c:968: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:968: warning: parameter names (without types) in function declaration mm/page-writeback.c:975: warning: 'struct writeback_control' declared inside parameter list mm/page-writeback.c:975: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function '__writepage': mm/page-writeback.c:978: error: dereferencing pointer to incomplete type mm/page-writeback.c:979: error: implicit declaration of function 'mapping_set_error' mm/page-writeback.c: At top level: mm/page-writeback.c:992: warning: 'struct writeback_control' declared inside parameter list mm/page-writeback.c:992: warning: 'struct address_space' declared inside parameter list mm/page-writeback.c: In function 'generic_writepages': mm/page-writeback.c:995: error: dereferencing pointer to incomplete type mm/page-writeback.c:998: warning: passing argument 1 of 'write_cache_pages' from incompatible pointer type mm/page-writeback.c:998: warning: passing argument 2 of 'write_cache_pages' from incompatible pointer type mm/page-writeback.c:998: error: too many arguments to function 'write_cache_pages' mm/page-writeback.c: At top level: mm/page-writeback.c:1001: warning: data definition has no type or storage class mm/page-writeback.c:1001: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1001: warning: parameter names (without types) in function declaration mm/page-writeback.c:1003: warning: 'struct writeback_control' declared inside parameter list mm/page-writeback.c:1003: warning: 'struct address_space' declared inside parameter list mm/page-writeback.c: In function 'do_writepages': mm/page-writeback.c:1007: error: dereferencing pointer to incomplete type mm/page-writeback.c:1009: error: dereferencing pointer to incomplete type mm/page-writeback.c:1010: error: dereferencing pointer to incomplete type mm/page-writeback.c:1011: error: dereferencing pointer to incomplete type mm/page-writeback.c:1013: warning: passing argument 1 of 'generic_writepages' from incompatible pointer type mm/page-writeback.c:1013: warning: passing argument 2 of 'generic_writepages' from incompatible pointer type mm/page-writeback.c:1014: error: dereferencing pointer to incomplete type mm/page-writeback.c: At top level: mm/page-writeback.c:1027: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function 'write_one_page': mm/page-writeback.c:1029: error: dereferencing pointer to incomplete type arch/x86/kernel/topology.c:30:28: error: mm/page_alloc.c:4080: warning: unused variable 'reserve_pages' mm/page-writeback.c:1031: error: variable 'wbc' has initializer but incomplete type mm/page-writeback.c:1032: error: unknown field 'sync_mode' specified in initializer mm/page-writeback.c:1032: error: 'WB_SYNC_ALL' undeclared (first use in this function)mm/page_alloc.c: In function 'setup_per_zone_lowmem_reserve': fs/read_write.c:724: error: 'FMODE_WRITE' undeclared (first use in this function)linux/nodemask.h: No such file or directory mm/page_alloc.c:4114: error: storage size of 'j' isn't known mm/page_alloc.c:4114: error: storage size of 'idx' isn't knownarch/x86/kernel/topology.c:31:26: fs/read_write.c:727: error: dereferencing pointer to incomplete type mm/page-writeback.c:1032: warning: excess elements in struct initializer error: fs/read_write.c:727: error: dereferencing pointer to incomplete type linux/mmzone.h: No such file or directoryfs/read_write.c:729: error: dereferencing pointer to incomplete type mm/page_alloc.c:4116: error: expected ';' before '{' token mm/page_alloc.c:4114: warning: unused variable 'idx' fs/read_write.c:730: error: 'WRITE' undeclared (first use in this function) arch/x86/kernel/topology.c:32:21: mm/page-writeback.c:1032: warning: (near initialization for 'wbc') mm/page_alloc.c:4114: warning: unused variable 'j' fs/read_write.c:730: error: dereferencing pointer to incomplete type error: asm/cpu.h: No such file or directorymm/page_alloc.c: In function 'setup_per_zone_pages_min': mm/page-writeback.c:1033: error: unknown field 'nr_to_write' specified in initializer mm/page-writeback.c:1033: warning: excess elements in struct initializer mm/page-writeback.c:1033: warning: (near initialization for 'wbc') mm/page-writeback.c:1031: error: storage size of 'wbc' isn't known mm/page-writeback.c:1036: error: implicit declaration of function 'BUG_ON' mm/page-writeback.c:1036: error: implicit declaration of function 'PageLocked' mm/page-writeback.c:1042: error: implicit declaration of function 'page_cache_get' mm/page-writeback.c:1043: error: dereferencing pointer to incomplete type mm/page-writeback.c:1046: error: implicit declaration of function 'PageError' mm/page-writeback.c:1047: error: 'EIO' undeclared (first use in this function) mm/page-writeback.c:1049: error: implicit declaration of function 'page_cache_release' mm/page-writeback.c:1031: warning: unused variable 'wbc' mm/page-writeback.c: At top level: mm/page-writeback.c:1055: warning: data definition has no type or storage class mm/page-writeback.c:1055: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1055: warning: parameter names (without types) in function declaration mm/page-writeback.c:1060: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function '__set_page_dirty_no_writeback': mm/page-writeback.c:1062: error: implicit declaration of function 'PageDirty' mm/page-writeback.c:1063: error: implicit declaration of function 'SetPageDirty' mm/page-writeback.c: At top level: mm/page-writeback.c:1082: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function '__set_page_dirty_nobuffers': mm/page-writeback.c:1084: error: implicit declaration of function 'TestSetPageDirty' mm/page-writeback.c:1085: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:1091: error: implicit declaration of function 'write_lock_irq' mm/page-writeback.c:1091: error: dereferencing pointer to incomplete type mm/page-writeback.c:1092: warning: assignment makes pointer from integer without a cast mm/page-writeback.c:1095: error: implicit declaration of function 'WARN_ON_ONCE' mm/page-writeback.c:1095: error: implicit declaration of function 'PagePrivate' mm/page-writeback.c:1095: error: implicit declaration of function 'PageUptodate' mm/page-writeback.c:1096: error: implicit declaration of function 'mapping_cap_account_dirty' mm/page-writeback.c:1097: error: implicit declaration of function '__inc_zone_page_state' mm/page-writeback.c:1097: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:1098: error: implicit declaration of function '__inc_bdi_stat' mm/page-writeback.c:1098: error: dereferencing pointer to incomplete type mm/page-writeback.c:1099: error: 'BDI_RECLAIMABLE' undeclared (first use in this function) mm/page-writeback.c:1100: error: implicit declaration of function 'task_io_account_write' mm/page-writeback.c:1100: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/page-writeback.c:1102: error: implicit declaration of function 'radix_tree_tag_set' mm/page-writeback.c:1102: error: dereferencing pointer to incomplete type mm/page-writeback.c:1103: error: implicit declaration of function 'page_index' mm/page-writeback.c:1103: error: 'PAGECACHE_TAG_DIRTY' undeclared (first use in this function) mm/page-writeback.c:1105: error: implicit declaration of function 'write_unlock_irq' mm/page-writeback.c:1105: error: dereferencing pointer to incomplete type mm/page-writeback.c:1106: error: dereferencing pointer to incomplete type mm/page-writeback.c:1108: error: implicit declaration of function '__mark_inode_dirty' mm/page-writeback.c:1108: error: dereferencing pointer to incomplete type mm/page-writeback.c:1108: error: 'I_DIRTY_PAGES' undeclared (first use in this function) mm/page-writeback.c: At top level: mm/page-writeback.c:1114: warning: data definition has no type or storage class mm/page-writeback.c:1114: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1114: warning: parameter names (without types) in function declaration mm/page-writeback.c:1121: warning: 'struct page' declared inside parameter list mm/page-writeback.c:1121: warning: 'struct writeback_control' declared inside parameter list mm/page-writeback.c: In function 'redirty_page_for_writepage': mm/page-writeback.c:1123: error: dereferencing pointer to incomplete type mm/page-writeback.c:1124: warning: passing argument 1 of '__set_page_dirty_nobuffers' from incompatible pointer type mm/page-writeback.c: At top level: mm/page-writeback.c:1126: warning: data definition has no type or storage class mm/page-writeback.c:1126: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1126: warning: parameter names (without types) in function declaration mm/page-writeback.c:1132: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function '__set_page_dirty': mm/page-writeback.c:1134: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:1136: error: implicit declaration of function 'likely' fs/read_write.c:730: warning: passing argument 2 of 'rw_verify_area' from incompatible pointer type mm/page_alloc.c:4152: error: 'PAGE_SHIFT' undeclared (first use in this function) fs/read_write.c:730: error: too many arguments to function 'rw_verify_area' mm/page_alloc.c:4158: error: expected ';' before '{' token mm/page-writeback.c:1137: error: dereferencing pointer to incomplete type mm/page_alloc.c:4155: warning: unused variable 'flags' mm/page_alloc.c:4153: warning: unused variable 'lowmem_pages' mm/page_alloc.c:4152: warning: unused variable 'pages_min' mm/page-writeback.c: At top level: mm/page-writeback.c:1151: warning: 'struct page' declared inside parameter list fs/read_write.c:730: error: invalid lvalue in assignmentarch/x86/kernel/topology.c:34: error: expected declaration specifiers or '...' before 'cpu_devices'mm/page-writeback.c: In function 'set_page_dirty': mm/page_alloc.c: At top level: mm/page_alloc.c:4229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_per_zone_pages_min' mm/page_alloc.c:4251: warning: return type defaults to 'int' mm/page_alloc.c:4251: warning: function declaration isn't a prototype mm/page_alloc.c: In function 'module_init': mm/page_alloc.c:4251: error: expected ')' before '*' token mm/page_alloc.c:4303: error: expected ')' before '*' token mm/page_alloc.c:4317: error: expected ')' before '*' token mm/page_alloc.c:4337: error: parameter 'hashdist' is initialized mm/page_alloc.c:4337: error: 'HASHDIST_DEFAULT' undeclared (first use in this function) mm/page_alloc.c:4356: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alloc_large_system_hash' mm/page_alloc.c:4459: warning: 'struct zone' declared inside parameter list mm/page_alloc.c:4460: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4468: warning: 'struct zone' declared inside parameter list mm/page_alloc.c:4469: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4488: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4516: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4543: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4566: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/page_alloc.c:4337: error: declaration for parameter 'hashdist' but no such parameter mm/page_alloc.c:4577: error: expected '{' at end of input mm/page-writeback.c:1153: warning: passing argument 1 of '__set_page_dirty' from incompatible pointer type mm/page-writeback.c:1155: error: 'current' undeclared (first use in this function) arch/x86/kernel/topology.c:34: warning: 'struct x86_cpu' declared inside parameter list arch/x86/kernel/topology.c:34: warning: its scope is only this definition or declaration, which is probably not what you want mm/page-writeback.c: At top level: arch/x86/kernel/topology.c:34: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' mm/page-writeback.c:1158: warning: data definition has no type or storage class mm/page-writeback.c:1158: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1158: warning: parameter names (without types) in function declaration mm/page-writeback.c:1170: warning: 'struct page' declared inside parameter list arch/x86/kernel/topology.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arch_register_cpu' mm/page-writeback.c: In function 'set_page_dirty_lock': mm/page-writeback.c:1174: error: implicit declaration of function 'lock_page_nosync' arch/x86/kernel/topology.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'topology_init' mm/page-writeback.c:1175: warning: passing argument 1 of 'set_page_dirty' from incompatible pointer type arch/x86/kernel/topology.c:80: warning: data definition has no type or storage class arch/x86/kernel/topology.c:80: warning: type defaults to 'int' in declaration of 'subsys_initcall' arch/x86/kernel/topology.c:80: warning: parameter names (without types) in function declaration mm/page-writeback.c: At top level: mm/page-writeback.c:1179: warning: data definition has no type or storage class mm/page-writeback.c:1179: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1179: warning: parameter names (without types) in function declaration mm/page-writeback.c:1195: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function 'clear_page_dirty_for_io': mm/page-writeback.c:1197: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:1201: error: implicit declaration of function 'ClearPageReclaim' mm/page-writeback.c:1228: error: implicit declaration of function 'page_mkclean' mm/page-writeback.c:1229: warning: passing argument 1 of 'set_page_dirty' from incompatible pointer type fs/read_write.c:735: error: 'max' undeclared (first use in this function) fs/read_write.c:736: error: implicit declaration of function 'min' mm/page-writeback.c:1240: error: implicit declaration of function 'TestClearPageDirty' fs/read_write.c:736: error: dereferencing pointer to incomplete type fs/read_write.c:736: error: dereferencing pointer to incomplete type mm/page-writeback.c:1241: error: implicit declaration of function 'dec_zone_page_state' fs/read_write.c:738: error: 'pos' undeclared (first use in this function)mm/page-writeback.c:1241: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/page-writeback.c:1242: error: implicit declaration of function 'dec_bdi_stat' mm/page-writeback.c:1242: error: dereferencing pointer to incomplete type mm/page-writeback.c:1243: error: 'BDI_RECLAIMABLE' undeclared (first use in this function)fs/read_write.c:743: error: 'EOVERFLOW' undeclared (first use in this function) make[1]: *** [mm/page_alloc.o] Error 1 fs/read_write.c:760: error: implicit declaration of function 'do_splice_direct' fs/read_write.c:760: error: invalid lvalue in assignment mm/page-writeback.c: At top level: fs/read_write.c:763: error: implicit declaration of function 'add_rchar' mm/page-writeback.c:1250: warning: data definition has no type or storage classfs/read_write.c:763: error: 'current' undeclared (first use in this function) fs/read_write.c:764: error: implicit declaration of function 'add_wchar'mm/page-writeback.c:1250: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1250: warning: parameter names (without types) in function declaration fs/read_write.c:767: error: implicit declaration of function 'inc_syscr' fs/read_write.c:768: error: implicit declaration of function 'inc_syscw' mm/page-writeback.c:1252: warning: 'struct page' declared inside parameter list fs/read_write.c:773: error: implicit declaration of function 'fput_light' mm/page-writeback.c: In function 'test_clear_page_writeback':fs/read_write.c:777: warning: return makes integer from pointer without a cast mm/page-writeback.c:1254: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:1258: error: dereferencing pointer to incomplete type mm/page-writeback.c:1261: error: implicit declaration of function 'write_lock_irqsave' mm/page-writeback.c:1261: error: dereferencing pointer to incomplete type mm/page-writeback.c:1262: error: implicit declaration of function 'TestClearPageWriteback' mm/page-writeback.c:1264: error: implicit declaration of function 'radix_tree_tag_clear' mm/page-writeback.c:1264: error: dereferencing pointer to incomplete type mm/page-writeback.c:1266: error: 'PAGECACHE_TAG_WRITEBACK' undeclared (first use in this function) fs/read_write.c: At top level:mm/page-writeback.c:1267: error: implicit declaration of function 'bdi_cap_account_writeback' mm/page-writeback.c:1268: error: implicit declaration of function '__dec_bdi_stat' fs/read_write.c:780: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' mm/page-writeback.c:1268: error: 'BDI_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:1269: warning: passing argument 1 of '__bdi_writeout_inc' from incompatible pointer type fs/read_write.c:799: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' mm/page-writeback.c:1272: error: implicit declaration of function 'write_unlock_irqrestore' mm/page-writeback.c:1272: error: dereferencing pointer to incomplete type mm/page-writeback.c:1277: error: 'NR_WRITEBACK' undeclared (first use in this function) make[1]: *** [arch/x86/kernel/topology.o] Error 1 mm/page-writeback.c: At top level: mm/page-writeback.c:1281: warning: 'struct page' declared inside parameter list mm/page-writeback.c: In function 'test_set_page_writeback': mm/page-writeback.c:1283: warning: initialization makes pointer from integer without a cast mm/page-writeback.c:1287: error: dereferencing pointer to incomplete type mm/page-writeback.c:1290: error: dereferencing pointer to incomplete type mm/page-writeback.c:1291: error: implicit declaration of function 'TestSetPageWriteback' mm/page-writeback.c:1293: error: dereferencing pointer to incomplete type mm/page-writeback.c:1295: error: 'PAGECACHE_TAG_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:1297: error: 'BDI_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c:1300: error: dereferencing pointer to incomplete type mm/page-writeback.c:1302: error: 'PAGECACHE_TAG_DIRTY' undeclared (first use in this function) mm/page-writeback.c:1303: error: dereferencing pointer to incomplete type mm/page-writeback.c:1308: error: implicit declaration of function 'inc_zone_page_state' mm/page-writeback.c:1308: error: 'NR_WRITEBACK' undeclared (first use in this function) mm/page-writeback.c: At top level: mm/page-writeback.c:1312: warning: data definition has no type or storage class mm/page-writeback.c:1312: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1312: warning: parameter names (without types) in function declaration mm/page-writeback.c:1318: warning: 'struct address_space' declared inside parameter list mm/page-writeback.c: In function 'mapping_tagged': mm/page-writeback.c:1321: error: implicit declaration of function 'rcu_read_lock' mm/page-writeback.c:1322: error: implicit declaration of function 'radix_tree_tagged' mm/page-writeback.c:1322: error: dereferencing pointer to incomplete type mm/page-writeback.c:1323: error: implicit declaration of function 'rcu_read_unlock' mm/page-writeback.c: At top level: mm/page-writeback.c:1326: warning: data definition has no type or storage class mm/page-writeback.c:1326: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/page-writeback.c:1326: warning: parameter names (without types) in function declaration CC fs/file_table.o CC arch/x86/kernel/kdebugfs.o make[1]: *** [fs/read_write.o] Error 1 make[1]: *** [mm/page-writeback.o] Error 1 CC mm/pdflush.o cc1: error: include/linux/autoconf.h: No such file or directory fs/file_table.c:8:26: error: linux/string.h: No such file or directory fs/file_table.c:9:24: error: linux/slab.h: No such file or directory fs/file_table.c:10:24: error: linux/file.h: No such file or directory fs/file_table.c:11:27: error: linux/fdtable.h: No such file or directory fs/file_table.c:12:24: error: linux/init.h: No such file or directory fs/file_table.c:13:26: error: linux/module.h: No such file or directory fs/file_table.c:14:22: error: linux/fs.h: No such file or directory fs/file_table.c:15:28: error: linux/security.h: No such file or directory fs/file_table.c:16:29: error: linux/eventpoll.h: No such file or directory fs/file_table.c:17:28: error: linux/rcupdate.h: No such file or directory fs/file_table.c:18:25: error: linux/mount.h: No such file or directory fs/file_table.c:19:30: error: linux/capability.h: No such file or directory fs/file_table.c:20:24: error: linux/cdev.h: No such file or directory fs/file_table.c:21:28: error: linux/fsnotify.h: No such file or directory fs/file_table.c:22:26: error: linux/sysctl.h: No such file or directory fs/file_table.c:23:34: error: linux/percpu_counter.h: No such file or directory fs/file_table.c:25:24: error: asm/atomic.h: No such file or directory fs/file_table.c:28: error: variable 'files_stat' has initializer but incomplete type fs/file_table.c:29: error: unknown field 'max_files' specified in initializer fs/file_table.c:29: error: 'NR_FILE' undeclared here (not in a function) fs/file_table.c:30: warning: excess elements in struct initializer fs/file_table.c:30: warning: (near initialization for 'files_stat') fs/file_table.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SPINLOCK' fs/file_table.c:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned_in_smp' fs/file_table.c:37: warning: 'struct rcu_head' declared inside parameter list fs/file_table.c:37: warning: its scope is only this definition or declaration, which is probably not what you want fs/file_table.c: In function 'file_free_rcu': fs/file_table.c:39: error: implicit declaration of function 'container_of' fs/file_table.c:39: error: expected expression before 'struct' fs/file_table.c:39: warning: initialization makes pointer from integer without a cast fs/file_table.c:40: error: implicit declaration of function 'kmem_cache_free' fs/file_table.c:40: error: 'filp_cachep' undeclared (first use in this function) fs/file_table.c:40: error: (Each undeclared identifier is reported only once fs/file_table.c:40: error: for each function it appears in.) fs/file_table.c: At top level: fs/file_table.c:43: warning: 'struct file' declared inside parameter list fs/file_table.c: In function 'file_free': fs/file_table.c:45: error: implicit declaration of function 'percpu_counter_dec' fs/file_table.c:45: error: 'nr_files' undeclared (first use in this function) fs/file_table.c:46: error: implicit declaration of function 'file_check_state' fs/file_table.c:47: error: implicit declaration of function 'call_rcu' fs/file_table.c:47: error: dereferencing pointer to incomplete type fs/file_table.c: In function 'get_nr_files': fs/file_table.c:55: error: implicit declaration of function 'percpu_counter_read_positive' fs/file_table.c:55: error: 'nr_files' undeclared (first use in this function) fs/file_table.c: In function 'get_max_files': fs/file_table.c:63: error: invalid use of undefined type 'struct files_stat_struct' fs/file_table.c: At top level: fs/file_table.c:65: warning: data definition has no type or storage class fs/file_table.c:65: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/file_table.c:65: warning: parameter names (without types) in function declaration fs/file_table.c:78: error: expected ')' before '*' token fs/file_table.c: In function 'get_empty_filp': fs/file_table.c:104: error: invalid use of undefined type 'struct files_stat_struct' fs/file_table.c:104: error: implicit declaration of function 'capable' fs/file_table.c:104: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) fs/file_table.c:109: error: implicit declaration of function 'percpu_counter_sum_positive' fs/file_table.c:109: error: 'nr_files' undeclared (first use in this function) fs/file_table.c:109: error: invalid use of undefined type 'struct files_stat_struct' fs/file_table.c:113: error: implicit declaration of function 'kmem_cache_zalloc' fs/file_table.c:113: error: 'filp_cachep' undeclared (first use in this function) fs/file_table.c:113: error: 'GFP_KERNEL' undeclared (first use in this function) fs/file_table.c:113: warning: assignment makes pointer from integer without a cast fs/file_table.c:114: error: 'NULL' undeclared (first use in this function) fs/file_table.c:117: error: implicit declaration of function 'percpu_counter_inc' fs/file_table.c:118: error: implicit declaration of function 'security_file_alloc' fs/file_table.c:121: error: 'current' undeclared (first use in this function) fs/file_table.c:122: error: implicit declaration of function 'INIT_LIST_HEAD' fs/file_table.c:122: error: dereferencing pointer to incomplete type fs/file_table.c:123: error: implicit declaration of function 'atomic_set' fs/file_table.c:123: error: dereferencing pointer to incomplete type fs/file_table.c:124: error: implicit declaration of function 'rwlock_init' fs/file_table.c:124: error: dereferencing pointer to incomplete type fs/file_table.c:125: error: dereferencing pointer to incomplete type fs/file_table.c:125: error: dereferencing pointer to incomplete type fs/file_table.c:126: error: dereferencing pointer to incomplete type fs/file_table.c:126: error: dereferencing pointer to incomplete type fs/file_table.c:127: error: implicit declaration of function 'eventpoll_init_file' fs/file_table.c:134: error: implicit declaration of function 'printk' fs/file_table.c:134: error: 'KERN_INFO' undeclared (first use in this function) fs/file_table.c:134: error: expected ')' before string constant fs/file_table.c:141: warning: passing argument 1 of 'file_free' from incompatible pointer type fs/file_table.c: At top level: fs/file_table.c:146: warning: data definition has no type or storage class fs/file_table.c:146: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/file_table.c:146: warning: parameter names (without types) in function declaration fs/file_table.c:164: error: expected declaration specifiers or '...' before 'mode_t' fs/file_table.c:164: warning: 'struct file_operations' declared inside parameter list fs/file_table.c:164: warning: 'struct dentry' declared inside parameter list fs/file_table.c:164: warning: 'struct vfsmount' declared inside parameter list fs/file_table.c: In function 'alloc_file': fs/file_table.c:171: error: 'NULL' undeclared (first use in this function) fs/file_table.c:173: error: implicit declaration of function 'init_file' fs/file_table.c:173: error: 'mode' undeclared (first use in this function) fs/file_table.c: At top level: fs/file_table.c:176: warning: data definition has no type or storage class fs/file_table.c:176: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/file_table.c:176: warning: parameter names (without types) in function declaration fs/file_table.c:196: error: expected declaration specifiers or '...' before 'mode_t' fs/file_table.c:196: warning: 'struct file_operations' declared inside parameter list fs/file_table.c:196: warning: 'struct dentry' declared inside parameter list fs/file_table.c:196: warning: 'struct vfsmount' declared inside parameter list fs/file_table.c: In function 'init_file': fs/file_table.c:199: error: dereferencing pointer to incomplete type fs/file_table.c:200: error: dereferencing pointer to incomplete type fs/file_table.c:200: error: implicit declaration of function 'mntget' fs/file_table.c:201: error: dereferencing pointer to incomplete type fs/file_table.c:201: error: dereferencing pointer to incomplete type fs/file_table.c:202: error: dereferencing pointer to incomplete type fs/file_table.c:202: error: 'mode' undeclared (first use in this function) fs/file_table.c:203: error: dereferencing pointer to incomplete type fs/file_table.c:211: error: 'FMODE_WRITE' undeclared (first use in this function) fs/file_table.c:211: error: implicit declaration of function 'special_file' fs/file_table.c:211: error: dereferencing pointer to incomplete type fs/file_table.c:212: error: implicit declaration of function 'file_take_write' fs/file_table.c:213: error: implicit declaration of function 'mnt_want_write' fs/file_table.c:214: error: implicit declaration of function 'WARN_ON' fs/file_table.c: At top level: fs/file_table.c:218: warning: data definition has no type or storage class fs/file_table.c:218: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/file_table.c:218: warning: parameter names (without types) in function declaration fs/file_table.c: In function 'fput': fs/file_table.c:222: error: implicit declaration of function 'atomic_dec_and_test' fs/file_table.c:222: error: dereferencing pointer to incomplete type fs/file_table.c:223: error: implicit declaration of function '__fput' fs/file_table.c: At top level: fs/file_table.c:226: warning: data definition has no type or storage class fs/file_table.c:226: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/file_table.c:226: warning: parameter names (without types) in function declaration fs/file_table.c: In function 'drop_file_write_access': fs/file_table.c:238: error: dereferencing pointer to incomplete type fs/file_table.c:239: error: dereferencing pointer to incomplete type fs/file_table.c:240: error: dereferencing pointer to incomplete type fs/file_table.c:242: error: implicit declaration of function 'put_write_access' fs/file_table.c:244: error: dereferencing pointer to incomplete type fs/file_table.c:246: error: implicit declaration of function 'file_check_writeable' fs/file_table.c:248: error: implicit declaration of function 'mnt_drop_write' fs/file_table.c:249: error: implicit declaration of function 'file_release_write' fs/file_table.c: At top level: fs/file_table.c:251: warning: data definition has no type or storage class fs/file_table.c:251: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/file_table.c:251: warning: parameter names (without types) in function declaration fs/file_table.c:257: warning: conflicting types for '__fput' fs/file_table.c:223: warning: previous implicit declaration of '__fput' was here fs/file_table.c: In function '__fput': fs/file_table.c:258: error: dereferencing pointer to incomplete type fs/file_table.c:259: error: dereferencing pointer to incomplete type fs/file_table.c:260: error: dereferencing pointer to incomplete type fs/file_table.c:262: error: implicit declaration of function 'might_sleep' fs/file_table.c:264: error: implicit declaration of function 'fsnotify_close' fs/file_table.c:269: error: implicit declaration of function 'eventpoll_release' fs/file_table.c:270: error: implicit declaration of function 'locks_remove_flock' fs/file_table.c:272: error: dereferencing pointer to incomplete type fs/file_table.c:272: error: dereferencing pointer to incomplete type fs/file_table.c:273: error: dereferencing pointer to incomplete type fs/file_table.c:274: error: implicit declaration of function 'security_file_free' fs/file_table.c:275: error: implicit declaration of function 'unlikely' fs/file_table.c:275: error: implicit declaration of function 'S_ISCHR' fs/file_table.c:275: error: dereferencing pointer to incomplete type fs/file_table.c:275: error: dereferencing pointer to incomplete type fs/file_table.c:275: error: 'NULL' undeclared (first use in this function) fs/file_table.c:276: error: implicit declaration of function 'cdev_put' fs/file_table.c:276: error: dereferencing pointer to incomplete type fs/file_table.c:277: error: implicit declaration of function 'fops_put' fs/file_table.c:277: error: dereferencing pointer to incomplete type fs/file_table.c:278: error: implicit declaration of function 'put_pid' fs/file_table.c:278: error: dereferencing pointer to incomplete type fs/file_table.c:279: error: implicit declaration of function 'file_kill' fs/file_table.c:280: error: dereferencing pointer to incomplete type fs/file_table.c:280: error: 'FMODE_WRITE' undeclared (first use in this function) fs/file_table.c:282: error: dereferencing pointer to incomplete type fs/file_table.c:283: error: dereferencing pointer to incomplete type fs/file_table.c:284: warning: passing argument 1 of 'file_free' from incompatible pointer type fs/file_table.c:285: error: implicit declaration of function 'dput' fs/file_table.c:286: error: implicit declaration of function 'mntput' fs/file_table.c: In function 'fget': fs/file_table.c:292: error: 'current' undeclared (first use in this function) fs/file_table.c:294: error: implicit declaration of function 'rcu_read_lock' fs/file_table.c:295: error: implicit declaration of function 'fcheck_files' fs/file_table.c:295: warning: assignment makes pointer from integer without a cast fs/file_table.c:297: error: implicit declaration of function 'atomic_inc_not_zero' fs/file_table.c:297: error: dereferencing pointer to incomplete type fs/file_table.c:299: error: implicit declaration of function 'rcu_read_unlock' fs/file_table.c:300: error: 'NULL' undeclared (first use in this function) fs/file_table.c: At top level: fs/file_table.c:308: warning: data definition has no type or storage class fs/file_table.c:308: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/file_table.c:308: warning: parameter names (without types) in function declaration fs/file_table.c: In function 'fget_light': fs/file_table.c:320: error: 'current' undeclared (first use in this function) fs/file_table.c:323: error: implicit declaration of function 'likely' fs/file_table.c:323: error: implicit declaration of function 'atomic_read' fs/file_table.c:323: error: dereferencing pointer to incomplete type fs/file_table.c:324: warning: assignment makes pointer from integer without a cast fs/file_table.c:327: warning: assignment makes pointer from integer without a cast fs/file_table.c:329: error: dereferencing pointer to incomplete type fs/file_table.c:333: error: 'NULL' undeclared (first use in this function) fs/file_table.c: In function 'put_filp': fs/file_table.c:344: error: dereferencing pointer to incomplete type fs/file_table.c:347: warning: passing argument 1 of 'file_free' from incompatible pointer type fs/file_table.c: At top level: fs/file_table.c:351: warning: 'struct list_head' declared inside parameter list fs/file_table.c: In function 'file_move': fs/file_table.c:355: error: implicit declaration of function 'file_list_lock' fs/file_table.c:356: error: implicit declaration of function 'list_move' fs/file_table.c:356: error: dereferencing pointer to incomplete type fs/file_table.c:357: error: implicit declaration of function 'file_list_unlock' cc1: fs/file_table.c: At top level: error: fs/file_table.c:361: warning: conflicting types for 'file_kill' include/linux/autoconf.h: No such file or directory fs/file_table.c:279: warning: previous implicit declaration of 'file_kill' was here fs/file_table.c: In function 'file_kill': fs/file_table.c:362: error: implicit declaration of function 'list_empty' fs/file_table.c:362: error: dereferencing pointer to incomplete type fs/file_table.c:364: error: implicit declaration of function 'list_del_init' fs/file_table.c:364: error: dereferencing pointer to incomplete type fs/file_table.c: At top level: fs/file_table.c:369: warning: 'struct super_block' declared inside parameter list fs/file_table.c: In function 'fs_may_remount_ro': fs/file_table.c:375: error: implicit declaration of function 'list_for_each_entry' fs/file_table.c:375: error: dereferencing pointer to incomplete type fs/file_table.c:375: error: 'f_u' undeclared (first use in this function) mm/pdflush.c:13:25:fs/file_table.c:375: error: expected ';' before '{' token error: linux/sched.h: No such file or directory fs/file_table.c:388: warning: label 'too_bad' defined but not used mm/pdflush.c:14:24: error: linux/list.h: No such file or directory fs/file_table.c: At top level: mm/pdflush.c:15:26: error: fs/file_table.c:393: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'files_init' linux/signal.h: No such file or directory mm/pdflush.c:16:28: error: linux/spinlock.h: No such file or directory mm/pdflush.c:17:23: error: linux/gfp.h: No such file or directory mm/pdflush.c:18:24: error: linux/init.h: No such file or directory mm/pdflush.c:19:26: error: linux/module.h: No such file or directory mm/pdflush.c:20:53: error: linux/fs.h: No such file or directory mm/pdflush.c:21:66: error: linux/writeback.h: No such file or directory mm/pdflush.c:22:27: error: linux/kthread.h: No such file or directory mm/pdflush.c:23:26: error: linux/cpuset.h: No such file or directory mm/pdflush.c:24:27: error: linux/freezer.h: No such file or directory mm/pdflush.c:48: warning: type defaults to 'int' in declaration of 'LIST_HEAD' mm/pdflush.c:48: warning: parameter names (without types) in function declaration mm/pdflush.c:49: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' mm/pdflush.c:49: warning: parameter names (without types) in function declaration mm/pdflush.c:88: error: field 'list' has incomplete type mm/pdflush.c: In function '__pdflush': mm/pdflush.c:94: error: 'current' undeclared (first use in this function) mm/pdflush.c:94: error: (Each undeclared identifier is reported only once mm/pdflush.c:94: error: for each function it appears in.) mm/pdflush.c:94: error: 'PF_FLUSHER' undeclared (first use in this function) mm/pdflush.c:94: error: 'PF_SWAPWRITE' undeclared (first use in this function) mm/pdflush.c:95: error: implicit declaration of function 'set_freezable' mm/pdflush.c:96: error: 'NULL' undeclared (first use in this function) mm/pdflush.c:98: error: implicit declaration of function 'INIT_LIST_HEAD' mm/pdflush.c:100: error: implicit declaration of function 'spin_lock_irq' mm/pdflush.c:100: error: 'pdflush_lock' undeclared (first use in this function) mm/pdflush.c:105: error: implicit declaration of function 'set_current_state' mm/pdflush.c:105: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) mm/pdflush.c:106: error: implicit declaration of function 'list_move' mm/pdflush.c:106: error: 'pdflush_list' undeclared (first use in this function) mm/pdflush.c:107: error: 'jiffies' undeclared (first use in this function) mm/pdflush.c:108: error: implicit declaration of function 'spin_unlock_irq' mm/pdflush.c:109: error: implicit declaration of function 'schedule' mm/pdflush.c:110: error: implicit declaration of function 'try_to_freeze' mm/pdflush.c:112: error: implicit declaration of function 'list_empty' mm/pdflush.c:122: error: implicit declaration of function 'printk' mm/pdflush.c:133: error: 'HZ' undeclared (first use in this function) mm/pdflush.c:153: error: implicit declaration of function 'list_entry' mm/pdflush.c:153: error: expected expression before 'struct' mm/pdflush.c:153: warning: assignment makes pointer from integer without a cast mm/pdflush.c: In function 'pdflush': mm/pdflush.c:175: error: 'cpumask_t' undeclared (first use in this function) mm/pdflush.c:175: error: expected ';' before 'cpus_allowed' mm/pdflush.c:181: error: implicit declaration of function 'set_user_nice' mm/pdflush.c:181: error: 'current' undeclared (first use in this function) mm/pdflush.c:190: error: implicit declaration of function 'cpuset_cpus_allowed' mm/pdflush.c:190: error: 'cpus_allowed' undeclared (first use in this function) mm/pdflush.c:191: error: implicit declaration of function 'set_cpus_allowed_ptr' mm/pdflush.c: In function 'pdflush_operation': mm/pdflush.c:206: error: implicit declaration of function 'BUG_ON' mm/pdflush.c:206: error: 'NULL' undeclared (first use in this function) mm/pdflush.c:208: error: implicit declaration of function 'spin_lock_irqsave' mm/pdflush.c:208: error: 'pdflush_lock' undeclared (first use in this function) mm/pdflush.c:209: error: 'pdflush_list' undeclared (first use in this function) mm/pdflush.c:214: error: expected expression before 'struct' mm/pdflush.c:214: warning: assignment makes pointer from integer without a cast mm/pdflush.c:215: error: implicit declaration of function 'list_del_init' make[1]: mm/pdflush.c:217: error: 'jiffies' undeclared (first use in this function) *** [fs/file_table.o] Error 1 mm/pdflush.c:220: error: implicit declaration of function 'wake_up_process' mm/pdflush.c:222: error: implicit declaration of function 'spin_unlock_irqrestore' mm/pdflush.c: In function 'start_one_pdflush_thread': mm/pdflush.c:229: error: implicit declaration of function 'kthread_run' mm/pdflush.c:229: error: 'NULL' undeclared (first use in this function) mm/pdflush.c: At top level: mm/pdflush.c:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pdflush_init' mm/pdflush.c:241: warning: data definition has no type or storage class mm/pdflush.c:241: warning: type defaults to 'int' in declaration of 'module_init' mm/pdflush.c:241: warning: parameter names (without types) in function declaration CC fs/super.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/kdebugfs.c:9:27: error: linux/debugfs.h: No such file or directory arch/x86/kernel/kdebugfs.c:10:27: error: linux/uaccess.h: No such file or directory arch/x86/kernel/kdebugfs.c:11:24: error: linux/stat.h: No such file or directory arch/x86/kernel/kdebugfs.c:12:24: error: linux/init.h: No such file or directory arch/x86/kernel/kdebugfs.c:13:22: error: linux/io.h: No such file or directory arch/x86/kernel/kdebugfs.c:14:22: error: linux/mm.h: No such file or directory arch/x86/kernel/kdebugfs.c:15:26: error: linux/module.h: No such file or directory arch/x86/kernel/kdebugfs.c:17:23: error: asm/setup.h: No such file or directory arch/x86/kernel/kdebugfs.c:20: warning: data definition has no type or storage class arch/x86/kernel/kdebugfs.c:20: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/kdebugfs.c:20: warning: parameter names (without types) in function declaration arch/x86/kernel/kdebugfs.c:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arch_kdebugfs_init' arch/x86/kernel/kdebugfs.c:226: warning: data definition has no type or storage class arch/x86/kernel/kdebugfs.c:226: warning: type defaults to 'int' in declaration of 'arch_initcall' arch/x86/kernel/kdebugfs.c:226: warning: parameter names (without types) in function declaration scripts/Makefile.build:41: /usr/builds/linux-next-20080722/ipc/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/builds/linux-next-20080722/ipc/Makefile'. make[1]: Failed to remake makefile `/usr/builds/linux-next-20080722/ipc/Makefile'. make[1]: *** [mm/pdflush.o] Error 1 /bin/sh: ipc/modules.order: No such file or directory CC mm/readahead.o cc1: error: include/linux/autoconf.h: No such file or directory fs/super.c:23:26: error: linux/module.h: No such file or directory fs/super.c:24:24: error: linux/slab.h: No such file or directory fs/super.c:25:24: error: linux/init.h: No such file or directory fs/super.c:26:28: error: linux/smp_lock.h: No such file or directory fs/super.c:27:24: error: linux/acct.h: No such file or directory fs/super.c:28:26: error: linux/blkdev.h: No such file or directory fs/super.c:29:28: error: linux/quotaops.h: No such file or directory fs/super.c:30:25: error: linux/namei.h: No such file or directory fs/super.c:31:56: error: linux/buffer_head.h: No such file or directory fs/super.c:32:25: error: linux/mount.h: No such file or directory fs/super.c:33:28: error: linux/security.h: No such file or directory fs/super.c:34:28: error: linux/syscalls.h: No such file or directory fs/super.c:35:23: error: linux/vfs.h: No such file or directory fs/super.c:36:68: error: linux/writeback.h: No such file or directory fs/super.c:37:23: error: linux/idr.h: No such file or directory fs/super.c:38:27: error: linux/kobject.h: No such file or directory fs/super.c:39:25: error: linux/mutex.h: No such file or directory fs/super.c:40:24: error: linux/file.h: No such file or directory fs/super.c:41:25: error: asm/uaccess.h: No such file or directory In file included from fs/super.c:42: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/internal.h:45: error: expected ';', ',' or ')' before '*' token fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter list fs/internal.h:47: warning: its scope is only this definition or declaration, which is probably not what you want fs/internal.h:49: warning: 'struct dentry' declared inside parameter list fs/internal.h:51: warning: 'struct dentry' declared inside parameter list fs/internal.h:52: warning: 'struct list_head' declared inside parameter list fs/internal.h:53: warning: 'struct list_head' declared inside parameter list fs/internal.h:54: warning: 'struct dentry' declared inside parameter list fs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' fs/super.c:45: warning: data definition has no type or storage class fs/super.c:45: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/super.c:45: warning: parameter names (without types) in function declaration fs/super.c:46: warning: data definition has no type or storage class fs/super.c:46: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/super.c:46: warning: parameter names (without types) in function declaration fs/super.c:55: warning: 'struct file_system_type' declared inside parameter list fs/super.c: In function 'alloc_super': fs/super.c:57: error: implicit declaration of function 'kzalloc' fs/super.c:57: error: invalid application of 'sizeof' to incomplete type 'struct super_block' fs/super.c:57: error: 'GFP_USER' undeclared (first use in this function) fs/super.c:57: error: (Each undeclared identifier is reported only once fs/super.c:57: error: for each function it appears in.) fs/super.c:57: warning: initialization makes pointer from integer without a cast make[1]: fs/super.c:58: error: storage size of 'default_op' isn't known *** [ipc/modules.order] Error 1 fs/super.c:61: error: implicit declaration of function 'security_sb_alloc' make[1]: Target `__build' not remade because of errors. fs/super.c:62: error: implicit declaration of function 'kfree' fs/super.c:63: error: 'NULL' undeclared (first use in this function) fs/super.c:66: error: implicit declaration of function 'INIT_LIST_HEAD' fs/super.c:66: error: dereferencing pointer to incomplete type fs/super.c:67: error: dereferencing pointer to incomplete type fs/super.c:68: error: dereferencing pointer to incomplete type fs/super.c:69: error: dereferencing pointer to incomplete type fs/super.c:70: error: dereferencing pointer to incomplete type fs/super.c:71: error: implicit declaration of function 'INIT_HLIST_HEAD' make: fs/super.c:71: error: dereferencing pointer to incomplete type*** [ipc] Error 2 fs/super.c:72: error: dereferencing pointer to incomplete type fs/super.c:73: error: implicit declaration of function 'init_rwsem' fs/super.c:73: error: dereferencing pointer to incomplete type fs/super.c:74: error: implicit declaration of function 'mutex_init' fs/super.c:74: error: dereferencing pointer to incomplete type fs/super.c:75: error: implicit declaration of function 'lockdep_set_class' fs/super.c:75: error: dereferencing pointer to incomplete type fs/super.c:75: error: dereferencing pointer to incomplete type fs/super.c:81: error: dereferencing pointer to incomplete type fs/super.c:81: error: dereferencing pointer to incomplete type fs/super.c:82: error: implicit declaration of function 'down_write' fs/super.c:82: error: dereferencing pointer to incomplete type fs/super.c:83: error: dereferencing pointer to incomplete type fs/super.c:83: error: 'S_BIAS' undeclared (first use in this function) fs/super.c:84: error: implicit declaration of function 'atomic_set' fs/super.c:84: error: dereferencing pointer to incomplete type fs/super.c:85: error: dereferencing pointer to incomplete type fs/super.c:86: error: dereferencing pointer to incomplete type fs/super.c:87: error: dereferencing pointer to incomplete type fs/super.c:88: error: dereferencing pointer to incomplete type fs/super.c:89: error: implicit declaration of function 'init_waitqueue_head' make[1]: *** [arch/x86/kernel/kdebugfs.o] Error 1 fs/super.c:89: error: dereferencing pointer to incomplete type fs/super.c:90: error: dereferencing pointer to incomplete type fs/super.c:90: error: 'MAX_NON_LFS' undeclared (first use in this function) fs/super.c:91: error: dereferencing pointer to incomplete type fs/super.c:91: error: 'sb_dquot_ops' undeclared (first use in this function) fs/super.c:92: error: dereferencing pointer to incomplete type fs/super.c:92: error: 'sb_quotactl_ops' undeclared (first use in this function) fs/super.c:93: error: dereferencing pointer to incomplete type fs/super.c:94: error: dereferencing pointer to incomplete type fs/super.c:58: warning: unused variable 'default_op' fs/super.c: In function 'destroy_super': fs/super.c:108: error: implicit declaration of function 'security_sb_free' fs/super.c:109: error: dereferencing pointer to incomplete type fs/super.c:110: error: dereferencing pointer to incomplete type fs/super.c: In function '__put_super': fs/super.c:124: error: dereferencing pointer to incomplete type fs/super.c: In function '__put_super_and_need_restart': fs/super.c:141: error: implicit declaration of function 'list_empty' fs/super.c:141: error: dereferencing pointer to incomplete type fs/super.c:147: error: dereferencing pointer to incomplete type fs/super.c:148: error: implicit declaration of function 'BUG_ON' fs/super.c:148: error: dereferencing pointer to incomplete type fs/super.c: In function 'put_super': fs/super.c:161: error: implicit declaration of function 'spin_lock' fs/super.c:161: error: 'sb_lock' undeclared (first use in this function) fs/super.c:163: error: implicit declaration of function 'spin_unlock' fs/super.c: In function 'deactivate_super': fs/super.c:178: error: dereferencing pointer to incomplete type fs/super.c:179: error: implicit declaration of function 'atomic_dec_and_lock' fs/super.c:179: error: dereferencing pointer to incomplete type fs/super.c:179: error: 'sb_lock' undeclared (first use in this function) fs/super.c:180: error: dereferencing pointer to incomplete type fs/super.c:180: error: 'S_BIAS' undeclared (first use in this function) fs/super.c:182: error: implicit declaration of function 'DQUOT_OFF' fs/super.c:183: error: dereferencing pointer to incomplete type fs/super.c:184: error: dereferencing pointer to incomplete type fs/super.c:185: error: implicit declaration of function 'put_filesystem' fs/super.c: At top level: fs/super.c:190: warning: data definition has no type or storage class fs/super.c:190: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/super.c:190: warning: parameter names (without types) in function declaration fs/super.c: In function 'grab_super': fs/super.c:203: error: expected declaration specifiers before '__releases' CC arch/x86/kernel/alternative.o fs/super.c:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:239: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:240: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:268: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token CC mm/swap.o fs/super.c:323: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:335: warning: 'struct file_system_type' declared inside parameter list fs/super.c:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:377: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:385: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:388: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:402: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:439: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:483: warning: 'struct block_device' declared inside parameter list fs/super.c:484: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:510: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:512: error: expected ')' before 'dev' fs/super.c:536: error: expected declaration specifiers before 'asmlinkage' fs/super.c:569: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:609: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:649: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:675: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:684: error: storage class specified for parameter 'unnamed_dev_idr' fs/super.c:685: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/super.c:685: error: storage class specified for parameter 'DEFINE_SPINLOCK' fs/super.c:685: warning: parameter names (without types) in function declaration fs/super.c:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:714: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:717: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:726: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:728: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unnamed_dev_init' fs/super.c:734: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:740: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:831: warning: 'struct file_system_type' declared inside parameter list fs/super.c:832: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:851: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:854: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:861: warning: 'struct file_system_type' declared inside parameter list fs/super.c:862: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:883: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/super.c:886: warning: 'struct file_system_type' declared inside parameter list fs/super.c:887: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:936: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' fs/super.c:939: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:963: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:975: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' fs/super.c:977: warning: 'struct file_system_type' declared inside parameter list fs/super.c:978: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/super.c:982: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' fs/super.c:982: error: old-style parameter declarations in prototyped function definition fs/super.c:982: error: expected '{' at end of input make[1]: *** [fs/super.o] Error 1 CC fs/char_dev.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/alternative.c:1:26: error: linux/module.h: No such file or directory arch/x86/kernel/alternative.c:2:25: error: linux/sched.h: No such file or directory arch/x86/kernel/alternative.c:3:25: error: linux/mutex.h: No such file or directory arch/x86/kernel/alternative.c:4:24: error: linux/list.h: No such file or directory arch/x86/kernel/alternative.c:5:27: error: linux/kprobes.h: No such file or directory cc1: arch/x86/kernel/alternative.c:6:22: error: linux/mm.h: No such file or directory error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/alternative.c:7:27: error: linux/vmalloc.h: No such file or directory arch/x86/kernel/alternative.c:8:29: error: asm/alternative.h: No such file or directory arch/x86/kernel/alternative.c:9:26: error: asm/sections.h: No such file or directory arch/x86/kernel/alternative.c:10:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/alternative.c:11:21: error: asm/mce.h: No such file or directory arch/x86/kernel/alternative.c:12:21: error: asm/nmi.h: No such file or directory arch/x86/kernel/alternative.c:13:26: error: asm/vsyscall.h: No such file or directory arch/x86/kernel/alternative.c:14:28: error: asm/cacheflush.h: No such file or directory arch/x86/kernel/alternative.c:15:20: error: asm/io.h: No such file or directory arch/x86/kernel/alternative.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'debug_alt' arch/x86/kernel/alternative.c:39: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/alternative.c:39: error: expected declaration specifiers or '...' before 'debug_alt' arch/x86/kernel/alternative.c:39: warning: data definition has no type or storage class arch/x86/kernel/alternative.c:39: warning: type defaults to 'int' in declaration of '__setup' arch/x86/kernel/alternative.c:39: warning: function declaration isn't a prototype arch/x86/kernel/alternative.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_noreplace_smp' arch/x86/kernel/alternative.c:48: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/alternative.c:48: error: expected declaration specifiers or '...' before 'setup_noreplace_smp' arch/x86/kernel/alternative.c:48: warning: data definition has no type or storage class arch/x86/kernel/alternative.c:48: warning: type defaults to 'int' in declaration of '__setup' arch/x86/kernel/alternative.c:48: warning: function declaration isn't a prototype arch/x86/kernel/alternative.c:158: error: 'X86_FEATURE_K8' undeclared here (not in a function) arch/x86/kernel/alternative.c:158: error: 'k8_nops' undeclared here (not in a function) arch/x86/kernel/alternative.c:159: error: 'X86_FEATURE_K7' undeclared here (not in a function) arch/x86/kernel/alternative.c:159: error: 'k7_nops' undeclared here (not in a function) arch/x86/kernel/alternative.c:160: error: 'X86_FEATURE_P4' undeclared here (not in a function) arch/x86/kernel/alternative.c:160: error: 'p6_nops' undeclared here (not in a function) arch/x86/kernel/alternative.c:161: error: 'X86_FEATURE_P3' undeclared here (not in a function) arch/x86/kernel/alternative.c:162: error: 'NULL' undeclared here (not in a function) mm/swap.c:16:22: error: linux/mm.h: No such file or directory mm/swap.c:17:25:arch/x86/kernel/alternative.c: In function 'find_nop_table': arch/x86/kernel/alternative.c:167: error: 'intel_nops' undeclared (first use in this function) error: linux/sched.h: No such file or directory arch/x86/kernel/alternative.c:167: error: (Each undeclared identifier is reported only once mm/swap.c:18:31: error: linux/kernel_stat.h: No such file or directory arch/x86/kernel/alternative.c:167: error: for each function it appears in.) mm/swap.c:19:24: error: linux/swap.h: No such file or directoryarch/x86/kernel/alternative.c:167: warning: initialization from incompatible pointer type arch/x86/kernel/alternative.c:171: error: implicit declaration of function 'boot_cpu_has' mm/swap.c:20:24: error: linux/mman.h: No such file or directory mm/swap.c:21:27: error: linux/pagemap.h: No such file or directory mm/swap.c:22:27: error: linux/pagevec.h: No such file or directory mm/swap.c:23:24: error: linux/init.h: No such file or directory mm/swap.c:24:26: error: linux/module.h: No such file or directory mm/swap.c:25:29: error: linux/mm_inline.h: No such file or directory mm/swap.c:26:63: error: linux/buffer_head.h: No such file or directory mm/swap.c:27:34: error: linux/percpu_counter.h: No such file or directory mm/swap.c:28:26: error: linux/percpu.h: No such file or directory mm/swap.c:29:23: error: linux/cpu.h: No such file or directory mm/swap.c:30:28: error: linux/notifier.h: No such file or directory mm/swap.c:31:31: error: linux/backing-dev.h: No such file or directory mm/swap.c:32:30: error: linux/memcontrol.h: No such file or directory CC kernel/softirq.o mm/swap.c:37: error: expected declaration specifiers or '...' before 'lru_add_pvecs' mm/swap.c:37: warning: 'struct pagevec' declared inside parameter list mm/swap.c:37: warning: its scope is only this definition or declaration, which is probably not what you want mm/swap.c:37: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' mm/swap.c:37: error: function 'DEFINE_PER_CPU' is initialized like a variable mm/swap.c:37: error: invalid initializer mm/swap.c:37: error: (near initialization for 'DEFINE_PER_CPU') mm/swap.c:38: error: expected declaration specifiers or '...' before 'lru_add_active_pvecs' mm/swap.c:38: warning: 'struct pagevec' declared inside parameter list mm/swap.c:38: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' mm/swap.c:38: error: function 'DEFINE_PER_CPU' is initialized like a variable mm/swap.c:38: error: conflicting types for 'DEFINE_PER_CPU' mm/swap.c:37: error: previous declaration of 'DEFINE_PER_CPU' was here mm/swap.c:38: error: invalid initializer mm/swap.c:38: error: (near initialization for 'DEFINE_PER_CPU') mm/swap.c:39: error: expected declaration specifiers or '...' before 'lru_rotate_pvecs' mm/swap.c:39: warning: 'struct pagevec' declared inside parameter list mm/swap.c:39: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' mm/swap.c:39: error: function 'DEFINE_PER_CPU' is initialized like a variable mm/swap.c:39: error: conflicting types for 'DEFINE_PER_CPU' mm/swap.c:38: error: previous declaration of 'DEFINE_PER_CPU' was here mm/swap.c:39: error: invalid initializer mm/swap.c:39: error: (near initialization for 'DEFINE_PER_CPU') mm/swap.c:45: warning: 'struct page' declared inside parameter list mm/swap.c: In function '__page_cache_release': mm/swap.c:47: error: implicit declaration of function 'PageLRU' mm/swap.c:49: error: implicit declaration of function 'page_zone' mm/swap.c:49: warning: initialization makes pointer from integer without a cast mm/swap.c:51: error: implicit declaration of function 'spin_lock_irqsave' mm/swap.c:51: error: dereferencing pointer to incomplete type mm/swap.c:52: error: implicit declaration of function 'VM_BUG_ON' mm/swap.c:53: error: implicit declaration of function '__ClearPageLRU' mm/swap.c:54: error: implicit declaration of function 'del_page_from_lru' mm/swap.c:55: error: implicit declaration of function 'spin_unlock_irqrestore' mm/swap.c:55: error: dereferencing pointer to incomplete type mm/swap.c:57: error: implicit declaration of function 'free_hot_page' mm/swap.c: At top level: mm/swap.c:60: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'put_compound_page': mm/swap.c:62: error: implicit declaration of function 'compound_head' mm/swap.c:62: warning: assignment makes pointer from integer without a cast mm/swap.c:63: error: implicit declaration of function 'put_page_testzero' mm/swap.c:64: error: 'compound_page_dtor' undeclared (first use in this function) mm/swap.c:64: error: (Each undeclared identifier is reported only once mm/swap.c:64: error: for each function it appears in.) mm/swap.c:64: error: 'dtor' undeclared (first use in this function) mm/swap.c:66: error: implicit declaration of function 'get_compound_page_dtor' mm/swap.c: At top level: mm/swap.c:71: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'put_page': mm/swap.c:73: error: implicit declaration of function 'unlikely' mm/swap.c:73: error: implicit declaration of function 'PageCompound' mm/swap.c:74: warning: passing argument 1 of 'put_compound_page' from incompatible pointer type mm/swap.c:76: warning: passing argument 1 of '__page_cache_release' from incompatible pointer type mm/swap.c: At top level: mm/swap.c:78: warning: data definition has no type or storage class mm/swap.c:78: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:78: warning: parameter names (without types) in function declaration mm/swap.c:87: warning: 'struct list_head' declared inside parameter list mm/swap.c: In function 'put_pages_list': mm/swap.c:89: error: implicit declaration of function 'list_empty' mm/swap.c:92: error: implicit declaration of function 'list_entry' mm/swap.c:92: error: dereferencing pointer to incomplete type mm/swap.c:92: error: expected expression before 'struct' mm/swap.c:92: warning: assignment makes pointer from integer without a cast mm/swap.c:93: error: implicit declaration of function 'list_del' mm/swap.c:93: error: dereferencing pointer to incomplete type mm/swap.c:94: error: implicit declaration of function 'page_cache_release' mm/swap.c: At top level: mm/swap.c:97: warning: data definition has no type or storage class mm/swap.c:97: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:97: warning: parameter names (without types) in function declaration mm/swap.c:103: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function 'pagevec_move_tail': mm/swap.c:107: error: 'NULL' undeclared (first use in this function) mm/swap.c:109: error: implicit declaration of function 'pagevec_count' mm/swap.c:110: error: dereferencing pointer to incomplete type mm/swap.c:111: warning: initialization makes pointer from integer without a cast mm/swap.c:115: error: implicit declaration of function 'spin_unlock' mm/swap.c:115: error: dereferencing pointer to incomplete type mm/swap.c:117: error: implicit declaration of function 'spin_lock' mm/swap.c:117: error: dereferencing pointer to incomplete type mm/swap.c:119: error: implicit declaration of function 'PageActive' mm/swap.c:120: error: implicit declaration of function 'list_move_tail' mm/swap.c:120: error: dereferencing pointer to incomplete type mm/swap.c:120: error: dereferencing pointer to incomplete type mm/swap.c:125: error: dereferencing pointer to incomplete type mm/swap.c:126: error: implicit declaration of function '__count_vm_events' mm/swap.c:126: error: 'PGROTATED' undeclared (first use in this function) mm/swap.c:127: error: implicit declaration of function 'release_pages' mm/swap.c:127: error: dereferencing pointer to incomplete type mm/swap.c:127: error: dereferencing pointer to incomplete type mm/swap.c:127: error: dereferencing pointer to incomplete type mm/swap.c:128: error: implicit declaration of function 'pagevec_reinit' mm/swap.c: At top level: mm/swap.c:136: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'rotate_reclaimable_page': mm/swap.c:138: error: implicit declaration of function 'PageLocked' mm/swap.c:138: error: implicit declaration of function 'PageDirty' mm/swap.c:143: error: implicit declaration of function 'page_cache_get' mm/swap.c:144: error: implicit declaration of function 'local_irq_save' mm/swap.c:145: error: implicit declaration of function '__get_cpu_var' mm/swap.c:145: error: 'lru_rotate_pvecs' undeclared (first use in this function) mm/swap.c:145: error: invalid lvalue in unary '&' mm/swap.c:146: error: implicit declaration of function 'pagevec_add' mm/swap.c:147: warning: passing argument 1 of 'pagevec_move_tail' from incompatible pointer type mm/swap.c:148: error: implicit declaration of function 'local_irq_restore' mm/swap.c: At top level: mm/swap.c:155: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'activate_page': mm/swap.c:157: warning: initialization makes pointer from integer without a cast mm/swap.c:159: error: implicit declaration of function 'spin_lock_irq' mm/swap.c:159: error: dereferencing pointer to incomplete type mm/swap.c:161: error: implicit declaration of function 'del_page_from_inactive_list' mm/swap.c:162: error: implicit declaration of function 'SetPageActive' mm/swap.c:163: error: implicit declaration of function 'add_page_to_active_list' mm/swap.c:164: error: implicit declaration of function '__count_vm_event' mm/swap.c:164: error: 'PGACTIVATE' undeclared (first use in this function) mm/swap.c:165: error: implicit declaration of function 'mem_cgroup_move_lists' mm/swap.c:165: error: 'true' undeclared (first use in this function) mm/swap.c:167: error: implicit declaration of function 'spin_unlock_irq' mm/swap.c:167: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:177: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'mark_page_accessed': mm/swap.c:179: error: implicit declaration of function 'PageReferenced' mm/swap.c:180: warning: passing argument 1 of 'activate_page' from incompatible pointer type mm/swap.c:181: error: implicit declaration of function 'ClearPageReferenced' mm/swap.c:183: error: implicit declaration of function 'SetPageReferenced' mm/swap.c: At top level: mm/swap.c:187: warning: data definition has no type or storage class mm/swap.c:187: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:187: warning: parameter names (without types) in function declaration mm/swap.c:193: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'lru_cache_add': mm/swap.c:195: error: implicit declaration of function 'get_cpu_var' mm/swap.c:195: error: 'lru_add_pvecs' undeclared (first use in this function) mm/swap.c:195: error: invalid lvalue in unary '&' mm/swap.c:199: error: implicit declaration of function '__pagevec_lru_add' mm/swap.c:200: error: implicit declaration of function 'put_cpu_var' mm/swap.c: At top level: mm/swap.c:203: warning: 'struct page' declared inside parameter list mm/swap.c: In function 'lru_cache_add_active': mm/swap.c:205: error: 'lru_add_active_pvecs' undeclared (first use in this function) mm/swap.c:205: error: invalid lvalue in unary '&' mm/swap.c:209: error: implicit declaration of function '__pagevec_lru_add_active' mm/swap.c: In function 'drain_cpu_pagevecs': mm/swap.c:222: error: implicit declaration of function 'per_cpu' mm/swap.c:222: error: 'lru_add_pvecs' undeclared (first use in this function) mm/swap.c:222: error: invalid lvalue in unary '&' mm/swap.c:226: error: 'lru_add_active_pvecs' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory mm/readahead.c:10:26: error: linux/kernel.h: No such file or directory mm/readahead.c:11:22: error: linux/fs.h: No such file or directory mm/readahead.c:12:22: error: linux/mm.h: No such file or directory mm/readahead.c:13:26: error: linux/module.h: No such file or directory mm/readahead.c:14:26: error: linux/blkdev.h: No such file or directory fs/char_dev.c:7:24: mm/readahead.c:15:31: error: linux/backing-dev.h: No such file or directory mm/readahead.c:16:42: error: linux/task_io_accounting_ops.h: No such file or directory mm/readahead.c:17:27: error: linux/pagevec.h: No such file or directory mm/readahead.c:18:27: error: linux/pagemap.h: No such file or directory mm/readahead.c:20: warning: 'struct page' declared inside parameter list mm/readahead.c:20: warning: its scope is only this definition or declaration, which is probably not what you want mm/readahead.c:20: warning: 'struct backing_dev_info' declared inside parameter list mm/readahead.c:23: warning: data definition has no type or storage class mm/readahead.c:23: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/readahead.c:23: warning: parameter names (without types) in function declaration mm/readahead.c:25: error: variable 'default_backing_dev_info' has initializer but incomplete type mm/readahead.c:26: error: unknown field 'ra_pages' specified in initializer mm/readahead.c:26: error: 'VM_MAX_READAHEAD' undeclared here (not in a function) mm/readahead.c:26: error: 'PAGE_CACHE_SIZE' undeclared here (not in a function) mm/readahead.c:26: warning: excess elements in struct initializer mm/readahead.c:26: warning: (near initialization for 'default_backing_dev_info') mm/readahead.c:27: error: unknown field 'state' specified in initializer mm/readahead.c:27: warning: excess elements in struct initializer mm/readahead.c:27: warning: (near initialization for 'default_backing_dev_info') mm/readahead.c:28: error: unknown field 'capabilities' specified in initializer mm/readahead.c:28: error: 'BDI_CAP_MAP_COPY' undeclared here (not in a function) mm/readahead.c:28: warning: excess elements in struct initializer mm/readahead.c:28: warning: (near initialization for 'default_backing_dev_info') mm/readahead.c:29: error: unknown field 'unplug_io_fn' specified in initializer mm/readahead.c:29: warning: excess elements in struct initializer mm/readahead.c:29: warning: (near initialization for 'default_backing_dev_info') mm/readahead.c:31: warning: data definition has no type or storage class mm/readahead.c:31: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/readahead.c:31: warning: parameter names (without types) in function declaration mm/readahead.c:38: warning: 'struct address_space' declared inside parameter list mm/readahead.c:38: warning: 'struct file_ra_state' declared inside parameter list mm/readahead.c: In function 'file_ra_state_init': mm/readahead.c:40: error: dereferencing pointer to incomplete type mm/readahead.c:40: error: dereferencing pointer to incomplete type mm/readahead.c:41: error: dereferencing pointer to incomplete type mm/readahead.c: At top level: mm/readahead.c:43: warning: data definition has no type or storage class mm/readahead.c:43: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/readahead.c:43: warning: parameter names (without types) in function declaration mm/readahead.c:58: warning: 'struct page' declared inside parameter list mm/readahead.c:58: warning: 'struct list_head' declared inside parameter list mm/readahead.c:58: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'read_cache_pages': mm/readahead.c:63: error: implicit declaration of function 'list_empty' mm/readahead.c:64: error: implicit declaration of function 'list_entry' mm/readahead.c:64: error: dereferencing pointer to incomplete type mm/readahead.c:64: error: expected expression before 'struct' mm/readahead.c:64: warning: assignment makes pointer from integer without a cast mm/readahead.c:65: error: implicit declaration of function 'list_del' mm/readahead.c:65: error: dereferencing pointer to incomplete type mm/readahead.c:66: error: implicit declaration of function 'add_to_page_cache_lru' mm/readahead.c:67: error: dereferencing pointer to incomplete type mm/readahead.c:67: error: 'GFP_KERNEL' undeclared (first use in this function) mm/readahead.c:67: error: (Each undeclared identifier is reported only once mm/readahead.c:67: error: for each function it appears in.) mm/readahead.c:68: error: implicit declaration of function 'page_cache_release' mm/readahead.c:73: warning: passing argument 2 of 'filler' from incompatible pointer type mm/readahead.c:74: error: implicit declaration of function 'unlikely' mm/readahead.c:75: error: implicit declaration of function 'put_pages_list' mm/readahead.c:78: error: implicit declaration of function 'task_io_account_read' arch/x86/kernel/alternative.c: In function 'add_nops': arch/x86/kernel/alternative.c:188: error: 'ASM_NOP_MAX' undeclared (first use in this function) mm/readahead.c: At top level: mm/readahead.c:83: warning: data definition has no type or storage class mm/readahead.c:83: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/readahead.c:83: warning: parameter names (without types) in function declaration mm/readahead.c:86: warning: 'struct list_head' declared inside parameter list mm/readahead.c:86: warning: 'struct file' declared inside parameter list mm/readahead.c:86: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'read_pages': mm/readahead.c:91: error: dereferencing pointer to incomplete type mm/readahead.c:92: error: dereferencing pointer to incomplete type mm/readahead.c:99: error: dereferencing pointer to incomplete type mm/readahead.c:99: error: expected expression before 'struct' mm/readahead.c:99: warning: initialization makes pointer from integer without a cast mm/readahead.c:100: error: dereferencing pointer to incomplete type mm/readahead.c:102: error: dereferencing pointer to incomplete type mm/readahead.c:102: error: 'GFP_KERNEL' undeclared (first use in this function) mm/readahead.c:103: error: dereferencing pointer to incomplete type mm/readahead.c: At top level: mm/readahead.c:125: error: expected declaration specifiers or '...' before 'pgoff_t' mm/readahead.c:126: warning: 'struct file' declared inside parameter list mm/readahead.c:126: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function '__do_page_cache_readahead': mm/readahead.c:128: error: dereferencing pointer to incomplete type mm/readahead.c:131: error: implicit declaration of function 'LIST_HEAD' mm/readahead.c:131: error: 'page_pool' undeclared (first use in this function) mm/readahead.c:132: warning: ISO C90 forbids mixed declarations and code mm/readahead.c:134: error: 'loff_t' undeclared (first use in this function) mm/readahead.c:134: error: expected ';' before 'isize' mm/readahead.c:136: error: 'isize' undeclared (first use in this function) mm/readahead.c:139: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/readahead.c:145: error: 'pgoff_t' undeclared (first use in this function) mm/readahead.c:145: error: expected ';' before 'page_offset' mm/readahead.c:147: error: 'page_offset' undeclared (first use in this function) mm/readahead.c:150: error: implicit declaration of function 'rcu_read_lock' mm/readahead.c:151: error: implicit declaration of function 'radix_tree_lookup' mm/readahead.c:151: error: dereferencing pointer to incomplete type mm/readahead.c:151: warning: assignment makes pointer from integer without a cast mm/readahead.c:152: error: implicit declaration of function 'rcu_read_unlock'mm/swap.c:226: error: invalid lvalue in unary '&' mm/swap.c:230: error: 'lru_rotate_pvecs' undeclared (first use in this function) mm/swap.c:230: error: invalid lvalue in unary '&' mm/swap.c:236: warning: passing argument 1 of 'pagevec_move_tail' from incompatible pointer type mm/swap.c: In function 'lru_add_drain': mm/swap.c:243: error: implicit declaration of function 'get_cpu' mm/swap.c:244: error: implicit declaration of function 'put_cpu' mm/swap.c: At top level: mm/swap.c:285: warning: 'struct page' declared inside parameter list mm/swap.c:286: warning: conflicting types for 'release_pages' mm/swap.c:127: warning: previous implicit declaration of 'release_pages' was here mm/swap.c: In function 'release_pages': mm/swap.c:288: error: storage size of 'pages_to_free' isn't known mm/swap.c:289: error: 'NULL' undeclared (first use in this function) mm/swap.c:290: warning: parameter names (without types) in function declaration mm/swap.c:292: error: implicit declaration of function 'pagevec_init' mm/swap.c:298: error: dereferencing pointer to incomplete type mm/swap.c:298: error: 'flags' undeclared (first use in this function) mm/swap.c:301: warning: passing argument 1 of 'put_compound_page' from incompatible pointer type mm/swap.c:309: warning: initialization makes pointer from integer without a cast mm/swap.c:312: error: dereferencing pointer to incomplete type mm/swap.c:315: error: dereferencing pointer to incomplete type mm/swap.c:324: error: dereferencing pointer to incomplete type mm/swap.c:327: error: implicit declaration of function '__pagevec_free' mm/swap.c:332: error: dereferencing pointer to incomplete type mm/swap.c:334: error: implicit declaration of function 'pagevec_free' mm/swap.c:288: warning: unused variable 'pages_to_free' mm/swap.c: At top level: mm/swap.c:347: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function '__pagevec_release': mm/swap.c:350: error: dereferencing pointer to incomplete type mm/swap.c:350: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:354: warning: data definition has no type or storage class mm/swap.c:354: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:354: warning: parameter names (without types) in function declaration mm/swap.c:361: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function '__pagevec_release_nonlru': mm/swap.c:364: error: storage size of 'pages_to_free' isn't known mm/swap.c:366: error: dereferencing pointer to incomplete type mm/swap.c:368: error: dereferencing pointer to incomplete type mm/swap.c:364: warning: unused variable 'pages_to_free' mm/swap.c: At top level: mm/swap.c:382: warning: 'struct pagevec' declared inside parameter list mm/swap.c:383: warning: conflicting types for '__pagevec_lru_add' mm/swap.c:199: warning: previous implicit declaration of '__pagevec_lru_add' was here mm/swap.c: In function '__pagevec_lru_add': mm/swap.c:385: error: 'NULL' undeclared (first use in this function) mm/swap.c:388: error: dereferencing pointer to incomplete type mm/swap.c:389: warning: initialization makes pointer from integer without a cast mm/swap.c:393: error: dereferencing pointer to incomplete type mm/swap.c:395: error: dereferencing pointer to incomplete type mm/swap.c:398: error: implicit declaration of function 'SetPageLRU' mm/swap.c:399: error: implicit declaration of function 'add_page_to_inactive_list' mm/swap.c:402: error: dereferencing pointer to incomplete type mm/swap.c:403: error: dereferencing pointer to incomplete type mm/swap.c:403: error: dereferencing pointer to incomplete type mm/swap.c:403: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:407: warning: data definition has no type or storage class mm/swap.c:407: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:407: warning: parameter names (without types) in function declaration mm/swap.c:409: warning: 'struct pagevec' declared inside parameter list mm/swap.c:410: warning: conflicting types for '__pagevec_lru_add_active' mm/swap.c:209: warning: previous implicit declaration of '__pagevec_lru_add_active' was here mm/swap.c: In function '__pagevec_lru_add_active': mm/swap.c:412: error: 'NULL' undeclared (first use in this function) mm/swap.c:415: error: dereferencing pointer to incomplete type mm/swap.c:416: warning: initialization makes pointer from integer without a cast mm/swap.c:420: error: dereferencing pointer to incomplete type mm/swap.c:422: error: dereferencing pointer to incomplete type mm/swap.c:431: error: dereferencing pointer to incomplete type mm/swap.c:432: error: dereferencing pointer to incomplete type mm/swap.c:432: error: dereferencing pointer to incomplete type mm/swap.c:432: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:439: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function 'pagevec_strip': mm/swap.c:444: error: dereferencing pointer to incomplete type mm/swap.c:446: error: implicit declaration of function 'PagePrivate' mm/swap.c:446: error: implicit declaration of function 'TestSetPageLocked' mm/swap.c:448: error: implicit declaration of function 'try_to_release_page' mm/swap.c:449: error: implicit declaration of function 'unlock_page' mm/swap.c: At top level: mm/swap.c:471: error: expected declaration specifiers or '...' before 'pgoff_t' mm/swap.c:471: warning: 'struct address_space' declared inside parameter list mm/swap.c:471: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function 'pagevec_lookup': mm/swap.c:473: error: dereferencing pointer to incomplete type mm/swap.c:473: error: implicit declaration of function 'find_get_pages' mm/swap.c:473: error: 'start' undeclared (first use in this function) mm/swap.c:473: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:477: warning: data definition has no type or storage class mm/swap.c:477: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:477: warning: parameter names (without types) in function declaration mm/swap.c:480: error: expected declaration specifiers or '...' before 'pgoff_t' mm/swap.c:480: warning: 'struct address_space' declared inside parameter list mm/swap.c:480: warning: 'struct pagevec' declared inside parameter list mm/swap.c: In function 'pagevec_lookup_tag': mm/swap.c:482: error: dereferencing pointer to incomplete type mm/swap.c:482: error: implicit declaration of function 'find_get_pages_tag' mm/swap.c:482: error: 'index' undeclared (first use in this function) mm/swap.c:483: error: dereferencing pointer to incomplete type mm/swap.c: At top level: mm/swap.c:487: warning: data definition has no type or storage class mm/swap.c:487: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/swap.c:487: warning: parameter names (without types) in function declaration mm/swap.c:535: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_setup' mm/readahead.c:156: error: implicit declaration of function 'page_cache_alloc_cold' mm/readahead.c:156: warning: assignment makes pointer from integer without a cast mm/readahead.c:159: error: dereferencing pointer to incomplete type mm/readahead.c:160: error: implicit declaration of function 'list_add' mm/readahead.c:160: error: dereferencing pointer to incomplete type mm/readahead.c:162: error: implicit declaration of function 'SetPageReadahead'error: linux/init.h: No such file or directory fs/char_dev.c:8:22: error: linux/fs.h: No such file or directory fs/char_dev.c:9:26: error: linux/kdev_t.h: No such file or directory fs/char_dev.c:10:24: error: linux/slab.h: No such file or directory fs/char_dev.c:11:26: error: linux/string.h: No such file or directory fs/char_dev.c:13:25: error: linux/major.h: No such file or directory fs/char_dev.c:14:25: error: linux/errno.h: No such file or directory fs/char_dev.c:15:26: error: linux/module.h: No such file or directory fs/char_dev.c:16:28: error: linux/smp_lock.h: No such file or directory fs/char_dev.c:17:28: error: linux/seq_file.h: No such file or directory fs/char_dev.c:19:27: error: linux/kobject.h: No such file or directory fs/char_dev.c:20:28: error: linux/kobj_map.h: No such file or directory fs/char_dev.c:21:24: error: linux/cdev.h: No such file or directory arch/x86/kernel/alternative.c:188: warning: comparison between pointer and integer cc1: fs/char_dev.c:22:25: error: mm/readahead.c:172: warning: passing argument 1 of 'read_pages' from incompatible pointer type mm/readahead.c:172: warning: passing argument 2 of 'read_pages' from incompatible pointer type error: mm/readahead.c:173: error: implicit declaration of function 'BUG_ON' linux/mutex.h: No such file or directory include/linux/autoconf.h: No such file or directory fs/char_dev.c:23:31: arch/x86/kernel/alternative.c:189: warning: assignment makes integer from pointer without a cast mm/readahead.c:128: warning: unused variable 'inode' error: linux/backing-dev.h: No such file or directory arch/x86/kernel/alternative.c:190: error: implicit declaration of function 'memcpy' mm/readahead.c: At top level: mm/readahead.c:183: error: expected declaration specifiers or '...' before 'pgoff_t' mm/readahead.c:183: warning: 'struct file' declared inside parameter list mm/readahead.c:183: warning: 'struct address_space' declared inside parameter list kernel/softirq.c:11:26: error: linux/module.h: No such file or directory mm/readahead.c: In function 'force_page_cache_readahead': mm/readahead.c:187: error: dereferencing pointer to incomplete type mm/readahead.c:187: error: dereferencing pointer to incomplete type mm/readahead.c:188: error: 'EINVAL' undeclared (first use in this function) kernel/softirq.c:12:31: In file included from fs/char_dev.c:28: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' arch/x86/kernel/alternative.c: At top level:fs/internal.h:45: error: expected ';', ',' or ')' before '*' token mm/readahead.c:198: error: 'offset' undeclared (first use in this function)error: linux/kernel_stat.h: No such file or directoryarch/x86/kernel/alternative.c:195: warning: data definition has no type or storage class fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter listarch/x86/kernel/alternative.c:195: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/x86/kernel/alternative.c:195: warning: parameter names (without types) in function declaration fs/internal.h:47: warning: its scope is only this definition or declaration, which is probably not what you want mm/readahead.c:198: warning: passing argument 1 of '__do_page_cache_readahead' from incompatible pointer type arch/x86/kernel/alternative.c:197: error: array type has incomplete element type mm/readahead.c:198: warning: passing argument 2 of '__do_page_cache_readahead' from incompatible pointer typearch/x86/kernel/alternative.c:197: error: array type has incomplete element type kernel/softirq.c:13:29: fs/internal.h:49: warning: 'struct dentry' declared inside parameter list arch/x86/kernel/alternative.c:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokenmm/readahead.c:198: error: too many arguments to function '__do_page_cache_readahead' make[1]: error: linux/interrupt.h: No such file or directory kernel/softirq.c:14:24: error: linux/init.h: No such file or directory *** [mm/swap.o] Error 1kernel/softirq.c:15:22: error: linux/mm.h: No such file or directory kernel/softirq.c:16:28: error: arch/x86/kernel/alternative.c: In function 'apply_alternatives': arch/x86/kernel/alternative.c:211: error: implicit declaration of function 'printk' fs/internal.h:51: warning: 'struct dentry' declared inside parameter list linux/notifier.h: No such file or directoryarch/x86/kernel/alternative.c:211: error: 'KERN_DEBUG' undeclared (first use in this function) fs/internal.h:52: warning: 'struct list_head' declared inside parameter listarch/x86/kernel/alternative.c:211: error: expected ')' before string constant arch/x86/kernel/alternative.c:212: error: increment of pointer to unknown structure arch/x86/kernel/alternative.c:212: error: arithmetic on pointer to an incomplete type fs/internal.h:53: warning: 'struct list_head' declared inside parameter list arch/x86/kernel/alternative.c:213: error: 'u8' undeclared (first use in this function) fs/internal.h:54: warning: 'struct dentry' declared inside parameter list arch/x86/kernel/alternative.c:213: error: 'instr' undeclared (first use in this function) fs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' arch/x86/kernel/alternative.c:213: error: invalid operands to binary *fs/char_dev.c:37: error: variable 'directly_mappable_cdev_bdi' has initializer but incomplete type mm/readahead.c: At top level:fs/char_dev.c:38: error: unknown field 'capabilities' specified in initializerkernel/softirq.c:17:26: arch/x86/kernel/alternative.c:213: error: dereferencing pointer to incomplete type fs/char_dev.c:44: error: 'BDI_CAP_MAP_DIRECT' undeclared here (not in a function) fs/char_dev.c:45: error: 'BDI_CAP_READ_MAP' undeclared here (not in a function) fs/char_dev.c:45: error: 'BDI_CAP_WRITE_MAP' undeclared here (not in a function) fs/char_dev.c:45: error: 'BDI_CAP_EXEC_MAP' undeclared here (not in a function) fs/char_dev.c:45: warning: excess elements in struct initializer fs/char_dev.c:45: warning: (near initialization for 'directly_mappable_cdev_bdi') fs/char_dev.c:50: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' fs/char_dev.c:50: warning: parameter names (without types) in function declaration fs/char_dev.c:59: error: 'CHRDEV_MAJOR_HASH_SIZE' undeclared here (not in a function) fs/char_dev.c: In function '__register_chrdev_region': fs/char_dev.c:102: error: implicit declaration of function 'kzalloc' fs/char_dev.c:102: error: 'GFP_KERNEL' undeclared (first use in this function) fs/char_dev.c:102: error: (Each undeclared identifier is reported only once fs/char_dev.c:102: error: for each function it appears in.) fs/char_dev.c:102: warning: assignment makes pointer from integer without a cast fs/char_dev.c:103: error: 'NULL' undeclared (first use in this function) fs/char_dev.c:104: error: implicit declaration of function 'ERR_PTR' error: mm/readahead.c:218: error: expected declaration specifiers or '...' before 'pgoff_t' fs/char_dev.c:104: error: 'ENOMEM' undeclared (first use in this function) mm/readahead.c:218: warning: 'struct file' declared inside parameter listfs/char_dev.c:104: warning: return makes pointer from integer without a cast linux/percpu.h: No such file or directoryfs/char_dev.c:106: error: implicit declaration of function 'mutex_lock'arch/x86/kernel/alternative.c:213: error: request for member 'instr' in something not a structure or union arch/x86/kernel/alternative.c:213: warning: statement with no effect arch/x86/kernel/alternative.c:214: error: implicit declaration of function 'BUG_ON' arch/x86/kernel/alternative.c:214: error: dereferencing pointer to incomplete typemm/readahead.c:218: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'do_page_cache_readahead':kernel/softirq.c:18:23: error: linux/cpu.h: No such file or directory fs/char_dev.c:106: error: 'chrdevs_lock' undeclared (first use in this function) kernel/softirq.c:19:27: error: arch/x86/kernel/alternative.c:214: error: request for member 'replacementlen' in something not a structure or union mm/readahead.c:220: error: implicit declaration of function 'bdi_read_congested' mm/readahead.c:220: error: dereferencing pointer to incomplete type fs/char_dev.c:110: error: implicit declaration of function 'ARRAY_SIZE' mm/readahead.c:223: error: 'offset' undeclared (first use in this function) mm/readahead.c:223: warning: passing argument 1 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:223: warning: passing argument 2 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:223: error: too many arguments to function '__do_page_cache_readahead' linux/freezer.h: No such file or directory arch/x86/kernel/alternative.c:214: error: dereferencing pointer to incomplete type fs/char_dev.c:116: error: 'EBUSY' undeclared (first use in this function)arch/x86/kernel/alternative.c:214: error: request for member 'instrlen' in something not a structure or union kernel/softirq.c:20:27: arch/x86/kernel/alternative.c:215: error: dereferencing pointer to incomplete type mm/readahead.c: In function 'max_sane_readahead': mm/readahead.c:232: error: implicit declaration of function 'min' arch/x86/kernel/alternative.c:215: error: request for member 'instrlen' in something not a structure or union fs/char_dev.c:126: error: implicit declaration of function 'strncpy' mm/readahead.c:232: error: implicit declaration of function 'node_page_state' mm/readahead.c:232: error: implicit declaration of function 'numa_node_id' mm/readahead.c:232: error: 'NR_INACTIVE' undeclared (first use in this function) mm/readahead.c:233: error: 'NR_FREE_PAGES' undeclared (first use in this function) mm/readahead.c: At top level: mm/readahead.c:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'readahead_init' CC fs/stat.o mm/readahead.c:246: warning: data definition has no type or storage classfs/char_dev.c:159: error: implicit declaration of function 'mutex_unlock' fs/char_dev.c:163: error: implicit declaration of function 'kfree' fs/char_dev.c:164: warning: return makes pointer from integer without a cast fs/char_dev.c: In function '__unregister_chrdev_region': fs/char_dev.c:170: error: 'NULL' undeclared (first use in this function) fs/char_dev.c:173: error: 'chrdevs_lock' undeclared (first use in this function) fs/char_dev.c: At top level: fs/char_dev.c:196: error: expected ')' before 'from' fs/char_dev.c:232: error: expected ')' before '*' token fs/char_dev.c:266: warning: 'struct file_operations' declared inside parameter list fs/char_dev.c: In function 'register_chrdev': fs/char_dev.c:271: error: 'ENOMEM' undeclared (first use in this function) fs/char_dev.c:274: error: implicit declaration of function 'IS_ERR' fs/char_dev.c:275: error: implicit declaration of function 'PTR_ERR' fs/char_dev.c:277: error: implicit declaration of function 'cdev_alloc' fs/char_dev.c:277: warning: assignment makes pointer from integer without a cast fs/char_dev.c:281: error: dereferencing pointer to incomplete type fs/char_dev.c:281: error: dereferencing pointer to incomplete type fs/char_dev.c:282: error: dereferencing pointer to incomplete type fs/char_dev.c:283: error: implicit declaration of function 'kobject_set_name' fs/char_dev.c:283: error: dereferencing pointer to incomplete type fs/char_dev.c:284: error: implicit declaration of function 'strchr' fs/char_dev.c:284: error: implicit declaration of function 'kobject_name' fs/char_dev.c:284: error: dereferencing pointer to incomplete type fs/char_dev.c:284: warning: assignment makes pointer from integer without a cast fs/char_dev.c:284: warning: assignment makes pointer from integer without a cast error: arch/x86/kernel/alternative.c:215: warning: comparison between pointer and integer fs/char_dev.c:287: error: implicit declaration of function 'cdev_add' arch/x86/kernel/alternative.c:216: error: dereferencing pointer to incomplete type mm/readahead.c:246: warning: type defaults to 'int' in declaration of 'subsys_initcall' linux/kthread.h: No such file or directory fs/char_dev.c:287: error: implicit declaration of function 'MKDEV' arch/x86/kernel/alternative.c:216: error: request for member 'cpuid' in something not a structure or union mm/readahead.c:246: warning: parameter names (without types) in function declaration fs/char_dev.c:295: error: implicit declaration of function 'kobject_put' arch/x86/kernel/alternative.c:226: error: dereferencing pointer to incomplete type fs/char_dev.c:295: error: dereferencing pointer to incomplete type kernel/softirq.c:21:28: error: linux/rcupdate.h: No such file or directory kernel/softirq.c:22:23: error: linux/smp.h: No such file or directory kernel/softirq.c:23:24: error: linux/tick.h: No such file or directory kernel/softirq.c:25:21: error: asm/irq.h: No such file or directory fs/char_dev.c: At top level: fs/char_dev.c:310: error: expected ')' before 'from' kernel/softirq.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'irq_stat' kernel/softirq.c:46: warning: data definition has no type or storage class kernel/softirq.c:46: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c: In function 'unregister_chrdev': mm/readahead.c:252: warning: 'struct file' declared inside parameter list arch/x86/kernel/alternative.c:226: error: request for member 'replacement' in something not a structure or union kernel/softirq.c:46: warning: parameter names (without types) in function declaration fs/char_dev.c:328: error: implicit declaration of function 'cdev_del' kernel/softirq.c:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned_in_smp' kernel/softirq.c:51: error: expected declaration specifiers or '...' before 'ksoftirqd' mm/readahead.c:252: warning: 'struct address_space' declared inside parameter listarch/x86/kernel/alternative.c:226: error: dereferencing pointer to incomplete type fs/char_dev.c: At top level: kernel/softirq.c:51: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/alternative.c:226: error: request for member 'replacementlen' in something not a structure or union mm/readahead.c:252: warning: 'struct file_ra_state' declared inside parameter listarch/x86/kernel/alternative.c:227: error: dereferencing pointer to incomplete type fs/char_dev.c:332: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/softirq.c:51: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/alternative.c:227: error: request for member 'replacementlen' in something not a structure or union arch/x86/kernel/alternative.c:227: error: invalid operands to binary + arch/x86/kernel/alternative.c:228: error: dereferencing pointer to incomplete type arch/x86/kernel/alternative.c:228: error: request for member 'instrlen' in something not a structure or union fs/char_dev.c:332: warning: parameter names (without types) in function declaration kernel/softirq.c:51: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' fs/char_dev.c: In function 'cdev_get': fs/char_dev.c:336: error: dereferencing pointer to incomplete type kernel/softirq.c: In function 'wakeup_softirqd': mm/readahead.c: In function 'ra_submit': mm/readahead.c:257: error: dereferencing pointer to incomplete type mm/readahead.c:257: error: dereferencing pointer to incomplete type mm/readahead.c:257: error: dereferencing pointer to incomplete type mm/readahead.c:257: warning: passing argument 1 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:257: warning: passing argument 2 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:257: error: too many arguments to function '__do_page_cache_readahead' arch/x86/kernel/alternative.c:228: error: dereferencing pointer to incomplete type arch/x86/kernel/alternative.c:228: error: request for member 'replacementlen' in something not a structure or union arch/x86/kernel/alternative.c:228: warning: passing argument 1 of 'add_nops' discards qualifiers from pointer target type arch/x86/kernel/alternative.c:229: error: implicit declaration of function 'text_poke_early' arch/x86/kernel/alternative.c:229: error: dereferencing pointer to incomplete type arch/x86/kernel/alternative.c:229: error: request for member 'instrlen' in something not a structure or union arch/x86/kernel/alternative.c: At top level: arch/x86/kernel/alternative.c:421: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alternative_instructions' arch/x86/kernel/alternative.c:486: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/alternative.c:487: error: conflicting types for 'text_poke_early' arch/x86/kernel/alternative.c:229: error: previous implicit declaration of 'text_poke_early' was here arch/x86/kernel/alternative.c: In function 'text_poke_early': arch/x86/kernel/alternative.c:489: error: implicit declaration of function 'local_irq_save' arch/x86/kernel/alternative.c:490: error: 'len' undeclared (first use in this function) arch/x86/kernel/alternative.c:491: error: implicit declaration of function 'local_irq_restore' arch/x86/kernel/alternative.c:492: error: implicit declaration of function 'sync_core' arch/x86/kernel/alternative.c: At top level: arch/x86/kernel/alternative.c:509: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'text_poke' mm/readahead.c: In function 'get_init_ra_size': mm/readahead.c:270: error: implicit declaration of function 'roundup_pow_of_two' mm/readahead.c: At top level: mm/readahead.c:287: warning: 'struct file_ra_state' declared inside parameter list mm/readahead.c: In function 'get_next_ra_size': mm/readahead.c:289: error: dereferencing pointer to incomplete type mm/readahead.c: At top level: mm/readahead.c:345: error: expected declaration specifiers or '...' before 'bool' mm/readahead.c:345: error: expected declaration specifiers or '...' before 'pgoff_t' mm/readahead.c:346: warning: 'struct file' declared inside parameter list mm/readahead.c:346: warning: 'struct file_ra_state' declared inside parameter list mm/readahead.c:346: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'ondemand_readahead': mm/readahead.c:348: error: dereferencing pointer to incomplete type mm/readahead.c:349: error: 'pgoff_t' undeclared (first use in this function) mm/readahead.c:349: error: expected ';' before 'prev_offset' mm/readahead.c:350: warning: ISO C90 forbids mixed declarations and code mm/readahead.c:356: error: 'offset' undeclared (first use in this function) mm/readahead.c:356: error: dereferencing pointer to incomplete type mm/readahead.c:356: error: dereferencing pointer to incomplete type mm/readahead.c:356: error: dereferencing pointer to incomplete type mm/readahead.c:357: error: dereferencing pointer to incomplete type mm/readahead.c:357: error: dereferencing pointer to incomplete type mm/readahead.c:358: error: dereferencing pointer to incomplete type mm/readahead.c:358: error: dereferencing pointer to incomplete type mm/readahead.c:359: error: dereferencing pointer to incomplete type mm/readahead.c:359: warning: passing argument 1 of 'get_next_ra_size' from incompatible pointer type mm/readahead.c:360: error: dereferencing pointer to incomplete type mm/readahead.c:360: error: dereferencing pointer to incomplete type mm/readahead.c:364: error: 'prev_offset' undeclared (first use in this function) mm/readahead.c:364: error: dereferencing pointer to incomplete type mm/readahead.c:364: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/readahead.c:371: error: 'hit_readahead_marker' undeclared (first use in this function) mm/readahead.c:373: warning: passing argument 1 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:373: warning: passing argument 2 of '__do_page_cache_readahead' from incompatible pointer type mm/readahead.c:373: error: too many arguments to function '__do_page_cache_readahead' mm/readahead.c:383: error: expected ';' before 'start' mm/readahead.c:385: error: implicit declaration of function 'read_lock_irq' mm/readahead.c:385: error: dereferencing pointer to incomplete type mm/readahead.c:386: error: 'start' undeclared (first use in this function) mm/readahead.c:386: error: implicit declaration of function 'radix_tree_next_hole' mm/readahead.c:386: error: dereferencing pointer to incomplete type mm/readahead.c:387: error: implicit declaration of function 'read_unlock_irq' mm/readahead.c:387: error: dereferencing pointer to incomplete type mm/readahead.c:392: error: dereferencing pointer to incomplete type mm/readahead.c:393: error: dereferencing pointer to incomplete type mm/readahead.c:394: error: dereferencing pointer to incomplete type mm/readahead.c:394: warning: passing argument 1 of 'get_next_ra_size' from incompatible pointer type mm/readahead.c:395: error: dereferencing pointer to incomplete type mm/readahead.c:395: error: dereferencing pointer to incomplete type mm/readahead.c:406: error: dereferencing pointer to incomplete type mm/readahead.c:407: error: dereferencing pointer to incomplete type mm/readahead.c:408: error: dereferencing pointer to incomplete type mm/readahead.c:408: error: dereferencing pointer to incomplete type mm/readahead.c:408: error: dereferencing pointer to incomplete type mm/readahead.c:408: error: dereferencing pointer to incomplete type mm/readahead.c:411: warning: passing argument 1 of 'ra_submit' from incompatible pointer type mm/readahead.c:411: warning: passing argument 2 of 'ra_submit' from incompatible pointer type mm/readahead.c:411: warning: passing argument 3 of 'ra_submit' from incompatible pointer type mm/readahead.c: At top level: mm/readahead.c:430: error: expected declaration specifiers or '...' before 'pgoff_t' mm/readahead.c:430: warning: 'struct file' declared inside parameter list mm/readahead.c:430: warning: 'struct file_ra_state' declared inside parameter list mm/readahead.c:430: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'page_cache_sync_readahead': mm/readahead.c:433: error: dereferencing pointer to incomplete type mm/readahead.c:437: error: 'false' undeclared (first use in this function) mm/readahead.c:437: error: 'offset' undeclared (first use in this function) mm/readahead.c:437: warning: passing argument 1 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:437: warning: passing argument 2 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:437: warning: passing argument 3 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:437: error: too many arguments to function 'ondemand_readahead' mm/readahead.c: At top level: mm/readahead.c:439: warning: data definition has no type or storage class mm/readahead.c:439: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/readahead.c:439: warning: parameter names (without types) in function declaration mm/readahead.c:459: error: expected declaration specifiers or '...' before 'pgoff_t' mm/readahead.c:460: warning: 'struct page' declared inside parameter list mm/readahead.c:460: warning: 'struct file' declared inside parameter list mm/readahead.c:460: warning: 'struct file_ra_state' declared inside parameter list mm/readahead.c:460: warning: 'struct address_space' declared inside parameter list mm/readahead.c: In function 'page_cache_async_readahead': mm/readahead.c:463: error: dereferencing pointer to incomplete type mm/readahead.c:469: error: implicit declaration of function 'PageWriteback' mm/readahead.c:472: error: implicit declaration of function 'ClearPageReadahead' mm/readahead.c:477: error: dereferencing pointer to incomplete type mm/readahead.c:481: error: 'true' undeclared (first use in this function) mm/readahead.c:481: error: 'offset' undeclared (first use in this function) mm/readahead.c:481: warning: passing argument 1 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:481: warning: passing argument 2 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:481: warning: passing argument 3 of 'ondemand_readahead' from incompatible pointer type mm/readahead.c:481: error: too many arguments to function 'ondemand_readahead' mm/readahead.c: At top level: mm/readahead.c:483: warning: data definition has no type or storage class mm/readahead.c:483: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/readahead.c:483: warning: parameter names (without types) in function declaration fs/char_dev.c:339: error: implicit declaration of function 'try_module_get' fs/char_dev.c:340: error: 'NULL' undeclared (first use in this function) fs/char_dev.c:341: error: implicit declaration of function 'kobject_get' fs/char_dev.c:341: error: dereferencing pointer to incomplete type fs/char_dev.c:341: warning: assignment makes pointer from integer without a cast make[1]: *** [arch/x86/kernel/alternative.o] Error 1 kernel/softirq.c:62: error: implicit declaration of function '__get_cpu_var' kernel/softirq.c:62: error: 'ksoftirqd' undeclared (first use in this function) kernel/softirq.c:62: error: (Each undeclared identifier is reported only once kernel/softirq.c:62: error: for each function it appears in.) kernel/softirq.c:62: warning: initialization makes pointer from integer without a cast kernel/softirq.c:64: error: dereferencing pointer to incomplete type kernel/softirq.c:64: error: 'TASK_RUNNING' undeclared (first use in this function) kernel/softirq.c:65: error: implicit declaration of function 'wake_up_process' kernel/softirq.c: In function '__local_bh_disable': kernel/softirq.c:91: error: implicit declaration of function 'add_preempt_count' kernel/softirq.c:91: error: 'SOFTIRQ_OFFSET' undeclared (first use in this function) kernel/softirq.c:92: error: implicit declaration of function 'barrier' kernel/softirq.c: At top level: kernel/softirq.c:101: warning: data definition has no type or storage class kernel/softirq.c:101: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:101: warning: parameter names (without types) in function declaration kernel/softirq.c: In function '__local_bh_enable': kernel/softirq.c:105: error: implicit declaration of function 'WARN_ON_ONCE' kernel/softirq.c:105: error: implicit declaration of function 'in_irq' kernel/softirq.c:111: error: implicit declaration of function 'softirq_count' kernel/softirq.c:111: error: 'SOFTIRQ_OFFSET' undeclared (first use in this function) kernel/softirq.c:113: error: implicit declaration of function 'sub_preempt_count' kernel/softirq.c: At top level: kernel/softirq.c:115: warning: data definition has no type or storage class kernel/softirq.c:115: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/softirq.c:115: warning: parameter names (without types) in function declaration kernel/softirq.c: In function '_local_bh_enable': kernel/softirq.c:125: error: implicit declaration of function 'irqs_disabled' kernel/softirq.c:127: error: 'SOFTIRQ_OFFSET' undeclared (first use in this function) kernel/softirq.c:128: error: implicit declaration of function 'trace_softirqs_on' kernel/softirq.c: At top level: kernel/softirq.c:132: warning: data definition has no type or storage class kernel/softirq.c:132: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:132: warning: parameter names (without types) in function declaration kernel/softirq.c: In function '_local_bh_enable_ip': kernel/softirq.c:143: error: 'SOFTIRQ_OFFSET' undeclared (first use in this function) kernel/softirq.c:151: error: implicit declaration of function 'unlikely' kernel/softirq.c:151: error: implicit declaration of function 'in_interrupt' kernel/softirq.c:151: error: implicit declaration of function 'local_softirq_pending' kernel/softirq.c:152: error: implicit declaration of function 'do_softirq' kernel/softirq.c:154: error: implicit declaration of function 'dec_preempt_count' kernel/softirq.c:158: error: implicit declaration of function 'preempt_check_resched' fs/char_dev.c:343: error: implicit declaration of function 'module_put' kernel/softirq.c: At top level: kernel/softirq.c:165: warning: data definition has no type or storage class make[1]: *** [mm/readahead.o] Error 1 fs/char_dev.c: In function 'cdev_put': fs/char_dev.c:350: error: dereferencing pointer to incomplete type fs/char_dev.c:351: error: dereferencing pointer to incomplete type fs/char_dev.c: At top level: fs/char_dev.c:359: warning: 'struct file' declared inside parameter list fs/char_dev.c:359: warning: 'struct inode' declared inside parameter list CC arch/x86/kernel/i8253.o fs/char_dev.c: In function 'chrdev_open': kernel/softirq.c:165: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:165: warning: parameter names (without types) in function declaration kernel/softirq.c:171: warning: data definition has no type or storage class kernel/softirq.c:171: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:171: warning: parameter names (without types) in function declaration kernel/softirq.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/softirq.c:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/softirq.c: In function 'irq_enter': kernel/softirq.c:262: error: implicit declaration of function '__irq_enter' kernel/softirq.c: In function 'irq_exit': kernel/softirq.c:280: error: implicit declaration of function 'account_system_vtime' kernel/softirq.c:280: error: 'current' undeclared (first use in this function) kernel/softirq.c:281: error: implicit declaration of function 'trace_hardirq_exit'cc1: error: include/linux/autoconf.h: No such file or directory fs/char_dev.c:362: error: 'NULL' undeclared (first use in this function) fs/char_dev.c:365: error: implicit declaration of function 'spin_lock' fs/char_dev.c:365: error: 'cdev_lock' undeclared (first use in this function) fs/char_dev.c:366: error: dereferencing pointer to incomplete type fs/char_dev.c:370: error: implicit declaration of function 'spin_unlock' fs/char_dev.c:371: error: implicit declaration of function 'kobj_lookup' fs/char_dev.c:371: error: dereferencing pointer to incomplete type fs/char_dev.c:371: warning: assignment makes pointer from integer without a cast fs/char_dev.c:373: error: 'ENXIO' undeclared (first use in this function) fs/char_dev.c:374: error: implicit declaration of function 'container_of' fs/char_dev.c:374: error: expected expression before 'struct' fs/char_dev.c:374: warning: assignment makes pointer from integer without a cast fs/char_dev.c:378: error: dereferencing pointer to incomplete type fs/char_dev.c:380: error: dereferencing pointer to incomplete type fs/char_dev.c:381: error: dereferencing pointer to incomplete type fs/char_dev.c:382: error: implicit declaration of function 'list_add' fs/char_dev.c:382: error: dereferencing pointer to incomplete type fs/char_dev.c:382: error: dereferencing pointer to incomplete type fs/char_dev.c:392: error: dereferencing pointer to incomplete type fs/char_dev.c:392: error: implicit declaration of function 'fops_get' fs/char_dev.c:392: error: dereferencing pointer to incomplete type fs/char_dev.c:393: error: dereferencing pointer to incomplete type fs/char_dev.c:397: error: dereferencing pointer to incomplete type fs/char_dev.c:398: error: dereferencing pointer to incomplete type fs/char_dev.c: At top level: fs/char_dev.c:404: warning: 'struct inode' declared inside parameter list fs/char_dev.c: In function 'cd_forget': fs/char_dev.c:406: error: 'cdev_lock' undeclared (first use in this function) fs/char_dev.c:407: error: implicit declaration of function 'list_del_init' fs/char_dev.c:407: error: dereferencing pointer to incomplete type fs/char_dev.c:408: error: dereferencing pointer to incomplete type fs/char_dev.c:408: error: 'NULL' undeclared (first use in this function) fs/char_dev.c: In function 'cdev_purge': fs/char_dev.c:414: error: 'cdev_lock' undeclared (first use in this function) fs/char_dev.c:415: error: implicit declaration of function 'list_empty' fs/char_dev.c:415: error: dereferencing pointer to incomplete type fs/stat.c:7:26: CC mm/truncate.o error: linux/module.h: No such file or directory kernel/softirq.c:282: error: 'IRQ_EXIT_OFFSET' undeclared (first use in this function)fs/stat.c:8:22: error: fs/char_dev.c:417: error: dereferencing pointer to incomplete type fs/char_dev.c:417: error: expected expression before 'struct' fs/char_dev.c:417: warning: assignment makes pointer from integer without a cast fs/char_dev.c:418: error: dereferencing pointer to incomplete type fs/char_dev.c:419: error: dereferencing pointer to incomplete type fs/char_dev.c:419: error: 'NULL' undeclared (first use in this function) fs/char_dev.c: At top level: fs/char_dev.c:429: error: variable 'def_chr_fops' has initializer but incomplete type fs/char_dev.c:430: error: unknown field 'open' specified in initializer fs/char_dev.c:430: warning: excess elements in struct initializer fs/char_dev.c:430: warning: (near initialization for 'def_chr_fops') fs/char_dev.c:433: error: expected ')' before 'dev' fs/char_dev.c:439: error: expected ')' before 'dev' fs/char_dev.c:455: error: expected declaration specifiers or '...' before 'dev_t' fs/char_dev.c: In function 'cdev_add': fs/char_dev.c:457: error: dereferencing pointer to incomplete type fs/char_dev.c:457: error: 'dev' undeclared (first use in this function) fs/char_dev.c:458: error: dereferencing pointer to incomplete type fs/char_dev.c:459: error: implicit declaration of function 'kobj_map' fs/char_dev.c:459: error: 'NULL' undeclared (first use in this function) fs/char_dev.c:459: error: 'exact_match' undeclared (first use in this function) fs/char_dev.c:459: error: 'exact_lock' undeclared (first use in this function) fs/char_dev.c: At top level: fs/char_dev.c:462: error: expected ')' before 'dev' fs/char_dev.c:475: warning: conflicting types for 'cdev_del' fs/char_dev.c:328: warning: previous implicit declaration of 'cdev_del' was here fs/char_dev.c: In function 'cdev_del': fs/char_dev.c:476: error: implicit declaration of function 'cdev_unmap' fs/char_dev.c:476: error: dereferencing pointer to incomplete type fs/char_dev.c:476: error: dereferencing pointer to incomplete type fs/char_dev.c:477: error: dereferencing pointer to incomplete type fs/char_dev.c: In function 'cdev_default_release': fs/char_dev.c:483: error: expected expression before 'struct' fs/char_dev.c:483: warning: initialization makes pointer from integer without a cast fs/char_dev.c: In function 'cdev_dynamic_release': fs/char_dev.c:489: error: expected expression before 'struct' fs/char_dev.c:489: warning: initialization makes pointer from integer without a cast fs/char_dev.c: At top level: fs/char_dev.c:494: error: variable 'ktype_cdev_default' has initializer but incomplete type fs/char_dev.c:495: error: unknown field 'release' specified in initializer fs/char_dev.c:495: warning: excess elements in struct initializer fs/char_dev.c:495: warning: (near initialization for 'ktype_cdev_default') fs/char_dev.c:498: error: variable 'ktype_cdev_dynamic' has initializer but incomplete type fs/char_dev.c:499: error: unknown field 'release' specified in initializer fs/char_dev.c:499: warning: excess elements in struct initializer fs/char_dev.c:499: warning: (near initialization for 'ktype_cdev_dynamic') fs/char_dev.c:508: error: conflicting types for 'cdev_alloc' fs/char_dev.c:277: error: previous implicit declaration of 'cdev_alloc' was here fs/char_dev.c: In function 'cdev_alloc': fs/char_dev.c:509: error: invalid application of 'sizeof' to incomplete type 'struct cdev' fs/char_dev.c:509: error: 'GFP_KERNEL' undeclared (first use in this function) fs/char_dev.c:509: warning: initialization makes pointer from integer without a cast fs/char_dev.c:511: error: implicit declaration of function 'INIT_LIST_HEAD' fs/char_dev.c:511: error: dereferencing pointer to incomplete type fs/char_dev.c:512: error: implicit declaration of function 'kobject_init' fs/char_dev.c:512: error: dereferencing pointer to incomplete type fs/char_dev.c: In function 'cdev_init': fs/char_dev.c:527: error: implicit declaration of function 'memset' fs/char_dev.c:527: error: dereferencing pointer to incomplete type fs/char_dev.c:528: error: dereferencing pointer to incomplete type fs/char_dev.c:529: error: dereferencing pointer to incomplete type fs/char_dev.c:530: error: dereferencing pointer to incomplete type fs/char_dev.c: At top level: fs/char_dev.c:533: error: expected ')' before 'dev' fs/char_dev.c:541: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/char_dev.c:549: warning: data definition has no type or storage class fs/char_dev.c:549: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:549: warning: parameter names (without types) in function declaration fs/char_dev.c:550: warning: data definition has no type or storage class fs/char_dev.c:550: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:550: warning: parameter names (without types) in function declaration fs/char_dev.c:551: warning: data definition has no type or storage class fs/char_dev.c:551: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:551: warning: parameter names (without types) in function declaration fs/char_dev.c:552: warning: data definition has no type or storage class fs/char_dev.c:552: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:552: warning: parameter names (without types) in function declaration fs/char_dev.c:553: warning: data definition has no type or storage class fs/char_dev.c:553: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:553: warning: parameter names (without types) in function declaration fs/char_dev.c:554: warning: data definition has no type or storage class fs/char_dev.c:554: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:554: warning: parameter names (without types) in function declaration fs/char_dev.c:555: warning: data definition has no type or storage class fs/char_dev.c:555: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:555: warning: parameter names (without types) in function declaration fs/char_dev.c:556: warning: data definition has no type or storage class fs/char_dev.c:556: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:556: warning: parameter names (without types) in function declaration fs/char_dev.c:557: warning: data definition has no type or storage class fs/char_dev.c:557: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:557: warning: parameter names (without types) in function declaration fs/char_dev.c:558: warning: data definition has no type or storage class fs/char_dev.c:558: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/char_dev.c:558: warning: parameter names (without types) in function declaration linux/mm.h: No such file or directory fs/stat.c:9:25: error: linux/errno.h: No such file or directory kernel/softirq.c:292: error: implicit declaration of function 'preempt_enable_no_resched' fs/stat.c:10:24: error: linux/file.h: No such file or directory fs/stat.c:11:27:kernel/softirq.c: In function 'raise_softirq_irqoff': error: linux/highuid.h: No such file or directory fs/stat.c:12:22: error: linux/fs.h: No such file or directory fs/stat.c:13:25: error: linux/namei.h: No such file or directory fs/stat.c:14:28: error: linux/security.h: No such file or directory fs/stat.c:15:28: error: linux/syscalls.h: No such file or directory fs/stat.c:16:27: error: linux/pagemap.h: No such file or directory fs/stat.c:18:25: error: asm/uaccess.h: No such file or directory fs/stat.c:19:24: error: asm/unistd.h: No such file or directory fs/stat.c:21: warning: 'struct kstat' declared inside parameter list fs/stat.c:21: warning: its scope is only this definition or declaration, which is probably not what you want fs/stat.c:21: warning: 'struct inode' declared inside parameter list fs/stat.c: In function 'generic_fillattr': fs/stat.c:23: error: dereferencing pointer to incomplete type fs/stat.c:23: error: dereferencing pointer to incomplete type fs/stat.c:24: error: dereferencing pointer to incomplete type fs/stat.c:24: error: dereferencing pointer to incomplete type fs/stat.c:25: error: dereferencing pointer to incomplete type fs/stat.c:25: error: dereferencing pointer to incomplete type fs/stat.c:26: error: dereferencing pointer to incomplete type fs/stat.c:26: error: dereferencing pointer to incomplete type fs/stat.c:27: error: dereferencing pointer to incomplete type fs/stat.c:27: error: dereferencing pointer to incomplete type fs/stat.c:28: error: dereferencing pointer to incomplete type fs/stat.c:28: error: dereferencing pointer to incomplete type fs/stat.c:29: error: dereferencing pointer to incomplete type fs/stat.c:29: error: dereferencing pointer to incomplete type fs/stat.c:30: error: dereferencing pointer to incomplete type fs/stat.c:30: error: dereferencing pointer to incomplete type fs/stat.c:31: error: dereferencing pointer to incomplete type fs/stat.c:31: error: dereferencing pointer to incomplete type fs/stat.c:32: error: dereferencing pointer to incomplete type fs/stat.c:32: error: dereferencing pointer to incomplete type fs/stat.c:33: error: dereferencing pointer to incomplete type fs/stat.c:33: error: implicit declaration of function 'i_size_read' fs/stat.c:34: error: dereferencing pointer to incomplete type fs/stat.c:34: error: dereferencing pointer to incomplete type fs/stat.c:35: error: dereferencing pointer to incomplete type fs/stat.c:35: error: dereferencing pointer to incomplete type fs/stat.c: At top level: fs/stat.c:38: warning: data definition has no type or storage class fs/stat.c:38: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:38: warning: parameter names (without types) in function declaration fs/stat.c:40: warning: 'struct kstat' declared inside parameter list fs/stat.c:40: warning: 'struct dentry' declared inside parameter list fs/stat.c:40: warning: 'struct vfsmount' declared inside parameter list kernel/softirq.c:300: error: implicit declaration of function '__raise_softirq_irqoff'fs/stat.c: In function 'vfs_getattr': fs/stat.c:42: error: dereferencing pointer to incomplete type fs/stat.c:45: error: implicit declaration of function 'security_inode_getattr' fs/stat.c:49: error: dereferencing pointer to incomplete type fs/stat.c:50: error: dereferencing pointer to incomplete type fs/stat.c:52: warning: passing argument 1 of 'generic_fillattr' from incompatible pointer type fs/stat.c:52: warning: passing argument 2 of 'generic_fillattr' from incompatible pointer type fs/stat.c: At top level: fs/stat.c:56: warning: data definition has no type or storage class fs/stat.c:56: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:56: warning: parameter names (without types) in function declaration fs/stat.c:58: error: expected ';', ',' or ')' before '*' token fs/stat.c:71: error: expected ';', ',' or ')' before '*' token fs/stat.c:76: warning: data definition has no type or storage class fs/stat.c:76: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:76: warning: parameter names (without types) in function declaration fs/stat.c:78: error: expected ';', ',' or ')' before '*' token fs/stat.c:91: error: expected ';', ',' or ')' before '*' token fs/stat.c:96: warning: data definition has no type or storage class fs/stat.c:96: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:96: warning: parameter names (without types) in function declaration fs/stat.c:98: warning: 'struct kstat' declared inside parameter list fs/stat.c: In function 'vfs_fstat': fs/stat.c:100: error: implicit declaration of function 'fget' fs/stat.c:100: warning: initialization makes pointer from integer without a cast fs/stat.c:101: error: 'EBADF' undeclared (first use in this function) fs/stat.c:101: error: (Each undeclared identifier is reported only once fs/stat.c:101: error: for each function it appears in.) fs/stat.c:104: error: dereferencing pointer to incomplete type fs/stat.c:104: error: dereferencing pointer to incomplete type fs/stat.c:104: warning: passing argument 3 of 'vfs_getattr' from incompatible pointer type fs/stat.c:105: error: implicit declaration of function 'fput' fs/stat.c: At top level: fs/stat.c:110: warning: data definition has no type or storage class fs/stat.c:110: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:110: warning: parameter names (without types) in function declaration make[1]: *** [fs/char_dev.o] Error 1 fs/stat.c:188: error: expected ';', ',' or ')' before '*' token fs/stat.c:192:5: warning: "BITS_PER_LONG" is not defined fs/stat.c:201:5: warning: "BITS_PER_LONG" is not defined fs/stat.c:215:5: warning: "BITS_PER_LONG" is not defined fs/stat.c:220:5: warning: "BITS_PER_LONG" is not defined fs/stat.c:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:321: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/stat.c:421: error: expected declaration specifiers or '...' before 'loff_t' fs/stat.c:421: warning: 'struct inode' declared inside parameter list fs/stat.c: In function 'inode_add_bytes': fs/stat.c:423: error: implicit declaration of function 'spin_lock' fs/stat.c:423: error: dereferencing pointer to incomplete type fs/stat.c:424: error: dereferencing pointer to incomplete type fs/stat.c:424: error: 'bytes' undeclared (first use in this function) fs/stat.c:426: error: dereferencing pointer to incomplete type fs/stat.c:427: error: dereferencing pointer to incomplete type fs/stat.c:428: error: dereferencing pointer to incomplete type fs/stat.c:429: error: dereferencing pointer to incomplete type fs/stat.c:431: error: implicit declaration of function 'spin_unlock' fs/stat.c:431: error: dereferencing pointer to incomplete type fs/stat.c: At top level: fs/stat.c:434: warning: data definition has no type or storage class fs/stat.c:434: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:434: warning: parameter names (without types) in function declaration fs/stat.c:436: error: expected declaration specifiers or '...' before 'loff_t' fs/stat.c:436: warning: 'struct inode' declared inside parameter list fs/stat.c: In function 'inode_sub_bytes': fs/stat.c:438: error: dereferencing pointer to incomplete type fs/stat.c:439: error: dereferencing pointer to incomplete type fs/stat.c:439: error: 'bytes' undeclared (first use in this function) fs/stat.c:441: error: dereferencing pointer to incomplete type fs/stat.c:442: error: dereferencing pointer to incomplete type fs/stat.c:443: error: dereferencing pointer to incomplete type fs/stat.c:445: error: dereferencing pointer to incomplete type fs/stat.c:446: error: dereferencing pointer to incomplete type fs/stat.c: At top level: fs/stat.c:449: warning: data definition has no type or storage class fs/stat.c:449: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:449: warning: parameter names (without types) in function declaration fs/stat.c:451: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inode_get_bytes' fs/stat.c:461: warning: data definition has no type or storage class fs/stat.c:461: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:461: warning: parameter names (without types) in function declaration fs/stat.c:463: error: expected declaration specifiers or '...' before 'loff_t' fs/stat.c:463: warning: 'struct inode' declared inside parameter list fs/stat.c: In function 'inode_set_bytes': fs/stat.c:467: error: dereferencing pointer to incomplete type fs/stat.c:467: error: 'bytes' undeclared (first use in this function) fs/stat.c:468: error: dereferencing pointer to incomplete type fs/stat.c: At top level: fs/stat.c:471: warning: data definition has no type or storage class fs/stat.c:471: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/stat.c:471: warning: parameter names (without types) in function declaration kernel/softirq.c: In function 'raise_softirq': kernel/softirq.c:319: error: implicit declaration of function 'local_irq_save' kernel/softirq.c:321: error: implicit declaration of function 'local_irq_restore' kernel/softirq.c: In function 'open_softirq': kernel/softirq.c:326: error: 'softirq_vec' undeclared (first use in this function) kernel/softirq.c: At top level: kernel/softirq.c:336: error: expected declaration specifiers or '...' before 'tasklet_vec' kernel/softirq.c:336: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' kernel/softirq.c:336: error: conflicting types for 'DEFINE_PER_CPU' kernel/softirq.c:51: error: previous declaration of 'DEFINE_PER_CPU' was here kernel/softirq.c:337: error: expected declaration specifiers or '...' before 'tasklet_hi_vec' kernel/softirq.c:337: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' CC mm/vmscan.o kernel/softirq.c: In function '__tasklet_schedule': kernel/softirq.c:344: error: dereferencing pointer to incomplete type kernel/softirq.c:344: error: 'NULL' undeclared (first use in this function) kernel/softirq.c:345: error: 'tasklet_vec' undeclared (first use in this function) kernel/softirq.c:345: error: request for member 'tail' in something not a structure or union kernel/softirq.c:346: error: request for member 'tail' in something not a structure or union kernel/softirq.c:346: error: dereferencing pointer to incomplete type kernel/softirq.c:347: error: 'TASKLET_SOFTIRQ' undeclared (first use in this function) kernel/softirq.c: At top level: kernel/softirq.c:351: warning: data definition has no type or storage class kernel/softirq.c:351: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:351: warning: parameter names (without types) in function declaration kernel/softirq.c: In function '__tasklet_hi_schedule': kernel/softirq.c:358: error: dereferencing pointer to incomplete type kernel/softirq.c:358: error: 'NULL' undeclared (first use in this function) kernel/softirq.c:359: error: 'tasklet_hi_vec' undeclared (first use in this function) kernel/softirq.c:359: error: request for member 'tail' in something not a structure or union kernel/softirq.c:360: error: request for member 'tail' in something not a structure or union kernel/softirq.c:360: error: dereferencing pointer to incomplete type kernel/softirq.c:361: error: 'HI_SOFTIRQ' undeclared (first use in this function) kernel/softirq.c: At top level: kernel/softirq.c:365: warning: data definition has no type or storage class kernel/softirq.c:365: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:365: warning: parameter names (without types) in function declaration kernel/softirq.c: In function '__tasklet_hi_schedule_first': kernel/softirq.c:369: error: implicit declaration of function 'BUG_ON' kernel/softirq.c:371: error: dereferencing pointer to incomplete type kernel/softirq.c:371: error: 'tasklet_hi_vec' undeclared (first use in this function) kernel/softirq.c:371: error: request for member 'head' in something not a structure or union kernel/softirq.c:372: error: request for member 'head' in something not a structure or union kernel/softirq.c:373: error: 'HI_SOFTIRQ' undeclared (first use in this function) kernel/softirq.c: At top level: kernel/softirq.c:376: warning: data definition has no type or storage class kernel/softirq.c:376: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:376: warning: parameter names (without types) in function declaration kernel/softirq.c: In function 'tasklet_action': kernel/softirq.c:382: error: implicit declaration of function 'local_irq_disable' kernel/softirq.c:383: error: 'tasklet_vec' undeclared (first use in this function) kernel/softirq.c:383: error: request for member 'head' in something not a structure or union kernel/softirq.c:384: error: request for member 'head' in something not a structure or union kernel/softirq.c:384: error: 'NULL' undeclared (first use in this function) kernel/softirq.c:385: error: request for member 'tail' in something not a structure or union kernel/softirq.c:385: error: request for member 'head' in something not a structure or union kernel/softirq.c:386: error: implicit declaration of function 'local_irq_enable' kernel/softirq.c:391: error: dereferencing pointer to incomplete type kernel/softirq.c:393: error: implicit declaration of function 'tasklet_trylock' kernel/softirq.c:394: error: implicit declaration of function 'atomic_read' kernel/softirq.c:394: error: dereferencing pointer to incomplete type kernel/softirq.c:395: error: implicit declaration of function 'test_and_clear_bit' kernel/softirq.c:395: error: 'TASKLET_STATE_SCHED' undeclared (first use in this function) kernel/softirq.c:395: error: dereferencing pointer to incomplete type kernel/softirq.c:396: error: implicit declaration of function 'BUG' kernel/softirq.c:397: error: dereferencing pointer to incomplete type kernel/softirq.c:397: error: dereferencing pointer to incomplete type kernel/softirq.c:398: error: implicit declaration of function 'tasklet_unlock' kernel/softirq.c:405: error: dereferencing pointer to incomplete type kernel/softirq.c:406: error: request for member 'tail' in something not a structure or union kernel/softirq.c:407: error: request for member 'tail' in something not a structure or union kernel/softirq.c:407: error: dereferencing pointer to incomplete type kernel/softirq.c:408: error: 'TASKLET_SOFTIRQ' undeclared (first use in this function) kernel/softirq.c: In function 'tasklet_hi_action': kernel/softirq.c:418: error: 'tasklet_hi_vec' undeclared (first use in this function) kernel/softirq.c:418: error: request for member 'head' in something not a structure or union kernel/softirq.c:419: error: request for member 'head' in something not a structure or union kernel/softirq.c:419: error: 'NULL' undeclared (first use in this function) kernel/softirq.c:420: error: request for member 'tail' in something not a structure or union kernel/softirq.c:420: error: request for member 'head' in something not a structure or union kernel/softirq.c:426: error: dereferencing pointer to incomplete type kernel/softirq.c:429: error: dereferencing pointer to incomplete type kernel/softirq.c:430: error: 'TASKLET_STATE_SCHED' undeclared (first use in this function) kernel/softirq.c:430: error: dereferencing pointer to incomplete type kernel/softirq.c:432: error: dereferencing pointer to incomplete type kernel/softirq.c:432: error: dereferencing pointer to incomplete type kernel/softirq.c:440: error: dereferencing pointer to incomplete type kernel/softirq.c:441: error: request for member 'tail' in something not a structure or union kernel/softirq.c:442: error: request for member 'tail' in something not a structure or union kernel/softirq.c:442: error: dereferencing pointer to incomplete type kernel/softirq.c:443: error: 'HI_SOFTIRQ' undeclared (first use in this function) kernel/softirq.c: In function 'tasklet_init': kernel/softirq.c:452: error: dereferencing pointer to incomplete type kernel/softirq.c:452: error: 'NULL' undeclared (first use in this function) kernel/softirq.c:453: error: dereferencing pointer to incomplete type kernel/softirq.c:454: error: implicit declaration of function 'atomic_set' kernel/softirq.c:454: error: dereferencing pointer to incomplete type kernel/softirq.c:455: error: dereferencing pointer to incomplete type kernel/softirq.c:456: error: dereferencing pointer to incomplete type kernel/softirq.c: At top level: kernel/softirq.c:459: warning: data definition has no type or storage class kernel/softirq.c:459: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:459: warning: parameter names (without types) in function declaration kernel/softirq.c: In function 'tasklet_kill': kernel/softirq.c:464: error: implicit declaration of function 'printk' kernel/softirq.c:466: error: implicit declaration of function 'test_and_set_bit' kernel/softirq.c:466: error: 'TASKLET_STATE_SCHED' undeclared (first use in this function) kernel/softirq.c:466: error: dereferencing pointer to incomplete type kernel/softirq.c:468: error: implicit declaration of function 'yield' kernel/softirq.c:469: error: implicit declaration of function 'test_bit' kernel/softirq.c:469: error: dereferencing pointer to incomplete type kernel/softirq.c:471: error: implicit declaration of function 'tasklet_unlock_wait' kernel/softirq.c:472: error: implicit declaration of function 'clear_bit' kernel/softirq.c:472: error: dereferencing pointer to incomplete type kernel/softirq.c: At top level: kernel/softirq.c:475: warning: data definition has no type or storage class kernel/softirq.c:475: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/softirq.c:475: warning: parameter names (without types) in function declaration kernel/softirq.c:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'softirq_init' kernel/softirq.c: In function 'ksoftirqd': kernel/softirq.c:494: error: implicit declaration of function 'set_current_state' kernel/softirq.c:494: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/softirq.c:496: error: implicit declaration of function 'kthread_should_stop' kernel/softirq.c:497: error: implicit declaration of function 'preempt_disable' kernel/softirq.c:500: error: implicit declaration of function 'schedule' kernel/softirq.c:504: error: implicit declaration of function '__set_current_state' kernel/softirq.c:504: error: 'TASK_RUNNING' undeclared (first use in this function) kernel/softirq.c:510: error: implicit declaration of function 'cpu_is_offline' kernel/softirq.c:514: error: implicit declaration of function 'cond_resched' kernel/softirq.c:517: error: implicit declaration of function 'preempt_enable' make[1]: kernel/softirq.c: At top level: *** [fs/stat.o] Error 1kernel/softirq.c:594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_callback' kernel/softirq.c:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_nfb' kernel/softirq.c:644: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' CC fs/exec.o make[1]: *** [kernel/softirq.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/i8253.c:5:30: error: linux/clockchips.h: No such file or directory arch/x86/kernel/i8253.c:6:24: error: linux/init.h: No such file or directory arch/x86/kernel/i8253.c:7:29: error: linux/interrupt.h: No such file or directory arch/x86/kernel/i8253.c:8:27: error: linux/jiffies.h: No such file or directory arch/x86/kernel/i8253.c:9:26: error: linux/module.h: No such file or directory arch/x86/kernel/i8253.c:10:28: error: linux/spinlock.h: No such file or directory arch/x86/kernel/i8253.c:12:21: error: asm/smp.h: No such file or directory arch/x86/kernel/i8253.c:13:23: error: asm/delay.h: No such file or directory arch/x86/kernel/i8253.c:14:23: error: asm/i8253.h: No such file or directory arch/x86/kernel/i8253.c:15:20: error: asm/io.h: No such file or directory arch/x86/kernel/i8253.c:16:22: error: asm/hpet.h: No such file or directory arch/x86/kernel/i8253.c:18: warning: data definition has no type or storage class arch/x86/kernel/i8253.c:18: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' arch/x86/kernel/i8253.c:18: warning: parameter names (without types) in function declaration arch/x86/kernel/i8253.c:19: warning: data definition has no type or storage class arch/x86/kernel/i8253.c:19: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/i8253.c:19: warning: parameter names (without types) in function declaration CC kernel/resource.o arch/x86/kernel/i8253.c:39: warning: 'enum clock_event_mode' declared inside parameter list arch/x86/kernel/i8253.c:39: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/i8253.c:38: error: parameter 1 ('mode') has incomplete type arch/x86/kernel/i8253.c: In function 'init_pit_timer': arch/x86/kernel/i8253.c:41: error: implicit declaration of function 'spin_lock' arch/x86/kernel/i8253.c:41: error: 'i8253_lock' undeclared (first use in this function) arch/x86/kernel/i8253.c:41: error: (Each undeclared identifier is reported only once arch/x86/kernel/i8253.c:41: error: for each function it appears in.) arch/x86/kernel/i8253.c:44: error: 'CLOCK_EVT_MODE_PERIODIC' undeclared (first use in this function) arch/x86/kernel/i8253.c:46: error: implicit declaration of function 'outb_pit' arch/x86/kernel/i8253.c:46: error: 'PIT_MODE' undeclared (first use in this function) arch/x86/kernel/i8253.c:47: error: 'LATCH' undeclared (first use in this function) arch/x86/kernel/i8253.c:47: error: 'PIT_CH0' undeclared (first use in this function) arch/x86/kernel/i8253.c:51: error: 'CLOCK_EVT_MODE_SHUTDOWN' undeclared (first use in this function) arch/x86/kernel/i8253.c:52: error: 'CLOCK_EVT_MODE_UNUSED' undeclared (first use in this function) arch/x86/kernel/i8253.c:53: error: dereferencing pointer to incomplete type arch/x86/kernel/i8253.c:54: error: dereferencing pointer to incomplete type arch/x86/kernel/i8253.c:54: error: 'CLOCK_EVT_MODE_ONESHOT' undeclared (first use in this function) arch/x86/kernel/i8253.c:68: error: 'CLOCK_EVT_MODE_RESUME' undeclared (first use in this function) arch/x86/kernel/i8253.c:72: error: implicit declaration of function 'spin_unlock' arch/x86/kernel/i8253.c: In function 'pit_next_event': arch/x86/kernel/i8253.c:82: error: 'i8253_lock' undeclared (first use in this function) arch/x86/kernel/i8253.c:83: error: 'PIT_CH0' undeclared (first use in this function) arch/x86/kernel/i8253.c: At top level: arch/x86/kernel/i8253.c:98: error: variable 'pit_clockevent' has initializer but incomplete type arch/x86/kernel/i8253.c:99: error: unknown field 'name' specified in initializer arch/x86/kernel/i8253.c:99: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:99: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:100: error: unknown field 'features' specified in initializer arch/x86/kernel/i8253.c:100: error: 'CLOCK_EVT_FEAT_PERIODIC' undeclared here (not in a function) arch/x86/kernel/i8253.c:100: error: 'CLOCK_EVT_FEAT_ONESHOT' undeclared here (not in a function) arch/x86/kernel/i8253.c:100: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:100: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:101: error: unknown field 'set_mode' specified in initializer arch/x86/kernel/i8253.c:101: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:101: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:102: error: unknown field 'set_next_event' specified in initializer arch/x86/kernel/i8253.c:102: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:102: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:103: error: unknown field 'shift' specified in initializer arch/x86/kernel/i8253.c:103: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:103: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:104: error: unknown field 'irq' specified in initializer arch/x86/kernel/i8253.c:104: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:104: warning: (near initialization for 'pit_clockevent') arch/x86/kernel/i8253.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_pit_timer' cc1: arch/x86/kernel/i8253.c:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pit_read' arch/x86/kernel/i8253.c:195: error: variable 'clocksource_pit' has initializer but incomplete type arch/x86/kernel/i8253.c:196: error: unknown field 'name' specified in initializer arch/x86/kernel/i8253.c:196: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:196: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:197: error: unknown field 'rating' specified in initializer arch/x86/kernel/i8253.c:197: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:197: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:198: error: unknown field 'read' specified in initializer arch/x86/kernel/i8253.c:198: error: 'pit_read' undeclared here (not in a function) arch/x86/kernel/i8253.c:198: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:198: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:199: error: unknown field 'mask' specified in initializer arch/x86/kernel/i8253.c:199: error: implicit declaration of function 'CLOCKSOURCE_MASK' arch/x86/kernel/i8253.c:199: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:199: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:200: error: unknown field 'mult' specified in initializer arch/x86/kernel/i8253.c:200: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:200: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:201: error: unknown field 'shift' specified in initializer arch/x86/kernel/i8253.c:201: warning: excess elements in struct initializer arch/x86/kernel/i8253.c:201: warning: (near initialization for 'clocksource_pit') arch/x86/kernel/i8253.c:205: error: redefinition of 'pit_disable_clocksource' arch/x86/kernel/i8253.c:24: error: previous definition of 'pit_disable_clocksource' was here arch/x86/kernel/i8253.c: In function 'pit_disable_clocksource': arch/x86/kernel/i8253.c:209: error: invalid use of undefined type 'struct clocksource' arch/x86/kernel/i8253.c:210: error: implicit declaration of function 'clocksource_unregister' arch/x86/kernel/i8253.c:211: error: invalid use of undefined type 'struct clocksource' arch/x86/kernel/i8253.c: At top level: arch/x86/kernel/i8253.c:215: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_pit_clocksource' arch/x86/kernel/i8253.c:232: warning: data definition has no type or storage class arch/x86/kernel/i8253.c:232: warning: type defaults to 'int' in declaration of 'arch_initcall' arch/x86/kernel/i8253.c:232: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory mm/vmscan.c:14:22: error: linux/mm.h: No such file or directory mm/vmscan.c:15:26: error: linux/module.h: No such file or directory mm/vmscan.c:16:24: error: linux/slab.h: No such file or directory mm/vmscan.c:17:31: error: linux/kernel_stat.h: No such file or directory mm/vmscan.c:18:24: error: linux/swap.h: No such file or directory mm/vmscan.c:19:27: error: linux/pagemap.h: No such file or directory mm/vmscan.c:20:24: error: linux/init.h: No such file or directory mm/vmscan.c:21:27: error: linux/highmem.h: No such file or directory mm/vmscan.c:22:26: error: linux/vmstat.h: No such file or directory mm/vmscan.c:23:24: error: linux/file.h: No such file or directory mm/vmscan.c:24:29: error: linux/writeback.h: No such file or directory mm/vmscan.c:25:26: error: linux/blkdev.h: No such file or directory mm/vmscan.c:27:32: error: linux/buffer_head.h: No such file or directory mm/vmscan.c:28:29: error: linux/mm_inline.h: No such file or directory mm/vmscan.c:29:27: error: linux/pagevec.h: No such file or directory mm/vmscan.c:30:31: error: linux/backing-dev.h: No such file or directory mm/vmscan.c:31:24: error: linux/rmap.h: No such file or directory mm/vmscan.c:32:28: error: linux/topology.h: No such file or directory mm/vmscan.c:33:23: error: linux/cpu.h: No such file or directory mm/vmscan.c:34:26: error: linux/cpuset.h: No such file or directory mm/vmscan.c:35:28: error: linux/notifier.h: No such file or directory mm/vmscan.c:36:25: error: linux/rwsem.h: No such file or directory mm/vmscan.c:37:25: error: linux/delay.h: No such file or directory mm/vmscan.c:38:27: error: linux/kthread.h: No such file or directory mm/vmscan.c:39:27: error: linux/freezer.h: No such file or directory mm/vmscan.c:40:30: error: linux/memcontrol.h: No such file or directory mm/vmscan.c:42:26: error: asm/tlbflush.h: No such file or directory mm/vmscan.c:43:23: error: asm/div64.h: No such file or directory mm/vmscan.c:45:27: error: linux/swapops.h: No such file or directory In file included from mm/vmscan.c:47: mm/internal.h:16: warning: 'struct page' declared inside parameter list mm/internal.h:16: warning: its scope is only this definition or declaration, which is probably not what you want mm/internal.h: In function 'set_page_count': mm/internal.h:18: error: implicit declaration of function 'atomic_set' mm/internal.h:18: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:25: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'set_page_refcounted': mm/internal.h:27: error: implicit declaration of function 'VM_BUG_ON' mm/internal.h:27: error: implicit declaration of function 'PageTail' mm/internal.h:28: error: implicit declaration of function 'atomic_read' mm/internal.h:28: error: dereferencing pointer to incomplete type mm/internal.h:29: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/internal.h: At top level: mm/internal.h:32: warning: 'struct page' declared inside parameter list mm/internal.h: In function '__put_page': mm/internal.h:34: error: implicit declaration of function 'atomic_dec' mm/internal.h:34: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:37: warning: 'struct page' declared inside parameter list mm/internal.h:44: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'page_order': mm/internal.h:46: error: implicit declaration of function 'PageBuddy' mm/internal.h:47: error: implicit declaration of function 'page_private' cc1: error: include/linux/autoconf.h: No such file or directory mm/vmscan.c: At top level: mm/vmscan.c:54: error: expected specifier-qualifier-list before 'gfp_t' mm/vmscan.c:119: warning: type defaults to 'int' in declaration of 'LIST_HEAD' mm/vmscan.c:119: warning: parameter names (without types) in function declaration mm/vmscan.c:120: warning: type defaults to 'int' in declaration of 'DECLARE_RWSEM' mm/vmscan.c:120: warning: parameter names (without types) in function declaration mm/vmscan.c:131: warning: 'struct shrinker' declared inside parameter list mm/vmscan.c: In function 'register_shrinker': mm/vmscan.c:133: error: dereferencing pointer to incomplete type mm/vmscan.c:134: error: implicit declaration of function 'down_write' mm/vmscan.c:134: error: 'shrinker_rwsem' undeclared (first use in this function) mm/vmscan.c:134: error: (Each undeclared identifier is reported only once mm/vmscan.c:134: error: for each function it appears in.) mm/vmscan.c:135: error: implicit declaration of function 'list_add_tail' mm/vmscan.c:135: error: dereferencing pointer to incomplete type mm/vmscan.c:135: error: 'shrinker_list' undeclared (first use in this function) mm/vmscan.c:136: error: implicit declaration of function 'up_write' mm/vmscan.c: At top level: mm/vmscan.c:138: warning: data definition has no type or storage class mm/vmscan.c:138: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmscan.c:138: warning: parameter names (without types) in function declaration mm/vmscan.c:143: warning: 'struct shrinker' declared inside parameter list mm/vmscan.c: In function 'unregister_shrinker': mm/vmscan.c:145: error: 'shrinker_rwsem' undeclared (first use in this function) mm/vmscan.c:146: error: implicit declaration of function 'list_del' make[1]: *** [arch/x86/kernel/i8253.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/exec.c:25:24: error: linux/slab.h: No such file or directory fs/exec.c:26:24: error: linux/file.h: No such file or directory fs/exec.c:27:27: error: linux/fdtable.h: No such file or directory fs/exec.c:28:24: error: linux/mman.h: No such file or directory fs/exec.c:29:24: error: linux/stat.h: No such file or directory fs/exec.c:30:25: error: linux/fcntl.h: No such file or directory fs/exec.c:31:28: error: linux/smp_lock.h: No such file or directory fs/exec.c:32:26: error: linux/string.h: No such file or directory fs/exec.c:33:24: error: linux/init.h: No such file or directory fs/exec.c:34:27: error: linux/pagemap.h: No such file or directory fs/exec.c:35:27: error: linux/highmem.h: No such file or directory fs/exec.c:36:28: error: linux/spinlock.h: No such file or directory fs/exec.c:37:23: error: linux/key.h: No such file or directory fs/exec.c:38:31: error: linux/personality.h: No such file or directory fs/exec.c:39:27: error: linux/binfmts.h: No such file or directory fs/exec.c:40:24: error: linux/swap.h: No such file or directory fs/exec.c:41:27: error: linux/utsname.h: No such file or directory fs/exec.c:42:33: error: error: kernel/resource.c:10:26: error: linux/module.h: No such file or directory mm/vmscan.c:146: error: dereferencing pointer to incomplete typekernel/resource.c:11:25: linux/pid_namespace.h: No such file or directoryinclude/linux/autoconf.h: No such file or directory mm/truncate.c:10:26: error: linux/kernel.h: No such file or directory mm/truncate.c:11:31: error: linux/backing-dev.h: No such file or directory mm/truncate.c:12:22: error: linux/mm.h: No such file or directory mm/truncate.c:13:24: error: linux/swap.h: No such file or directory mm/truncate.c:14:26: error: linux/module.h: No such file or directory mm/truncate.c:15:27: error: linux/pagemap.h: No such file or directory mm/truncate.c:16:27: error: linux/highmem.h: No such file or directory mm/truncate.c:17:27: error: linux/pagevec.h: No such file or directory mm/truncate.c:18:42: error: linux/task_io_accounting_ops.h: No such file or directory mm/truncate.c:20:28: error: linux/buffer_head.h: No such file or directory mm/truncate.c:37: warning: 'struct page' declared inside parameter list mm/truncate.c:37: warning: its scope is only this definition or declaration, which is probably not what you want mm/truncate.c: In function 'do_invalidatepage': mm/truncate.c:40: error: dereferencing pointer to incomplete type mm/truncate.c: At top level: mm/truncate.c:49: warning: 'struct page' declared inside parameter list mm/truncate.c: In function 'truncate_partial_page': mm/truncate.c:51: error: implicit declaration of function 'zero_user_segment' mm/truncate.c:51: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/truncate.c:51: error: (Each undeclared identifier is reported only once mm/truncate.c:51: error: for each function it appears in.) mm/truncate.c:52: error: implicit declaration of function 'PagePrivate' CC arch/x86/kernel/pci-nommu.o mm/truncate.c:53: warning: passing argument 1 of 'do_invalidatepage' from incompatible pointer type mm/truncate.c: At top level: mm/truncate.c:70: warning: 'struct page' declared inside parameter list mm/truncate.c: In function 'cancel_dirty_page': mm/truncate.c:72: error: implicit declaration of function 'TestClearPageDirty' mm/truncate.c:73: error: dereferencing pointer to incomplete type mm/truncate.c:74: error: implicit declaration of function 'mapping_cap_account_dirty' mm/truncate.c:75: error: implicit declaration of function 'dec_zone_page_state' mm/truncate.c:75: error: 'NR_FILE_DIRTY' undeclared (first use in this function) mm/truncate.c:76: error: implicit declaration of function 'dec_bdi_stat' mm/truncate.c:76: error: dereferencing pointer to incomplete type mm/truncate.c:77: error: 'BDI_RECLAIMABLE' undeclared (first use in this function) mm/truncate.c:79: error: implicit declaration of function 'task_io_account_cancelled_write' mm/truncate.c: At top level: mm/truncate.c:83: warning: data definition has no type or storage class mm/truncate.c:83: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/truncate.c:83: warning: parameter names (without types) in function declaration mm/truncate.c:96: warning: 'struct page' declared inside parameter list mm/truncate.c:96: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'truncate_complete_page': mm/truncate.c:98: error: dereferencing pointer to incomplete type mm/truncate.c:102: warning: passing argument 1 of 'do_invalidatepage' from incompatible pointer type mm/truncate.c:104: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/truncate.c:104: warning: passing argument 1 of 'cancel_dirty_page' from incompatible pointer type mm/truncate.c:106: error: implicit declaration of function 'remove_from_page_cache' mm/truncate.c:107: error: implicit declaration of function 'ClearPageUptodate' mm/truncate.c:108: error: implicit declaration of function 'ClearPageMappedToDisk' mm/truncate.c:109: error: implicit declaration of function 'page_cache_release' mm/truncate.c: At top level: mm/truncate.c:121: warning: 'struct page' declared inside parameter list mm/truncate.c:121: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'invalidate_complete_page': mm/truncate.c:125: error: dereferencing pointer to incomplete type mm/truncate.c:128: error: implicit declaration of function 'try_to_release_page' mm/truncate.c:131: error: implicit declaration of function 'remove_mapping' mm/truncate.c: At top level: mm/truncate.c:160: error: expected declaration specifiers or '...' before 'loff_t' mm/truncate.c:160: error: expected declaration specifiers or '...' before 'loff_t' mm/truncate.c:160: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'truncate_inode_pages_range': mm/truncate.c:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'start' mm/truncate.c:162: error: 'start' undeclared (first use in this function) mm/truncate.c:162: error: 'lstart' undeclared (first use in this function) mm/truncate.c:162: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/truncate.c:162: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/truncate.c:163: error: 'pgoff_t' undeclared (first use in this function) mm/truncate.c:163: error: expected ';' before 'end' mm/truncate.c:164: warning: ISO C90 forbids mixed declarations and code mm/truncate.c:165: error: storage size of 'pvec' isn't known mm/truncate.c:166: error: expected ';' before 'next' mm/truncate.c:167: warning: ISO C90 forbids mixed declarations and code mm/truncate.c:169: error: dereferencing pointer to incomplete type mm/truncate.c:172: error: implicit declaration of function 'BUG_ON' mm/truncate.c:172: error: 'lend' undeclared (first use in this function) mm/truncate.c:173: error: 'end' undeclared (first use in this function) mm/truncate.c:175: error: implicit declaration of function 'pagevec_init' mm/truncate.c:176: error: 'next' undeclared (first use in this function) mm/truncate.c:178: error: implicit declaration of function 'pagevec_lookup' mm/truncate.c:178: error: 'PAGEVEC_SIZE' undeclared (first use in this function) mm/truncate.c:179: error: implicit declaration of function 'pagevec_count' mm/truncate.c:181: error: expected ';' before 'page_index' mm/truncate.c:183: error: 'page_index' undeclared (first use in this function) mm/truncate.c:191: error: implicit declaration of function 'TestSetPageLocked' mm/truncate.c:193: error: implicit declaration of function 'PageWriteback' mm/truncate.c:194: error: implicit declaration of function 'unlock_page' mm/truncate.c:197: error: implicit declaration of function 'page_mapped' mm/truncate.c:198: error: implicit declaration of function 'unmap_mapping_range' mm/truncate.c:199: error: 'loff_t' undeclared (first use in this function) mm/truncate.c:199: error: expected ')' before 'page_index' mm/truncate.c:202: warning: passing argument 1 of 'truncate_complete_page' from incompatible pointer type mm/truncate.c:202: warning: passing argument 2 of 'truncate_complete_page' from incompatible pointer type mm/truncate.c:205: error: implicit declaration of function 'pagevec_release' mm/truncate.c:206: error: implicit declaration of function 'cond_resched' mm/truncate.c:210: error: implicit declaration of function 'find_lock_page' mm/truncate.c:210: warning: initialization makes pointer from integer without a cast error: mm/truncate.c:212: error: implicit declaration of function 'wait_on_page_writeback' linux/errno.h: No such file or directoryfs/exec.c:43:26: error: linux/module.h: No such file or directory fs/exec.c:44:25: error: linux/namei.h: No such file or directory kernel/resource.c:12:26:mm/truncate.c:213: warning: passing argument 1 of 'truncate_partial_page' from incompatible pointer type mm/truncate.c:235: error: dereferencing pointer to incomplete type mm/truncate.c:237: error: implicit declaration of function 'lock_page' mm/truncate.c:241: error: expected ')' before 'page' mm/truncate.c:244: error: dereferencing pointer to incomplete type mm/truncate.c:245: error: dereferencing pointer to incomplete type mm/vmscan.c: At top level: error: linux/ioport.h: No such file or directory kernel/resource.c:13:24: error: linux/init.h: No such file or directory kernel/resource.c:14:24: error: linux/slab.h: No such file or directory kernel/resource.c:15:28: error: linux/spinlock.h: No such file or directory kernel/resource.c:16:22: error: linux/fs.h: No such file or directory kernel/resource.c:17:27: error: linux/proc_fs.h: No such file or directory kernel/resource.c:18:28: error: linux/seq_file.h: No such file or directory kernel/resource.c:19:26: error: linux/device.h: No such file or directory kernel/resource.c:20:20: error: asm/io.h: No such file or directory kernel/resource.c:23: error: variable 'ioport_resource' has initializer but incomplete type kernel/resource.c:24: error: unknown field 'name' specified in initializer kernel/resource.c:24: warning: excess elements in struct initializer kernel/resource.c:24: warning: (near initialization for 'ioport_resource') kernel/resource.c:25: error: unknown field 'start' specified in initializer kernel/resource.c:25: warning: excess elements in struct initializer kernel/resource.c:25: warning: (near initialization for 'ioport_resource') kernel/resource.c:26: error: unknown field 'end' specified in initializer kernel/resource.c:26: error: 'IO_SPACE_LIMIT' undeclared here (not in a function) kernel/resource.c:26: warning: excess elements in struct initializer kernel/resource.c:26: warning: (near initialization for 'ioport_resource') kernel/resource.c:27: error: unknown field 'flags' specified in initializer kernel/resource.c:27: error: 'IORESOURCE_IO' undeclared here (not in a function) kernel/resource.c:27: warning: excess elements in struct initializer kernel/resource.c:27: warning: (near initialization for 'ioport_resource') kernel/resource.c:29: warning: data definition has no type or storage class kernel/resource.c:29: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:29: warning: parameter names (without types) in function declaration kernel/resource.c:31: error: variable 'iomem_resource' has initializer but incomplete type kernel/resource.c:32: error: unknown field 'name' specified in initializer kernel/resource.c:32: warning: excess elements in struct initializer kernel/resource.c:32: warning: (near initialization for 'iomem_resource') kernel/resource.c:33: error: unknown field 'start' specified in initializer kernel/resource.c:33: warning: excess elements in struct initializer kernel/resource.c:33: warning: (near initialization for 'iomem_resource') kernel/resource.c:34: error: unknown field 'end' specified in initializer kernel/resource.c:34: warning: excess elements in struct initializer kernel/resource.c:34: warning: (near initialization for 'iomem_resource') kernel/resource.c:35: error: unknown field 'flags' specified in initializer kernel/resource.c:35: error: 'IORESOURCE_MEM' undeclared here (not in a function) kernel/resource.c:35: warning: excess elements in struct initializer kernel/resource.c:35: warning: (near initialization for 'iomem_resource') kernel/resource.c:37: warning: data definition has no type or storage class kernel/resource.c:37: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:37: warning: parameter names (without types) in function declaration kernel/resource.c:39: warning: type defaults to 'int' in declaration of 'DEFINE_RWLOCK' kernel/resource.c:39: warning: parameter names (without types) in function declaration kernel/resource.c: In function '__request_resource': kernel/resource.c:145: error: 'resource_size_t' undeclared (first use in this function) kernel/resource.c:145: error: (Each undeclared identifier is reported only once kernel/resource.c:145: error: for each function it appears in.) kernel/resource.c:145: error: expected ';' before 'start' kernel/resource.c:146: error: expected ';' before 'end' kernel/resource.c:147: warning: ISO C90 forbids mixed declarations and code kernel/resource.c:149: error: 'end' undeclared (first use in this function) kernel/resource.c:149: error: 'start' undeclared (first use in this function) kernel/resource.c:151: error: dereferencing pointer to incomplete type kernel/resource.c:153: error: dereferencing pointer to incomplete type kernel/resource.c:155: error: dereferencing pointer to incomplete type kernel/resource.c:158: error: dereferencing pointer to incomplete type kernel/resource.c:159: error: dereferencing pointer to incomplete type kernel/resource.c:161: error: dereferencing pointer to incomplete type kernel/resource.c:162: error: 'NULL' undeclared (first use in this function) kernel/resource.c:164: error: dereferencing pointer to incomplete type kernel/resource.c:165: error: dereferencing pointer to incomplete type kernel/resource.c: In function '__release_resource': kernel/resource.c:175: error: dereferencing pointer to incomplete type kernel/resource.c:181: error: dereferencing pointer to incomplete type kernel/resource.c:182: error: dereferencing pointer to incomplete type kernel/resource.c:182: error: 'NULL' undeclared (first use in this function) kernel/resource.c:185: error: dereferencing pointer to incomplete type kernel/resource.c:187: error: 'EINVAL' undeclared (first use in this function) kernel/resource.c: In function 'request_resource': kernel/resource.c:201: error: implicit declaration of function 'write_lock' kernel/resource.c:201: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:203: error: implicit declaration of function 'write_unlock' kernel/resource.c:204: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:207: warning: data definition has no type or storage class kernel/resource.c:207: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:207: warning: parameter names (without types) in function declaration kernel/resource.c: In function 'release_resource': kernel/resource.c:217: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:223: warning: data definition has no type or storage class kernel/resource.c:223: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:223: warning: parameter names (without types) in function declaration kernel/resource.c:294: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:294: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:295: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:295: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:297: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:297: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function 'find_resource': kernel/resource.c:300: error: dereferencing pointer to incomplete type kernel/resource.c:302: error: dereferencing pointer to incomplete type kernel/resource.c:302: error: dereferencing pointer to incomplete type kernel/resource.c:307: error: dereferencing pointer to incomplete type kernel/resource.c:308: error: dereferencing pointer to incomplete type kernel/resource.c:308: error: dereferencing pointer to incomplete type kernel/resource.c:309: error: dereferencing pointer to incomplete type kernel/resource.c:313: error: dereferencing pointer to incomplete type kernel/resource.c:313: error: dereferencing pointer to incomplete type kernel/resource.c:315: error: dereferencing pointer to incomplete type kernel/resource.c:315: error: dereferencing pointer to incomplete type kernel/resource.c:316: error: dereferencing pointer to incomplete type kernel/resource.c:316: error: 'min' undeclared (first use in this function) kernel/resource.c:317: error: dereferencing pointer to incomplete type kernel/resource.c:318: error: dereferencing pointer to incomplete type kernel/resource.c:318: error: 'max' undeclared (first use in this function) kernel/resource.c:319: error: dereferencing pointer to incomplete type kernel/resource.c:320: error: dereferencing pointer to incomplete type kernel/resource.c:320: error: implicit declaration of function 'ALIGN' kernel/resource.c:320: error: dereferencing pointer to incomplete type kernel/resource.c:320: error: 'align' undeclared (first use in this function) kernel/resource.c:322: error: 'size' undeclared (first use in this function) kernel/resource.c:322: error: too many arguments to function 'alignf' kernel/resource.c:323: error: dereferencing pointer to incomplete type kernel/resource.c:323: error: dereferencing pointer to incomplete type kernel/resource.c:323: error: dereferencing pointer to incomplete type kernel/resource.c:323: error: dereferencing pointer to incomplete type kernel/resource.c:324: error: dereferencing pointer to incomplete type kernel/resource.c:324: error: dereferencing pointer to incomplete type kernel/resource.c:329: error: dereferencing pointer to incomplete type kernel/resource.c:329: error: dereferencing pointer to incomplete type kernel/resource.c:330: error: dereferencing pointer to incomplete type kernel/resource.c:332: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:347: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:347: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:348: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:348: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:350: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:350: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function 'allocate_resource': kernel/resource.c:355: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:356: error: 'size' undeclared (first use in this function) kernel/resource.c:356: error: 'min' undeclared (first use in this function) kernel/resource.c:356: error: 'max' undeclared (first use in this function) kernel/resource.c:356: error: 'align' undeclared (first use in this function) kernel/resource.c:356: error: too many arguments to function 'find_resource' kernel/resource.c:358: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:363: warning: data definition has no type or storage class kernel/resource.c:363: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:363: warning: parameter names (without types) in function declaration kernel/resource.c: In function 'insert_resource': kernel/resource.c:383: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:391: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c:395: error: dereferencing pointer to incomplete type kernel/resource.c:395: error: dereferencing pointer to incomplete type kernel/resource.c:395: error: dereferencing pointer to incomplete type kernel/resource.c:395: error: dereferencing pointer to incomplete type kernel/resource.c:397: error: dereferencing pointer to incomplete type kernel/resource.c:397: error: dereferencing pointer to incomplete type kernel/resource.c:397: error: dereferencing pointer to incomplete type kernel/resource.c:397: error: dereferencing pointer to incomplete type kernel/resource.c:401: error: dereferencing pointer to incomplete type kernel/resource.c:403: error: dereferencing pointer to incomplete type kernel/resource.c:403: error: dereferencing pointer to incomplete type kernel/resource.c:403: error: dereferencing pointer to incomplete type kernel/resource.c:403: error: dereferencing pointer to incomplete type kernel/resource.c:405: error: dereferencing pointer to incomplete type kernel/resource.c:407: error: dereferencing pointer to incomplete type kernel/resource.c:407: error: dereferencing pointer to incomplete type kernel/resource.c:413: error: dereferencing pointer to incomplete type kernel/resource.c:414: error: dereferencing pointer to incomplete type kernel/resource.c:414: error: dereferencing pointer to incomplete type kernel/resource.c:415: error: dereferencing pointer to incomplete type kernel/resource.c:417: error: dereferencing pointer to incomplete type kernel/resource.c:417: error: 'NULL' undeclared (first use in this function) kernel/resource.c:418: error: dereferencing pointer to incomplete type kernel/resource.c:419: error: dereferencing pointer to incomplete type kernel/resource.c:421: error: dereferencing pointer to incomplete type kernel/resource.c:422: error: dereferencing pointer to incomplete type kernel/resource.c:424: error: dereferencing pointer to incomplete type kernel/resource.c:425: error: dereferencing pointer to incomplete type kernel/resource.c:426: error: dereferencing pointer to incomplete type kernel/resource.c:427: error: dereferencing pointer to incomplete type kernel/resource.c: At top level: kernel/resource.c:445: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:445: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function 'adjust_resource': kernel/resource.c:447: error: dereferencing pointer to incomplete type kernel/resource.c:448: error: 'resource_size_t' undeclared (first use in this function) kernel/resource.c:448: error: expected ';' before 'end' kernel/resource.c:449: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c:449: warning: ISO C90 forbids mixed declarations and code kernel/resource.c:451: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:453: error: 'start' undeclared (first use in this function) kernel/resource.c:453: error: dereferencing pointer to incomplete type kernel/resource.c:453: error: 'end' undeclared (first use in this function) kernel/resource.c:453: error: dereferencing pointer to incomplete type kernel/resource.c:456: error: dereferencing pointer to incomplete type kernel/resource.c:456: error: dereferencing pointer to incomplete type kernel/resource.c:457: error: dereferencing pointer to incomplete type kernel/resource.c:457: error: dereferencing pointer to incomplete type kernel/resource.c:461: error: dereferencing pointer to incomplete type kernel/resource.c:461: error: dereferencing pointer to incomplete type kernel/resource.c:464: error: dereferencing pointer to incomplete type kernel/resource.c:466: error: dereferencing pointer to incomplete type kernel/resource.c:467: error: dereferencing pointer to incomplete type kernel/resource.c:468: error: dereferencing pointer to incomplete type kernel/resource.c:472: error: dereferencing pointer to incomplete type kernel/resource.c:473: error: dereferencing pointer to incomplete type kernel/resource.c: At top level: kernel/resource.c:481: warning: data definition has no type or storage class kernel/resource.c:481: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:481: warning: parameter names (without types) in function declaration kernel/resource.c:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resource_alignment' kernel/resource.c:522: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:522: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function '__request_region': kernel/resource.c:525: error: implicit declaration of function 'kzalloc' kernel/resource.c:525: error: dereferencing pointer to incomplete type kernel/resource.c:525: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/resource.c:525: warning: initialization makes pointer from integer without a cast kernel/resource.c:528: error: dereferencing pointer to incomplete type kernel/resource.c:529: error: dereferencing pointer to incomplete type kernel/resource.c:529: error: 'start' undeclared (first use in this function) kernel/resource.c:530: error: dereferencing pointer to incomplete type kernel/resource.c:530: error: 'n' undeclared (first use in this function) kernel/resource.c:531: error: dereferencing pointer to incomplete type kernel/resource.c:531: error: 'IORESOURCE_BUSY' undeclared (first use in this function) kernel/resource.c:533: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:543: error: dereferencing pointer to incomplete type kernel/resource.c:548: error: implicit declaration of function 'kfree' kernel/resource.c:549: error: 'NULL' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:556: warning: data definition has no type or storage class kernel/resource.c:556: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:556: warning: parameter names (without types) in function declaration kernel/resource.c:573: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:574: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function '__check_region': kernel/resource.c:578: error: 'start' undeclared (first use in this function) kernel/resource.c:578: error: 'n' undeclared (first use in this function) kernel/resource.c:578: error: too many arguments to function '__request_region' kernel/resource.c:580: error: 'EBUSY' undeclared (first use in this function) kernel/resource.c: At top level: kernel/resource.c:586: warning: data definition has no type or storage class kernel/resource.c:586: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:586: warning: parameter names (without types) in function declaration kernel/resource.c:596: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:597: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c: In function '__release_region': kernel/resource.c:600: error: 'resource_size_t' undeclared (first use in this function) kernel/resource.c:600: error: expected ';' before 'end' kernel/resource.c:602: error: dereferencing pointer to incomplete type kernel/resource.c:603: error: 'end' undeclared (first use in this function) kernel/resource.c:603: error: 'start' undeclared (first use in this function) kernel/resource.c:603: error: 'n' undeclared (first use in this function) kernel/resource.c:605: error: 'resource_lock' undeclared (first use in this function) kernel/resource.c:612: error: dereferencing pointer to incomplete type kernel/resource.c:612: error: dereferencing pointer to incomplete type kernel/resource.c:613: error: dereferencing pointer to incomplete type kernel/resource.c:613: error: 'IORESOURCE_BUSY' undeclared (first use in this function) kernel/resource.c:614: error: dereferencing pointer to incomplete type kernel/resource.c:617: error: dereferencing pointer to incomplete type kernel/resource.c:617: error: dereferencing pointer to incomplete type kernel/resource.c:619: error: dereferencing pointer to incomplete type kernel/resource.c:624: error: dereferencing pointer to incomplete type kernel/resource.c:629: error: implicit declaration of function 'printk' kernel/resource.c:629: error: 'KERN_WARNING' undeclared (first use in this function) kernel/resource.c:629: error: expected ')' before string constant kernel/resource.c: At top level: kernel/resource.c:633: warning: data definition has no type or storage class kernel/resource.c:633: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:633: warning: parameter names (without types) in function declaration kernel/resource.c:640: error: expected specifier-qualifier-list before 'resource_size_t' kernel/resource.c:644: warning: 'struct device' declared inside parameter list kernel/resource.c:644: warning: its scope is only this definition or declaration, which is probably not what you want kernel/resource.c: In function 'devm_region_release': kernel/resource.c:648: error: 'struct region_devres' has no member named 'start' kernel/resource.c:648: error: 'struct region_devres' has no member named 'n' kernel/resource.c:648: error: too many arguments to function '__release_region' kernel/resource.c: At top level: kernel/resource.c:651: warning: 'struct device' declared inside parameter list kernel/resource.c: In function 'devm_region_match': kernel/resource.c:656: error: 'struct region_devres' has no member named 'start' kernel/resource.c:656: error: 'struct region_devres' has no member named 'start' kernel/resource.c:656: error: 'struct region_devres' has no member named 'n' kernel/resource.c:656: error: 'struct region_devres' has no member named 'n' kernel/resource.c: At top level: kernel/resource.c:660: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:661: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:661: warning: 'struct device' declared inside parameter list kernel/resource.c: In function '__devm_request_region': kernel/resource.c:663: error: 'NULL' undeclared (first use in this function) kernel/resource.c:666: error: implicit declaration of function 'devres_alloc' kernel/resource.c:667: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/resource.c:667: warning: assignment makes pointer from integer without a cast kernel/resource.c:672: error: 'struct region_devres' has no member named 'start' kernel/resource.c:672: error: 'start' undeclared (first use in this function) kernel/resource.c:673: error: 'struct region_devres' has no member named 'n' kernel/resource.c:673: error: 'n' undeclared (first use in this function) kernel/resource.c:675: error: too many arguments to function '__request_region' kernel/resource.c:677: error: implicit declaration of function 'devres_add' kernel/resource.c:679: error: implicit declaration of function 'devres_free' kernel/resource.c: At top level: kernel/resource.c:683: warning: data definition has no type or storage class kernel/resource.c:683: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:683: warning: parameter names (without types) in function declaration kernel/resource.c:686: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:686: error: expected declaration specifiers or '...' before 'resource_size_t' kernel/resource.c:686: warning: 'struct device' declared inside parameter list kernel/resource.c: In function '__devm_release_region': kernel/resource.c:688: error: 'start' undeclared (first use in this function) kernel/resource.c:688: warning: excess elements in struct initializer kernel/resource.c:688: warning: (near initialization for 'match_data') kernel/resource.c:688: error: 'n' undeclared (first use in this function) kernel/resource.c:688: warning: excess elements in struct initializer kernel/resource.c:688: warning: (near initialization for 'match_data') kernel/resource.c:690: error: too many arguments to function '__release_region' kernel/resource.c:691: error: implicit declaration of function 'WARN_ON' kernel/resource.c:691: error: implicit declaration of function 'devres_destroy' kernel/resource.c: At top level: kernel/resource.c:694: warning: data definition has no type or storage class kernel/resource.c:694: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/resource.c:694: warning: parameter names (without types) in function declaration kernel/resource.c:700: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'reserve_setup' kernel/resource.c:727: error: expected declaration specifiers or '...' before string constant kernel/resource.c:727: error: expected declaration specifiers or '...' before 'reserve_setup' kernel/resource.c:727: warning: data definition has no type or storage class kernel/resource.c:727: warning: type defaults to 'int' in declaration of '__setup' kernel/resource.c:727: warning: function declaration isn't a prototype fs/exec.c:45:27: error: linux/proc_fs.h: No such file or directory fs/exec.c:46:26: error: linux/ptrace.h: No such file or directory fs/exec.c:47:25: error: linux/mount.h: No such file or directory fs/exec.c:48:28: error: linux/security.h: No such file or directory fs/exec.c:49:28: error: linux/syscalls.h: No such file or directory fs/exec.c:50:24: error: linux/rmap.h: No such file or directory fs/exec.c:51:31: error: linux/tsacct_kern.h: No such file or directory fs/exec.c:52:27: error: linux/cn_proc.h: No such file or directory fs/exec.c:53:25: error: linux/audit.h: No such file or directory fs/exec.c:55:25: error: asm/uaccess.h: No such file or directory fs/exec.c:56:29: error: asm/mmu_context.h: No such file or directory fs/exec.c:57:21: error: asm/tlb.h: No such file or directory fs/exec.c:69: error: 'CORENAME_MAX_SIZE' undeclared here (not in a function) fs/exec.c:74: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/exec.c:74: warning: parameter names (without types) in function declaration fs/exec.c:75: warning: type defaults to 'int' in declaration of 'DEFINE_RWLOCK' fs/exec.c:75: warning: parameter names (without types) in function declaration fs/exec.c:77: warning: 'struct linux_binfmt' declared inside parameter list fs/exec.c:77: warning: its scope is only this definition or declaration, which is probably not what you want mm/truncate.c:247: warning: passing argument 1 of 'truncate_complete_page' from incompatible pointer type fs/exec.c: In function 'register_binfmt': fs/exec.c:80: error: 'EINVAL' undeclared (first use in this function) mm/vmscan.c:149: warning: data definition has no type or storage class fs/exec.c:80: error: (Each undeclared identifier is reported only once mm/vmscan.c:149: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/truncate.c:247: warning: passing argument 2 of 'truncate_complete_page' from incompatible pointer type fs/exec.c:80: error: for each function it appears in.) mm/vmscan.c:149: warning: parameter names (without types) in function declaration fs/exec.c:81: error: implicit declaration of function 'write_lock' fs/exec.c:81: error: 'binfmt_lock' undeclared (first use in this function) mm/truncate.c:165: warning: unused variable 'pvec' fs/exec.c:82: error: implicit declaration of function 'list_add' fs/exec.c:82: error: dereferencing pointer to incomplete typemm/vmscan.c:171: error: expected declaration specifiers or '...' before 'gfp_t' fs/exec.c:82: error: 'formats' undeclared (first use in this function) fs/exec.c:83: error: implicit declaration of function 'write_unlock' mm/vmscan.c: In function 'shrink_slab': mm/vmscan.c:178: error: 'SWAP_CLUSTER_MAX' undeclared (first use in this function) mm/vmscan.c:180: error: implicit declaration of function 'down_read_trylock' mm/vmscan.c:180: error: 'shrinker_rwsem' undeclared (first use in this function) mm/vmscan.c:183: error: implicit declaration of function 'list_for_each_entry' mm/vmscan.c:183: error: 'shrinker_list' undeclared (first use in this function) mm/vmscan.c:183: error: 'list' undeclared (first use in this function) mm/vmscan.c:183: error: expected ';' before '{' token mm/vmscan.c: At top level: mm/vmscan.c:233: warning: 'struct page' declared inside parameter list mm/vmscan.c: In function 'page_mapping_inuse': mm/vmscan.c:238: error: implicit declaration of function 'page_mapped' mm/vmscan.c:242: error: implicit declaration of function 'PageSwapCache' mm/vmscan.c:245: error: implicit declaration of function 'page_mapping' mm/vmscan.c:245: warning: assignment makes pointer from integer without a cast mm/truncate.c: At top level: fs/exec.c: At top level: mm/vmscan.c:250: error: implicit declaration of function 'mapping_mapped' mm/truncate.c:253: warning: data definition has no type or storage class mm/truncate.c:253: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/truncate.c:253: warning: parameter names (without types) in function declaration mm/vmscan.c: At top level: mm/vmscan.c:253: warning: 'struct page' declared inside parameter listmm/truncate.c:262: error: expected declaration specifiers or '...' before 'loff_t'fs/exec.c:87: warning: data definition has no type or storage class fs/exec.c:87: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:87: warning: parameter names (without types) in function declaration fs/exec.c:89: warning: 'struct linux_binfmt' declared inside parameter list fs/exec.c: In function 'unregister_binfmt': fs/exec.c:91: error: 'binfmt_lock' undeclared (first use in this function) fs/exec.c:92: error: implicit declaration of function 'list_del' fs/exec.c:92: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:96: warning: data definition has no type or storage class fs/exec.c:96: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:96: warning: parameter names (without types) in function declaration fs/exec.c:98: warning: 'struct linux_binfmt' declared inside parameter list fs/exec.c: In function 'put_binfmt': fs/exec.c:100: error: implicit declaration of function 'module_put' fs/exec.c:100: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' make[1]: *** [kernel/resource.o] Error 1 fs/exec.c:281: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'get_arg_page': cc1: error: fs/exec.c:285: error: dereferencing pointer to incomplete type fs/exec.c:285: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmscan.c: In function 'is_page_cache_freeable': include/linux/autoconf.h: No such file or directory mm/truncate.c:262: warning: 'struct address_space' declared inside parameter list fs/exec.c:287: error: implicit declaration of function 'alloc_page' mm/vmscan.c:255: error: implicit declaration of function 'page_count'fs/exec.c:287: error: 'GFP_HIGHUSER' undeclared (first use in this function) mm/truncate.c: In function 'truncate_inode_pages': mm/truncate.c:264: error: 'lstart' undeclared (first use in this function) fs/exec.c:287: error: '__GFP_ZERO' undeclared (first use in this function) mm/truncate.c:264: error: 'loff_t' undeclared (first use in this function)fs/exec.c:287: warning: assignment makes pointer from integer without a cast mm/vmscan.c:255: error: implicit declaration of function 'PagePrivate'fs/exec.c:289: error: 'NULL' undeclared (first use in this function) fs/exec.c:290: error: dereferencing pointer to incomplete type mm/truncate.c:264: warning: passing argument 1 of 'truncate_inode_pages_range' from incompatible pointer type mm/truncate.c:264: error: too many arguments to function 'truncate_inode_pages_range' fs/exec.c: At top level: mm/truncate.c: At top level: fs/exec.c:300: warning: 'struct linux_binprm' declared inside parameter list mm/truncate.c:266: warning: data definition has no type or storage class mm/vmscan.c: At top level: fs/exec.c: In function 'free_arg_page': fs/exec.c:302: error: dereferencing pointer to incomplete type mm/truncate.c:266: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'fs/exec.c:303: error: implicit declaration of function '__free_page' mm/vmscan.c:258: warning: 'struct backing_dev_info' declared inside parameter listfs/exec.c:303: error: dereferencing pointer to incomplete type fs/exec.c:304: error: dereferencing pointer to incomplete typemm/truncate.c:266: warning: parameter names (without types) in function declaration mm/truncate.c:269: error: expected declaration specifiers or '...' before 'pgoff_t' fs/exec.c:304: error: 'NULL' undeclared (first use in this function) mm/vmscan.c: In function 'may_write_to_queue': mm/truncate.c:269: error: expected declaration specifiers or '...' before 'pgoff_t' mm/vmscan.c:260: error: 'current' undeclared (first use in this function)mm/truncate.c:269: error: expected declaration specifiers or '...' before 'bool' fs/exec.c: At top level: fs/exec.c:308: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'free_arg_pages': fs/exec.c:312: error: 'MAX_ARG_PAGES' undeclared (first use in this function)arch/x86/kernel/pci-nommu.c:3:22: mm/vmscan.c:260: error: 'PF_SWAPWRITE' undeclared (first use in this function)mm/truncate.c:269: warning: 'struct address_space' declared inside parameter list error: mm/truncate.c: In function '__invalidate_mapping_pages': linux/mm.h: No such file or directory fs/exec.c:313: warning: passing argument 1 of 'free_arg_page' from incompatible pointer type arch/x86/kernel/pci-nommu.c:4:24: error: linux/init.h: No such file or directory mm/truncate.c:271: error: storage size of 'pvec' isn't known fs/exec.c: At top level:mm/truncate.c:272: error: 'pgoff_t' undeclared (first use in this function) mm/vmscan.c:262: error: implicit declaration of function 'bdi_write_congested' mm/vmscan.c: At top level: mm/vmscan.c:282: warning: 'struct page' declared inside parameter list mm/vmscan.c:282: warning: 'struct address_space' declared inside parameter list mm/vmscan.c: In function 'handle_write_error': mm/vmscan.c:284: error: implicit declaration of function 'lock_page' mm/vmscan.c:285: warning: comparison between pointer and integer mm/vmscan.c:286: error: implicit declaration of function 'mapping_set_error' mm/vmscan.c:287: error: implicit declaration of function 'unlock_page' mm/vmscan.c: At top level: mm/vmscan.c:313: warning: 'struct address_space' declared inside parameter list mm/vmscan.c:313: warning: 'struct page' declared inside parameter list mm/vmscan.c: In function 'pageout': mm/vmscan.c:332: warning: passing argument 1 of 'is_page_cache_freeable' from incompatible pointer type mm/vmscan.c:340: error: implicit declaration of function 'try_to_free_buffers' mm/vmscan.c:341: error: implicit declaration of function 'ClearPageDirty' mm/vmscan.c:342: error: implicit declaration of function 'printk' mm/vmscan.c:348: error: dereferencing pointer to incomplete type mm/vmscan.c:348: error: 'NULL' undeclared (first use in this function) mm/vmscan.c:350: error: dereferencing pointer to incomplete type mm/vmscan.c:353: error: implicit declaration of function 'clear_page_dirty_for_io' mm/vmscan.c:355: error: variable 'wbc' has initializer but incomplete type mm/vmscan.c:356: error: unknown field 'sync_mode' specified in initializer mm/vmscan.c:356: error: 'WB_SYNC_NONE' undeclared (first use in this function) mm/vmscan.c:356: warning: excess elements in struct initializer mm/vmscan.c:356: warning: (near initialization for 'wbc') mm/vmscan.c:357: error: unknown field 'nr_to_write' specified in initializer mm/vmscan.c:357: error: 'SWAP_CLUSTER_MAX' undeclared (first use in this function) mm/vmscan.c:357: warning: excess elements in struct initializer mm/vmscan.c:357: warning: (near initialization for 'wbc') mm/vmscan.c:358: error: unknown field 'range_start' specified in initializer CC kernel/sysctl.o arch/x86/kernel/pci-nommu.c:5:23: mm/truncate.c:272: error: expected ';' before 'next' mm/vmscan.c:358: warning: excess elements in struct initializer mm/vmscan.c:358: warning: (near initialization for 'wbc') fs/exec.c:317: warning: 'struct linux_binprm' declared inside parameter list mm/truncate.c:273: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:359: error: unknown field 'range_end' specified in initializerfs/exec.c:321: warning: 'struct linux_binprm' declared inside parameter list mm/truncate.c:277: error: 'next' undeclared (first use in this function) fs/exec.c: In function '__bprm_mm_init':error: mm/truncate.c:277: error: 'end' undeclared (first use in this function)mm/vmscan.c:359: error: 'LLONG_MAX' undeclared (first use in this function) linux/pci.h: No such file or directory mm/vmscan.c:359: warning: excess elements in struct initializer fs/exec.c:323: error: dereferencing pointer to incomplete type mm/truncate.c:278: error: 'PAGEVEC_SIZE' undeclared (first use in this function)fs/exec.c:323: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmscan.c:359: warning: (near initialization for 'wbc')arch/x86/kernel/pci-nommu.c:6:26: mm/truncate.c:281: error: expected ';' before 'index' mm/truncate.c:282: warning: ISO C90 forbids mixed declarations and code mm/truncate.c:292: error: 'index' undeclared (first use in this function) mm/truncate.c:292: error: dereferencing pointer to incomplete typefs/exec.c:323: error: 'MAX_ARG_PAGES' undeclared (first use in this function) mm/vmscan.c:360: error: unknown field 'nonblocking' specified in initializer fs/exec.c: At top level:mm/truncate.c:299: error: implicit declaration of function 'PageDirty' mm/vmscan.c:360: warning: excess elements in struct initializer error: linux/string.h: No such file or directory arch/x86/kernel/pci-nommu.c:7:31: error: linux/dma-mapping.h: No such file or directory arch/x86/kernel/pci-nommu.c:8:31: error: linux/scatterlist.h: No such file or directory arch/x86/kernel/pci-nommu.c:10:23: error: asm/iommu.h: No such file or directory arch/x86/kernel/pci-nommu.c:11:27: error: asm/processor.h: No such file or directory arch/x86/kernel/pci-nommu.c:12:21: error: asm/dma.h: No such file or directory arch/x86/kernel/pci-nommu.c:15: error: expected declaration specifiers or '...' before 'dma_addr_t' arch/x86/kernel/pci-nommu.c:15: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/pci-nommu.c:15: warning: 'struct device' declared inside parameter list arch/x86/kernel/pci-nommu.c:15: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/pci-nommu.c: In function 'check_addr': arch/x86/kernel/pci-nommu.c:17: error: 'bus' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:17: error: (Each undeclared identifier is reported only once arch/x86/kernel/pci-nommu.c:17: error: for each function it appears in.) arch/x86/kernel/pci-nommu.c:17: error: 'size' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:17: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-nommu.c:18: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-nommu.c:18: error: 'DMA_32BIT_MASK' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:19: error: implicit declaration of function 'printk' arch/x86/kernel/pci-nommu.c:19: error: 'KERN_ERR' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:20: error: expected ')' before string constant arch/x86/kernel/pci-nommu.c: At top level: arch/x86/kernel/pci-nommu.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nommu_map_single' arch/x86/kernel/pci-nommu.c:57: warning: 'struct scatterlist' declared inside parameter list arch/x86/kernel/pci-nommu.c:57: warning: 'struct device' declared inside parameter list arch/x86/kernel/pci-nommu.c: In function 'nommu_map_sg': arch/x86/kernel/pci-nommu.c:62: error: implicit declaration of function 'WARN_ON' arch/x86/kernel/pci-nommu.c:62: error: invalid use of undefined type 'struct scatterlist' arch/x86/kernel/pci-nommu.c:62: error: dereferencing pointer to incomplete type arch/x86/kernel/pci-nommu.c:64: error: implicit declaration of function 'for_each_sg' arch/x86/kernel/pci-nommu.c:64: error: expected ';' before '{' token arch/x86/kernel/pci-nommu.c: At top level: arch/x86/kernel/pci-nommu.c:76: error: expected ')' before 'dma_addr' arch/x86/kernel/pci-nommu.c:86: error: variable 'nommu_dma_ops' has initializer but incomplete type arch/x86/kernel/pci-nommu.c:87: error: unknown field 'map_single' specified in initializer arch/x86/kernel/pci-nommu.c:87: error: 'nommu_map_single' undeclared here (not in a function) arch/x86/kernel/pci-nommu.c:87: warning: excess elements in struct initializer arch/x86/kernel/pci-nommu.c:87: warning: (near initialization for 'nommu_dma_ops') mm/vmscan.c:360: warning: (near initialization for 'wbc')mm/truncate.c:303: warning: passing argument 1 of 'invalidate_complete_page' from incompatible pointer type fs/exec.c:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'valid_arg_len'mm/truncate.c:303: warning: passing argument 2 of 'invalidate_complete_page' from incompatible pointer type arch/x86/kernel/pci-nommu.c:88: error: unknown field 'map_sg' specified in initializermm/vmscan.c:361: error: unknown field 'for_reclaim' specified in initializer fs/exec.c:340: warning: 'struct linux_binprm' declared inside parameter list mm/truncate.c:310: error: implicit declaration of function 'likely' mm/truncate.c:310: error: 'be_atomic' undeclared (first use in this function)fs/exec.c: In function 'bprm_mm_init': mm/vmscan.c:361: warning: excess elements in struct initializer fs/exec.c:343: error: 'NULL' undeclared (first use in this function) mm/vmscan.c:361: warning: (near initialization for 'wbc')mm/truncate.c:271: warning: unused variable 'pvec' fs/exec.c:345: error: dereferencing pointer to incomplete type fs/exec.c:345: error: implicit declaration of function 'mm_alloc' mm/vmscan.c:355: error: storage size of 'wbc' isn't knownfs/exec.c:345: warning: assignment makes pointer from integer without a cast fs/exec.c:346: error: 'ENOMEM' undeclared (first use in this function) mm/vmscan.c:364: error: implicit declaration of function 'SetPageReclaim' fs/exec.c:350: error: implicit declaration of function 'init_new_context' mm/vmscan.c:365: error: dereferencing pointer to incomplete typearch/x86/kernel/pci-nommu.c:88: warning: excess elements in struct initializermm/truncate.c: At top level: fs/exec.c:350: error: 'current' undeclared (first use in this function) fs/exec.c:354: warning: passing argument 1 of '__bprm_mm_init' from incompatible pointer type fs/exec.c:362: error: dereferencing pointer to incomplete type fs/exec.c:363: error: implicit declaration of function 'mmdrop' fs/exec.c: At top level: fs/exec.c:372: error: expected ';', ',' or ')' before '*' token fs/exec.c:398: error: expected ';', ',' or ')' before '*' token fs/exec.c:481: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'copy_strings_kernel': fs/exec.c:484: error: 'mm_segment_t' undeclared (first use in this function) fs/exec.c:484: error: expected ';' before 'oldfs' fs/exec.c:485: error: implicit declaration of function 'set_fs' fs/exec.c:485: error: 'KERNEL_DS' undeclared (first use in this function) fs/exec.c:486: error: implicit declaration of function 'copy_strings' fs/exec.c:486: error: expected ')' before '__user' fs/exec.c:486: warning: cast from pointer to integer of different size fs/exec.c:487: error: 'oldfs' undeclared (first use in this function) fs/exec.c: At top level: fs/exec.c:490: warning: data definition has no type or storage class fs/exec.c:490: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:490: warning: parameter names (without types) in function declaration fs/exec.c: In function 'open_exec': fs/exec.c:660: error: storage size of 'nd' isn't known fs/exec.c:664: error: implicit declaration of function 'path_lookup_open' fs/exec.c:664: error: 'AT_FDCWD' undeclared (first use in this function) fs/exec.c:664: error: 'LOOKUP_FOLLOW' undeclared (first use in this function) fs/exec.c:664: error: 'FMODE_READ' undeclared (first use in this function) fs/exec.c:664: error: 'FMODE_EXEC' undeclared (first use in this function) fs/exec.c:665: error: implicit declaration of function 'ERR_PTR' fs/exec.c:665: warning: assignment makes pointer from integer without a cast fs/exec.c:669: error: 'EACCES' undeclared (first use in this function) fs/exec.c:669: warning: assignment makes pointer from integer without a cast fs/exec.c:670: error: implicit declaration of function 'S_ISREG' fs/exec.c:670: error: dereferencing pointer to incomplete type fs/exec.c:671: error: implicit declaration of function 'vfs_permission' fs/exec.c:671: error: 'MAY_EXEC' undeclared (first use in this function) fs/exec.c:671: error: 'MAY_OPEN' undeclared (first use in this function) fs/exec.c:672: warning: assignment makes pointer from integer without a cast fs/exec.c:674: error: implicit declaration of function 'nameidata_to_filp' fs/exec.c:675: error: 'O_RDONLY' undeclared (first use in this function) fs/exec.c:675: error: 'O_LARGEFILE' undeclared (first use in this function) fs/exec.c:675: warning: assignment makes pointer from integer without a cast fs/exec.c:676: error: implicit declaration of function 'IS_ERR' fs/exec.c:677: error: implicit declaration of function 'deny_write_access' fs/exec.c:679: error: implicit declaration of function 'fput' fs/exec.c:680: warning: assignment makes pointer from integer without a cast fs/exec.c:687: error: implicit declaration of function 'release_open_intent' fs/exec.c:688: error: implicit declaration of function 'path_put' fs/exec.c:660: warning: unused variable 'nd' fs/exec.c: At top level: fs/exec.c:693: warning: data definition has no type or storage class fs/exec.c:693: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:693: warning: parameter names (without types) in function declaration fs/exec.c: In function 'kernel_read': fs/exec.c:698: error: 'mm_segment_t' undeclared (first use in this function) fs/exec.c:698: error: expected ';' before 'old_fs' fs/exec.c:699: error: 'loff_t' undeclared (first use in this function) fs/exec.c:699: error: expected ';' before 'pos' fs/exec.c:700: warning: ISO C90 forbids mixed declarations and code fs/exec.c:702: error: 'old_fs' undeclared (first use in this function) fs/exec.c:702: error: implicit declaration of function 'get_fs' fs/exec.c:703: error: implicit declaration of function 'get_ds' fs/exec.c:705: error: implicit declaration of function 'vfs_read' fs/exec.c:705: error: expected ')' before '__user' fs/exec.c:705: error: 'pos' undeclared (first use in this function) fs/exec.c:705: error: invalid use of void expression fs/exec.c: At top level: fs/exec.c:710: warning: data definition has no type or storage class fs/exec.c:710: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:710: warning: parameter names (without types) in function declaration fs/exec.c:712: warning: 'struct mm_struct' declared inside parameter list fs/exec.c: In function 'exec_mmap': fs/exec.c:718: error: 'current' undeclared (first use in this function) fs/exec.c:720: error: implicit declaration of function 'mm_release' fs/exec.c:731: error: implicit declaration of function 'down_read' fs/exec.c:731: error: dereferencing pointer to incomplete type fs/exec.c:732: error: implicit declaration of function 'unlikely' fs/exec.c:732: error: dereferencing pointer to incomplete type fs/exec.c:733: error: implicit declaration of function 'up_read' fs/exec.c:733: error: dereferencing pointer to incomplete type fs/exec.c:734: error: 'EINTR' undeclared (first use in this function) fs/exec.c:737: error: implicit declaration of function 'task_lock' fs/exec.c:738: error: dereferencing pointer to incomplete type fs/exec.c:739: error: dereferencing pointer to incomplete type fs/exec.c:740: error: dereferencing pointer to incomplete type fs/exec.c:741: error: implicit declaration of function 'activate_mm' fs/exec.c:742: error: implicit declaration of function 'task_unlock' fs/exec.c:743: error: implicit declaration of function 'mm_update_next_owner' fs/exec.c:744: error: implicit declaration of function 'arch_pick_mmap_layout' fs/exec.c:746: error: dereferencing pointer to incomplete type fs/exec.c:747: error: implicit declaration of function 'BUG_ON' fs/exec.c:748: error: implicit declaration of function 'mmput' fs/exec.c: At top level: fs/exec.c:761: warning: 'struct task_struct' declared inside parameter list fs/exec.c: In function 'de_thread': fs/exec.c:763: error: dereferencing pointer to incomplete type fs/exec.c:764: error: dereferencing pointer to incomplete type fs/exec.c:765: error: 'spinlock_t' undeclared (first use in this function) fs/exec.c:765: error: 'lock' undeclared (first use in this function) fs/exec.c:765: error: dereferencing pointer to incomplete type fs/exec.c:766: error: 'NULL' undeclared (first use in this function) fs/exec.c:766: warning: ISO C90 forbids mixed declarations and code fs/exec.c:769: error: implicit declaration of function 'thread_group_empty' fs/exec.c:775: error: implicit declaration of function 'spin_lock_irq' fs/exec.c:776: error: implicit declaration of function 'signal_group_exit' fs/exec.c:781: error: implicit declaration of function 'spin_unlock_irq' fs/exec.c:782: error: 'EAGAIN' undeclared (first use in this function) fs/exec.c:784: error: dereferencing pointer to incomplete type fs/exec.c:785: error: implicit declaration of function 'zap_other_threads' fs/exec.c:788: error: implicit declaration of function 'thread_group_leader' fs/exec.c:789: error: dereferencing pointer to incomplete type fs/exec.c:790: error: implicit declaration of function 'atomic_read' fs/exec.c:790: error: dereferencing pointer to incomplete type fs/exec.c:791: error: implicit declaration of function '__set_current_state' fs/exec.c:791: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/exec.c:793: error: implicit declaration of function 'schedule' fs/exec.c:804: error: dereferencing pointer to incomplete type fs/exec.c:806: error: dereferencing pointer to incomplete type fs/exec.c:808: error: implicit declaration of function 'write_lock_irq' fs/exec.c:808: error: 'tasklist_lock' undeclared (first use in this function) fs/exec.c:809: error: implicit declaration of function 'likely' fs/exec.c:809: error: dereferencing pointer to incomplete type fs/exec.c:812: error: implicit declaration of function 'write_unlock_irq' fs/exec.c:816: error: implicit declaration of function 'task_child_reaper' fs/exec.c:816: warning: comparison between pointer and integer fs/exec.c:817: error: implicit declaration of function 'task_active_pid_ns' fs/exec.c:817: error: invalid type argument of '->' fs/exec.c:828: error: dereferencing pointer to incomplete type fs/exec.c:828: error: dereferencing pointer to incomplete type fs/exec.c:830: error: implicit declaration of function 'same_thread_group' fs/exec.c:831: error: implicit declaration of function 'has_group_leader_pid' fs/exec.c:844: error: implicit declaration of function 'detach_pid' fs/exec.c:844: error: 'PIDTYPE_PID' undeclared (first use in this function) fs/exec.c:845: error: dereferencing pointer to incomplete type fs/exec.c:845: error: dereferencing pointer to incomplete type fs/exec.c:846: error: implicit declaration of function 'attach_pid' fs/exec.c:846: error: implicit declaration of function 'task_pid' fs/exec.c:847: error: implicit declaration of function 'transfer_pid' fs/exec.c:847: error: 'PIDTYPE_PGID' undeclared (first use in this function) fs/exec.c:848: error: 'PIDTYPE_SID' undeclared (first use in this function) fs/exec.c:849: error: implicit declaration of function 'list_replace_rcu' fs/exec.c:849: error: dereferencing pointer to incomplete type fs/exec.c:849: error: dereferencing pointer to incomplete type fs/exec.c:851: error: dereferencing pointer to incomplete type fs/exec.c:852: error: dereferencing pointer to incomplete type fs/exec.c:854: error: dereferencing pointer to incomplete type fs/exec.c:854: error: 'SIGCHLD' undeclared (first use in this function) fs/exec.c:856: error: dereferencing pointer to incomplete type fs/exec.c:856: error: 'EXIT_ZOMBIE' undeclared (first use in this function) fs/exec.c:857: error: dereferencing pointer to incomplete type fs/exec.c:857: error: 'EXIT_DEAD' undeclared (first use in this function) fs/exec.c:862: error: dereferencing pointer to incomplete type fs/exec.c:863: error: dereferencing pointer to incomplete type fs/exec.c:866: error: implicit declaration of function 'exit_itimers' fs/exec.c:867: error: implicit declaration of function 'flush_itimer_signals' fs/exec.c:869: error: implicit declaration of function 'release_task' fs/exec.c:871: error: dereferencing pointer to incomplete type fs/exec.c:877: error: implicit declaration of function 'kmem_cache_alloc' fs/exec.c:877: error: 'sighand_cachep' undeclared (first use in this function) fs/exec.c:877: error: 'GFP_KERNEL' undeclared (first use in this function) fs/exec.c:877: warning: assignment makes pointer from integer without a cast fs/exec.c:879: error: 'ENOMEM' undeclared (first use in this function) fs/exec.c:881: error: implicit declaration of function 'atomic_set' fs/exec.c:881: error: dereferencing pointer to incomplete type fs/exec.c:882: error: implicit declaration of function 'memcpy' fs/exec.c:882: error: dereferencing pointer to incomplete type fs/exec.c:882: error: dereferencing pointer to incomplete type fs/exec.c:883: error: dereferencing pointer to incomplete type fs/exec.c:886: error: implicit declaration of function 'spin_lock' fs/exec.c:886: error: dereferencing pointer to incomplete type fs/exec.c:887: error: implicit declaration of function 'rcu_assign_pointer' fs/exec.c:887: error: dereferencing pointer to incomplete type fs/exec.c:888: error: implicit declaration of function 'spin_unlock' fs/exec.c:888: error: dereferencing pointer to incomplete type fs/exec.c:891: error: implicit declaration of function '__cleanup_sighand' fs/exec.c: At top level: fs/exec.c:902: warning: 'struct files_struct' declared inside parameter list fs/exec.c: In function 'flush_old_files': fs/exec.c:907: error: dereferencing pointer to incomplete type fs/exec.c:912: error: '__NFDBITS' undeclared (first use in this function) fs/exec.c:913: error: implicit declaration of function 'files_fdtable' fs/exec.c:913: warning: assignment makes pointer from integer without a cast fs/exec.c:914: error: dereferencing pointer to incomplete type fs/exec.c:916: error: dereferencing pointer to incomplete type fs/exec.c:919: error: dereferencing pointer to incomplete type fs/exec.c:920: error: dereferencing pointer to incomplete type fs/exec.c:923: error: implicit declaration of function 'sys_close' fs/exec.c:926: error: dereferencing pointer to incomplete type fs/exec.c:929: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:932: warning: 'struct task_struct' declared inside parameter list fs/exec.c: In function 'get_task_comm': fs/exec.c:936: error: implicit declaration of function 'strncpy' fs/exec.c:936: error: dereferencing pointer to incomplete type fs/exec.c:936: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:941: warning: 'struct task_struct' declared inside parameter list fs/exec.c: In function 'set_task_comm': fs/exec.c:944: error: implicit declaration of function 'strlcpy' fs/exec.c:944: error: dereferencing pointer to incomplete type fs/exec.c:944: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:948: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'flush_old_exec': fs/exec.c:952: error: 'current' undeclared (first use in this function) fs/exec.c:962: error: implicit declaration of function 'set_mm_exe_file' fs/exec.c:962: error: dereferencing pointer to incomplete type fs/exec.c:962: error: dereferencing pointer to incomplete type fs/exec.c:967: error: dereferencing pointer to incomplete type fs/exec.c:971: error: dereferencing pointer to incomplete type fs/exec.c:971: error: 'NULL' undeclared (first use in this function) fs/exec.c:977: error: implicit declaration of function 'set_dumpable' fs/exec.c:981: error: dereferencing pointer to incomplete type fs/exec.c:994: error: 'PF_RANDOMIZE' undeclared (first use in this function) fs/exec.c:995: error: implicit declaration of function 'flush_thread' fs/exec.c:1001: error: 'TASK_SIZE' undeclared (first use in this function) fs/exec.c:1003: error: dereferencing pointer to incomplete type fs/exec.c:1003: error: dereferencing pointer to incomplete type fs/exec.c:1004: error: implicit declaration of function 'suid_keys' fs/exec.c:1007: error: implicit declaration of function 'file_permission' fs/exec.c:1007: error: dereferencing pointer to incomplete type fs/exec.c:1007: error: 'MAY_READ' undeclared (first use in this function) fs/exec.c:1008: error: dereferencing pointer to incomplete type fs/exec.c:1008: error: 'BINPRM_FLAGS_ENFORCE_NONDUMP' undeclared (first use in this function) fs/exec.c:1018: error: implicit declaration of function 'flush_signal_handlers' fs/exec.c:952: warning: unused variable 'tcomm' fs/exec.c: At top level: fs/exec.c:1027: warning: data definition has no type or storage class fs/exec.c:1027: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1027: warning: parameter names (without types) in function declaration fs/exec.c:1033: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'prepare_binprm': fs/exec.c:1036: error: dereferencing pointer to incomplete type fs/exec.c:1039: error: dereferencing pointer to incomplete type fs/exec.c:1040: error: dereferencing pointer to incomplete type fs/exec.c:1040: error: 'NULL' undeclared (first use in this function) fs/exec.c:1041: error: 'EACCES' undeclared (first use in this function) fs/exec.c:1043: error: dereferencing pointer to incomplete type fs/exec.c:1043: error: 'current' undeclared (first use in this function) fs/exec.c:1044: error: dereferencing pointer to incomplete type fs/exec.c:1046: error: dereferencing pointer to incomplete type fs/exec.c:1046: error: 'MNT_NOSUID' undeclared (first use in this function) fs/exec.c:1048: error: 'S_ISUID' undeclared (first use in this function) fs/exec.c:1049: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function) fs/exec.c:1050: error: dereferencing pointer to incomplete type fs/exec.c:1050: error: dereferencing pointer to incomplete type fs/exec.c:1059: error: 'S_ISGID' undeclared (first use in this function) fs/exec.c:1059: error: 'S_IXGRP' undeclared (first use in this function) fs/exec.c:1061: error: dereferencing pointer to incomplete type fs/exec.c:1061: error: dereferencing pointer to incomplete type fs/exec.c:1066: error: implicit declaration of function 'security_bprm_set' fs/exec.c:1070: error: implicit declaration of function 'memset' fs/exec.c:1070: error: dereferencing pointer to incomplete type fs/exec.c:1070: error: 'BINPRM_BUF_SIZE' undeclared (first use in this function) fs/exec.c:1071: error: dereferencing pointer to incomplete type fs/exec.c:1071: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:1074: warning: data definition has no type or storage class fs/exec.c:1074: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1074: warning: parameter names (without types) in function declaration fs/exec.c:1076: warning: 'struct task_struct' declared inside parameter list fs/exec.c: In function 'unsafe_exec': fs/exec.c:1079: error: dereferencing pointer to incomplete type fs/exec.c:1079: error: 'PT_PTRACED' undeclared (first use in this function) fs/exec.c:1080: error: dereferencing pointer to incomplete type fs/exec.c:1080: error: 'PT_PTRACE_CAP' undeclared (first use in this function) fs/exec.c:1081: error: 'LSM_UNSAFE_PTRACE_CAP' undeclared (first use in this function) fs/exec.c:1083: error: 'LSM_UNSAFE_PTRACE' undeclared (first use in this function) fs/exec.c:1085: error: dereferencing pointer to incomplete type fs/exec.c:1086: error: dereferencing pointer to incomplete type fs/exec.c:1087: error: dereferencing pointer to incomplete type fs/exec.c:1088: error: 'LSM_UNSAFE_SHARE' undeclared (first use in this function) fs/exec.c: At top level: fs/exec.c:1093: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'compute_creds': fs/exec.c:1097: error: dereferencing pointer to incomplete type fs/exec.c:1097: error: 'current' undeclared (first use in this function) fs/exec.c:1101: error: implicit declaration of function 'exec_keys' fs/exec.c:1105: error: implicit declaration of function 'security_bprm_apply_creds' fs/exec.c:1107: error: implicit declaration of function 'security_bprm_post_apply_creds' fs/exec.c: At top level: fs/exec.c:1109: warning: data definition has no type or storage class fs/exec.c:1109: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1109: warning: parameter names (without types) in function declaration fs/exec.c:1116: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'remove_arg_zero': fs/exec.c:1123: error: dereferencing pointer to incomplete type fs/exec.c:1127: error: dereferencing pointer to incomplete type fs/exec.c:1127: error: 'PAGE_MASK' undeclared (first use in this function) fs/exec.c:1128: error: dereferencing pointer to incomplete type fs/exec.c:1128: warning: passing argument 1 of 'get_arg_page' from incompatible pointer type fs/exec.c:1130: error: 'EFAULT' undeclared (first use in this function) fs/exec.c:1133: error: implicit declaration of function 'kmap_atomic' fs/exec.c:1133: error: 'KM_USER0' undeclared (first use in this function) fs/exec.c:1133: warning: assignment makes pointer from integer without a cast fs/exec.c:1135: error: 'PAGE_SIZE' undeclared (first use in this function) fs/exec.c:1136: error: dereferencing pointer to incomplete type fs/exec.c:1139: error: implicit declaration of function 'kunmap_atomic' fs/exec.c:1143: error: dereferencing pointer to incomplete type fs/exec.c:1143: error: 'PAGE_SHIFT' undeclared (first use in this function) fs/exec.c:1143: warning: passing argument 1 of 'free_arg_page' from incompatible pointer type fs/exec.c:1146: error: dereferencing pointer to incomplete type fs/exec.c:1147: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:1153: warning: data definition has no type or storage class fs/exec.c:1153: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1153: warning: parameter names (without types) in function declaration fs/exec.c:1158: warning: 'struct pt_regs' declared inside parameter list fs/exec.c:1158: warning: 'struct linux_binprm' declared inside parameter list fs/exec.c: In function 'search_binary_handler': fs/exec.c:1197: error: implicit declaration of function 'security_bprm_check' fs/exec.c:1203: error: 'USER_DS' undeclared (first use in this function) fs/exec.c:1205: error: implicit declaration of function 'audit_bprm' fs/exec.c:1209: error: 'ENOENT' undeclared (first use in this function) fs/exec.c:1211: error: implicit declaration of function 'read_lock' fs/exec.c:1211: error: 'binfmt_lock' undeclared (first use in this function) fs/exec.c:1212: error: implicit declaration of function 'list_for_each_entry' fs/exec.c:1212: error: 'formats' undeclared (first use in this function) fs/exec.c:1212: error: 'lh' undeclared (first use in this function) mm/truncate.c:330: error: expected declaration specifiers or '...' before 'pgoff_t' arch/x86/kernel/pci-nommu.c:88: warning: (near initialization for 'nommu_dma_ops') mm/vmscan.c:367: warning: passing argument 1 of 'handle_write_error' from incompatible pointer typefs/exec.c:1212: error: expected ';' before '{' tokenarch/x86/kernel/pci-nommu.c:89: error: unknown field 'mapping_error' specified in initializer mm/truncate.c:330: error: expected declaration specifiers or '...' before 'pgoff_t' mm/vmscan.c:367: warning: passing argument 2 of 'handle_write_error' from incompatible pointer type fs/exec.c:1240: error: 'ENOEXEC' undeclared (first use in this function) fs/exec.c:1240: error: dereferencing pointer to incomplete type fs/exec.c:1240: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:89: error: 'nommu_mapping_error' undeclared here (not in a function) mm/truncate.c:330: warning: 'struct address_space' declared inside parameter list mm/vmscan.c:368: error: 'AOP_WRITEPAGE_ACTIVATE' undeclared (first use in this function) mm/vmscan.c:369: error: implicit declaration of function 'ClearPageReclaim' mm/truncate.c: In function 'invalidate_mapping_pages': mm/truncate.c:332: error: 'start' undeclared (first use in this function) mm/truncate.c:332: error: 'end' undeclared (first use in this function) mm/truncate.c:332: error: 'false' undeclared (first use in this function) mm/vmscan.c:378: error: implicit declaration of function 'PageWriteback'mm/truncate.c:332: warning: passing argument 1 of '__invalidate_mapping_pages' from incompatible pointer type arch/x86/kernel/pci-nommu.c:89: warning: excess elements in struct initializer fs/exec.c: At top level: mm/truncate.c:332: error: too many arguments to function '__invalidate_mapping_pages' mm/vmscan.c:379: error: implicit declaration of function 'wait_on_page_writeback' mm/vmscan.c:385: error: implicit declaration of function 'inc_zone_page_state'mm/truncate.c: At top level: arch/x86/kernel/pci-nommu.c:89: warning: (near initialization for 'nommu_dma_ops') fs/exec.c:1257: warning: data definition has no type or storage classarch/x86/kernel/pci-nommu.c:90: error: unknown field 'is_phys' specified in initializer arch/x86/kernel/pci-nommu.c:90: warning: excess elements in struct initializer mm/truncate.c:334: warning: data definition has no type or storage classmm/vmscan.c:385: error: 'NR_VMSCAN_WRITE' undeclared (first use in this function) arch/x86/kernel/pci-nommu.c:90: warning: (near initialization for 'nommu_dma_ops')mm/vmscan.c:355: warning: unused variable 'wbc' mm/truncate.c:334: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/truncate.c:334: warning: parameter names (without types) in function declaration arch/x86/kernel/pci-nommu.c:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_iommu_init'mm/truncate.c:344: warning: 'struct page' declared inside parameter listfs/exec.c:1257: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1257: warning: parameter names (without types) in function declaration mm/vmscan.c: At top level: mm/vmscan.c:398: warning: 'struct page' declared inside parameter list mm/vmscan.c:398: warning: 'struct address_space' declared inside parameter list fs/exec.c:1259: warning: 'struct linux_binprm' declared inside parameter list mm/truncate.c:344: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'invalidate_complete_page2': mm/truncate.c:346: error: dereferencing pointer to incomplete type mm/truncate.c:349: error: 'GFP_KERNEL' undeclared (first use in this function) mm/truncate.c:352: error: implicit declaration of function 'write_lock_irq' mm/truncate.c:352: error: dereferencing pointer to incomplete type mm/truncate.c:357: error: implicit declaration of function '__remove_from_page_cache' mm/truncate.c:358: error: implicit declaration of function 'write_unlock_irq' mm/truncate.c:358: error: dereferencing pointer to incomplete type mm/truncate.c:363: error: dereferencing pointer to incomplete type mm/truncate.c: At top level: mm/truncate.c:367: warning: 'struct page' declared inside parameter list mm/truncate.c:367: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'do_launder_page': mm/truncate.c:371: error: dereferencing pointer to incomplete type mm/truncate.c:371: error: dereferencing pointer to incomplete type mm/truncate.c:371: error: 'NULL' undeclared (first use in this function) mm/truncate.c:373: error: dereferencing pointer to incomplete type mm/truncate.c: At top level: mm/truncate.c:388: error: expected declaration specifiers or '...' before 'pgoff_t' mm/truncate.c:388: error: expected declaration specifiers or '...' before 'pgoff_t' mm/truncate.c:388: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'invalidate_inode_pages2_range': mm/truncate.c:390: error: storage size of 'pvec' isn't known mm/truncate.c:391: error: 'pgoff_t' undeclared (first use in this function) mm/truncate.c:391: error: expected ';' before 'next' mm/truncate.c:392: warning: ISO C90 forbids mixed declarations and code mm/truncate.c:399: error: 'next' undeclared (first use in this function) mm/truncate.c:399: error: 'start' undeclared (first use in this function) mm/truncate.c:400: error: 'end' undeclared (first use in this function) mm/truncate.c:402: error: implicit declaration of function 'min' mm/truncate.c:402: error: expected ')' before 'PAGEVEC_SIZE' mm/truncate.c:405: error: expected ';' before 'page_index' mm/vmscan.c: In function 'remove_mapping':mm/truncate.c:408: error: dereferencing pointer to incomplete type mm/truncate.c:412: error: 'page_index' undeclared (first use in this function) mm/truncate.c:412: error: dereferencing pointer to incomplete type fs/exec.c: In function 'free_bprm': fs/exec.c:1261: warning: passing argument 1 of 'free_arg_pages' from incompatible pointer type mm/truncate.c:427: error: 'loff_t' undeclared (first use in this function) mm/vmscan.c:400: error: implicit declaration of function 'BUG_ON' mm/vmscan.c:400: error: implicit declaration of function 'PageLocked' mm/vmscan.c:401: warning: comparison between pointer and integer mm/vmscan.c:403: error: implicit declaration of function 'write_lock_irq' mm/vmscan.c:403: error: dereferencing pointer to incomplete type mm/vmscan.c:429: error: implicit declaration of function 'unlikely' mm/vmscan.c:431: error: implicit declaration of function 'smp_rmb' mm/vmscan.c:432: error: implicit declaration of function 'PageDirty' mm/vmscan.c:436: error: 'swp_entry_t' undeclared (first use in this function) mm/vmscan.c:436: error: expected ';' before 'swap' mm/vmscan.c:437: error: implicit declaration of function '__delete_from_swap_cache' mm/vmscan.c:438: error: implicit declaration of function 'write_unlock_irq' mm/vmscan.c:438: error: dereferencing pointer to incomplete type mm/vmscan.c:439: error: implicit declaration of function 'swap_free' mm/vmscan.c:439: error: 'swap' undeclared (first use in this function) mm/vmscan.c:440: warning: passing argument 1 of '__put_page' from incompatible pointer type mm/vmscan.c:444: error: implicit declaration of function '__remove_from_page_cache' mm/vmscan.c:445: error: dereferencing pointer to incomplete type mm/vmscan.c:446: warning: passing argument 1 of '__put_page' from incompatible pointer type cc1: fs/exec.c:1262: error: implicit declaration of function 'kfree' mm/truncate.c:427: error: expected ')' before 'page_index' mm/truncate.c:437: error: expected ')' before 'page_index' mm/truncate.c:442: warning: passing argument 1 of 'do_launder_page' from incompatible pointer type mm/vmscan.c:450: error: dereferencing pointer to incomplete type error: include/linux/autoconf.h: No such file or directory mm/vmscan.c: At top level: mm/vmscan.c:459: warning: 'struct list_head' declared inside parameter list mm/vmscan.c: In function 'shrink_page_list': mm/vmscan.c:461: error: 'ret_pages' undeclared (first use in this function) mm/vmscan.c:462: error: storage size of 'freed_pvec' isn't known mm/vmscan.c:462: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:466: error: implicit declaration of function 'cond_resched'fs/exec.c: At top level:mm/truncate.c:442: warning: passing argument 2 of 'do_launder_page' from incompatible pointer type kernel/sysctl.c:21:26: mm/truncate.c:444: warning: passing argument 1 of 'invalidate_complete_page2' from incompatible pointer type mm/vmscan.c:468: error: implicit declaration of function 'pagevec_init' mm/vmscan.c:469: error: implicit declaration of function 'list_empty' fs/exec.c:1269: error: expected ';', ',' or ')' before '*' token mm/vmscan.c:477: error: implicit declaration of function 'list_entry' mm/vmscan.c:477: error: dereferencing pointer to incomplete type mm/vmscan.c:477: error: expected expression before 'struct' mm/vmscan.c:477: warning: assignment makes pointer from integer without a cast mm/vmscan.c:478: error: dereferencing pointer to incomplete type mm/vmscan.c:480: error: implicit declaration of function 'TestSetPageLocked' fs/exec.c:1365: warning: 'struct linux_binfmt' declared inside parameter listmm/vmscan.c:483: error: implicit declaration of function 'PageActive' mm/truncate.c:444: warning: passing argument 2 of 'invalidate_complete_page2' from incompatible pointer typemm/vmscan.c:487: error: 'struct scan_control' has no member named 'may_swap' mm/vmscan.c:494: error: 'struct scan_control' has no member named 'gfp_mask' make[1]: error: fs/exec.c: In function 'set_binfmt': linux/module.h: No such file or directory mm/truncate.c:445: error: 'EIO' undeclared (first use in this function) kernel/sysctl.c:22:22: error: linux/mm.h: No such file or directory mm/vmscan.c:494: error: '__GFP_FS' undeclared (first use in this function)*** [arch/x86/kernel/pci-nommu.o] Error 1fs/exec.c:1367: error: 'current' undeclared (first use in this function) mm/truncate.c:390: warning: unused variable 'pvec' fs/exec.c:1370: error: implicit declaration of function 'try_module_get' fs/exec.c:1370: error: dereferencing pointer to incomplete type mm/truncate.c: At top level: kernel/sysctl.c:23:24: error: mm/vmscan.c:495: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c:495: error: '__GFP_IO' undeclared (first use in this function) mm/vmscan.c:512: error: implicit declaration of function 'page_referenced' mm/vmscan.c:512: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:514: error: 'struct scan_control' has no member named 'order' mm/vmscan.c:514: error: 'PAGE_ALLOC_COSTLY_ORDER' undeclared (first use in this function) mm/vmscan.c:515: warning: passing argument 1 of 'page_mapping_inuse' from incompatible pointer type mm/vmscan.c:528: warning: assignment makes pointer from integer without a cast mm/vmscan.c:535: error: implicit declaration of function 'try_to_unmap' mm/vmscan.c:536: error: 'SWAP_FAIL' undeclared (first use in this function) mm/vmscan.c:538: error: 'SWAP_AGAIN' undeclared (first use in this function) mm/vmscan.c:540: error: 'SWAP_SUCCESS' undeclared (first use in this function) mm/vmscan.c:546: error: 'struct scan_control' has no member named 'order' mm/vmscan.c:550: error: 'struct scan_control' has no member named 'may_writepage' mm/vmscan.c:554: warning: passing argument 1 of 'pageout' from incompatible pointer type mm/vmscan.c:554: warning: passing argument 2 of 'pageout' from incompatible pointer type mm/vmscan.c:570: warning: assignment makes pointer from integer without a cast mm/vmscan.c:598: error: implicit declaration of function 'try_to_release_page' mm/vmscan.c:598: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c:604: warning: passing argument 1 of 'remove_mapping' from incompatible pointer type mm/vmscan.c:604: warning: passing argument 2 of 'remove_mapping' from incompatible pointer type mm/vmscan.c:610: error: implicit declaration of function 'pagevec_add' mm/vmscan.c:611: error: implicit declaration of function '__pagevec_release_nonlru' mm/vmscan.c:615: error: implicit declaration of function 'SetPageActive' mm/vmscan.c:620: error: implicit declaration of function 'list_add' mm/vmscan.c:620: error: dereferencing pointer to incomplete type mm/vmscan.c:621: error: implicit declaration of function 'PageLRU' mm/vmscan.c:623: error: implicit declaration of function 'list_splice' mm/vmscan.c:624: error: implicit declaration of function 'pagevec_count' mm/vmscan.c:626: error: implicit declaration of function 'count_vm_events' mm/vmscan.c:626: error: 'PGACTIVATE' undeclared (first use in this function) mm/vmscan.c:462: warning: unused variable 'freed_pvec' mm/vmscan.c: At top level: mm/vmscan.c:645: warning: 'struct page' declared inside parameter list mm/vmscan.c: In function '__isolate_lru_page': mm/vmscan.c:647: error: 'EINVAL' undeclared (first use in this function) mm/vmscan.c:661: error: 'EBUSY' undeclared (first use in this function) mm/vmscan.c:662: error: implicit declaration of function 'likely' mm/vmscan.c:662: error: implicit declaration of function 'get_page_unless_zero' mm/vmscan.c:668: error: implicit declaration of function 'ClearPageLRU' mm/vmscan.c: At top level: mm/vmscan.c:696: warning: 'struct list_head' declared inside parameter list mm/vmscan.c: In function 'isolate_lru_pages': mm/vmscan.c:708: error: dereferencing pointer to incomplete type mm/vmscan.c:708: error: expected expression before 'struct' mm/vmscan.c:708: warning: assignment makes pointer from integer without a cast mm/vmscan.c:713: warning: passing argument 1 of '__isolate_lru_page' from incompatible pointer type mm/vmscan.c:715: error: implicit declaration of function 'list_move' mm/vmscan.c:715: error: dereferencing pointer to incomplete type mm/vmscan.c:719: error: 'EBUSY' undeclared (first use in this function) mm/vmscan.c:721: error: dereferencing pointer to incomplete type mm/vmscan.c:725: error: implicit declaration of function 'BUG' mm/vmscan.c:740: error: implicit declaration of function 'page_zone_id' mm/vmscan.c:741: error: implicit declaration of function 'page_to_pfn' mm/vmscan.c:752: error: implicit declaration of function 'pfn_valid_within' mm/vmscan.c:755: error: implicit declaration of function 'pfn_to_page' mm/vmscan.c:755: warning: assignment makes pointer from integer without a cast fs/exec.c:1375: error: dereferencing pointer to incomplete typemm/vmscan.c:759: warning: passing argument 1 of '__isolate_lru_page' from incompatible pointer type mm/vmscan.c:761: error: dereferencing pointer to incomplete typemm/truncate.c:456: warning: data definition has no type or storage class linux/swap.h: No such file or directory CC arch/x86/kernel/tsc.o kernel/sysctl.c:24:24: error: linux/slab.h: No such file or directory kernel/sysctl.c:25:26: error: linux/sysctl.h: No such file or directory kernel/sysctl.c:26:27: error: linux/proc_fs.h: No such file or directory kernel/sysctl.c:27:28: error: linux/security.h: No such file or directory kernel/sysctl.c:28:25: error: linux/ctype.h: No such file or directory kernel/sysctl.c:29:27: error: linux/utsname.h: No such file or directory kernel/sysctl.c:30:29: error: linux/kmemcheck.h: No such file or directory kernel/sysctl.c:31:28: error: linux/smp_lock.h: No such file or directory kernel/sysctl.c:32:22: error: linux/fs.h: No such file or directory kernel/sysctl.c:33:24: error: linux/init.h: No such file or directory kernel/sysctl.c:34:26: error: linux/kernel.h: No such file or directory kernel/sysctl.c:35:27: error: linux/kobject.h: No such file or directory kernel/sysctl.c:36:23: error: linux/net.h: No such file or directory kernel/sysctl.c:37:25: error: linux/sysrq.h: No such file or directory kernel/sysctl.c:38:27: error: linux/highuid.h: No such file or directory kernel/sysctl.c:39:29: error: linux/writeback.h: No such file or directory kernel/sysctl.c:40:27: error: linux/hugetlb.h: No such file or directory kernel/sysctl.c:41:26: error: linux/initrd.h: No such file or directory kernel/sysctl.c:42:23: error: linux/key.h: No such file or directory kernel/sysctl.c:43:25: error: linux/times.h: No such file or directory kernel/sysctl.c:44:26: fs/exec.c: At top level: fs/exec.c:1379: warning: data definition has no type or storage class fs/exec.c:1379: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/exec.c:1379: warning: parameter names (without types) in function declaration fs/exec.c: In function 'format_corename': fs/exec.c:1417: error: implicit declaration of function 'snprintf' fs/exec.c:1418: error: implicit declaration of function 'task_tgid_vnr' fs/exec.c:1418: error: 'current' undeclared (first use in this function) fs/exec.c:1449: error: storage size of 'tv' isn't known fs/exec.c:1450: error: implicit declaration of function 'do_gettimeofday' fs/exec.c:1449: warning: unused variable 'tv' fs/exec.c:1460: error: 'uts_sem' undeclared (first use in this function) fs/exec.c:1462: error: implicit declaration of function 'utsname' fs/exec.c:1462: error: invalid type argument of '->' fs/exec.c:1479: error: 'RLIMIT_CORE' undeclared (first use in this function) mm/truncate.c:456: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/truncate.c:456: warning: parameter names (without types) in function declaration mm/vmscan.c:768: error: dereferencing pointer to incomplete typemm/truncate.c:467: warning: 'struct address_space' declared inside parameter list mm/truncate.c: In function 'invalidate_inode_pages2': mm/truncate.c:469: warning: passing argument 1 of 'invalidate_inode_pages2_range' from incompatible pointer type mm/truncate.c:469: error: too many arguments to function 'invalidate_inode_pages2_range' mm/truncate.c: At top level: mm/truncate.c:471: warning: data definition has no type or storage class mm/truncate.c:471: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/truncate.c:471: warning: parameter names (without types) in function declaration error: linux/limits.h: No such file or directory kernel/sysctl.c:45:26: error: linux/dcache.h: No such file or directory kernel/sysctl.c:46:28: error: linux/syscalls.h: No such file or directory kernel/sysctl.c:47:26: error: linux/nfs_fs.h: No such file or directory kernel/sysctl.c:48:24: error: linux/acpi.h: No such file or directory kernel/sysctl.c:49:26: error: linux/reboot.h: No such file or directory kernel/sysctl.c:50:26: error: linux/ftrace.h: No such file or directory kernel/sysctl.c:51:32: error: linux/stop_machine.h: No such file or directory kernel/sysctl.c:53:25: error: asm/uaccess.h: No such file or directory kernel/sysctl.c:54:27: error: asm/processor.h: No such file or directory kernel/sysctl.c:62: warning: 'struct __sysctl_args' declared inside parameter list kernel/sysctl.c:62: warning: its scope is only this definition or declaration, which is probably not what you want kernel/sysctl.c:1982: warning: 'struct ctl_table' declared inside parameter list kernel/sysctl.c: In function 'register_sysctl_table': kernel/sysctl.c:1984: error: 'NULL' undeclared (first use in this function) kernel/sysctl.c:1984: error: (Each undeclared identifier is reported only once kernel/sysctl.c:1984: error: for each function it appears in.) kernel/sysctl.c: At top level: kernel/sysctl.c:1988: warning: 'struct ctl_table' declared inside parameter list kernel/sysctl.c:1988: warning: 'struct ctl_path' declared inside parameter list kernel/sysctl.c: In function 'register_sysctl_paths': kernel/sysctl.c:1990: error: 'NULL' undeclared (first use in this function) kernel/sysctl.c: At top level: kernel/sysctl.c:1999: warning: 'struct ctl_table_set' declared inside parameter list kernel/sysctl.c:2690: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2696: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2702: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2708: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2714: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2720: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2726: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2733: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2937: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sysctl.c:2954: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2961: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2968: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2975: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2982: error: expected ';', ',' or ')' before '*' token kernel/sysctl.c:2991: warning: 'struct __sysctl_args' declared inside parameter list kernel/sysctl.c:2992: error: conflicting types for 'deprecated_sysctl_warning' kernel/sysctl.c:62: error: previous declaration of 'deprecated_sysctl_warning' was here kernel/sysctl.c: In function 'deprecated_sysctl_warning': kernel/sysctl.c:2994: error: 'CTL_MAXNAME' undeclared (first use in this function) kernel/sysctl.c:2998: error: dereferencing pointer to incomplete type kernel/sysctl.c:2998: error: dereferencing pointer to incomplete type kernel/sysctl.c:2999: error: 'ENOTDIR' undeclared (first use in this function) kernel/sysctl.c:3002: error: dereferencing pointer to incomplete type kernel/sysctl.c:3003: error: implicit declaration of function 'get_user' kernel/sysctl.c:3003: error: dereferencing pointer to incomplete type kernel/sysctl.c:3004: error: 'EFAULT' undeclared (first use in this function) kernel/sysctl.c:3007: error: dereferencing pointer to incomplete type kernel/sysctl.c:3007: error: 'CTL_KERN' undeclared (first use in this function) kernel/sysctl.c:3007: error: 'KERN_VERSION' undeclared (first use in this function) kernel/sysctl.c:3012: error: implicit declaration of function 'printk' kernel/sysctl.c:3012: error: 'KERN_INFO' undeclared (first use in this function) kernel/sysctl.c:3013: error: expected ')' before string constant kernel/sysctl.c:3015: error: dereferencing pointer to incomplete type kernel/sysctl.c:2994: warning: unused variable 'name' kernel/sysctl.c: At top level: kernel/sysctl.c:3026: warning: data definition has no type or storage class kernel/sysctl.c:3026: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3026: warning: parameter names (without types) in function declaration kernel/sysctl.c:3027: warning: data definition has no type or storage class kernel/sysctl.c:3027: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3027: warning: parameter names (without types) in function declaration kernel/sysctl.c:3028: warning: data definition has no type or storage class kernel/sysctl.c:3028: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3028: warning: parameter names (without types) in function declaration kernel/sysctl.c:3029: warning: data definition has no type or storage class kernel/sysctl.c:3029: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3029: warning: parameter names (without types) in function declaration kernel/sysctl.c:3030: warning: data definition has no type or storage class kernel/sysctl.c:3030: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3030: warning: parameter names (without types) in function declaration kernel/sysctl.c:3031: warning: data definition has no type or storage class kernel/sysctl.c:3031: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3031: warning: parameter names (without types) in function declaration kernel/sysctl.c:3032: warning: data definition has no type or storage class kernel/sysctl.c:3032: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3032: warning: parameter names (without types) in function declaration kernel/sysctl.c:3033: warning: data definition has no type or storage class kernel/sysctl.c:3033: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3033: warning: parameter names (without types) in function declaration kernel/sysctl.c:3034: warning: data definition has no type or storage class kernel/sysctl.c:3034: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3034: warning: parameter names (without types) in function declaration kernel/sysctl.c:3035: warning: data definition has no type or storage class kernel/sysctl.c:3035: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3035: warning: parameter names (without types) in function declaration kernel/sysctl.c:3036: warning: data definition has no type or storage class kernel/sysctl.c:3036: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3036: warning: parameter names (without types) in function declaration kernel/sysctl.c:3037: warning: data definition has no type or storage class kernel/sysctl.c:3037: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3037: warning: parameter names (without types) in function declaration kernel/sysctl.c:3038: warning: data definition has no type or storage class kernel/sysctl.c:3038: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3038: warning: parameter names (without types) in function declaration kernel/sysctl.c:3039: warning: data definition has no type or storage class kernel/sysctl.c:3039: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3039: warning: parameter names (without types) in function declaration kernel/sysctl.c:3040: warning: data definition has no type or storage class kernel/sysctl.c:3040: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3040: warning: parameter names (without types) in function declaration kernel/sysctl.c:3041: warning: data definition has no type or storage class kernel/sysctl.c:3041: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl.c:3041: warning: parameter names (without types) in function declaration fs/exec.c: At top level: make[1]: *** [mm/truncate.o] Error 1 mm/vmscan.c: At top level: mm/vmscan.c:784: warning: 'struct mem_cgroup' declared inside parameter list mm/vmscan.c:784: warning: 'struct zone' declared inside parameter list mm/vmscan.c:784: warning: 'struct list_head' declared inside parameter list mm/vmscan.c: In function 'isolate_pages_global': mm/vmscan.c:787: error: dereferencing pointer to incomplete type mm/vmscan.c:788: warning: passing argument 3 of 'isolate_lru_pages' from incompatible pointer type mm/vmscan.c:790: error: dereferencing pointer to incomplete type mm/vmscan.c:791: warning: passing argument 3 of 'isolate_lru_pages' from incompatible pointer type mm/vmscan.c: At top level: mm/vmscan.c:798: warning: 'struct list_head' declared inside parameter list mm/vmscan.c: In function 'clear_active_flags': mm/vmscan.c:803: error: 'lru' undeclared (first use in this function) mm/vmscan.c:804: error: expected ';' before 'if' mm/vmscan.c:800: warning: unused variable 'nr_active' mm/vmscan.c: At top level: mm/vmscan.c:817: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'shrink_inactive_list': mm/vmscan.c:819: error: 'page_list' undeclared (first use in this function) mm/vmscan.c:820: error: storage size of 'pvec' isn't known mm/vmscan.c:820: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:826: error: implicit declaration of function 'lru_add_drain' fs/exec.c:1508: warning: 'struct task_struct' declared inside parameter list mm/vmscan.c:827: error: implicit declaration of function 'spin_lock_irq' mm/vmscan.c:827: error: dereferencing pointer to incomplete type mm/vmscan.c:835: error: 'struct scan_control' has no member named 'isolate_pages' mm/vmscan.c:835: error: 'struct scan_control' has no member named 'swap_cluster_max' fs/exec.c: In function 'zap_process': mm/vmscan.c:836: error: 'struct scan_control' has no member named 'order' fs/exec.c:1512: error: dereferencing pointer to incomplete type mm/vmscan.c:837: error: 'struct scan_control' has no member named 'order' fs/exec.c:1512: error: 'SIGNAL_GROUP_EXIT' undeclared (first use in this function)mm/vmscan.c:837: error: 'PAGE_ALLOC_COSTLY_ORDER' undeclared (first use in this function) mm/vmscan.c:839: error: 'struct scan_control' has no member named 'mem_cgroup' fs/exec.c:1513: error: dereferencing pointer to incomplete type mm/vmscan.c:841: error: implicit declaration of function '__count_vm_events' fs/exec.c:1517: error: 'current' undeclared (first use in this function) mm/vmscan.c:841: error: 'PGDEACTIVATE' undeclared (first use in this function)fs/exec.c:1517: error: dereferencing pointer to incomplete type fs/exec.c:1518: error: dereferencing pointer to incomplete type mm/vmscan.c:843: error: implicit declaration of function '__mod_zone_page_state'fs/exec.c:1519: error: implicit declaration of function 'sigaddset' fs/exec.c:1519: error: dereferencing pointer to incomplete type mm/vmscan.c:843: error: 'NR_ACTIVE' undeclared (first use in this function) fs/exec.c:1519: error: 'SIGKILL' undeclared (first use in this function) mm/vmscan.c:844: error: 'NR_INACTIVE' undeclared (first use in this function) fs/exec.c:1520: error: implicit declaration of function 'signal_wake_up' fs/exec.c:1522: error: implicit declaration of function 'next_thread' mm/vmscan.c:847: error: dereferencing pointer to incomplete type fs/exec.c:1522: warning: assignment makes pointer from integer without a cast mm/vmscan.c:848: error: implicit declaration of function 'spin_unlock_irq' mm/vmscan.c:848: error: dereferencing pointer to incomplete type mm/vmscan.c:859: error: implicit declaration of function 'current_is_kswapd' mm/vmscan.c:860: error: 'struct scan_control' has no member named 'order' fs/exec.c: At top level:mm/vmscan.c:861: error: implicit declaration of function 'congestion_wait' mm/vmscan.c:861: error: 'WRITE' undeclared (first use in this function) fs/exec.c:1526: warning: 'struct mm_struct' declared inside parameter list mm/vmscan.c:861: error: 'HZ' undeclared (first use in this function) fs/exec.c:1526: warning: 'struct task_struct' declared inside parameter list fs/exec.c: In function 'zap_threads': mm/vmscan.c:875: error: implicit declaration of function 'local_irq_disable' fs/exec.c:1530: error: 'EAGAIN' undeclared (first use in this function) mm/vmscan.c:877: error: implicit declaration of function '__count_zone_vm_events' mm/vmscan.c:877: error: 'PGSCAN_KSWAPD' undeclared (first use in this function) mm/vmscan.c:878: error: 'KSWAPD_STEAL' undeclared (first use in this function) mm/vmscan.c:880: error: 'PGSCAN_DIRECT' undeclared (first use in this function) fs/exec.c:1532: error: dereferencing pointer to incomplete type cc1: fs/exec.c:1533: error: dereferencing pointer to incomplete type mm/vmscan.c:882: error: 'PGSTEAL' undeclared (first use in this function) error: include/linux/autoconf.h: No such file or directory fs/exec.c:1534: error: dereferencing pointer to incomplete type fs/exec.c:1535: warning: passing argument 1 of 'zap_process' from incompatible pointer type fs/exec.c:1538: error: dereferencing pointer to incomplete type fs/exec.c:1542: error: dereferencing pointer to incomplete type CC arch/x86/kernel/io_delay.o mm/vmscan.c:887: error: implicit declaration of function 'spin_lock' mm/vmscan.c:887: error: dereferencing pointer to incomplete type fs/exec.c:1542: error: dereferencing pointer to incomplete type make[1]: *** [kernel/sysctl.o] Error 1fs/exec.c:1545: error: implicit declaration of function 'rcu_read_lock' mm/vmscan.c:892: error: expected expression before 'struct' fs/exec.c:1546: error: implicit declaration of function 'for_each_process' fs/exec.c:1546: error: expected ';' before '{' token mm/vmscan.c:892: warning: assignment makes pointer from integer without a cast fs/exec.c:1568: error: dereferencing pointer to incomplete type mm/vmscan.c:894: error: implicit declaration of function 'SetPageLRU'fs/exec.c:1529: warning: unused variable 'flags' mm/vmscan.c:895: error: dereferencing pointer to incomplete type mm/vmscan.c:897: error: implicit declaration of function 'add_page_to_active_list' mm/vmscan.c:899: error: implicit declaration of function 'add_page_to_inactive_list' mm/vmscan.c:901: error: dereferencing pointer to incomplete type mm/vmscan.c:902: error: implicit declaration of function '__pagevec_release' mm/vmscan.c:903: error: dereferencing pointer to incomplete type mm/vmscan.c:907: error: implicit declaration of function 'spin_unlock' mm/vmscan.c:907: error: dereferencing pointer to incomplete type mm/vmscan.c:909: error: implicit declaration of function 'local_irq_enable' fs/exec.c:1528: warning: unused variable 'p' fs/exec.c: In function 'coredump_wait': fs/exec.c:1573: error: 'current' undeclared (first use in this function) fs/exec.c:1574: error: dereferencing pointer to incomplete type fs/exec.c:1575: error: storage size of 'startup_done' isn't known fs/exec.c:1579: error: implicit declaration of function 'init_completion' fs/exec.c:1579: error: dereferencing pointer to incomplete type fs/exec.c:1581: error: dereferencing pointer to incomplete type fs/exec.c:1583: warning: passing argument 1 of 'zap_threads' from incompatible pointer type fs/exec.c:1583: warning: passing argument 2 of 'zap_threads' from incompatible pointer type fs/exec.c:1584: error: implicit declaration of function 'up_write' fs/exec.c:1584: error: dereferencing pointer to incomplete type fs/exec.c:1593: error: dereferencing pointer to incomplete type fs/exec.c:1595: error: dereferencing pointer to incomplete type fs/exec.c:1595: error: 'NULL' undeclared (first use in this function) fs/exec.c:1596: error: implicit declaration of function 'complete' fs/exec.c:1600: error: implicit declaration of function 'wait_for_completion' fs/exec.c:1602: error: dereferencing pointer to incomplete type fs/exec.c:1575: warning: unused variable 'startup_done' fs/exec.c: At top level: fs/exec.c:1626: warning: 'struct mm_struct' declared inside parameter list fs/exec.c:1627: warning: conflicting types for 'set_dumpable' fs/exec.c:977: warning: previous implicit declaration of 'set_dumpable' was here fs/exec.c: In function 'set_dumpable': fs/exec.c:1630: error: implicit declaration of function 'clear_bit' fs/exec.c:1630: error: 'MMF_DUMPABLE' undeclared (first use in this function) fs/exec.c:1630: error: dereferencing pointer to incomplete type fs/exec.c:1631: error: implicit declaration of function 'smp_wmb' fs/exec.c:1632: error: 'MMF_DUMP_SECURELY' undeclared (first use in this function) fs/exec.c:1632: error: dereferencing pointer to incomplete type fs/exec.c:1635: error: implicit declaration of function 'set_bit' fs/exec.c:1635: error: dereferencing pointer to incomplete type fs/exec.c:1637: error: dereferencing pointer to incomplete type fs/exec.c:1640: error: dereferencing pointer to incomplete type fs/exec.c:1642: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:1647: warning: 'struct mm_struct' declared inside parameter list fs/exec.c: In function 'get_dumpable': fs/exec.c:1651: error: dereferencing pointer to incomplete type fs/exec.c: At top level: fs/exec.c:1655: warning: 'struct pt_regs' declared inside parameter list fs/exec.c: In function 'do_coredump': fs/exec.c:1658: error: 'current' undeclared (first use in this function) fs/exec.c:1666: error: 'RLIMIT_CORE' undeclared (first use in this function) fs/exec.c:1667: error: 'NULL' undeclared (first use in this function) fs/exec.c:1671: error: implicit declaration of function 'audit_core_dumps' fs/exec.c:1674: error: dereferencing pointer to incomplete type fs/exec.c:1676: error: implicit declaration of function 'down_write' fs/exec.c:1676: error: dereferencing pointer to incomplete type fs/exec.c:1680: error: dereferencing pointer to incomplete type fs/exec.c:1680: warning: passing argument 1 of 'get_dumpable' from incompatible pointer type fs/exec.c:1681: error: dereferencing pointer to incomplete type fs/exec.c:1690: warning: passing argument 1 of 'get_dumpable' from incompatible pointer type fs/exec.c:1691: error: 'O_EXCL' undeclared (first use in this function) fs/exec.c:1703: error: implicit declaration of function 'clear_thread_flag' fs/exec.c:1703: error: 'TIF_SIGPENDING' undeclared (first use in this function) fs/exec.c:1709: error: implicit declaration of function 'lock_kernel' fs/exec.c:1711: error: implicit declaration of function 'unlock_kernel' fs/exec.c:1720: error: dereferencing pointer to incomplete type fs/exec.c:1724: error: implicit declaration of function 'argv_split' fs/exec.c:1724: error: 'GFP_KERNEL' undeclared (first use in this function) fs/exec.c:1724: warning: assignment makes pointer from integer without a cast fs/exec.c:1726: error: implicit declaration of function 'strchr' fs/exec.c:1726: warning: assignment makes pointer from integer without a cast fs/exec.c:1729: error: implicit declaration of function 'strrchr' fs/exec.c:1729: warning: assignment makes pointer from integer without a cast fs/exec.c:1734: error: implicit declaration of function 'strcmp' fs/exec.c:1735: error: implicit declaration of function 'printk' fs/exec.c:1735: error: 'KERN_NOTICE' undeclared (first use in this function) fs/exec.c:1735: error: expected ')' before string constant fs/exec.c:1740: error: 'RLIM_INFINITY' undeclared (first use in this function) fs/exec.c:1743: error: implicit declaration of function 'call_usermodehelper_pipe' fs/exec.c:1745: error: 'KERN_INFO' undeclared (first use in this function) fs/exec.c:1745: error: expected ')' before string constant fs/exec.c:1750: error: implicit declaration of function 'filp_open' fs/exec.c:1751: error: 'O_CREAT' undeclared (first use in this function) fs/exec.c:1751: error: 'O_NOFOLLOW' undeclared (first use in this function) fs/exec.c:1751: error: 'O_LARGEFILE' undeclared (first use in this function) fs/exec.c:1752: warning: assignment makes pointer from integer without a cast fs/exec.c:1755: error: dereferencing pointer to incomplete type fs/exec.c:1756: error: dereferencing pointer to incomplete type fs/exec.c:1758: error: implicit declaration of function 'd_unhashed' fs/exec.c:1758: error: dereferencing pointer to incomplete type fs/exec.c:1763: error: dereferencing pointer to incomplete type fs/exec.c:1769: error: dereferencing pointer to incomplete type fs/exec.c:1771: error: dereferencing pointer to incomplete type fs/exec.c:1773: error: dereferencing pointer to incomplete type fs/exec.c:1775: error: implicit declaration of function 'do_truncate' CC kernel/capability.o arch/x86/kernel/tsc.c:1:26: mm/vmscan.c:910: error: implicit declaration of function 'pagevec_release' mm/vmscan.c:820: warning: unused variable 'pvec' fs/exec.c:1775: error: dereferencing pointer to incomplete typeerror: linux/kernel.h: No such file or directory arch/x86/kernel/tsc.c:2:25: error: linux/sched.h: No such file or directory mm/vmscan.c: At top level: arch/x86/kernel/tsc.c:3:24: error: linux/init.h: No such file or directory mm/vmscan.c:922: warning: 'struct zone' declared inside parameter listarch/x86/kernel/tsc.c:4:26: error: linux/module.h: No such file or directory arch/x86/kernel/tsc.c:5:25: error: linux/timer.h: No such file or directory mm/vmscan.c: In function 'note_zone_scanning_priority': mm/vmscan.c:924: error: dereferencing pointer to incomplete type mm/vmscan.c:925: error: dereferencing pointer to incomplete type mm/vmscan.c: At top level: mm/vmscan.c:928: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'zone_is_near_oom': mm/vmscan.c:930: error: dereferencing pointer to incomplete type mm/vmscan.c:930: error: implicit declaration of function 'zone_page_state' mm/vmscan.c:930: error: 'NR_ACTIVE' undeclared (first use in this function) mm/vmscan.c:931: error: 'NR_INACTIVE' undeclared (first use in this function) mm/vmscan.c: At top level: mm/vmscan.c:939: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'calc_reclaim_mapped': mm/vmscan.c:948: warning: passing argument 1 of 'zone_is_near_oom' from incompatible pointer type mm/vmscan.c:955: error: dereferencing pointer to incomplete type mm/vmscan.c:957: error: implicit declaration of function 'mem_cgroup_get_reclaim_priority' mm/vmscan.c:957: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:959: error: implicit declaration of function 'min' mm/vmscan.c:968: error: implicit declaration of function 'global_page_state' mm/vmscan.c:968: error: 'NR_FILE_MAPPED' undeclared (first use in this function) mm/vmscan.c:969: error: 'NR_ANON_PAGES' undeclared (first use in this function) mm/vmscan.c:972: error: implicit declaration of function 'mem_cgroup_calc_mapped_ratio' mm/vmscan.c:972: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:986: error: 'struct scan_control' has no member named 'swappiness' mm/vmscan.c:1001: error: 'NR_ACTIVE' undeclared (first use in this function) mm/vmscan.c:1002: error: 'NR_INACTIVE' undeclared (first use in this function) mm/vmscan.c:1004: error: implicit declaration of function 'mem_cgroup_reclaim_imbalance' mm/vmscan.c:1004: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c: At top level: mm/vmscan.c:1061: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'shrink_active_list': mm/vmscan.c:1066: error: 'l_hold' undeclared (first use in this function) mm/vmscan.c:1067: error: 'l_inactive' undeclared (first use in this function) mm/vmscan.c:1068: error: 'l_active' undeclared (first use in this function) mm/vmscan.c:1069: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:1070: error: storage size of 'pvec' isn't known mm/vmscan.c:1073: error: 'struct scan_control' has no member named 'may_swap' mm/vmscan.c:1074: warning: passing argument 2 of 'calc_reclaim_mapped' from incompatible pointer type mm/vmscan.c:1077: error: dereferencing pointer to incomplete type mm/vmscan.c:1078: error: 'struct scan_control' has no member named 'isolate_pages' mm/vmscan.c:1078: error: 'struct scan_control' has no member named 'order' mm/vmscan.c:1080: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:1086: error: dereferencing pointer to incomplete type mm/vmscan.c:1088: error: 'NR_ACTIVE' undeclared (first use in this function) mm/vmscan.c:1089: error: dereferencing pointer to incomplete type mm/vmscan.c:1093: error: expected expression before 'struct' mm/vmscan.c:1093: warning: assignment makes pointer from integer without a cast mm/vmscan.c:1094: error: dereferencing pointer to incomplete type mm/vmscan.c:1097: error: 'total_swap_pages' undeclared (first use in this function) mm/vmscan.c:1097: error: implicit declaration of function 'PageAnon' mm/vmscan.c:1098: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:1099: error: dereferencing pointer to incomplete type mm/vmscan.c:1103: error: dereferencing pointer to incomplete type mm/vmscan.c:1108: error: dereferencing pointer to incomplete type mm/vmscan.c:1110: error: expected expression before 'struct' mm/vmscan.c:1110: warning: assignment makes pointer from integer without a cast mm/vmscan.c:1115: error: implicit declaration of function 'ClearPageActive' mm/vmscan.c:1117: error: dereferencing pointer to incomplete type mm/vmscan.c:1117: error: dereferencing pointer to incomplete type mm/vmscan.c:1118: error: implicit declaration of function 'mem_cgroup_move_lists' mm/vmscan.c:1118: error: 'false' undeclared (first use in this function) mm/vmscan.c:1121: error: 'NR_INACTIVE' undeclared (first use in this function) mm/vmscan.c:1122: error: dereferencing pointer to incomplete type mm/vmscan.c:1125: error: 'buffer_heads_over_limit' undeclared (first use in this function) mm/vmscan.c:1126: error: implicit declaration of function 'pagevec_strip' mm/vmscan.c:1128: error: dereferencing pointer to incomplete type mm/vmscan.c:1134: error: dereferencing pointer to incomplete type mm/vmscan.c:1136: error: dereferencing pointer to incomplete type mm/vmscan.c:1141: error: expected expression before 'struct' mm/vmscan.c:1141: warning: assignment makes pointer from integer without a cast mm/vmscan.c:1147: error: dereferencing pointer to incomplete type mm/vmscan.c:1147: error: dereferencing pointer to incomplete type mm/vmscan.c:1148: error: 'true' undeclared (first use in this function) mm/vmscan.c:1153: error: dereferencing pointer to incomplete type mm/vmscan.c:1155: error: dereferencing pointer to incomplete type mm/vmscan.c:1160: error: 'PGREFILL' undeclared (first use in this function) mm/vmscan.c:1161: error: 'PGDEACTIVATE' undeclared (first use in this function) mm/vmscan.c:1162: error: dereferencing pointer to incomplete type mm/vmscan.c:1070: warning: unused variable 'pvec' mm/vmscan.c: At top level: mm/vmscan.c:1171: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'shrink_zone': mm/vmscan.c:1183: error: dereferencing pointer to incomplete type mm/vmscan.c:1184: error: 'NR_ACTIVE' undeclared (first use in this function) mm/vmscan.c:1185: error: dereferencing pointer to incomplete type mm/vmscan.c:1186: error: dereferencing pointer to incomplete type mm/vmscan.c:1187: error: 'NR_INACTIVE' undeclared (first use in this function) mm/vmscan.c:1188: error: dereferencing pointer to incomplete type mm/vmscan.c:1189: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1190: error: dereferencing pointer to incomplete type mm/vmscan.c:1194: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1195: error: dereferencing pointer to incomplete type mm/vmscan.c:1204: error: implicit declaration of function 'mem_cgroup_calc_reclaim_active' mm/vmscan.c:1204: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:1207: error: implicit declaration of function 'mem_cgroup_calc_reclaim_inactive' mm/vmscan.c:1207: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:1215: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1217: warning: passing argument 2 of 'shrink_active_list' from incompatible pointer type mm/vmscan.c:1222: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1225: warning: passing argument 2 of 'shrink_inactive_list' from incompatible pointer type mm/vmscan.c:1229: error: implicit declaration of function 'throttle_vm_writeout' mm/vmscan.c:1229: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c: At top level: mm/vmscan.c:1250: warning: 'struct zonelist' declared inside parameter list mm/vmscan.c: In function 'shrink_zones': mm/vmscan.c:1252: error: variable 'high_zoneidx' has initializer but incomplete type mm/vmscan.c:1252: error: implicit declaration of function 'gfp_zone' mm/vmscan.c:1252: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c:1252: error: storage size of 'high_zoneidx' isn't known mm/vmscan.c:1257: error: 'struct scan_control' has no member named 'all_unreclaimable' mm/vmscan.c:1258: error: implicit declaration of function 'for_each_zone_zonelist' mm/vmscan.c:1258: error: expected ';' before '{' token mm/vmscan.c:1253: warning: unused variable 'nr_reclaimed' mm/vmscan.c:1252: warning: unused variable 'high_zoneidx' mm/vmscan.c: At top level: mm/vmscan.c:1307: warning: 'struct zonelist' declared inside parameter list mm/vmscan.c: In function 'do_try_to_free_pages': mm/vmscan.c:1313: error: 'current' undeclared (first use in this function) mm/vmscan.c:1317: error: variable 'high_zoneidx' has initializer but incomplete type mm/vmscan.c:1317: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c:1317: error: storage size of 'high_zoneidx' isn't known mm/vmscan.c:1320: error: implicit declaration of function 'count_vm_event' mm/vmscan.c:1320: error: 'ALLOCSTALL' undeclared (first use in this function) mm/vmscan.c:1325: error: expected ';' before '{' token mm/vmscan.c:1335: error: 'DEF_PRIORITY' undeclared (first use in this function) mm/vmscan.c:1338: error: implicit declaration of function 'disable_swap_token' mm/vmscan.c:1339: warning: passing argument 2 of 'shrink_zones' from incompatible pointer type mm/vmscan.c:1345: error: 'struct scan_control' has no member named 'gfp_mask' mm/vmscan.c:1345: error: too many arguments to function 'shrink_slab' mm/vmscan.c:1347: error: dereferencing pointer to incomplete type mm/vmscan.c:1348: error: dereferencing pointer to incomplete type mm/vmscan.c:1352: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1364: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1365: error: 'struct scan_control' has no member named 'swap_cluster_max' mm/vmscan.c:1366: error: implicit declaration of function 'wakeup_pdflush' mm/vmscan.c:1366: error: 'laptop_mode' undeclared (first use in this function) mm/vmscan.c:1367: error: 'struct scan_control' has no member named 'may_writepage' mm/vmscan.c:1372: error: 'WRITE' undeclared (first use in this function) mm/vmscan.c:1372: error: 'HZ' undeclared (first use in this function) mm/vmscan.c:1375: error: 'struct scan_control' has no member named 'all_unreclaimable' mm/vmscan.c:1389: error: expected ';' before '{' token mm/vmscan.c:1397: error: implicit declaration of function 'mem_cgroup_record_reclaim_priority' mm/vmscan.c:1397: error: 'struct scan_control' has no member named 'mem_cgroup' mm/vmscan.c:1317: warning: unused variable 'high_zoneidx' mm/vmscan.c: At top level: mm/vmscan.c:1403: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmscan.c:1403: warning: 'struct zonelist' declared inside parameter list mm/vmscan.c: In function 'try_to_free_pages': mm/vmscan.c:1406: error: unknown field 'gfp_mask' specified in initializer mm/vmscan.c:1406: error: 'gfp_mask' undeclared (first use in this function) mm/vmscan.c:1407: error: unknown field 'may_writepage' specified in initializer mm/vmscan.c:1407: error: 'laptop_mode' undeclared (first use in this function) mm/vmscan.c:1407: warning: excess elements in struct initializer mm/vmscan.c:1407: warning: (near initialization for 'sc') mm/vmscan.c:1408: error: unknown field 'swap_cluster_max' specified in initializer mm/vmscan.c:1408: error: 'SWAP_CLUSTER_MAX' undeclared (first use in this function) mm/vmscan.c:1408: warning: excess elements in struct initializer mm/vmscan.c:1408: warning: (near initialization for 'sc') mm/vmscan.c:1409: error: unknown field 'may_swap' specified in initializer mm/vmscan.c:1409: warning: excess elements in struct initializer mm/vmscan.c:1409: warning: (near initialization for 'sc') mm/vmscan.c:1410: error: unknown field 'swappiness' specified in initializer mm/vmscan.c:1410: warning: excess elements in struct initializer mm/vmscan.c:1410: warning: (near initialization for 'sc') mm/vmscan.c:1411: error: unknown field 'order' specified in initializer mm/vmscan.c:1411: warning: excess elements in struct initializer mm/vmscan.c:1411: warning: (near initialization for 'sc') mm/vmscan.c:1412: error: unknown field 'mem_cgroup' specified in initializer mm/vmscan.c:1412: error: 'NULL' undeclared (first use in this function) mm/vmscan.c:1412: warning: excess elements in struct initializer mm/vmscan.c:1412: warning: (near initialization for 'sc') mm/vmscan.c:1413: error: unknown field 'isolate_pages' specified in initializer mm/vmscan.c:1413: warning: excess elements in struct initializer mm/vmscan.c:1413: warning: (near initialization for 'sc') mm/vmscan.c:1416: warning: passing argument 1 of 'do_try_to_free_pages' from incompatible pointer type mm/vmscan.c: At top level: mm/vmscan.c:1463: error: expected ')' before '*' token mm/vmscan.c: In function 'kswapd': mm/vmscan.c:1645: error: 'pg_data_t' undeclared (first use in this function) mm/vmscan.c:1645: error: 'pgdat' undeclared (first use in this function) mm/vmscan.c:1645: error: expected expression before ')' token mm/vmscan.c:1646: error: 'current' undeclared (first use in this function) mm/vmscan.c:1646: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:1647: error: implicit declaration of function 'DEFINE_WAIT' mm/vmscan.c:1647: error: 'wait' undeclared (first use in this function) mm/vmscan.c:1648: error: variable 'reclaim_state' has initializer but incomplete type mm/vmscan.c:1649: error: unknown field 'reclaimed_slab' specified in initializer mm/vmscan.c:1649: warning: excess elements in struct initializer mm/vmscan.c:1649: warning: (near initialization for 'reclaim_state') mm/vmscan.c:1648: error: storage size of 'reclaim_state' isn't known mm/vmscan.c:1648: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:1651: error: implicit declaration of function 'node_to_cpumask_ptr' mm/vmscan.c:1651: error: 'cpumask' undeclared (first use in this function) mm/vmscan.c:1653: error: implicit declaration of function 'cpus_empty' mm/vmscan.c:1654: error: implicit declaration of function 'set_cpus_allowed_ptr' mm/vmscan.c:1669: error: dereferencing pointer to incomplete type mm/vmscan.c:1669: error: 'PF_MEMALLOC' undeclared (first use in this function) mm/vmscan.c:1669: error: 'PF_SWAPWRITE' undeclared (first use in this function) mm/vmscan.c:1669: error: 'PF_KSWAPD' undeclared (first use in this function) mm/vmscan.c:1670: error: implicit declaration of function 'set_freezable' mm/vmscan.c:1676: error: implicit declaration of function 'prepare_to_wait' mm/vmscan.c:1676: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) mm/vmscan.c:1686: error: implicit declaration of function 'freezing' mm/vmscan.c:1687: error: implicit declaration of function 'schedule' mm/vmscan.c:1691: error: implicit declaration of function 'finish_wait' mm/vmscan.c:1693: error: implicit declaration of function 'try_to_freeze' mm/vmscan.c:1697: error: implicit declaration of function 'balance_pgdat' mm/vmscan.c:1648: warning: unused variable 'reclaim_state' mm/vmscan.c: At top level: mm/vmscan.c:1706: warning: 'struct zone' declared inside parameter list mm/vmscan.c: In function 'wakeup_kswapd': mm/vmscan.c:1708: error: 'pg_data_t' undeclared (first use in this function) mm/vmscan.c:1708: error: 'pgdat' undeclared (first use in this function) mm/vmscan.c:1710: error: implicit declaration of function 'populated_zone' mm/vmscan.c:1713: error: dereferencing pointer to incomplete type mm/vmscan.c:1714: error: implicit declaration of function 'zone_watermark_ok' mm/vmscan.c:1714: error: dereferencing pointer to incomplete type mm/vmscan.c:1718: error: implicit declaration of function 'cpuset_zone_allowed_hardwall' mm/vmscan.c:1718: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmscan.c:1720: error: implicit declaration of function 'waitqueue_active' mm/vmscan.c:1722: error: implicit declaration of function 'wake_up_interruptible' arch/x86/kernel/tsc.c:6:30: error: linux/acpi_pmtmr.h: No such file or directory arch/x86/kernel/tsc.c:7:27: error: linux/cpufreq.h: No such file or directory arch/x86/kernel/tsc.c:8:23: error: linux/dmi.h: No such file or directory arch/x86/kernel/tsc.c:9:25: error: linux/delay.h: No such file or directory arch/x86/kernel/tsc.c:10:31: error: linux/clocksource.h: No such file or directory arch/x86/kernel/tsc.c:11:26: error: linux/percpu.h: No such file or directory arch/x86/kernel/tsc.c:13:22: error: asm/hpet.h: No such file or directory arch/x86/kernel/tsc.c:14:23: error: asm/timer.h: No such file or directory arch/x86/kernel/tsc.c:15:23: error: asm/vgtod.h: No such file or directory arch/x86/kernel/tsc.c:16:22: error: asm/time.h: No such file or directory arch/x86/kernel/tsc.c:17:23: error: asm/delay.h: No such file or directory arch/x86/kernel/tsc.c:20: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:20: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/tsc.c:20: warning: parameter names (without types) in function declaration arch/x86/kernel/tsc.c:22: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:22: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/tsc.c:22: warning: parameter names (without types) in function declaration arch/x86/kernel/tsc.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'native_sched_clock' arch/x86/kernel/tsc.c:77: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:77: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/x86/kernel/tsc.c:77: warning: parameter names (without types) in function declaration arch/x86/kernel/tsc.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notsc_setup' arch/x86/kernel/tsc.c:99: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/tsc.c:99: error: expected declaration specifiers or '...' before 'notsc_setup' arch/x86/kernel/tsc.c:99: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:99: warning: type defaults to 'int' in declaration of '__setup' arch/x86/kernel/tsc.c:99: warning: function declaration isn't a prototype arch/x86/kernel/tsc.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__init' arch/x86/kernel/tsc.c: In function 'native_calibrate_tsc': arch/x86/kernel/tsc.c:131: error: 'u64' undeclared (first use in this function) arch/x86/kernel/tsc.c:131: error: (Each undeclared identifier is reported only once arch/x86/kernel/tsc.c:131: error: for each function it appears in.) arch/x86/kernel/tsc.c:131: error: expected ';' before 'tsc1' arch/x86/kernel/tsc.c:132: error: implicit declaration of function 'is_hpet_enabled' arch/x86/kernel/tsc.c:132: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/tsc.c:135: error: implicit declaration of function 'local_irq_save' arch/x86/kernel/tsc.c:137: error: 'tsc1' undeclared (first use in this function) arch/x86/kernel/tsc.c:137: error: implicit declaration of function 'tsc_read_refs' arch/x86/kernel/tsc.c:137: error: 'pm1' undeclared (first use in this function) arch/x86/kernel/tsc.c:137: error: 'hpet1' undeclared (first use in this function) arch/x86/kernel/tsc.c:137: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/tsc.c:139: error: implicit declaration of function 'outb' arch/x86/kernel/tsc.c:139: error: implicit declaration of function 'inb' arch/x86/kernel/tsc.c:142: error: 'CLOCK_TICK_RATE' undeclared (first use in this function) arch/x86/kernel/tsc.c:144: error: 'tr1' undeclared (first use in this function) arch/x86/kernel/tsc.c:144: error: implicit declaration of function 'get_cycles' arch/x86/kernel/tsc.c:146: error: 'tr2' undeclared (first use in this function) arch/x86/kernel/tsc.c:148: error: 'tsc2' undeclared (first use in this function) arch/x86/kernel/tsc.c:148: error: 'pm2' undeclared (first use in this function) arch/x86/kernel/tsc.c:148: error: 'hpet2' undeclared (first use in this function) arch/x86/kernel/tsc.c:150: error: implicit declaration of function 'local_irq_restore' arch/x86/kernel/tsc.c:156: error: 'delta' undeclared (first use in this function) arch/x86/kernel/tsc.c:157: error: implicit declaration of function 'do_div' arch/x86/kernel/tsc.c:162: error: implicit declaration of function 'printk' arch/x86/kernel/tsc.c:162: error: 'KERN_INFO' undeclared (first use in this function) arch/x86/kernel/tsc.c:162: error: expected ')' before string constant arch/x86/kernel/tsc.c:167: error: 'ULLONG_MAX' undeclared (first use in this function) arch/x86/kernel/tsc.c:168: error: 'KERN_WARNING' undeclared (first use in this function) arch/x86/kernel/tsc.c:168: error: expected ')' before string constant arch/x86/kernel/tsc.c:176: error: expected ')' before string constant arch/x86/kernel/tsc.c:180: error: expected ')' before 'hpet2' arch/x86/kernel/tsc.c:183: error: expected ')' before string constant arch/x86/kernel/tsc.c:185: error: expected ';' before 'ACPI_PM_OVRRUN' arch/x86/kernel/tsc.c:188: error: 'PMTMR_TICKS_PER_SEC' undeclared (first use in this function) arch/x86/kernel/tsc.c: At top level: arch/x86/kernel/tsc.c:246: error: expected declaration specifiers or '...' before 'cyc2ns' arch/x86/kernel/tsc.c:246: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:246: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' arch/x86/kernel/tsc.c: In function 'set_cyc2ns_scale': arch/x86/kernel/tsc.c:254: error: implicit declaration of function 'sched_clock_idle_sleep_event' arch/x86/kernel/tsc.c:256: error: implicit declaration of function 'per_cpu' arch/x86/kernel/tsc.c:256: error: 'cyc2ns' undeclared (first use in this function) arch/x86/kernel/tsc.c:256: error: invalid lvalue in unary '&' arch/x86/kernel/tsc.c:258: error: implicit declaration of function 'rdtscll' arch/x86/kernel/tsc.c:259: error: implicit declaration of function '__cycles_2_ns' arch/x86/kernel/tsc.c:262: error: 'NSEC_PER_MSEC' undeclared (first use in this function) arch/x86/kernel/tsc.c:262: error: 'CYC2NS_SCALE_FACTOR' undeclared (first use in this function) arch/x86/kernel/tsc.c:264: error: implicit declaration of function 'sched_clock_idle_wakeup_event' arch/x86/kernel/tsc.c: At top level: arch/x86/kernel/tsc.c:353: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_tsc' arch/x86/kernel/tsc.c:371: error: variable 'clocksource_tsc' has initializer but incomplete type arch/x86/kernel/tsc.c:372: error: unknown field 'name' specified in initializer arch/x86/kernel/tsc.c:372: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:372: warning: (near initialization for 'clocksource_tsc') arch/x86/kernel/tsc.c:373: error: unknown field 'rating' specified in initializer arch/x86/kernel/tsc.c:373: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:373: warning: (near initialization for 'clocksource_tsc') arch/x86/kernel/tsc.c:374: error: unknown field 'read' specified in initializer arch/x86/kernel/tsc.c:374: error: 'read_tsc' undeclared here (not in a function) arch/x86/kernel/tsc.c:374: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:374: warning: (near initialization for 'clocksource_tsc') cc1: error: include/linux/autoconf.h: No such file or directory mm/vmscan.c: At top level: mm/vmscan.c:1880: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_callback' fs/exec.c:1778: error: dereferencing pointer to incomplete type mm/vmscan.c: In function 'kswapd_run': fs/exec.c:1783: error: implicit declaration of function 'filp_close' fs/exec.c:1786: error: implicit declaration of function 'argv_free' fs/exec.c:1789: error: implicit declaration of function 'complete_all' fs/exec.c:1789: error: dereferencing pointer to incomplete type fs/exec.c:1657: warning: unused variable 'corename' arch/x86/kernel/tsc.c:375: error: unknown field 'mask' specified in initializer arch/x86/kernel/tsc.c:375: error: implicit declaration of function 'CLOCKSOURCE_MASK' arch/x86/kernel/tsc.c:375: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:375: warning: (near initialization for 'clocksource_tsc') arch/x86/kernel/tsc.c:376: error: unknown field 'shift' specified in initializer arch/x86/kernel/tsc.c:376: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:376: warning: (near initialization for 'clocksource_tsc') arch/x86/kernel/tsc.c:377: error: unknown field 'flags' specified in initializer arch/x86/kernel/tsc.c:377: error: 'CLOCK_SOURCE_IS_CONTINUOUS' undeclared here (not in a function) arch/x86/kernel/tsc.c:378: error: 'CLOCK_SOURCE_MUST_VERIFY' undeclared here (not in a function) arch/x86/kernel/tsc.c:378: warning: excess elements in struct initializer arch/x86/kernel/tsc.c:378: warning: (near initialization for 'clocksource_tsc') arch/x86/kernel/tsc.c: In function 'mark_tsc_unstable': arch/x86/kernel/tsc.c:390: error: invalid use of undefined type 'struct clocksource' arch/x86/kernel/tsc.c:391: error: implicit declaration of function 'clocksource_change_rating' arch/x86/kernel/tsc.c:393: error: invalid use of undefined type 'struct clocksource' arch/x86/kernel/tsc.c: At top level: arch/x86/kernel/tsc.c:397: warning: data definition has no type or storage class arch/x86/kernel/tsc.c:397: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/x86/kernel/tsc.c:397: warning: parameter names (without types) in function declaration arch/x86/kernel/tsc.c:399: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_mark_tsc_unstable' arch/x86/kernel/tsc.c:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_tsc_dmi_table' arch/x86/kernel/tsc.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/tsc.c:468: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_tsc_clocksource' arch/x86/kernel/tsc.c:480: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tsc_init' mm/vmscan.c:1904: error: 'pg_data_t' undeclared (first use in this function) mm/vmscan.c:1904: error: 'pgdat' undeclared (first use in this function) mm/vmscan.c:1904: error: implicit declaration of function 'NODE_DATA' make[1]: *** [fs/exec.o] Error 1 mm/vmscan.c:1905: warning: ISO C90 forbids mixed declarations and code mm/vmscan.c:1910: error: implicit declaration of function 'kthread_run' mm/vmscan.c:1911: error: implicit declaration of function 'IS_ERR' mm/vmscan.c:1913: error: 'system_state' undeclared (first use in this function) mm/vmscan.c:1913: error: 'SYSTEM_BOOTING' undeclared (first use in this function) mm/vmscan.c: At top level: mm/vmscan.c:1920: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kswapd_init' mm/vmscan.c:1931: warning: return type defaults to 'int' mm/vmscan.c:1931: warning: function declaration isn't a prototype mm/vmscan.c: In function 'module_init': mm/vmscan.c:1931: error: expected '{' at end of input CC fs/pipe.o make[1]: *** [arch/x86/kernel/tsc.o] Error 1 arch/x86/kernel/io_delay.c:8:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/io_delay.c:9:26: error: linux/module.h: No such file or directory arch/x86/kernel/io_delay.c:10:24: error: linux/init.h: No such file or directory arch/x86/kernel/io_delay.c:11:25: error: linux/delay.h: No such file or directory arch/x86/kernel/io_delay.c:12:23: error: linux/dmi.h: No such file or directory arch/x86/kernel/io_delay.c:13:20: error: asm/io.h: No such file or directory arch/x86/kernel/io_delay.c:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/io_delay.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'io_delay_override' arch/x86/kernel/io_delay.c: In function 'native_io_delay': arch/x86/kernel/io_delay.c:24: error: 'io_delay_type' undeclared (first use in this function) arch/x86/kernel/io_delay.c:24: error: (Each undeclared identifier is reported only once arch/x86/kernel/io_delay.c:24: error: for each function it appears in.) arch/x86/kernel/io_delay.c:26: error: 'CONFIG_IO_DELAY_TYPE_0X80' undeclared (first use in this function) arch/x86/kernel/io_delay.c:29: error: 'CONFIG_IO_DELAY_TYPE_0XED' undeclared (first use in this function) arch/x86/kernel/io_delay.c:32: error: 'CONFIG_IO_DELAY_TYPE_UDELAY' undeclared (first use in this function) arch/x86/kernel/io_delay.c:40: error: implicit declaration of function 'udelay' CC fs/namei.o arch/x86/kernel/io_delay.c:41: error: 'CONFIG_IO_DELAY_TYPE_NONE' undeclared (first use in this function) arch/x86/kernel/io_delay.c: At top level: arch/x86/kernel/io_delay.c:45: warning: data definition has no type or storage class arch/x86/kernel/io_delay.c:45: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/io_delay.c:45: warning: parameter names (without types) in function declaration arch/x86/kernel/io_delay.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dmi_io_delay_0xed_port' arch/x86/kernel/io_delay.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'io_delay_0xed_port_dmi_table' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/io_delay.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'io_delay_init' arch/x86/kernel/io_delay.c:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'io_delay_param' arch/x86/kernel/io_delay.c:124: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/io_delay.c:124: error: expected declaration specifiers or '...' before 'io_delay_param' arch/x86/kernel/io_delay.c:124: warning: data definition has no type or storage class arch/x86/kernel/io_delay.c:124: warning: type defaults to 'int' in declaration of 'early_param' arch/x86/kernel/io_delay.c:124: warning: function declaration isn't a prototype kernel/capability.c:10:30: error: linux/capability.h: No such file or directory kernel/capability.c:11:22: error: linux/mm.h: No such file or directory kernel/capability.c:12:26: error: linux/module.h: No such file or directory kernel/capability.c:13:28: error: linux/security.h: No such file or directory kernel/capability.c:14:28: error: linux/syscalls.h: No such file or directory kernel/capability.c:15:33: error: linux/pid_namespace.h: No such file or directory kernel/capability.c:16:25: error: asm/uaccess.h: No such file or directory kernel/capability.c:22: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/capability.c:22: warning: parameter names (without types) in function declaration kernel/capability.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cap_empty_set' kernel/capability.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cap_full_set' kernel/capability.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cap_init_eff_set' kernel/capability.c:32: warning: data definition has no type or storage class kernel/capability.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/capability.c:32: warning: parameter names (without types) in function declaration kernel/capability.c:33: warning: data definition has no type or storage class kernel/capability.c:33: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/capability.c:33: warning: parameter names (without types) in function declaration kernel/capability.c:34: warning: data definition has no type or storage class kernel/capability.c:34: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/capability.c:34: warning: parameter names (without types) in function declaration kernel/capability.c: In function 'warn_legacy_capability_use': kernel/capability.c:46: error: 'current' undeclared (first use in this function) kernel/capability.c:46: error: (Each undeclared identifier is reported only once kernel/capability.c:46: error: for each function it appears in.) kernel/capability.c:48: error: implicit declaration of function 'printk' kernel/capability.c:48: error: 'KERN_INFO' undeclared (first use in this function) kernel/capability.c:48: error: expected ')' before string constant kernel/capability.c:46: warning: unused variable 'name' kernel/capability.c: In function 'warn_deprecated_v2': kernel/capability.c:76: error: 'current' undeclared (first use in this function) kernel/capability.c:78: error: 'KERN_INFO' undeclared (first use in this function) kernel/capability.c:78: error: expected ')' before string constant kernel/capability.c:76: warning: unused variable 'name' kernel/capability.c: At top level: kernel/capability.c:89: error: expected ')' before 'header' kernel/capability.c:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_set_effective' kernel/capability.c:143: warning: data definition has no type or storage class kernel/capability.c:143: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/capability.c:143: warning: parameter names (without types) in function declaration kernel/capability.c:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/capability.c:233: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel/capability.c:234: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel/capability.c:235: error: expected declaration specifiers or '...' before 'kernel_cap_t' kernel/capability.c: In function 'cap_set_pg': kernel/capability.c:238: error: 'EPERM' undeclared (first use in this function) kernel/capability.c:242: error: implicit declaration of function 'find_vpid' kernel/capability.c:242: warning: assignment makes pointer from integer without a cast kernel/capability.c:243: error: implicit declaration of function 'do_each_pid_task' kernel/capability.c:243: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/capability.c:243: error: expected ';' before '{' token kernel/capability.c:237: warning: unused variable 'target' kernel/capability.c: At top level: kernel/capability.c:267: error: expected ')' before '*' token kernel/capability.c:311: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/capability.c:385: warning: 'struct task_struct' declared inside parameter list kernel/capability.c:385: warning: its scope is only this definition or declaration, which is probably not what you want kernel/capability.c: In function '__capable': kernel/capability.c:387: error: implicit declaration of function 'security_capable' kernel/capability.c:388: error: dereferencing pointer to incomplete type kernel/capability.c:388: error: 'PF_SUPERPRIV' undeclared (first use in this function) kernel/capability.c: In function 'capable': kernel/capability.c:396: error: 'current' undeclared (first use in this function) kernel/capability.c: At top level: kernel/capability.c:398: warning: data definition has no type or storage class kernel/capability.c:398: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/capability.c:398: warning: parameter names (without types) in function declaration make[1]: *** [arch/x86/kernel/io_delay.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/pipe.c:7:22: error: linux/mm.h: No such file or directory fs/pipe.c:8:24: error: linux/file.h: No such file or directory fs/pipe.c:9:24: error: linux/poll.h: No such file or directory fs/pipe.c:10:24: error: linux/slab.h: No such file or directory fs/pipe.c:11:26: error: linux/module.h: No such file or directory fs/pipe.c:12:24: error: linux/init.h: No such file or directory fs/pipe.c:13:22: error: linux/fs.h: No such file or directory fs/pipe.c:14:25: error: linux/mount.h: No such file or directory fs/pipe.c:15:29: error: linux/pipe_fs_i.h: No such file or directory fs/pipe.c:16:23: error: linux/uio.h: No such file or directory fs/pipe.c:17:27: error: linux/highmem.h: No such file or directory fs/pipe.c:18:27: error: linux/pagemap.h: No such file or directory fs/pipe.c:19:25: error: linux/audit.h: No such file or directory fs/pipe.c:20:28: error: linux/syscalls.h: No such file or directory fs/pipe.c:22:25: error: asm/uaccess.h: No such file or directory fs/pipe.c:23:24: error: asm/ioctls.h: No such file or directory fs/pipe.c:41: warning: 'struct pipe_inode_info' declared inside parameter list fs/pipe.c:41: warning: its scope is only this definition or declaration, which is probably not what you want fs/pipe.c: In function 'pipe_wait': fs/pipe.c:43: error: implicit declaration of function 'DEFINE_WAIT' fs/pipe.c:43: error: 'wait' undeclared (first use in this function) fs/pipe.c:43: error: (Each undeclared identifier is reported only once fs/pipe.c:43: error: for each function it appears in.) fs/pipe.c:49: error: implicit declaration of function 'prepare_to_wait' fs/pipe.c:49: error: dereferencing pointer to incomplete type fs/pipe.c:49: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) fs/pipe.c:50: error: dereferencing pointer to incomplete type fs/pipe.c:51: error: implicit declaration of function 'mutex_unlock' fs/pipe.c:51: error: dereferencing pointer to incomplete type fs/pipe.c:52: error: implicit declaration of function 'schedule' fs/pipe.c:53: error: implicit declaration of function 'finish_wait' fs/pipe.c:53: error: dereferencing pointer to incomplete type fs/pipe.c:54: error: dereferencing pointer to incomplete type fs/pipe.c:55: error: implicit declaration of function 'mutex_lock' fs/pipe.c:55: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/pipe.c:60: warning: 'struct iovec' declared inside parameter list fs/pipe.c: In function 'pipe_iov_copy_from_user': fs/pipe.c:65: error: dereferencing pointer to incomplete type fs/pipe.c:66: error: increment of pointer to unknown structure fs/pipe.c:66: error: arithmetic on pointer to an incomplete type fs/pipe.c:67: error: implicit declaration of function 'min_t' fs/pipe.c:67: error: expected expression before 'unsigned' fs/pipe.c:70: error: implicit declaration of function '__copy_from_user_inatomic' fs/pipe.c:70: error: dereferencing pointer to incomplete type fs/pipe.c:71: error: 'EFAULT' undeclared (first use in this function) fs/pipe.c:73: error: implicit declaration of function 'copy_from_user' fs/pipe.c:73: error: dereferencing pointer to incomplete type fs/pipe.c:78: error: dereferencing pointer to incomplete type fs/pipe.c:79: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/pipe.c:86: warning: 'struct iovec' declared inside parameter list fs/pipe.c: In function 'pipe_iov_copy_to_user': fs/pipe.c:91: error: dereferencing pointer to incomplete type fs/pipe.c:92: error: increment of pointer to unknown structure cc1: error: include/linux/autoconf.h: No such file or directory make[1]: *** [kernel/capability.o] Error 1 fs/namei.c:17:24: error: linux/init.h: No such file or directory fs/namei.c:18:26: error: linux/module.h: No such file or directory fs/namei.c:19:24: error: linux/slab.h: No such file or directory fs/namei.c:20:22: error: linux/fs.h: No such file or directory fs/namei.c:21:25: error: linux/namei.h: No such file or directory fs/namei.c:22:28: error: linux/quotaops.h: No such file or directory fs/namei.c:23:27: error: linux/pagemap.h: No such file or directory fs/namei.c:24:28: error: linux/fsnotify.h: No such file or directory fs/namei.c:25:31: error: linux/personality.h: No such file or directory fs/namei.c:26:28: error: linux/security.h: No such file or directory fs/namei.c:27:28: error: linux/syscalls.h: No such file or directory fs/namei.c:28:25: error: linux/mount.h: No such file or directory fs/namei.c:29:25: error: linux/audit.h: No such file or directory fs/namei.c:30:30: error: linux/capability.h: No such file or directory fs/namei.c:31:24: error: linux/file.h: No such file or directory fs/namei.c:32:25: error: linux/fcntl.h: No such file or directory fs/namei.c:33:33: error: linux/device_cgroup.h: No such file or directory fs/namei.c:34:25: error: asm/uaccess.h: No such file or directory fs/namei.c:109: warning: 'struct nameidata' declared inside parameter list fs/namei.c:109: warning: its scope is only this definition or declaration, which is probably not what you want fs/namei.c:118: error: expected ';', ',' or ')' before '*' token fs/namei.c:140: error: expected ';', ',' or ')' before '*' token fs/namei.c:183: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'generic_permission': make[1]: *** [mm/vmscan.o] Error 1 CC arch/x86/kernel/rtc.o fs/pipe.c:92: error: arithmetic on pointer to an incomplete typefs/namei.c:185: error: 'umode_t' undeclared (first use in this function) fs/pipe.c:93: error: expected expression before 'unsigned' fs/pipe.c:96: error: implicit declaration of function '__copy_to_user_inatomic' fs/pipe.c:96: error: dereferencing pointer to incomplete type fs/pipe.c:97: error: 'EFAULT' undeclared (first use in this function) fs/pipe.c:99: error: implicit declaration of function 'copy_to_user' fs/pipe.c:99: error: dereferencing pointer to incomplete type fs/namei.c:185: error: (Each undeclared identifier is reported only once fs/pipe.c:104: error: dereferencing pointer to incomplete type fs/pipe.c:105: error: dereferencing pointer to incomplete type fs/namei.c:185: error: for each function it appears in.) CC kernel/ptrace.o fs/namei.c:185: error: expected ';' before 'mode' fs/namei.c:187: error: 'MAY_READ' undeclared (first use in this function) fs/namei.c:187: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:187: error: 'MAY_EXEC' undeclared (first use in this function) fs/pipe.c: At top level: fs/namei.c:189: error: 'current' undeclared (first use in this function) fs/pipe.c:114: warning: 'struct iovec' declared inside parameter list fs/namei.c:189: error: dereferencing pointer to incomplete type fs/namei.c:190: error: 'mode' undeclared (first use in this function) fs/pipe.c: In function 'iov_fault_in_pages_write': fs/pipe.c:116: error: dereferencing pointer to incomplete type fs/namei.c:192: error: implicit declaration of function 'IS_POSIXACL' fs/pipe.c:117: error: increment of pointer to unknown structure fs/pipe.c:117: error: arithmetic on pointer to an incomplete type fs/pipe.c:122: error: expected expression before 'unsigned' fs/namei.c:192: error: 'S_IRWXG' undeclared (first use in this function) fs/pipe.c:123: error: implicit declaration of function 'fault_in_pages_writeable' fs/pipe.c:123: error: dereferencing pointer to incomplete type fs/pipe.c:127: error: increment of pointer to unknown structure fs/namei.c:194: error: 'EACCES' undeclared (first use in this function) fs/pipe.c:127: error: arithmetic on pointer to an incomplete type fs/namei.c:196: error: 'EAGAIN' undeclared (first use in this function) fs/namei.c:200: error: implicit declaration of function 'in_group_p' fs/namei.c:200: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/pipe.c:136: warning: 'struct iovec' declared inside parameter list fs/namei.c:216: error: dereferencing pointer to incomplete type fs/namei.c:216: error: 'S_IXUGO' undeclared (first use in this function) fs/pipe.c: In function 'iov_fault_in_pages_read': fs/namei.c:216: error: implicit declaration of function 'S_ISDIR' fs/pipe.c:138: error: dereferencing pointer to incomplete type fs/namei.c:216: error: dereferencing pointer to incomplete typefs/pipe.c:139: error: increment of pointer to unknown structure fs/namei.c:217: error: implicit declaration of function 'capable' fs/namei.c:217: error: 'CAP_DAC_OVERRIDE' undeclared (first use in this function) fs/pipe.c:139: error: arithmetic on pointer to an incomplete type fs/namei.c:223: error: dereferencing pointer to incomplete type fs/pipe.c:144: error: expected expression before 'unsigned' fs/namei.c:224: error: 'CAP_DAC_READ_SEARCH' undeclared (first use in this function) fs/pipe.c:145: error: implicit declaration of function 'fault_in_pages_readable' fs/pipe.c:145: error: dereferencing pointer to incomplete type fs/pipe.c:147: error: increment of pointer to unknown structure fs/pipe.c:147: error: arithmetic on pointer to an incomplete type fs/pipe.c: At top level: CC mm/prio_tree.o fs/pipe.c:152: warning: 'struct pipe_buffer' declared inside parameter list fs/namei.c: At top level: fs/pipe.c:152: warning: 'struct pipe_inode_info' declared inside parameter list fs/namei.c:230: warning: 'struct nameidata' declared inside parameter list fs/namei.c:230: warning: 'struct inode' declared inside parameter list fs/pipe.c: In function 'anon_pipe_buf_release': fs/pipe.c:154: error: dereferencing pointer to incomplete type fs/pipe.c:161: error: implicit declaration of function 'page_count' fs/namei.c: In function 'permission': fs/pipe.c:161: error: dereferencing pointer to incomplete type fs/namei.c:233: error: 'NULL' undeclared (first use in this function) fs/pipe.c:162: error: dereferencing pointer to incomplete type fs/namei.c:236: error: dereferencing pointer to incomplete type fs/pipe.c:164: error: implicit declaration of function 'page_cache_release' fs/namei.c:238: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:239: error: 'umode_t' undeclared (first use in this function) fs/namei.c:239: error: expected ';' before 'mode' fs/pipe.c: At top level: fs/namei.c:244: error: implicit declaration of function 'IS_RDONLY' fs/pipe.c:182: warning: 'struct pipe_buffer' declared inside parameter list fs/namei.c:245: error: implicit declaration of function 'S_ISREG' fs/namei.c:245: error: 'mode' undeclared (first use in this function) fs/pipe.c:182: warning: 'struct pipe_inode_info' declared inside parameter list fs/namei.c:245: error: implicit declaration of function 'S_ISLNK'fs/pipe.c: In function 'generic_pipe_buf_map': fs/pipe.c:185: error: dereferencing pointer to incomplete type fs/namei.c:246: error: 'EROFS' undeclared (first use in this function) fs/pipe.c:185: error: 'PIPE_BUF_FLAG_ATOMIC' undeclared (first use in this function) fs/namei.c:251: error: implicit declaration of function 'IS_IMMUTABLE'fs/pipe.c:186: error: implicit declaration of function 'kmap_atomic' fs/pipe.c:186: error: dereferencing pointer to incomplete type fs/namei.c:252: error: 'EACCES' undeclared (first use in this function) fs/pipe.c:186: error: 'KM_USER0' undeclared (first use in this function) fs/namei.c:255: error: 'MAY_EXEC' undeclared (first use in this function)fs/pipe.c:186: warning: return makes pointer from integer without a cast fs/pipe.c:189: error: implicit declaration of function 'kmap' fs/namei.c:255: error: dereferencing pointer to incomplete type fs/pipe.c:189: error: dereferencing pointer to incomplete type fs/namei.c:260: error: dereferencing pointer to incomplete type fs/pipe.c:189: warning: return makes pointer from integer without a cast fs/namei.c:260: error: 'MNT_NOEXEC' undeclared (first use in this function) fs/namei.c:265: error: dereferencing pointer to incomplete type fs/namei.c:265: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c:266: error: dereferencing pointer to incomplete type fs/pipe.c:202: warning: 'struct pipe_buffer' declared inside parameter list fs/pipe.c:202: warning: 'struct pipe_inode_info' declared inside parameter list fs/namei.c:275: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'generic_pipe_buf_unmap': fs/namei.c:276: error: dereferencing pointer to incomplete type fs/pipe.c:204: error: dereferencing pointer to incomplete type fs/namei.c:276: error: 'S_IXUGO' undeclared (first use in this function) fs/pipe.c:204: error: 'PIPE_BUF_FLAG_ATOMIC' undeclared (first use in this function) fs/pipe.c:205: error: dereferencing pointer to incomplete type fs/namei.c:280: warning: passing argument 1 of 'generic_permission' from incompatible pointer type fs/pipe.c:206: error: implicit declaration of function 'kunmap_atomic' fs/pipe.c:206: error: 'KM_USER0' undeclared (first use in this function) fs/namei.c:285: error: implicit declaration of function 'devcgroup_inode_permission' fs/pipe.c:208: error: implicit declaration of function 'kunmap' fs/namei.c:289: error: implicit declaration of function 'security_inode_permission' fs/pipe.c:208: error: dereferencing pointer to incomplete type fs/namei.c:290: error: 'MAY_READ' undeclared (first use in this function) fs/pipe.c: At top level: fs/pipe.c:224: warning: 'struct pipe_buffer' declared inside parameter list fs/pipe.c:224: warning: 'struct pipe_inode_info' declared inside parameter list fs/pipe.c: In function 'generic_pipe_buf_steal': fs/pipe.c:226: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c:234: error: implicit declaration of function 'lock_page' fs/namei.c:303: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'vfs_permission': fs/namei.c:305: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c:305: warning: passing argument 3 of 'permission' from incompatible pointer type fs/pipe.c:251: warning: 'struct pipe_buffer' declared inside parameter list fs/pipe.c:251: warning: 'struct pipe_inode_info' declared inside parameter list fs/pipe.c: In function 'generic_pipe_buf_get': fs/namei.c: At top level: fs/pipe.c:253: error: implicit declaration of function 'page_cache_get' fs/namei.c:320: warning: 'struct file' declared inside parameter listfs/pipe.c:253: error: dereferencing pointer to incomplete type fs/namei.c: In function 'file_permission':fs/pipe.c: At top level: fs/pipe.c:266: warning: 'struct pipe_buffer' declared inside parameter list fs/namei.c:322: error: dereferencing pointer to incomplete type fs/pipe.c:266: warning: 'struct pipe_inode_info' declared inside parameter list fs/namei.c:322: error: 'NULL' undeclared (first use in this function) fs/pipe.c:271: error: variable 'anon_pipe_buf_ops' has initializer but incomplete type fs/pipe.c:272: error: unknown field 'can_merge' specified in initializer fs/namei.c: At top level: fs/pipe.c:272: warning: excess elements in struct initializer fs/namei.c:343: warning: 'struct inode' declared inside parameter list fs/pipe.c:272: warning: (near initialization for 'anon_pipe_buf_ops') fs/namei.c: In function 'get_write_access': fs/pipe.c:273: error: unknown field 'map' specified in initializer fs/namei.c:345: error: implicit declaration of function 'spin_lock' fs/pipe.c:273: warning: excess elements in struct initializer fs/namei.c:345: error: dereferencing pointer to incomplete type fs/pipe.c:273: warning: (near initialization for 'anon_pipe_buf_ops') fs/namei.c:346: error: implicit declaration of function 'atomic_read' fs/pipe.c:274: error: unknown field 'unmap' specified in initializer fs/namei.c:346: error: dereferencing pointer to incomplete typefs/pipe.c:274: warning: excess elements in struct initializer fs/pipe.c:274: warning: (near initialization for 'anon_pipe_buf_ops') fs/pipe.c:275: error: unknown field 'confirm' specified in initializer fs/namei.c:347: error: implicit declaration of function 'spin_unlock' fs/pipe.c:275: warning: excess elements in struct initializerfs/namei.c:347: error: dereferencing pointer to incomplete type fs/namei.c:348: error: 'ETXTBSY' undeclared (first use in this function) fs/pipe.c:275: warning: (near initialization for 'anon_pipe_buf_ops')fs/namei.c:350: error: implicit declaration of function 'atomic_inc' fs/namei.c:350: error: dereferencing pointer to incomplete type fs/pipe.c:276: error: unknown field 'release' specified in initializer fs/namei.c:351: error: dereferencing pointer to incomplete typefs/pipe.c:276: warning: excess elements in struct initializer fs/pipe.c:276: warning: (near initialization for 'anon_pipe_buf_ops') fs/pipe.c:277: error: unknown field 'steal' specified in initializer fs/pipe.c:277: warning: excess elements in struct initializer fs/namei.c: At top level: fs/pipe.c:277: warning: (near initialization for 'anon_pipe_buf_ops') fs/pipe.c:278: error: unknown field 'get' specified in initializerfs/namei.c:356: warning: 'struct file' declared inside parameter list fs/pipe.c:278: warning: excess elements in struct initializer fs/namei.c: In function 'deny_write_access': fs/pipe.c:278: warning: (near initialization for 'anon_pipe_buf_ops') fs/namei.c:358: error: dereferencing pointer to incomplete type fs/pipe.c:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pipe_read' fs/namei.c:360: error: dereferencing pointer to incomplete type fs/namei.c:361: error: dereferencing pointer to incomplete type fs/namei.c:362: error: dereferencing pointer to incomplete type fs/namei.c:363: error: 'ETXTBSY' undeclared (first use in this function) fs/namei.c:365: error: implicit declaration of function 'atomic_dec' fs/namei.c:365: error: dereferencing pointer to incomplete type fs/namei.c:366: error: dereferencing pointer to incomplete type fs/pipe.c:395: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pipe_write' fs/namei.c: At top level: fs/namei.c:377: warning: 'struct path' declared inside parameter list fs/namei.c: In function 'path_get': fs/namei.c:379: error: implicit declaration of function 'mntget' fs/namei.c:379: error: dereferencing pointer to incomplete type fs/namei.c:380: error: implicit declaration of function 'dget' fs/namei.c:380: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c:568: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_pipe_r' fs/namei.c:382: warning: data definition has no type or storage class fs/pipe.c:574: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_pipe_w' fs/namei.c:382: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:382: warning: parameter names (without types) in function declaration fs/pipe.c:580: warning: 'struct file' declared inside parameter list fs/namei.c:390: warning: 'struct path' declared inside parameter list fs/pipe.c: In function 'pipe_ioctl': fs/namei.c: In function 'path_put': fs/namei.c:392: error: implicit declaration of function 'dput' fs/pipe.c:582: error: dereferencing pointer to incomplete type fs/namei.c:392: error: dereferencing pointer to incomplete type fs/namei.c:393: error: implicit declaration of function 'mntput' fs/pipe.c:587: error: 'FIONREAD' undeclared (first use in this function) fs/namei.c:393: error: dereferencing pointer to incomplete type fs/pipe.c:588: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c:589: error: dereferencing pointer to incomplete type fs/namei.c:395: warning: data definition has no type or storage class fs/pipe.c:591: error: dereferencing pointer to incomplete typefs/namei.c:395: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:395: warning: parameter names (without types) in function declarationfs/pipe.c:592: error: dereferencing pointer to incomplete type fs/pipe.c:594: error: dereferencing pointer to incomplete type fs/namei.c:401: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:595: error: 'PIPE_BUFFERS' undeclared (first use in this function) fs/namei.c: In function 'release_open_intent': fs/pipe.c:597: error: dereferencing pointer to incomplete type fs/namei.c:403: error: dereferencing pointer to incomplete type fs/pipe.c:599: error: implicit declaration of function 'put_user' fs/namei.c:403: error: 'NULL' undeclared (first use in this function) fs/pipe.c:599: error: expected ')' before '__user' fs/namei.c:404: error: implicit declaration of function 'put_filp' fs/namei.c:404: error: dereferencing pointer to incomplete type fs/pipe.c:601: error: 'EINVAL' undeclared (first use in this function) fs/namei.c:406: error: implicit declaration of function 'fput' fs/namei.c:406: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c: At top level: fs/pipe.c:607: error: expected declaration specifiers or '...' before 'poll_table' fs/namei.c:410: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:607: warning: 'struct file' declared inside parameter list fs/namei.c: In function 'do_revalidate': fs/namei.c:412: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_poll': fs/namei.c:413: error: implicit declaration of function 'unlikely' fs/pipe.c:610: error: dereferencing pointer to incomplete type fs/namei.c:421: error: implicit declaration of function 'd_invalidate' fs/pipe.c:611: error: dereferencing pointer to incomplete type fs/namei.c:423: error: 'NULL' undeclared (first use in this function) fs/pipe.c:614: error: implicit declaration of function 'poll_wait' fs/namei.c:427: error: implicit declaration of function 'ERR_PTR'fs/pipe.c:614: error: dereferencing pointer to incomplete type fs/pipe.c:614: error: 'wait' undeclared (first use in this function) fs/namei.c:427: warning: assignment makes pointer from integer without a cast fs/pipe.c:617: error: dereferencing pointer to incomplete type fs/pipe.c:619: error: dereferencing pointer to incomplete type fs/pipe.c:619: error: 'FMODE_READ' undeclared (first use in this function) fs/pipe.c:620: error: 'POLLIN' undeclared (first use in this function) fs/namei.c: At top level: fs/pipe.c:620: error: 'POLLRDNORM' undeclared (first use in this function) fs/namei.c:437: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:621: error: dereferencing pointer to incomplete type fs/namei.c:437: warning: 'struct qstr' declared inside parameter list fs/pipe.c:621: error: dereferencing pointer to incomplete type fs/namei.c: In function 'cached_lookup': fs/pipe.c:621: error: dereferencing pointer to incomplete type fs/namei.c:439: error: implicit declaration of function '__d_lookup' fs/pipe.c:622: error: 'POLLHUP' undeclared (first use in this function) fs/namei.c:439: warning: initialization makes pointer from integer without a cast fs/pipe.c:625: error: dereferencing pointer to incomplete type fs/namei.c:445: error: implicit declaration of function 'd_lookup' fs/pipe.c:625: error: 'FMODE_WRITE' undeclared (first use in this function)fs/namei.c:445: warning: assignment makes pointer from integer without a cast fs/namei.c:447: error: dereferencing pointer to incomplete typefs/pipe.c:626: error: 'PIPE_BUFFERS' undeclared (first use in this function) fs/pipe.c:626: error: 'POLLOUT' undeclared (first use in this function)fs/namei.c:447: error: dereferencing pointer to incomplete type fs/pipe.c:626: error: 'POLLWRNORM' undeclared (first use in this function)fs/namei.c:448: warning: passing argument 2 of 'do_revalidate' from incompatible pointer type fs/pipe.c:631: error: dereferencing pointer to incomplete type fs/pipe.c:632: error: 'POLLERR' undeclared (first use in this function) fs/namei.c: At top level: fs/namei.c:463: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'exec_permission_lite': fs/pipe.c: At top level: fs/namei.c:465: error: 'umode_t' undeclared (first use in this function) fs/pipe.c:639: warning: 'struct inode' declared inside parameter listfs/namei.c:465: error: expected ';' before 'mode' fs/namei.c:467: error: dereferencing pointer to incomplete type fs/namei.c:467: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_release':fs/namei.c:468: error: 'EAGAIN' undeclared (first use in this function) fs/pipe.c:643: error: dereferencing pointer to incomplete type fs/namei.c:470: error: 'current' undeclared (first use in this function) fs/pipe.c:644: error: dereferencing pointer to incomplete typefs/namei.c:470: error: dereferencing pointer to incomplete type fs/namei.c:471: error: 'mode' undeclared (first use in this function) fs/pipe.c:645: error: dereferencing pointer to incomplete type fs/namei.c:472: error: dereferencing pointer to incomplete type fs/pipe.c:646: error: dereferencing pointer to incomplete type fs/namei.c:475: error: 'MAY_EXEC' undeclared (first use in this function) fs/pipe.c:648: error: dereferencing pointer to incomplete type fs/namei.c:478: error: dereferencing pointer to incomplete type fs/pipe.c:648: error: dereferencing pointer to incomplete type fs/namei.c:478: error: 'S_IXUGO' undeclared (first use in this function) fs/pipe.c:649: error: implicit declaration of function 'free_pipe_info' fs/namei.c:478: error: 'CAP_DAC_OVERRIDE' undeclared (first use in this function) fs/pipe.c:651: error: implicit declaration of function 'wake_up_interruptible_sync' fs/namei.c:481: error: dereferencing pointer to incomplete type fs/pipe.c:651: error: dereferencing pointer to incomplete type fs/namei.c:484: error: dereferencing pointer to incomplete type fs/pipe.c:652: error: implicit declaration of function 'kill_fasync' fs/namei.c:484: error: 'CAP_DAC_READ_SEARCH' undeclared (first use in this function) fs/pipe.c:652: error: dereferencing pointer to incomplete type fs/pipe.c:652: error: 'SIGIO' undeclared (first use in this function) fs/namei.c:487: error: 'EACCES' undeclared (first use in this function) fs/pipe.c:652: error: 'POLL_IN' undeclared (first use in this function) fs/pipe.c:653: error: dereferencing pointer to incomplete type fs/pipe.c:653: error: 'POLL_OUT' undeclared (first use in this function) fs/pipe.c:655: error: dereferencing pointer to incomplete typefs/namei.c: At top level: fs/namei.c:500: warning: 'struct nameidata' declared inside parameter list fs/namei.c:500: warning: 'struct qstr' declared inside parameter list fs/pipe.c: At top level: fs/namei.c: In function 'real_lookup': fs/pipe.c:661: warning: 'struct file' declared inside parameter list fs/namei.c:503: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_read_fasync': fs/namei.c:505: error: implicit declaration of function 'mutex_lock' fs/pipe.c:663: error: dereferencing pointer to incomplete type fs/namei.c:505: error: dereferencing pointer to incomplete type fs/pipe.c:666: error: dereferencing pointer to incomplete type fs/namei.c:520: warning: assignment makes pointer from integer without a cast fs/pipe.c:667: error: implicit declaration of function 'fasync_helper' fs/namei.c:525: error: 'ENOENT' undeclared (first use in this function) fs/pipe.c:667: error: dereferencing pointer to incomplete type fs/namei.c:525: warning: assignment makes pointer from integer without a cast fs/pipe.c:668: error: dereferencing pointer to incomplete type fs/namei.c:526: error: implicit declaration of function 'IS_DEADDIR' fs/namei.c:529: error: implicit declaration of function 'd_alloc' fs/namei.c:529: warning: assignment makes pointer from integer without a cast fs/pipe.c: At top level: fs/namei.c:530: error: 'ENOMEM' undeclared (first use in this function) fs/pipe.c:678: warning: 'struct file' declared inside parameter list fs/namei.c:530: warning: assignment makes pointer from integer without a cast fs/pipe.c: In function 'pipe_write_fasync': fs/namei.c:532: error: dereferencing pointer to incomplete type fs/pipe.c:680: error: dereferencing pointer to incomplete type fs/pipe.c:683: error: dereferencing pointer to incomplete type fs/namei.c:539: error: implicit declaration of function 'mutex_unlock' fs/pipe.c:684: error: dereferencing pointer to incomplete type fs/namei.c:539: error: dereferencing pointer to incomplete type fs/pipe.c:685: error: dereferencing pointer to incomplete type fs/namei.c:547: error: dereferencing pointer to incomplete type fs/namei.c:548: error: dereferencing pointer to incomplete type fs/namei.c:548: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c:549: warning: passing argument 2 of 'do_revalidate' from incompatible pointer type fs/pipe.c:695: warning: 'struct file' declared inside parameter list fs/namei.c:551: warning: assignment makes pointer from integer without a cast fs/pipe.c: In function 'pipe_rdwr_fasync': fs/pipe.c:697: error: dereferencing pointer to incomplete type fs/pipe.c:698: error: dereferencing pointer to incomplete type fs/pipe.c:701: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c:703: error: dereferencing pointer to incomplete type fs/namei.c:557: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' fs/pipe.c:706: error: dereferencing pointer to incomplete type fs/namei.c:575: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/pipe.c:708: error: dereferencing pointer to incomplete type fs/namei.c:597: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/pipe.c: At top level: fs/pipe.c:718: warning: 'struct file' declared inside parameter listfs/namei.c:629: warning: 'struct nameidata' declared inside parameter list fs/namei.c:629: warning: 'struct path' declared inside parameter list fs/pipe.c:718: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'path_put_conditional': fs/namei.c:631: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_read_release': fs/namei.c:632: error: dereferencing pointer to incomplete type fs/pipe.c:720: warning: passing argument 2 of 'pipe_read_fasync' from incompatible pointer type fs/namei.c:632: error: dereferencing pointer to incomplete type fs/pipe.c:721: warning: passing argument 1 of 'pipe_release' from incompatible pointer type fs/namei.c:633: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c: At top level: fs/namei.c:636: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:725: warning: 'struct file' declared inside parameter list fs/namei.c:636: warning: 'struct path' declared inside parameter list fs/pipe.c:725: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'path_to_nameidata': fs/namei.c:638: error: dereferencing pointer to incomplete typefs/pipe.c: In function 'pipe_write_release': fs/pipe.c:727: warning: passing argument 2 of 'pipe_write_fasync' from incompatible pointer type fs/namei.c:639: error: dereferencing pointer to incomplete type fs/pipe.c:728: warning: passing argument 1 of 'pipe_release' from incompatible pointer type fs/namei.c:639: error: dereferencing pointer to incomplete type fs/namei.c:640: error: dereferencing pointer to incomplete type fs/namei.c:641: error: dereferencing pointer to incomplete type fs/namei.c:641: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c:642: error: dereferencing pointer to incomplete type fs/pipe.c:732: warning: 'struct file' declared inside parameter list fs/namei.c:642: error: dereferencing pointer to incomplete type fs/pipe.c:732: warning: 'struct inode' declared inside parameter list fs/namei.c: At top level: fs/namei.c:645: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/pipe.c: In function 'pipe_rdwr_release': fs/pipe.c:736: warning: passing argument 2 of 'pipe_rdwr_fasync' from incompatible pointer type fs/pipe.c:737: error: dereferencing pointer to incomplete type fs/pipe.c:737: error: 'FMODE_READ' undeclared (first use in this function) fs/namei.c:681: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:738: error: dereferencing pointer to incomplete type fs/namei.c:681: warning: 'struct path' declared inside parameter list fs/pipe.c:738: error: 'FMODE_WRITE' undeclared (first use in this function) fs/pipe.c:739: warning: passing argument 1 of 'pipe_release' from incompatible pointer type fs/namei.c: In function 'do_follow_link': fs/namei.c:683: error: 'ELOOP' undeclared (first use in this function) fs/namei.c:684: error: 'current' undeclared (first use in this function) fs/namei.c:684: error: 'MAX_NESTED_LINKS' undeclared (first use in this function) fs/pipe.c: At top level: fs/pipe.c:743: warning: 'struct file' declared inside parameter list fs/namei.c:688: error: implicit declaration of function 'BUG_ON' fs/pipe.c:743: warning: 'struct inode' declared inside parameter list fs/namei.c:688: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_read_open': fs/namei.c:689: error: implicit declaration of function 'cond_resched' fs/pipe.c:747: error: dereferencing pointer to incomplete type fs/namei.c:690: error: implicit declaration of function 'security_inode_follow_link' fs/pipe.c:748: error: dereferencing pointer to incomplete typefs/namei.c:690: error: dereferencing pointer to incomplete type fs/namei.c:695: error: dereferencing pointer to incomplete type fs/pipe.c:749: error: dereferencing pointer to incomplete type fs/namei.c:696: error: implicit declaration of function '__do_follow_link' fs/namei.c:698: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/namei.c:701: warning: passing argument 1 of 'path_put_conditional' from incompatible pointer type fs/pipe.c:755: warning: 'struct file' declared inside parameter list fs/namei.c:701: warning: passing argument 2 of 'path_put_conditional' from incompatible pointer type fs/pipe.c:755: warning: 'struct inode' declared inside parameter list fs/namei.c:702: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'pipe_write_open': fs/pipe.c:757: error: dereferencing pointer to incomplete type fs/pipe.c:758: error: dereferencing pointer to incomplete type fs/pipe.c:759: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:706: warning: 'struct vfsmount' declared inside parameter list fs/pipe.c: At top level: fs/pipe.c:765: warning: 'struct file' declared inside parameter list fs/namei.c: In function 'follow_up': fs/pipe.c:765: warning: 'struct inode' declared inside parameter list fs/namei.c:710: error: 'vfsmount_lock' undeclared (first use in this function) fs/pipe.c: In function 'pipe_rdwr_open': fs/namei.c:711: error: dereferencing pointer to incomplete type fs/pipe.c:767: error: dereferencing pointer to incomplete type fs/pipe.c:768: error: dereferencing pointer to incomplete type fs/namei.c:717: error: dereferencing pointer to incomplete type fs/pipe.c:768: error: 'FMODE_READ' undeclared (first use in this function)fs/namei.c:717: warning: assignment makes pointer from integer without a cast fs/pipe.c:769: error: dereferencing pointer to incomplete type fs/pipe.c:770: error: dereferencing pointer to incomplete type fs/pipe.c:770: error: 'FMODE_WRITE' undeclared (first use in this function) fs/pipe.c:771: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/pipe.c:772: error: dereferencing pointer to incomplete type fs/namei.c:729: warning: 'struct path' declared inside parameter list fs/namei.c: In function '__follow_mount': fs/pipe.c: At top level: fs/namei.c:732: error: implicit declaration of function 'd_mountpoint' fs/pipe.c:783: error: variable 'read_pipefifo_fops' has initializer but incomplete type fs/namei.c:732: error: dereferencing pointer to incomplete typefs/pipe.c:784: error: unknown field 'llseek' specified in initializer fs/pipe.c:784: error: 'no_llseek' undeclared here (not in a function) fs/pipe.c:784: warning: excess elements in struct initializer fs/pipe.c:784: warning: (near initialization for 'read_pipefifo_fops') fs/pipe.c:785: error: unknown field 'read' specified in initializer fs/namei.c:733: error: implicit declaration of function 'lookup_mnt' fs/pipe.c:785: error: 'do_sync_read' undeclared here (not in a function) fs/namei.c:733: error: dereferencing pointer to incomplete type fs/pipe.c:785: warning: excess elements in struct initializer fs/namei.c:733: error: dereferencing pointer to incomplete type fs/pipe.c:785: warning: (near initialization for 'read_pipefifo_fops')fs/namei.c:733: warning: initialization makes pointer from integer without a cast fs/pipe.c:786: error: unknown field 'aio_read' specified in initializer fs/namei.c:736: error: dereferencing pointer to incomplete type fs/pipe.c:786: error: 'pipe_read' undeclared here (not in a function) fs/namei.c:738: error: dereferencing pointer to incomplete type fs/pipe.c:786: warning: excess elements in struct initializer fs/namei.c:739: error: dereferencing pointer to incomplete type fs/pipe.c:786: warning: (near initialization for 'read_pipefifo_fops') fs/namei.c:740: error: dereferencing pointer to incomplete type fs/pipe.c:787: error: unknown field 'write' specified in initializer fs/namei.c:740: error: dereferencing pointer to incomplete type fs/pipe.c:787: error: 'bad_pipe_w' undeclared here (not in a function) fs/pipe.c:787: warning: excess elements in struct initializer fs/pipe.c:787: warning: (near initialization for 'read_pipefifo_fops') fs/pipe.c:788: error: unknown field 'poll' specified in initializer fs/pipe.c:788: warning: excess elements in struct initializer fs/pipe.c:788: warning: (near initialization for 'read_pipefifo_fops') fs/namei.c: At top level: fs/pipe.c:789: error: unknown field 'unlocked_ioctl' specified in initializer fs/namei.c:746: warning: 'struct vfsmount' declared inside parameter listfs/pipe.c:789: warning: excess elements in struct initializer fs/pipe.c:789: warning: (near initialization for 'read_pipefifo_fops') fs/pipe.c:790: error: unknown field 'open' specified in initializer fs/pipe.c:790: warning: excess elements in struct initializer fs/namei.c: In function 'follow_mount': fs/pipe.c:790: warning: (near initialization for 'read_pipefifo_fops') fs/namei.c:749: warning: initialization makes pointer from integer without a cast fs/pipe.c:791: error: unknown field 'release' specified in initializer fs/pipe.c:791: warning: excess elements in struct initializer fs/namei.c:755: error: dereferencing pointer to incomplete typefs/pipe.c:791: warning: (near initialization for 'read_pipefifo_fops') fs/pipe.c:792: error: unknown field 'fasync' specified in initializer fs/namei.c:755: warning: assignment makes pointer from integer without a cast fs/pipe.c:792: warning: excess elements in struct initializer fs/pipe.c:792: warning: (near initialization for 'read_pipefifo_fops') fs/pipe.c:795: error: variable 'write_pipefifo_fops' has initializer but incomplete type fs/pipe.c:796: error: unknown field 'llseek' specified in initializer fs/pipe.c:796: warning: excess elements in struct initializer fs/namei.c: At top level: fs/pipe.c:796: warning: (near initialization for 'write_pipefifo_fops') fs/namei.c:762: warning: 'struct vfsmount' declared inside parameter list fs/pipe.c:797: error: unknown field 'read' specified in initializer fs/pipe.c:797: error: 'bad_pipe_r' undeclared here (not in a function) fs/namei.c: In function 'follow_down': fs/pipe.c:797: warning: excess elements in struct initializer fs/namei.c:766: warning: assignment makes pointer from integer without a cast fs/pipe.c:797: warning: (near initialization for 'write_pipefifo_fops') fs/pipe.c:798: error: unknown field 'write' specified in initializer fs/namei.c:771: error: dereferencing pointer to incomplete type fs/pipe.c:798: error: 'do_sync_write' undeclared here (not in a function) fs/namei.c:771: warning: assignment makes pointer from integer without a cast fs/pipe.c:798: warning: excess elements in struct initializer fs/pipe.c:798: warning: (near initialization for 'write_pipefifo_fops') fs/pipe.c:799: error: unknown field 'aio_write' specified in initializer fs/pipe.c:799: error: 'pipe_write' undeclared here (not in a function) fs/pipe.c:799: warning: excess elements in struct initializer fs/pipe.c:799: warning: (near initialization for 'write_pipefifo_fops') fs/namei.c: At top level: fs/pipe.c:800: error: unknown field 'poll' specified in initializer fs/namei.c:777: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' fs/pipe.c:800: warning: excess elements in struct initializer fs/pipe.c:800: warning: (near initialization for 'write_pipefifo_fops') fs/pipe.c:801: error: unknown field 'unlocked_ioctl' specified in initializer fs/pipe.c:801: warning: excess elements in struct initializer fs/pipe.c:801: warning: (near initialization for 'write_pipefifo_fops') fs/namei.c:822: warning: 'struct path' declared inside parameter list fs/pipe.c:802: error: unknown field 'open' specified in initializer fs/namei.c:822: warning: 'struct qstr' declared inside parameter list fs/pipe.c:802: warning: excess elements in struct initializer fs/namei.c:822: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:802: warning: (near initialization for 'write_pipefifo_fops') fs/pipe.c:803: error: unknown field 'release' specified in initializer fs/namei.c: In function 'do_lookup': fs/pipe.c:803: warning: excess elements in struct initializer fs/namei.c:824: error: dereferencing pointer to incomplete type fs/pipe.c:803: warning: (near initialization for 'write_pipefifo_fops') fs/namei.c:825: error: dereferencing pointer to incomplete type fs/pipe.c:804: error: unknown field 'fasync' specified in initializer fs/namei.c:825: warning: initialization makes pointer from integer without a cast fs/pipe.c:804: warning: excess elements in struct initializer fs/pipe.c:804: warning: (near initialization for 'write_pipefifo_fops') fs/namei.c:829: error: dereferencing pointer to incomplete type fs/pipe.c:807: error: variable 'rdwr_pipefifo_fops' has initializer but incomplete type fs/namei.c:829: error: dereferencing pointer to incomplete type fs/pipe.c:808: error: unknown field 'llseek' specified in initializer fs/namei.c:832: error: dereferencing pointer to incomplete type fs/pipe.c:808: warning: excess elements in struct initializerfs/namei.c:833: error: dereferencing pointer to incomplete type fs/namei.c:834: warning: passing argument 1 of '__follow_mount' from incompatible pointer type fs/pipe.c:808: warning: (near initialization for 'rdwr_pipefifo_fops') fs/namei.c:838: error: dereferencing pointer to incomplete type fs/pipe.c:809: error: unknown field 'read' specified in initializer fs/namei.c:838: warning: passing argument 2 of 'real_lookup' from incompatible pointer type fs/pipe.c:809: warning: excess elements in struct initializer fs/namei.c:838: warning: passing argument 3 of 'real_lookup' from incompatible pointer type fs/pipe.c:809: warning: (near initialization for 'rdwr_pipefifo_fops') fs/namei.c:839: error: implicit declaration of function 'IS_ERR' fs/pipe.c:810: error: unknown field 'aio_read' specified in initializer fs/pipe.c:810: warning: excess elements in struct initializer fs/namei.c:844: warning: passing argument 2 of 'do_revalidate' from incompatible pointer type fs/pipe.c:810: warning: (near initialization for 'rdwr_pipefifo_fops') fs/pipe.c:811: error: unknown field 'write' specified in initializer fs/namei.c:852: error: implicit declaration of function 'PTR_ERR' fs/pipe.c:811: warning: excess elements in struct initializer fs/pipe.c:811: warning: (near initialization for 'rdwr_pipefifo_fops') fs/pipe.c:812: error: unknown field 'aio_write' specified in initializer fs/pipe.c:812: warning: excess elements in struct initializer fs/pipe.c:812: warning: (near initialization for 'rdwr_pipefifo_fops') fs/pipe.c:813: error: unknown field 'poll' specified in initializer fs/pipe.c:813: warning: excess elements in struct initializer fs/namei.c: At top level: fs/pipe.c:813: warning: (near initialization for 'rdwr_pipefifo_fops') fs/namei.c:863: warning: 'struct nameidata' declared inside parameter list fs/pipe.c:814: error: unknown field 'unlocked_ioctl' specified in initializer fs/namei.c:864: error: conflicting types for '__link_path_walk' fs/pipe.c:814: warning: excess elements in struct initializer fs/namei.c:109: error: previous declaration of '__link_path_walk' was here fs/pipe.c:814: warning: (near initialization for 'rdwr_pipefifo_fops') fs/namei.c: In function '__link_path_walk': fs/pipe.c:815: error: unknown field 'open' specified in initializer fs/namei.c:865: error: storage size of 'next' isn't knownfs/pipe.c:815: warning: excess elements in struct initializer fs/pipe.c:815: warning: (near initialization for 'rdwr_pipefifo_fops') fs/pipe.c:816: error: unknown field 'release' specified in initializer fs/namei.c:868: error: dereferencing pointer to incomplete type fs/pipe.c:816: warning: excess elements in struct initializer fs/pipe.c:816: warning: (near initialization for 'rdwr_pipefifo_fops') fs/pipe.c:817: error: unknown field 'fasync' specified in initializer fs/pipe.c:817: warning: excess elements in struct initializerfs/namei.c:875: error: dereferencing pointer to incomplete type fs/namei.c:876: error: dereferencing pointer to incomplete type fs/pipe.c:817: warning: (near initialization for 'rdwr_pipefifo_fops')fs/namei.c:877: error: 'LOOKUP_FOLLOW' undeclared (first use in this function) fs/namei.c:877: error: dereferencing pointer to incomplete type fs/namei.c:877: error: 'LOOKUP_CONTINUE' undeclared (first use in this function) fs/pipe.c:820: warning: 'struct inode' declared inside parameter list fs/namei.c:882: error: storage size of 'this' isn't known fs/pipe.c: In function 'alloc_pipe_info': fs/namei.c:885: error: dereferencing pointer to incomplete type fs/pipe.c:824: error: implicit declaration of function 'kzalloc' fs/namei.c:886: warning: passing argument 1 of 'exec_permission_lite' from incompatible pointer type fs/pipe.c:824: error: invalid application of 'sizeof' to incomplete type 'struct pipe_inode_info' fs/namei.c:887: error: 'EAGAIN' undeclared (first use in this function) fs/pipe.c:824: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namei.c:888: error: 'MAY_EXEC' undeclared (first use in this function)fs/pipe.c:824: warning: assignment makes pointer from integer without a cast fs/namei.c:888: warning: passing argument 1 of 'vfs_permission' from incompatible pointer type fs/pipe.c:826: error: implicit declaration of function 'init_waitqueue_head' fs/pipe.c:826: error: dereferencing pointer to incomplete type fs/pipe.c:827: error: dereferencing pointer to incomplete type fs/namei.c:895: error: implicit declaration of function 'init_name_hash' fs/pipe.c:827: error: dereferencing pointer to incomplete type fs/namei.c:898: error: implicit declaration of function 'partial_name_hash' fs/pipe.c:828: error: dereferencing pointer to incomplete type fs/namei.c:902: error: implicit declaration of function 'end_name_hash' fs/pipe.c: In function '__free_pipe_info': cc1: fs/pipe.c:838: error: 'PIPE_BUFFERS' undeclared (first use in this function)fs/namei.c:922: error: implicit declaration of function 'follow_dotdot' error: fs/namei.c:923: error: dereferencing pointer to incomplete type fs/namei.c:932: error: dereferencing pointer to incomplete type fs/pipe.c:839: error: dereferencing pointer to incomplete type fs/pipe.c:840: error: dereferencing pointer to incomplete type fs/pipe.c:841: error: dereferencing pointer to incomplete type fs/pipe.c:843: error: dereferencing pointer to incomplete type fs/pipe.c:844: error: implicit declaration of function '__free_page' fs/pipe.c:844: error: dereferencing pointer to incomplete type fs/pipe.c:845: error: implicit declaration of function 'kfree' fs/pipe.c: At top level: fs/pipe.c:848: warning: 'struct inode' declared inside parameter list fs/pipe.c:849: warning: conflicting types for 'free_pipe_info' fs/pipe.c:649: warning: previous implicit declaration of 'free_pipe_info' was here fs/pipe.c: In function 'free_pipe_info': fs/pipe.c:850: error: dereferencing pointer to incomplete type fs/pipe.c:851: error: dereferencing pointer to incomplete type fs/pipe.c:851: error: 'NULL' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory mm/prio_tree.c:14:22: error: linux/mm.h: No such file or directory mm/prio_tree.c:15:29: error: linux/prio_tree.h: No such file or directory mm/prio_tree.c:75: warning: 'struct vm_area_struct' declared inside parameter list mm/prio_tree.c:75: warning: its scope is only this definition or declaration, which is probably not what you want mm/prio_tree.c: In function 'vma_prio_tree_add': mm/prio_tree.c:78: error: implicit declaration of function 'BUG_ON' mm/prio_tree.c:78: error: dereferencing pointer to incomplete type mm/prio_tree.c:78: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/prio_tree.c:79: error: (Each undeclared identifier is reported only once mm/prio_tree.c:79: error: for each function it appears in.) mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:79: error: dereferencing pointer to incomplete type mm/prio_tree.c:81: error: dereferencing pointer to incomplete type mm/prio_tree.c:81: error: 'NULL' undeclared (first use in this function) mm/prio_tree.c:82: error: dereferencing pointer to incomplete type mm/prio_tree.c:84: error: dereferencing pointer to incomplete type mm/prio_tree.c:85: error: implicit declaration of function 'list_add' mm/prio_tree.c:85: error: dereferencing pointer to incomplete type mm/prio_tree.c:86: error: dereferencing pointer to incomplete type mm/prio_tree.c:87: error: dereferencing pointer to incomplete type mm/prio_tree.c:88: error: implicit declaration of function 'list_add_tail' mm/prio_tree.c:88: error: dereferencing pointer to incomplete type mm/prio_tree.c:89: error: dereferencing pointer to incomplete type mm/prio_tree.c:91: error: implicit declaration of function 'INIT_LIST_HEAD' mm/prio_tree.c:91: error: dereferencing pointer to incomplete type mm/prio_tree.c:92: error: dereferencing pointer to incomplete type mm/prio_tree.c:93: error: dereferencing pointer to incomplete type mm/prio_tree.c: At top level: mm/prio_tree.c:98: warning: 'struct prio_tree_root' declared inside parameter list mm/prio_tree.c:98: warning: 'struct vm_area_struct' declared inside parameter list mm/prio_tree.c: In function 'vma_prio_tree_insert': mm/prio_tree.c:103: error: dereferencing pointer to incomplete type mm/prio_tree.c:103: error: 'NULL' undeclared (first use in this function) mm/prio_tree.c:105: error: implicit declaration of function 'raw_prio_tree_insert' mm/prio_tree.c:105: error: dereferencing pointer to incomplete type mm/prio_tree.c:105: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:106: error: dereferencing pointer to incomplete type mm/prio_tree.c:107: error: implicit declaration of function 'prio_tree_entry' mm/prio_tree.c:107: error: expected expression before 'struct' mm/prio_tree.c:108: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:109: warning: passing argument 1 of 'vma_prio_tree_add' from incompatible pointer type mm/prio_tree.c:109: warning: passing argument 2 of 'vma_prio_tree_add' from incompatible pointer type mm/prio_tree.c: At top level: mm/prio_tree.c:114: warning: 'struct prio_tree_root' declared inside parameter list mm/prio_tree.c:114: warning: 'struct vm_area_struct' declared inside parameter list mm/prio_tree.c: In function 'vma_prio_tree_remove': mm/prio_tree.c:118: error: dereferencing pointer to incomplete type mm/prio_tree.c:119: error: dereferencing pointer to incomplete type mm/prio_tree.c:120: error: implicit declaration of function 'list_del_init' mm/prio_tree.c:120: error: dereferencing pointer to incomplete type mm/prio_tree.c:122: error: implicit declaration of function 'raw_prio_tree_remove' mm/prio_tree.c:122: error: dereferencing pointer to incomplete type mm/prio_tree.c:125: error: dereferencing pointer to incomplete type mm/prio_tree.c:126: error: dereferencing pointer to incomplete type mm/prio_tree.c:127: error: dereferencing pointer to incomplete type mm/prio_tree.c:128: error: implicit declaration of function 'list_empty' mm/prio_tree.c:128: error: dereferencing pointer to incomplete type mm/prio_tree.c:129: error: implicit declaration of function 'list_entry' mm/prio_tree.c:130: error: dereferencing pointer to incomplete type mm/prio_tree.c:131: error: expected expression before 'struct' mm/prio_tree.c:132: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:133: error: dereferencing pointer to incomplete type mm/prio_tree.c:135: error: 'NULL' undeclared (first use in this function) mm/prio_tree.c:137: error: implicit declaration of function 'raw_prio_tree_replace' mm/prio_tree.c:137: error: dereferencing pointer to incomplete type mm/prio_tree.c:138: error: dereferencing pointer to incomplete type mm/prio_tree.c:139: error: dereferencing pointer to incomplete type mm/prio_tree.c:141: error: dereferencing pointer to incomplete type mm/prio_tree.c:144: error: dereferencing pointer to incomplete type mm/prio_tree.c:145: error: dereferencing pointer to incomplete type mm/prio_tree.c:147: error: dereferencing pointer to incomplete type mm/prio_tree.c:148: error: expected expression before 'struct' mm/prio_tree.c:149: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:150: error: dereferencing pointer to incomplete type mm/prio_tree.c:151: error: dereferencing pointer to incomplete type mm/prio_tree.c:152: error: dereferencing pointer to incomplete type mm/prio_tree.c:154: error: dereferencing pointer to incomplete type mm/prio_tree.c: At top level: mm/prio_tree.c:165: warning: 'struct prio_tree_iter' declared inside parameter list mm/prio_tree.c: In function 'vma_prio_tree_next': mm/prio_tree.c:174: error: implicit declaration of function 'prio_tree_next' mm/prio_tree.c:174: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:176: error: expected expression before 'struct' mm/prio_tree.c:177: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:178: error: implicit declaration of function 'prefetch' mm/prio_tree.c:178: error: dereferencing pointer to incomplete type mm/prio_tree.c:181: error: 'NULL' undeclared (first use in this function) mm/prio_tree.c:184: error: dereferencing pointer to incomplete type mm/prio_tree.c:185: error: dereferencing pointer to incomplete type mm/prio_tree.c:186: error: dereferencing pointer to incomplete type mm/prio_tree.c:187: error: dereferencing pointer to incomplete type mm/prio_tree.c:191: error: dereferencing pointer to incomplete type mm/prio_tree.c:192: error: expected expression before 'struct' mm/prio_tree.c:192: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:193: error: dereferencing pointer to incomplete type mm/prio_tree.c:194: error: dereferencing pointer to incomplete type mm/prio_tree.c:199: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:201: error: expected expression before 'struct' mm/prio_tree.c:202: warning: assignment makes pointer from integer without a cast mm/prio_tree.c:203: error: dereferencing pointer to incomplete type include/linux/autoconf.h: No such file or directory kernel/ptrace.c:10:30: error: linux/capability.h: No such file or directory kernel/ptrace.c:11:26: error: linux/module.h: No such file or directory kernel/ptrace.c:12:25: error: linux/sched.h: No such file or directory kernel/ptrace.c:13:25: error: linux/errno.h: No such file or directory kernel/ptrace.c:14:22: error: linux/mm.h: No such file or directory kernel/ptrace.c:15:27: error: linux/highmem.h: No such file or directory kernel/ptrace.c:16:27: error: linux/pagemap.h: No such file or directory kernel/ptrace.c:17:28: error: linux/smp_lock.h: No such file or directory kernel/ptrace.c:18:26: error: linux/ptrace.h: No such file or directory kernel/ptrace.c:19:28: error: linux/security.h: No such file or directory kernel/ptrace.c:20:26: error: linux/signal.h: No such file or directory kernel/ptrace.c:21:25: error: linux/audit.h: No such file or directory kernel/ptrace.c:22:33: error: linux/pid_namespace.h: No such file or directory kernel/ptrace.c:23:28: error: linux/syscalls.h: No such file or directory kernel/ptrace.c:25:25: error: asm/pgtable.h: No such file or directory kernel/ptrace.c:26:25: error: asm/uaccess.h: No such file or directory kernel/ptrace.c:34: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c:34: warning: its scope is only this definition or declaration, which is probably not what you want kernel/ptrace.c: In function '__ptrace_link': kernel/ptrace.c:36: error: implicit declaration of function 'BUG_ON' kernel/ptrace.c:36: error: implicit declaration of function 'list_empty' kernel/ptrace.c:36: error: dereferencing pointer to incomplete type kernel/ptrace.c:37: error: implicit declaration of function 'list_add' kernel/ptrace.c:37: error: dereferencing pointer to incomplete type kernel/ptrace.c:37: error: dereferencing pointer to incomplete type kernel/ptrace.c:38: error: dereferencing pointer to incomplete type kernel/ptrace.c: At top level: kernel/ptrace.c:48: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_untrace': kernel/ptrace.c:50: error: implicit declaration of function 'spin_lock' kernel/ptrace.c:50: error: dereferencing pointer to incomplete type kernel/ptrace.c:51: error: implicit declaration of function 'task_is_traced' kernel/ptrace.c:52: error: dereferencing pointer to incomplete type kernel/ptrace.c:52: error: 'SIGNAL_STOP_STOPPED' undeclared (first use in this function) kernel/ptrace.c:52: error: (Each undeclared identifier is reported only once kernel/ptrace.c:52: error: for each function it appears in.) kernel/ptrace.c:53: error: implicit declaration of function '__set_task_state' kernel/ptrace.c:53: error: 'TASK_STOPPED' undeclared (first use in this function) kernel/ptrace.c:55: error: implicit declaration of function 'signal_wake_up' kernel/ptrace.c:58: error: implicit declaration of function 'spin_unlock' kernel/ptrace.c:58: error: dereferencing pointer to incomplete type kernel/ptrace.c: At top level: kernel/ptrace.c:67: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function '__ptrace_unlink': kernel/ptrace.c:69: error: dereferencing pointer to incomplete type kernel/ptrace.c:71: error: dereferencing pointer to incomplete type kernel/ptrace.c:72: error: dereferencing pointer to incomplete type kernel/ptrace.c:72: error: dereferencing pointer to incomplete type kernel/ptrace.c:73: error: implicit declaration of function 'list_del_init' kernel/ptrace.c:73: error: dereferencing pointer to incomplete type kernel/ptrace.c:76: warning: passing argument 1 of 'ptrace_untrace' from incompatible pointer type kernel/ptrace.c: At top level: kernel/ptrace.c:82: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_check_attach': kernel/ptrace.c:84: error: 'ESRCH' undeclared (first use in this function) kernel/ptrace.c:93: error: implicit declaration of function 'read_lock' kernel/ptrace.c:93: error: 'tasklist_lock' undeclared (first use in this function) kernel/ptrace.c:94: error: dereferencing pointer to incomplete type kernel/ptrace.c:94: error: 'PT_PTRACED' undeclared (first use in this function) kernel/ptrace.c:94: error: dereferencing pointer to incomplete type kernel/ptrace.c:94: error: 'current' undeclared (first use in this function) kernel/ptrace.c:100: error: implicit declaration of function 'spin_lock_irq' kernel/ptrace.c:100: error: dereferencing pointer to incomplete type kernel/ptrace.c:101: error: implicit declaration of function 'task_is_stopped' kernel/ptrace.c:102: error: dereferencing pointer to incomplete type kernel/ptrace.c:102: error: 'TASK_TRACED' undeclared (first use in this function) kernel/ptrace.c:105: error: implicit declaration of function 'spin_unlock_irq' kernel/ptrace.c:105: error: dereferencing pointer to incomplete type kernel/ptrace.c:107: error: implicit declaration of function 'read_unlock' kernel/ptrace.c:110: error: implicit declaration of function 'wait_task_inactive' kernel/ptrace.c: At top level: kernel/ptrace.c:116: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function '__ptrace_may_access': kernel/ptrace.c:128: error: 'current' undeclared (first use in this function) kernel/ptrace.c:130: error: dereferencing pointer to incomplete type kernel/ptrace.c:131: error: dereferencing pointer to incomplete type kernel/ptrace.c:132: error: dereferencing pointer to incomplete type kernel/ptrace.c:133: error: dereferencing pointer to incomplete type kernel/ptrace.c:134: error: dereferencing pointer to incomplete type kernel/ptrace.c:135: error: dereferencing pointer to incomplete type kernel/ptrace.c:135: error: implicit declaration of function 'capable' kernel/ptrace.c:135: error: 'CAP_SYS_PTRACE' undeclared (first use in this function) kernel/ptrace.c:136: error: 'EPERM' undeclared (first use in this function) kernel/ptrace.c:137: error: implicit declaration of function 'smp_rmb' kernel/ptrace.c:138: error: dereferencing pointer to incomplete type kernel/ptrace.c:139: error: implicit declaration of function 'get_dumpable' kernel/ptrace.c:139: error: dereferencing pointer to incomplete type kernel/ptrace.c:143: error: implicit declaration of function 'security_ptrace' kernel/ptrace.c: At top level: kernel/ptrace.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrace_may_access' kernel/ptrace.c:155: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_attach': kernel/ptrace.c:160: error: implicit declaration of function 'audit_ptrace' kernel/ptrace.c:162: error: 'EPERM' undeclared (first use in this function) kernel/ptrace.c:163: error: implicit declaration of function 'same_thread_group' kernel/ptrace.c:163: error: 'current' undeclared (first use in this function) kernel/ptrace.c:176: error: implicit declaration of function 'task_lock' kernel/ptrace.c:177: error: implicit declaration of function 'write_trylock_irqsave' kernel/ptrace.c:177: error: 'tasklist_lock' undeclared (first use in this function) kernel/ptrace.c:178: error: implicit declaration of function 'task_unlock' kernel/ptrace.c:180: error: implicit declaration of function 'cpu_relax' kernel/ptrace.c:181: error: implicit declaration of function 'write_can_lock' kernel/ptrace.c:185: error: dereferencing pointer to incomplete type kernel/ptrace.c:188: error: dereferencing pointer to incomplete type kernel/ptrace.c:188: error: 'PT_PTRACED' undeclared (first use in this function) kernel/ptrace.c:190: error: 'PTRACE_MODE_ATTACH' undeclared (first use in this function) kernel/ptrace.c:190: warning: passing argument 1 of '__ptrace_may_access' from incompatible pointer type kernel/ptrace.c:195: error: dereferencing pointer to incomplete type kernel/ptrace.c:196: error: 'CAP_SYS_PTRACE' undeclared (first use in this function) kernel/ptrace.c:197: error: dereferencing pointer to incomplete type kernel/ptrace.c:197: error: 'PT_PTRACE_CAP' undeclared (first use in this function) kernel/ptrace.c:199: warning: passing argument 1 of '__ptrace_link' from incompatible pointer type kernel/ptrace.c:201: error: implicit declaration of function 'send_sig_info' kernel/ptrace.c:201: error: 'SIGSTOP' undeclared (first use in this function) kernel/ptrace.c:201: error: 'SEND_SIG_FORCED' undeclared (first use in this function) kernel/ptrace.c:203: error: implicit declaration of function 'write_unlock_irqrestore' kernel/ptrace.c: At top level: kernel/ptrace.c:209: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function '__ptrace_detach': kernel/ptrace.c:211: error: dereferencing pointer to incomplete type kernel/ptrace.c:213: warning: passing argument 1 of '__ptrace_unlink' from incompatible pointer type kernel/ptrace.c:215: error: dereferencing pointer to incomplete type kernel/ptrace.c:215: error: 'EXIT_ZOMBIE' undeclared (first use in this function) kernel/ptrace.c:216: error: implicit declaration of function 'wake_up_process' kernel/ptrace.c: At top level: kernel/ptrace.c:219: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_detach': kernel/ptrace.c:221: error: implicit declaration of function 'valid_signal' kernel/ptrace.c:222: error: 'EIO' undeclared (first use in this function) kernel/ptrace.c:225: error: implicit declaration of function 'ptrace_disable' kernel/ptrace.c:226: error: implicit declaration of function 'clear_tsk_thread_flag' kernel/ptrace.c:226: error: 'TIF_SYSCALL_TRACE' undeclared (first use in this function) kernel/ptrace.c:228: error: implicit declaration of function 'write_lock_irq' kernel/ptrace.c:228: error: 'tasklist_lock' undeclared (first use in this function) kernel/ptrace.c:230: error: dereferencing pointer to incomplete type kernel/ptrace.c:231: warning: passing argument 1 of '__ptrace_detach' from incompatible pointer type kernel/ptrace.c:232: error: implicit declaration of function 'write_unlock_irq' kernel/ptrace.c: At top level: kernel/ptrace.c:237: error: expected ';', ',' or ')' before '*' token kernel/ptrace.c:262: error: expected ';', ',' or ')' before '*' token kernel/ptrace.c:287: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_setoptions': kernel/ptrace.c:289: error: dereferencing pointer to incomplete type kernel/ptrace.c:289: error: 'PT_TRACE_MASK' undeclared (first use in this function) kernel/ptrace.c:291: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function) kernel/ptrace.c:292: error: dereferencing pointer to incomplete type kernel/ptrace.c:292: error: 'PT_TRACESYSGOOD' undeclared (first use in this function) kernel/ptrace.c:294: error: 'PTRACE_O_TRACEFORK' undeclared (first use in this function) kernel/ptrace.c:295: error: dereferencing pointer to incomplete type kernel/ptrace.c:295: error: 'PT_TRACE_FORK' undeclared (first use in this function) kernel/ptrace.c:297: error: 'PTRACE_O_TRACEVFORK' undeclared (first use in this function) kernel/ptrace.c:298: error: dereferencing pointer to incomplete type kernel/ptrace.c:298: error: 'PT_TRACE_VFORK' undeclared (first use in this function) kernel/ptrace.c:300: error: 'PTRACE_O_TRACECLONE' undeclared (first use in this function) kernel/ptrace.c:301: error: dereferencing pointer to incomplete type kernel/ptrace.c:301: error: 'PT_TRACE_CLONE' undeclared (first use in this function) kernel/ptrace.c:303: error: 'PTRACE_O_TRACEEXEC' undeclared (first use in this function) kernel/ptrace.c:304: error: dereferencing pointer to incomplete type kernel/ptrace.c:304: error: 'PT_TRACE_EXEC' undeclared (first use in this function) kernel/ptrace.c:306: error: 'PTRACE_O_TRACEVFORKDONE' undeclared (first use in this function) kernel/ptrace.c:307: error: dereferencing pointer to incomplete type kernel/ptrace.c:307: error: 'PT_TRACE_VFORK_DONE' undeclared (first use in this function) kernel/ptrace.c:309: error: 'PTRACE_O_TRACEEXIT' undeclared (first use in this function) kernel/ptrace.c:310: error: dereferencing pointer to incomplete type kernel/ptrace.c:310: error: 'PT_TRACE_EXIT' undeclared (first use in this function) kernel/ptrace.c:312: error: 'PTRACE_O_MASK' undeclared (first use in this function) kernel/ptrace.c:312: error: 'EINVAL' undeclared (first use in this function) kernel/ptrace.c: At top level: kernel/ptrace.c:315: error: expected declaration specifiers or '...' before 'siginfo_t' kernel/ptrace.c:315: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_getsiginfo': kernel/ptrace.c:317: error: 'ESRCH' undeclared (first use in this function) kernel/ptrace.c:319: error: 'tasklist_lock' undeclared (first use in this function) fs/namei.c:932: error: dereferencing pointer to incomplete type fs/pipe.c: At top level:kernel/ptrace.c:320: error: implicit declaration of function 'likely' kernel/ptrace.c:320: error: dereferencing pointer to incomplete type kernel/ptrace.c:320: error: 'NULL' undeclared (first use in this function) kernel/ptrace.c:321: error: 'EINVAL' undeclared (first use in this function) kernel/ptrace.c:322: error: dereferencing pointer to incomplete type fs/namei.c:933: error: dereferencing pointer to incomplete type kernel/ptrace.c:323: error: dereferencing pointer to incomplete type fs/namei.c:933: error: dereferencing pointer to incomplete type kernel/ptrace.c:324: error: 'info' undeclared (first use in this function) kernel/ptrace.c:324: error: dereferencing pointer to incomplete type kernel/ptrace.c:327: error: dereferencing pointer to incomplete type kernel/ptrace.c: At top level: kernel/ptrace.c:333: warning: type defaults to 'int' in declaration of 'siginfo_t' fs/namei.c:939: warning: passing argument 1 of 'do_lookup' from incompatible pointer type kernel/ptrace.c:333: error: expected ';', ',' or ')' before '*' token fs/namei.c:943: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:947: error: 'ENOTDIR' undeclared (first use in this function) kernel/ptrace.c:370: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_resume': kernel/ptrace.c:373: error: 'EIO' undeclared (first use in this function) kernel/ptrace.c:375: error: 'PTRACE_SYSCALL' undeclared (first use in this function) kernel/ptrace.c:376: error: implicit declaration of function 'set_tsk_thread_flag' kernel/ptrace.c:376: error: 'TIF_SYSCALL_TRACE' undeclared (first use in this function) kernel/ptrace.c:388: error: implicit declaration of function 'unlikely' kernel/ptrace.c:388: error: implicit declaration of function 'arch_has_block_step' kernel/ptrace.c:390: error: implicit declaration of function 'user_enable_block_step' kernel/ptrace.c:392: error: implicit declaration of function 'arch_has_single_step' kernel/ptrace.c:394: error: implicit declaration of function 'user_enable_single_step' kernel/ptrace.c:397: error: implicit declaration of function 'user_disable_single_step' kernel/ptrace.c:399: error: dereferencing pointer to incomplete type kernel/ptrace.c: At top level: kernel/ptrace.c:406: warning: 'struct task_struct' declared inside parameter list kernel/ptrace.c: In function 'ptrace_request': kernel/ptrace.c:408: error: 'EIO' undeclared (first use in this function) kernel/ptrace.c:409: error: 'siginfo_t' undeclared (first use in this function) kernel/ptrace.c:409: error: expected ';' before 'siginfo' kernel/ptrace.c:412: error: 'PTRACE_PEEKTEXT' undeclared (first use in this function) kernel/ptrace.c:413: error: 'PTRACE_PEEKDATA' undeclared (first use in this function) kernel/ptrace.c:414: error: implicit declaration of function 'generic_ptrace_peekdata' kernel/ptrace.c:415: error: 'PTRACE_POKETEXT' undeclared (first use in this function) kernel/ptrace.c:416: error: 'PTRACE_POKEDATA' undeclared (first use in this function) kernel/ptrace.c:417: error: implicit declaration of function 'generic_ptrace_pokedata' kernel/ptrace.c:422: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function) kernel/ptrace.c:423: warning: passing argument 1 of 'ptrace_setoptions' from incompatible pointer type kernel/ptrace.c:425: error: 'PTRACE_GETEVENTMSG' undeclared (first use in this function) kernel/ptrace.c:426: error: implicit declaration of function 'put_user' kernel/ptrace.c:426: error: dereferencing pointer to incomplete type kernel/ptrace.c:426: error: expected ')' before '__user' kernel/ptrace.c:429: error: 'PTRACE_GETSIGINFO' undeclared (first use in this function) kernel/ptrace.c:430: error: 'siginfo' undeclared (first use in this function) kernel/ptrace.c:430: warning: passing argument 1 of 'ptrace_getsiginfo' from incompatible pointer type kernel/ptrace.c:430: error: too many arguments to function 'ptrace_getsiginfo' kernel/ptrace.c:432: error: implicit declaration of function 'copy_siginfo_to_user' kernel/ptrace.c:432: error: expected ')' before '__user' kernel/ptrace.c:432: error: expected ')' before 'data' kernel/ptrace.c:436: error: 'PTRACE_SETSIGINFO' undeclared (first use in this function) kernel/ptrace.c:437: error: implicit declaration of function 'copy_from_user' kernel/ptrace.c:437: error: expected ')' before '__user' kernel/ptrace.c:437: error: expected ')' before 'data' kernel/ptrace.c:439: error: 'EFAULT' undeclared (first use in this function) kernel/ptrace.c:441: error: implicit declaration of function 'ptrace_setsiginfo' kernel/ptrace.c:444: error: 'PTRACE_DETACH' undeclared (first use in this function) kernel/ptrace.c:445: warning: passing argument 1 of 'ptrace_detach' from incompatible pointer type kernel/ptrace.c:458: error: 'PTRACE_SYSCALL' undeclared (first use in this function) kernel/ptrace.c:459: error: 'PTRACE_CONT' undeclared (first use in this function) kernel/ptrace.c:460: warning: passing argument 1 of 'ptrace_resume' from incompatible pointer type kernel/ptrace.c:462: error: 'PTRACE_KILL' undeclared (first use in this function) kernel/ptrace.c:463: error: dereferencing pointer to incomplete type kernel/ptrace.c:465: error: 'SIGKILL' undeclared (first use in this function) kernel/ptrace.c:465: warning: passing argument 1 of 'ptrace_resume' from incompatible pointer type cc1: error: include/linux/autoconf.h: No such file or directory fs/pipe.c:854: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/pipe.c:855: warning: 'struct dentry' declared inside parameter list fs/pipe.c: In function 'pipefs_delete_dentry': fs/pipe.c:863: error: dereferencing pointer to incomplete type fs/pipe.c:863: error: 'DCACHE_UNHASHED' undeclared (first use in this function) arch/x86/kernel/rtc.c:4:24: fs/pipe.c: At top level: fs/namei.c:948: error: dereferencing pointer to incomplete typekernel/ptrace.c: In function 'ptrace_traceme': error: linux/acpi.h: No such file or directory fs/pipe.c:870: warning: 'struct dentry' declared inside parameter list kernel/ptrace.c:482: error: 'EPERM' undeclared (first use in this function) arch/x86/kernel/rtc.c:5:23: error: kernel/ptrace.c:488: error: 'current' undeclared (first use in this function) linux/bcd.h: No such file or directory kernel/ptrace.c:489: error: 'PT_PTRACED' undeclared (first use in this function) arch/x86/kernel/rtc.c:6:31: error: linux/mc146818rtc.h: No such file or directory kernel/ptrace.c:494: error: 'tasklist_lock' undeclared (first use in this function) arch/x86/kernel/rtc.c:7:35: error: linux/platform_device.h: No such file or directory arch/x86/kernel/rtc.c:8:23: error: fs/pipe.c: In function 'pipefs_dname':kernel/ptrace.c:503: error: 'PTRACE_MODE_ATTACH' undeclared (first use in this function) linux/pnp.h: No such file or directory arch/x86/kernel/rtc.c:10:22: error: asm/time.h: No such file or directory arch/x86/kernel/rtc.c:11:26: error: kernel/ptrace.c: At top level: asm/vsyscall.h: No such file or directoryfs/pipe.c:872: error: implicit declaration of function 'dynamic_dname'kernel/ptrace.c:530: error: expected ')' before 'pid' kernel/ptrace.c:549: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/rtc.c:26: warning: data definition has no type or storage class arch/x86/kernel/rtc.c:26: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' arch/x86/kernel/rtc.c:26: warning: parameter names (without types) in function declaration kernel/ptrace.c: In function 'generic_ptrace_peekdata':fs/namei.c:951: error: dereferencing pointer to incomplete type arch/x86/kernel/rtc.c:27: warning: data definition has no type or storage class kernel/ptrace.c:602: error: implicit declaration of function 'access_process_vm' arch/x86/kernel/rtc.c:27: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/rtc.c:27: warning: parameter names (without types) in function declaration kernel/ptrace.c:604: error: 'EIO' undeclared (first use in this function) kernel/ptrace.c:605: error: expected ')' before '__user' arch/x86/kernel/rtc.c: In function 'mach_set_rtc_mmss': kernel/ptrace.c: In function 'generic_ptrace_pokedata': arch/x86/kernel/rtc.c:46: error: implicit declaration of function 'CMOS_READ' kernel/ptrace.c:613: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/rtc.c:46: error: 'RTC_CONTROL' undeclared (first use in this function) arch/x86/kernel/rtc.c:46: error: (Each undeclared identifier is reported only once arch/x86/kernel/rtc.c:46: error: for each function it appears in.) arch/x86/kernel/rtc.c:47: error: implicit declaration of function 'CMOS_WRITE' arch/x86/kernel/rtc.c:47: error: 'RTC_SET' undeclared (first use in this function) arch/x86/kernel/rtc.c:50: error: 'RTC_FREQ_SELECT' undeclared (first use in this function) arch/x86/kernel/rtc.c:51: error: 'RTC_DIV_RESET2' undeclared (first use in this function) arch/x86/kernel/rtc.c:53: error: 'RTC_MINUTES' undeclared (first use in this function) arch/x86/kernel/rtc.c:54: error: 'RTC_DM_BINARY' undeclared (first use in this function) arch/x86/kernel/rtc.c:54: error: 'RTC_ALWAYS_BCD' undeclared (first use in this function) arch/x86/kernel/rtc.c:55: error: implicit declaration of function 'BCD_TO_BIN' arch/x86/kernel/rtc.c:66: error: implicit declaration of function 'abs' arch/x86/kernel/rtc.c:72: error: implicit declaration of function 'BIN_TO_BCD' arch/x86/kernel/rtc.c:75: error: 'RTC_SECONDS' undeclared (first use in this function) arch/x86/kernel/rtc.c:78: error: implicit declaration of function 'printk' arch/x86/kernel/rtc.c:78: error: 'KERN_WARNING' undeclared (first use in this function) arch/x86/kernel/rtc.c:79: error: expected ')' before string constant arch/x86/kernel/rtc.c: In function 'mach_get_cmos_time': arch/x86/kernel/rtc.c:107: error: 'RTC_FREQ_SELECT' undeclared (first use in this function) arch/x86/kernel/rtc.c:107: error: 'RTC_UIP' undeclared (first use in this function) arch/x86/kernel/rtc.c:108: error: implicit declaration of function 'cpu_relax' arch/x86/kernel/rtc.c:110: error: 'RTC_SECONDS' undeclared (first use in this function) arch/x86/kernel/rtc.c:111: error: 'RTC_MINUTES' undeclared (first use in this function) arch/x86/kernel/rtc.c:112: error: 'RTC_HOURS' undeclared (first use in this function) arch/x86/kernel/rtc.c:113: error: 'RTC_DAY_OF_MONTH' undeclared (first use in this function) arch/x86/kernel/rtc.c:114: error: 'RTC_MONTH' undeclared (first use in this function) fs/pipe.c:873: error: dereferencing pointer to incomplete type arch/x86/kernel/rtc.c:115: error: 'RTC_YEAR' undeclared (first use in this function) fs/pipe.c:873: warning: return makes pointer from integer without a cast arch/x86/kernel/rtc.c:123: error: 'RTC_CONTROL' undeclared (first use in this function) arch/x86/kernel/rtc.c:124: error: implicit declaration of function 'WARN_ON_ONCE' arch/x86/kernel/rtc.c:124: error: 'RTC_ALWAYS_BCD' undeclared (first use in this function) arch/x86/kernel/rtc.c:124: error: 'RTC_DM_BINARY' undeclared (first use in this function) fs/pipe.c: At top level: fs/pipe.c:876: error: variable 'pipefs_dentry_operations' has initializer but incomplete type fs/pipe.c:877: error: unknown field 'd_delete' specified in initializer arch/x86/kernel/rtc.c:138: error: 'KERN_INFO' undeclared (first use in this function) fs/pipe.c:877: warning: excess elements in struct initializer arch/x86/kernel/rtc.c:138: error: expected ')' before string constant fs/pipe.c:877: warning: (near initialization for 'pipefs_dentry_operations') fs/pipe.c:878: error: unknown field 'd_dname' specified in initializer arch/x86/kernel/rtc.c:142: error: implicit declaration of function 'mktime'fs/pipe.c:878: warning: excess elements in struct initializer fs/namei.c:952: warning: passing argument 2 of 'do_follow_link' from incompatible pointer type fs/namei.c:956: error: dereferencing pointer to incomplete type arch/x86/kernel/rtc.c: In function 'rtc_cmos_read': arch/x86/kernel/rtc.c:150: error: implicit declaration of function 'lock_cmos_prefix'fs/namei.c:960: error: dereferencing pointer to incomplete type fs/pipe.c:878: warning: (near initialization for 'pipefs_dentry_operations') arch/x86/kernel/rtc.c:151: error: implicit declaration of function 'outb' fs/namei.c:963: warning: passing argument 2 of 'path_to_nameidata' from incompatible pointer type arch/x86/kernel/rtc.c:151: error: implicit declaration of function 'RTC_PORT' fs/pipe.c: In function 'get_pipe_inode': arch/x86/kernel/rtc.c:152: error: implicit declaration of function 'inb' arch/x86/kernel/rtc.c:153: error: implicit declaration of function 'lock_cmos_suffix' arch/x86/kernel/rtc.c: At top level: arch/x86/kernel/rtc.c:156: warning: data definition has no type or storage class arch/x86/kernel/rtc.c:156: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/rtc.c:156: warning: parameter names (without types) in function declaration arch/x86/kernel/rtc.c:165: warning: data definition has no type or storage class arch/x86/kernel/rtc.c:165: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/rtc.c:165: warning: parameter names (without types) in function declaration arch/x86/kernel/rtc.c: In function 'set_rtc_mmss': arch/x86/kernel/rtc.c:172: error: implicit declaration of function 'spin_lock_irqsave' arch/x86/kernel/rtc.c:172: error: 'rtc_lock' undeclared (first use in this function) arch/x86/kernel/rtc.c:173: error: implicit declaration of function 'set_wallclock' arch/x86/kernel/rtc.c:174: error: implicit declaration of function 'spin_unlock_irqrestore' arch/x86/kernel/rtc.c: In function 'read_persistent_clock': arch/x86/kernel/rtc.c:184: error: 'rtc_lock' undeclared (first use in this function) arch/x86/kernel/rtc.c:185: error: implicit declaration of function 'get_wallclock' arch/x86/kernel/rtc.c: At top level: arch/x86/kernel/rtc.c:191: warning: 'struct timespec' declared inside parameter list arch/x86/kernel/rtc.c:191: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/rtc.c:191: error: parameter 1 ('now') has incomplete type arch/x86/kernel/rtc.c: In function 'native_read_tsc': arch/x86/kernel/rtc.c:198: error: implicit declaration of function '__native_read_tsc' arch/x86/kernel/rtc.c: At top level: arch/x86/kernel/rtc.c:200: warning: data definition has no type or storage class arch/x86/kernel/rtc.c:200: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/rtc.c:200: warning: parameter names (without types) in function declaration arch/x86/kernel/rtc.c:203: error: array type has incomplete element type arch/x86/kernel/rtc.c:204: error: array index in non-array initializer arch/x86/kernel/rtc.c:204: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:205: error: field name not in record or union initializer arch/x86/kernel/rtc.c:205: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:206: error: field name not in record or union initializer arch/x86/kernel/rtc.c:206: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:207: error: field name not in record or union initializer arch/x86/kernel/rtc.c:207: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:207: error: 'IORESOURCE_IO' undeclared here (not in a function) arch/x86/kernel/rtc.c:209: error: array index in non-array initializer arch/x86/kernel/rtc.c:209: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:210: error: field name not in record or union initializer arch/x86/kernel/rtc.c:210: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:210: error: 'RTC_IRQ' undeclared here (not in a function) arch/x86/kernel/rtc.c:211: error: field name not in record or union initializer arch/x86/kernel/rtc.c:211: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:212: error: field name not in record or union initializer arch/x86/kernel/rtc.c:212: error: (near initialization for 'rtc_resources') arch/x86/kernel/rtc.c:212: error: 'IORESOURCE_IRQ' undeclared here (not in a function) arch/x86/kernel/rtc.c:216: error: variable 'rtc_device' has initializer but incomplete type arch/x86/kernel/rtc.c:217: error: unknown field 'name' specified in initializer arch/x86/kernel/rtc.c:217: warning: excess elements in struct initializer arch/x86/kernel/rtc.c:217: warning: (near initialization for 'rtc_device') arch/x86/kernel/rtc.c:218: error: unknown field 'id' specified in initializer arch/x86/kernel/rtc.c:218: warning: excess elements in struct initializer arch/x86/kernel/rtc.c:218: warning: (near initialization for 'rtc_device') arch/x86/kernel/rtc.c:219: error: unknown field 'resource' specified in initializer arch/x86/kernel/rtc.c:219: warning: excess elements in struct initializer arch/x86/kernel/rtc.c:219: warning: (near initialization for 'rtc_device') arch/x86/kernel/rtc.c:220: error: unknown field 'num_resources' specified in initializer arch/x86/kernel/rtc.c:220: error: implicit declaration of function 'ARRAY_SIZE' arch/x86/kernel/rtc.c:220: warning: excess elements in struct initializer arch/x86/kernel/rtc.c:220: warning: (near initialization for 'rtc_device') arch/x86/kernel/rtc.c:223: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/rtc.c:233: warning: data definition has no type or storage class arch/x86/kernel/rtc.c:233: warning: type defaults to 'int' in declaration of 'device_initcall' arch/x86/kernel/rtc.c:233: warning: parameter names (without types) in function declaration make[1]: *** [mm/prio_tree.o] Error 1 make[1]: *** [kernel/ptrace.o] Error 1 fs/namei.c:965: error: dereferencing pointer to incomplete type fs/namei.c:971: error: 'LOOKUP_DIRECTORY' undeclared (first use in this function) fs/namei.c:974: error: dereferencing pointer to incomplete type fs/namei.c:975: error: 'LOOKUP_PARENT' undeclared (first use in this function) fs/namei.c:984: error: dereferencing pointer to incomplete type fs/namei.c:989: error: dereferencing pointer to incomplete type fs/namei.c:989: error: dereferencing pointer to incomplete type fs/namei.c:990: error: dereferencing pointer to incomplete type fs/namei.c:990: error: dereferencing pointer to incomplete type fs/namei.c:995: warning: passing argument 1 of 'do_lookup' from incompatible pointer type fs/namei.c:1000: error: dereferencing pointer to incomplete type fs/namei.c:1000: error: dereferencing pointer to incomplete type fs/namei.c:1001: warning: passing argument 2 of 'do_follow_link' from incompatible pointer type fs/namei.c:1004: error: dereferencing pointer to incomplete type fs/namei.c:1006: warning: passing argument 2 of 'path_to_nameidata' from incompatible pointer type fs/namei.c:1012: error: dereferencing pointer to incomplete type fs/namei.c:1012: error: dereferencing pointer to incomplete type fs/namei.c:1017: error: dereferencing pointer to incomplete type fs/namei.c:1018: error: dereferencing pointer to incomplete type fs/namei.c:1018: error: 'LAST_NORM' undeclared (first use in this function) fs/namei.c:1022: error: dereferencing pointer to incomplete type fs/namei.c:1022: error: 'LAST_DOT' undeclared (first use in this function) fs/namei.c:1024: error: dereferencing pointer to incomplete type fs/namei.c:1024: error: 'LAST_DOTDOT' undeclared (first use in this function) fs/namei.c:1032: error: dereferencing pointer to incomplete type fs/namei.c:1032: error: dereferencing pointer to incomplete type fs/namei.c:1033: error: dereferencing pointer to incomplete type fs/namei.c:1033: error: 'FS_REVAL_DOT' undeclared (first use in this function) fs/namei.c:1034: error: 'ESTALE' undeclared (first use in this function) fs/namei.c:1036: error: dereferencing pointer to incomplete type fs/namei.c:1037: error: dereferencing pointer to incomplete type fs/namei.c:1043: warning: passing argument 2 of 'path_put_conditional' from incompatible pointer type fs/namei.c:882: warning: unused variable 'this' fs/namei.c:1046: error: dereferencing pointer to incomplete type fs/namei.c:865: warning: unused variable 'next' fs/namei.c: At top level: fs/namei.c:1051: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'path_walk': fs/namei.c:1053: error: 'current' undeclared (first use in this function) fs/namei.c:1054: error: implicit declaration of function 'link_path_walk' fs/namei.c: At top level: fs/namei.c:1059: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'do_path_lookup': fs/namei.c:1064: error: 'current' undeclared (first use in this function) fs/namei.c:1066: error: dereferencing pointer to incomplete type fs/namei.c:1066: error: 'LAST_ROOT' undeclared (first use in this function) fs/namei.c:1067: error: dereferencing pointer to incomplete type fs/namei.c:1068: error: dereferencing pointer to incomplete type fs/namei.c:1071: error: implicit declaration of function 'read_lock' fs/namei.c:1071: error: dereferencing pointer to incomplete type fs/namei.c:1072: error: dereferencing pointer to incomplete type fs/namei.c:1072: error: dereferencing pointer to incomplete type fs/namei.c:1073: error: dereferencing pointer to incomplete type fs/namei.c:1074: error: implicit declaration of function 'read_unlock' fs/namei.c:1074: error: dereferencing pointer to incomplete type fs/namei.c:1075: error: 'AT_FDCWD' undeclared (first use in this function) fs/namei.c:1076: error: dereferencing pointer to incomplete type fs/namei.c:1077: error: dereferencing pointer to incomplete type fs/namei.c:1077: error: dereferencing pointer to incomplete type fs/namei.c:1078: error: dereferencing pointer to incomplete type fs/namei.c:1079: error: dereferencing pointer to incomplete type fs/namei.c:1083: error: implicit declaration of function 'fget_light' fs/namei.c:1083: warning: assignment makes pointer from integer without a cast fs/namei.c:1084: error: 'EBADF' undeclared (first use in this function) fs/namei.c:1088: error: dereferencing pointer to incomplete type fs/namei.c:1090: error: 'ENOTDIR' undeclared (first use in this function) fs/namei.c:1091: error: dereferencing pointer to incomplete type fs/namei.c:1094: error: 'MAY_EXEC' undeclared (first use in this function) fs/namei.c:1094: warning: passing argument 1 of 'file_permission' from incompatible pointer type fs/namei.c:1098: error: dereferencing pointer to incomplete type fs/namei.c:1098: error: dereferencing pointer to incomplete type fs/namei.c:1099: error: dereferencing pointer to incomplete type fs/namei.c:1101: error: implicit declaration of function 'fput_light' fs/namei.c:1104: warning: passing argument 2 of 'path_walk' from incompatible pointer type fs/namei.c:1105: error: implicit declaration of function 'audit_dummy_context' fs/namei.c:1105: error: dereferencing pointer to incomplete type fs/namei.c:1106: error: dereferencing pointer to incomplete type fs/namei.c:1107: error: implicit declaration of function 'audit_inode' fs/namei.c:1107: error: dereferencing pointer to incomplete type CC mm/util.o fs/namei.c: At top level: fs/namei.c:1117: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'path_lookup': fs/namei.c:1119: error: 'AT_FDCWD' undeclared (first use in this function) fs/namei.c:1119: warning: passing argument 4 of 'do_path_lookup' from incompatible pointer type fs/namei.c: At top level: fs/namei.c:1132: warning: 'struct nameidata' declared inside parameter list fs/namei.c:1132: warning: 'struct vfsmount' declared inside parameter list fs/namei.c: In function 'vfs_path_lookup': fs/namei.c:1137: error: dereferencing pointer to incomplete type fs/namei.c:1137: error: 'LAST_ROOT' undeclared (first use in this function) fs/namei.c:1138: error: dereferencing pointer to incomplete type CC kernel/timer.o fs/pipe.c:883: error: implicit declaration of function 'new_inode'fs/namei.c:1139: error: dereferencing pointer to incomplete type fs/namei.c:1141: error: dereferencing pointer to incomplete type fs/namei.c:1142: error: dereferencing pointer to incomplete type fs/namei.c:1143: error: dereferencing pointer to incomplete type fs/namei.c:1145: warning: passing argument 2 of 'path_walk' from incompatible pointer type fs/namei.c:1146: error: dereferencing pointer to incomplete type fs/namei.c:1147: error: dereferencing pointer to incomplete type fs/namei.c:1148: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:1156: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function '__path_lookup_intent_open': fs/namei.c:1158: error: implicit declaration of function 'get_empty_filp' fs/namei.c:1158: warning: initialization makes pointer from integer without a cast fs/namei.c:1161: error: 'NULL' undeclared (first use in this function) fs/namei.c:1162: error: 'ENFILE' undeclared (first use in this function) fs/namei.c:1163: error: dereferencing pointer to incomplete type fs/namei.c:1164: error: dereferencing pointer to incomplete type fs/namei.c:1165: error: dereferencing pointer to incomplete type fs/namei.c:1166: error: 'LOOKUP_OPEN' undeclared (first use in this function) fs/namei.c:1166: warning: passing argument 4 of 'do_path_lookup' from incompatible pointer type make[1]: *** [arch/x86/kernel/rtc.o] Error 1 fs/pipe.c:883: error: 'pipe_mnt' undeclared (first use in this function) fs/pipe.c:883: warning: initialization makes pointer from integer without a cast fs/pipe.c:889: warning: passing argument 1 of 'alloc_pipe_info' from incompatible pointer type fs/pipe.c:892: error: dereferencing pointer to incomplete type fs/pipe.c:894: error: dereferencing pointer to incomplete type fs/pipe.c:894: error: dereferencing pointer to incomplete type fs/pipe.c:895: error: dereferencing pointer to incomplete type fs/pipe.c:903: error: dereferencing pointer to incomplete type fs/pipe.c:903: error: 'I_DIRTY' undeclared (first use in this function) fs/pipe.c:904: error: dereferencing pointer to incomplete type fs/namei.c:1167: error: dereferencing pointer to incomplete type fs/namei.c:1169: error: dereferencing pointer to incomplete type fs/namei.c:1170: error: dereferencing pointer to incomplete type fs/namei.c:1173: warning: passing argument 1 of 'release_open_intent' from incompatible pointer type fs/namei.c: At top level: fs/namei.c:1186: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'path_lookup_open': fs/namei.c:1189: warning: passing argument 4 of '__path_lookup_intent_open' from incompatible pointer type fs/namei.c: At top level: fs/namei.c:1203: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'path_lookup_create': fs/namei.c:1205: error: 'LOOKUP_CREATE' undeclared (first use in this function) fs/namei.c:1206: warning: passing argument 4 of '__path_lookup_intent_open' from incompatible pointer type fs/namei.c: At top level: fs/namei.c:1209: error: expected ';', ',' or ')' before '*' token fs/namei.c:1223: warning: 'struct nameidata' declared inside parameter list fs/namei.c:1223: warning: 'struct qstr' declared inside parameter list fs/namei.c: In function '__lookup_hash': fs/namei.c:1229: error: dereferencing pointer to incomplete type fs/namei.c:1235: error: dereferencing pointer to incomplete type fs/namei.c:1235: error: dereferencing pointer to incomplete type fs/namei.c:1236: error: dereferencing pointer to incomplete type fs/namei.c:1237: warning: assignment makes pointer from integer without a cast fs/namei.c:1242: warning: passing argument 2 of 'cached_lookup' from incompatible pointer type fs/namei.c:1242: warning: passing argument 3 of 'cached_lookup' from incompatible pointer type fs/namei.c:1247: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1247: warning: assignment makes pointer from integer without a cast fs/namei.c:1251: warning: assignment makes pointer from integer without a cast fs/namei.c:1252: error: 'ENOMEM' undeclared (first use in this function) fs/namei.c:1252: warning: assignment makes pointer from integer without a cast fs/namei.c:1255: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:1270: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'lookup_hash': fs/namei.c:1274: error: dereferencing pointer to incomplete type fs/namei.c:1274: error: 'MAY_EXEC' undeclared (first use in this function) fs/namei.c:1274: warning: passing argument 3 of 'permission' from incompatible pointer type fs/namei.c:1276: warning: return makes pointer from integer without a cast fs/namei.c:1277: error: dereferencing pointer to incomplete type fs/namei.c:1277: error: dereferencing pointer to incomplete type fs/namei.c:1277: warning: passing argument 3 of '__lookup_hash' from incompatible pointer type fs/namei.c: At top level: fs/namei.c:1281: warning: 'struct qstr' declared inside parameter list fs/namei.c: In function '__lookup_one_len': fs/namei.c:1286: error: dereferencing pointer to incomplete type fs/namei.c:1287: error: dereferencing pointer to incomplete type fs/namei.c:1289: error: 'EACCES' undeclared (first use in this function) fs/namei.c:1298: error: dereferencing pointer to incomplete type fs/namei.c: In function 'lookup_one_len': fs/namei.c:1316: error: storage size of 'this' isn't known fs/namei.c:1320: warning: return makes pointer from integer without a cast fs/namei.c:1322: error: dereferencing pointer to incomplete type fs/namei.c:1322: error: 'MAY_EXEC' undeclared (first use in this function) fs/namei.c:1322: error: 'NULL' undeclared (first use in this function) fs/namei.c:1324: warning: return makes pointer from integer without a cast fs/namei.c:1316: warning: unused variable 'this' fs/namei.c: In function 'lookup_one_noperm': fs/namei.c:1342: error: storage size of 'this' isn't known fs/namei.c:1344: error: implicit declaration of function 'strlen' fs/namei.c:1346: warning: return makes pointer from integer without a cast fs/namei.c:1347: error: 'NULL' undeclared (first use in this function) fs/namei.c:1342: warning: unused variable 'this' fs/namei.c: At top level: fs/namei.c:1350: error: expected ';', ',' or ')' before '*' token fs/namei.c:1363: error: expected ';', ',' or ')' before '*' token fs/namei.c:1372: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'check_sticky': fs/namei.c:1374: error: dereferencing pointer to incomplete type fs/namei.c:1374: error: 'S_ISVTX' undeclared (first use in this function) fs/namei.c:1376: error: dereferencing pointer to incomplete type fs/namei.c:1376: error: 'current' undeclared (first use in this function) fs/namei.c:1378: error: dereferencing pointer to incomplete type fs/namei.c:1380: error: 'CAP_FOWNER' undeclared (first use in this function) fs/namei.c: At top level: fs/namei.c:1402: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'may_delete': fs/namei.c:1406: error: dereferencing pointer to incomplete type fs/namei.c:1407: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1409: error: dereferencing pointer to incomplete type fs/namei.c:1410: error: implicit declaration of function 'audit_inode_child' fs/namei.c:1410: error: dereferencing pointer to incomplete type fs/namei.c:1412: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:1412: error: 'MAY_EXEC' undeclared (first use in this function) fs/namei.c:1412: error: 'NULL' undeclared (first use in this function) fs/namei.c:1412: warning: passing argument 1 of 'permission' from incompatible pointer type fs/namei.c:1415: error: implicit declaration of function 'IS_APPEND' fs/namei.c:1416: error: 'EPERM' undeclared (first use in this function) fs/namei.c:1417: error: dereferencing pointer to incomplete type fs/namei.c:1417: warning: passing argument 1 of 'check_sticky' from incompatible pointer type fs/namei.c:1417: error: dereferencing pointer to incomplete type fs/namei.c:1418: error: dereferencing pointer to incomplete type fs/namei.c:1421: error: dereferencing pointer to incomplete type fs/namei.c:1422: error: 'ENOTDIR' undeclared (first use in this function) fs/namei.c:1423: error: implicit declaration of function 'IS_ROOT' fs/namei.c:1424: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:1425: error: dereferencing pointer to incomplete type fs/namei.c:1426: error: 'EISDIR' undeclared (first use in this function) fs/namei.c:1429: error: dereferencing pointer to incomplete type fs/namei.c:1429: error: 'DCACHE_NFSFS_RENAMED' undeclared (first use in this function) fs/namei.c: At top level: fs/namei.c:1443: warning: 'struct nameidata' declared inside parameter list fs/namei.c:1443: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'may_create': fs/namei.c:1445: error: dereferencing pointer to incomplete type fs/namei.c:1446: error: 'EEXIST' undeclared (first use in this function) fs/namei.c:1448: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1449: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:1449: error: 'MAY_EXEC' undeclared (first use in this function) fs/namei.c:1449: warning: passing argument 1 of 'permission' from incompatible pointer type fs/namei.c:1449: warning: passing argument 3 of 'permission' from incompatible pointer type fs/namei.c: In function 'lookup_flags': fs/namei.c:1457: error: 'LOOKUP_FOLLOW' undeclared (first use in this function) fs/namei.c:1459: error: 'O_NOFOLLOW' undeclared (first use in this function) fs/namei.c:1462: error: 'O_DIRECTORY' undeclared (first use in this function) fs/namei.c:1463: error: 'LOOKUP_DIRECTORY' undeclared (first use in this function) fs/namei.c: In function 'lock_rename': fs/namei.c:1476: error: implicit declaration of function 'mutex_lock_nested' fs/namei.c:1476: error: dereferencing pointer to incomplete type fs/namei.c:1476: error: 'I_MUTEX_PARENT' undeclared (first use in this function) fs/namei.c:1477: error: 'NULL' undeclared (first use in this function) fs/namei.c:1480: error: dereferencing pointer to incomplete type fs/namei.c:1482: error: dereferencing pointer to incomplete type fs/namei.c:1482: error: dereferencing pointer to incomplete type fs/namei.c:1483: error: dereferencing pointer to incomplete type fs/namei.c:1484: error: dereferencing pointer to incomplete type fs/namei.c:1485: error: dereferencing pointer to incomplete type fs/namei.c:1485: error: 'I_MUTEX_CHILD' undeclared (first use in this function) fs/namei.c:1490: error: dereferencing pointer to incomplete type fs/namei.c:1490: error: dereferencing pointer to incomplete type fs/namei.c:1491: error: dereferencing pointer to incomplete type fs/namei.c:1492: error: dereferencing pointer to incomplete type fs/namei.c:1493: error: dereferencing pointer to incomplete type fs/namei.c:1498: error: dereferencing pointer to incomplete type fs/namei.c:1499: error: dereferencing pointer to incomplete type fs/namei.c: In function 'unlock_rename': fs/namei.c:1505: error: dereferencing pointer to incomplete type fs/namei.c:1507: error: dereferencing pointer to incomplete type fs/namei.c:1508: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:1513: warning: 'struct nameidata' declared inside parameter list fs/namei.c:1513: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_create': fs/namei.c:1515: warning: passing argument 1 of 'may_create' from incompatible pointer type fs/namei.c:1515: warning: passing argument 3 of 'may_create' from incompatible pointer type fs/namei.c:1520: error: dereferencing pointer to incomplete type fs/namei.c:1520: error: dereferencing pointer to incomplete type fs/namei.c:1521: error: 'EACCES' undeclared (first use in this function) fs/namei.c:1522: error: 'S_IALLUGO' undeclared (first use in this function) fs/namei.c:1523: error: 'S_IFREG' undeclared (first use in this function) fs/namei.c:1524: error: implicit declaration of function 'security_inode_create' fs/namei.c:1527: error: implicit declaration of function 'DQUOT_INIT' fs/namei.c:1528: error: dereferencing pointer to incomplete type fs/namei.c:1530: error: implicit declaration of function 'fsnotify_create' fs/namei.c: At top level: fs/namei.c:1534: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'may_open': fs/namei.c:1536: error: dereferencing pointer to incomplete type fs/namei.c:1537: error: dereferencing pointer to incomplete type fs/namei.c:1541: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1543: error: dereferencing pointer to incomplete type fs/namei.c:1544: error: 'ELOOP' undeclared (first use in this function) fs/namei.c:1546: error: dereferencing pointer to incomplete type fs/namei.c:1546: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:1547: error: 'EISDIR' undeclared (first use in this function) fs/namei.c:1554: error: implicit declaration of function 'S_ISFIFO' fs/namei.c:1554: error: dereferencing pointer to incomplete type fs/namei.c:1554: error: implicit declaration of function 'S_ISSOCK' fs/namei.c:1554: error: dereferencing pointer to incomplete type fs/namei.c:1555: error: 'O_TRUNC' undeclared (first use in this function) fs/namei.c:1556: error: implicit declaration of function 'S_ISBLK' fs/namei.c:1556: error: dereferencing pointer to incomplete type fs/namei.c:1556: error: implicit declaration of function 'S_ISCHR' fs/namei.c:1556: error: dereferencing pointer to incomplete type fs/namei.c:1557: error: dereferencing pointer to incomplete type fs/namei.c:1557: error: 'MNT_NODEV' undeclared (first use in this function) fs/namei.c:1558: error: 'EACCES' undeclared (first use in this function) fs/namei.c:1563: warning: passing argument 1 of 'vfs_permission' from incompatible pointer type fs/namei.c:1570: error: 'FMODE_WRITE' undeclared (first use in this function) fs/namei.c:1570: error: 'O_APPEND' undeclared (first use in this function) fs/namei.c:1571: error: 'EPERM' undeclared (first use in this function) fs/namei.c:1577: error: 'O_NOATIME' undeclared (first use in this function) fs/namei.c:1578: error: implicit declaration of function 'is_owner_or_cap' fs/namei.c:1584: error: implicit declaration of function 'break_lease' fs/namei.c:1589: warning: passing argument 1 of 'get_write_access' from incompatible pointer type fs/namei.c:1596: error: implicit declaration of function 'locks_verify_locked' fs/namei.c:1600: error: implicit declaration of function 'do_truncate' fs/namei.c:1601: error: 'ATTR_MTIME' undeclared (first use in this function) fs/namei.c:1601: error: 'ATTR_CTIME' undeclared (first use in this function) fs/namei.c:1601: error: 'ATTR_OPEN' undeclared (first use in this function) fs/namei.c:1602: error: 'NULL' undeclared (first use in this function) fs/namei.c:1604: error: implicit declaration of function 'put_write_access' fs/namei.c: At top level: fs/namei.c:1620: warning: 'struct path' declared inside parameter list fs/namei.c:1620: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function '__open_namei_create': fs/namei.c:1623: error: dereferencing pointer to incomplete type fs/namei.c:1625: error: dereferencing pointer to incomplete type fs/namei.c:1626: error: 'current' undeclared (first use in this function) fs/namei.c:1627: error: dereferencing pointer to incomplete type fs/namei.c:1627: error: dereferencing pointer to incomplete type fs/namei.c:1627: warning: passing argument 4 of 'vfs_create' from incompatible pointer type fs/namei.c:1628: error: dereferencing pointer to incomplete type fs/namei.c:1629: error: dereferencing pointer to incomplete type fs/namei.c:1630: error: dereferencing pointer to incomplete type fs/namei.c:1630: error: dereferencing pointer to incomplete type fs/namei.c:1634: error: 'O_TRUNC' undeclared (first use in this function) fs/namei.c:1634: warning: passing argument 1 of 'may_open' from incompatible pointer type fs/namei.c: In function 'open_to_namei_flags': fs/namei.c:1656: error: 'O_ACCMODE' undeclared (first use in this function) fs/namei.c: At top level: fs/namei.c:1661: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'open_will_write_to_fs': fs/namei.c:1667: error: implicit declaration of function 'special_file' fs/namei.c:1667: error: dereferencing pointer to incomplete type fs/namei.c:1669: error: 'O_TRUNC' undeclared (first use in this function) fs/pipe.c:904: error: 'S_IFIFO' undeclared (first use in this function)fs/namei.c: In function 'do_filp_open': fs/namei.c:1681: error: storage size of 'nd' isn't known fs/namei.c:1683: error: storage size of 'path' isn't known fs/namei.c:1689: error: 'MAY_OPEN' undeclared (first use in this function) fs/namei.c:1689: error: 'O_ACCMODE' undeclared (first use in this function) fs/namei.c:1692: error: 'O_TRUNC' undeclared (first use in this function) fs/namei.c:1693: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:1697: error: 'O_APPEND' undeclared (first use in this function) fs/namei.c:1698: error: 'MAY_APPEND' undeclared (first use in this function) fs/namei.c:1703: error: 'O_CREAT' undeclared (first use in this function) fs/namei.c:1707: warning: return makes pointer from integer without a cast fs/namei.c:1714: error: 'LOOKUP_PARENT' undeclared (first use in this function) fs/namei.c:1717: warning: return makes pointer from integer without a cast fs/namei.c:1724: error: 'EISDIR' undeclared (first use in this function) fs/namei.c:1725: error: 'LAST_NORM' undeclared (first use in this function) fs/namei.c:1730: error: dereferencing pointer to incomplete type fs/namei.c:1737: error: dereferencing pointer to incomplete type fs/namei.c:1755: error: implicit declaration of function 'mnt_want_write' fs/namei.c:1760: error: implicit declaration of function 'mnt_drop_write' fs/namei.c:1763: error: implicit declaration of function 'nameidata_to_filp' fs/namei.c:1763: warning: assignment makes pointer from integer without a cast fs/namei.c:1771: error: dereferencing pointer to incomplete type fs/namei.c:1774: error: 'EEXIST' undeclared (first use in this function) fs/namei.c:1775: error: 'O_EXCL' undeclared (first use in this function) fs/namei.c:1779: error: 'ELOOP' undeclared (first use in this function) fs/namei.c:1780: error: 'O_NOFOLLOW' undeclared (first use in this function) fs/namei.c:1784: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1817: warning: assignment makes pointer from integer without a cast fs/namei.c:1828: error: dereferencing pointer to incomplete type fs/namei.c:1835: warning: return makes pointer from integer without a cast fs/namei.c:1862: warning: return makes pointer from integer without a cast fs/namei.c:1865: error: 'LAST_BIND' undeclared (first use in this function) fs/namei.c:1871: error: implicit declaration of function '__putname' CC arch/x86/kernel/process.o fs/namei.c:1880: error: dereferencing pointer to incomplete type fs/namei.c:1683: warning: unused variable 'path' fs/namei.c:1681: warning: unused variable 'nd' fs/namei.c: In function 'filp_open': fs/namei.c:1900: error: 'AT_FDCWD' undeclared (first use in this function) fs/namei.c: At top level: fs/namei.c:1902: warning: data definition has no type or storage class fs/namei.c:1902: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:1902: warning: parameter names (without types) in function declaration fs/namei.c:1914: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'lookup_create': fs/namei.c:1916: error: 'EEXIST' undeclared (first use in this function) fs/namei.c:1916: warning: initialization makes pointer from integer without a cast fs/namei.c:1918: error: dereferencing pointer to incomplete type fs/namei.c:1918: error: 'I_MUTEX_PARENT' undeclared (first use in this function) fs/namei.c:1923: error: dereferencing pointer to incomplete type fs/namei.c:1923: error: 'LAST_NORM' undeclared (first use in this function) fs/namei.c:1925: error: dereferencing pointer to incomplete type fs/namei.c:1925: error: 'LOOKUP_PARENT' undeclared (first use in this function) fs/namei.c:1926: error: dereferencing pointer to incomplete type fs/namei.c:1926: error: 'LOOKUP_CREATE' undeclared (first use in this function) fs/namei.c:1927: error: dereferencing pointer to incomplete type fs/namei.c:1927: error: 'O_EXCL' undeclared (first use in this function) fs/namei.c:1932: warning: passing argument 1 of 'lookup_hash' from incompatible pointer type fs/namei.c:1936: error: dereferencing pointer to incomplete type fs/namei.c:1944: error: dereferencing pointer to incomplete type fs/namei.c:1944: error: dereferencing pointer to incomplete type fs/namei.c:1946: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:1946: warning: assignment makes pointer from integer without a cast fs/namei.c:1951: warning: assignment makes pointer from integer without a cast fs/namei.c: At top level: fs/namei.c:1955: warning: data definition has no type or storage class fs/namei.c:1955: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namei.c:1955: warning: parameter names (without types) in function declaration fs/namei.c:1957: error: expected declaration specifiers or '...' before 'dev_t' fs/namei.c:1957: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_mknod': fs/namei.c:1959: error: 'NULL' undeclared (first use in this function) fs/namei.c:1959: warning: passing argument 1 of 'may_create' from incompatible pointer type fs/namei.c:1964: error: 'CAP_MKNOD' undeclared (first use in this function) fs/namei.c:1965: error: 'EPERM' undeclared (first use in this function) fs/namei.c:1967: error: dereferencing pointer to incomplete type fs/namei.c:1967: error: dereferencing pointer to incomplete type fs/namei.c:1970: error: implicit declaration of function 'devcgroup_inode_mknod' fs/namei.c:1970: error: 'dev' undeclared (first use in this function) fs/namei.c:1974: error: implicit declaration of function 'security_inode_mknod' fs/namei.c:1979: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:1985: error: expected ')' before 'mode' fs/namei.c:2002: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2056: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2061: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_mkdir': fs/namei.c:2063: error: 'NULL' undeclared (first use in this function) fs/namei.c:2063: warning: passing argument 1 of 'may_create' from incompatible pointer type fs/namei.c:2068: error: dereferencing pointer to incomplete type fs/namei.c:2068: error: dereferencing pointer to incomplete type fs/namei.c:2069: error: 'EPERM' undeclared (first use in this function) fs/namei.c:2071: error: 'S_IRWXUGO' undeclared (first use in this function) fs/namei.c:2071: error: 'S_ISVTX' undeclared (first use in this function) fs/namei.c:2072: error: implicit declaration of function 'security_inode_mkdir' fs/namei.c:2077: error: dereferencing pointer to incomplete type fs/namei.c:2079: error: implicit declaration of function 'fsnotify_mkdir' fs/namei.c: At top level: fs/namei.c:2083: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c: In function 'dentry_unhash': fs/namei.c:2144: error: implicit declaration of function 'shrink_dcache_parent' fs/namei.c:2145: error: 'dcache_lock' undeclared (first use in this function) fs/namei.c:2146: error: dereferencing pointer to incomplete type fs/namei.c:2147: error: dereferencing pointer to incomplete type fs/namei.c:2148: error: implicit declaration of function '__d_drop' fs/namei.c:2149: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:2153: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_rmdir': fs/namei.c:2155: warning: passing argument 1 of 'may_delete' from incompatible pointer type cc1: error: include/linux/autoconf.h: No such file or directory fs/pipe.c:904: error: 'S_IRUSR' undeclared (first use in this function) fs/pipe.c:904: error: 'S_IWUSR' undeclared (first use in this function) mm/util.c:1:24: error: linux/slab.h: No such file or directory fs/pipe.c:905: error: dereferencing pointer to incomplete type fs/pipe.c:905: error: 'current' undeclared (first use in this function) fs/pipe.c:906: error: dereferencing pointer to incomplete type fs/pipe.c:907: error: dereferencing pointer to incomplete type fs/pipe.c:907: error: dereferencing pointer to incomplete type fs/pipe.c:907: error: dereferencing pointer to incomplete type fs/pipe.c:907: error: 'CURRENT_TIME' undeclared (first use in this function) fs/pipe.c:912: error: implicit declaration of function 'iput' fs/pipe.c:915: error: 'NULL' undeclared (first use in this function) fs/pipe.c: In function 'create_write_pipe': fs/pipe.c:924: error: variable 'name' has initializer but incomplete type fs/pipe.c:924: error: unknown field 'name' specified in initializer fs/pipe.c:924: warning: excess elements in struct initializer fs/pipe.c:924: warning: (near initialization for 'name') fs/pipe.c:924: error: storage size of 'name' isn't known fs/pipe.c:926: error: 'ENFILE' undeclared (first use in this function) fs/pipe.c:931: error: 'ENOMEM' undeclared (first use in this function) fs/pipe.c:932: error: implicit declaration of function 'd_alloc' fs/pipe.c:932: error: 'pipe_mnt' undeclared (first use in this function) fs/pipe.c:932: warning: assignment makes pointer from integer without a cast fs/pipe.c:936: error: dereferencing pointer to incomplete type fs/pipe.c:942: error: dereferencing pointer to incomplete type fs/pipe.c:942: error: 'DCACHE_UNHASHED' undeclared (first use in this function) fs/pipe.c:943: error: implicit declaration of function 'd_instantiate' fs/pipe.c:946: error: implicit declaration of function 'alloc_file' fs/pipe.c:946: error: 'FMODE_WRITE' undeclared (first use in this function) fs/pipe.c:946: warning: assignment makes pointer from integer without a cast fs/pipe.c:949: error: dereferencing pointer to incomplete type fs/pipe.c:949: error: dereferencing pointer to incomplete type fs/pipe.c:951: error: dereferencing pointer to incomplete type fs/pipe.c:951: error: 'O_WRONLY' undeclared (first use in this function) fs/pipe.c:952: error: dereferencing pointer to incomplete type fs/pipe.c:957: warning: passing argument 1 of 'free_pipe_info' from incompatible pointer type fs/pipe.c:958: error: implicit declaration of function 'dput' fs/pipe.c:959: error: implicit declaration of function 'ERR_PTR' fs/pipe.c:959: warning: return makes pointer from integer without a cast fs/pipe.c:962: warning: passing argument 1 of 'free_pipe_info' from incompatible pointer type fs/pipe.c:965: warning: return makes pointer from integer without a cast fs/pipe.c:924: warning: unused variable 'name' fs/pipe.c: In function 'free_write_pipe': fs/pipe.c:970: error: dereferencing pointer to incomplete type fs/pipe.c:971: error: implicit declaration of function 'path_put' fs/pipe.c:971: error: dereferencing pointer to incomplete type fs/pipe.c:972: error: implicit declaration of function 'put_filp' fs/pipe.c: In function 'create_read_pipe': fs/pipe.c:977: error: implicit declaration of function 'get_empty_filp' fs/pipe.c:977: warning: initialization makes pointer from integer without a cast fs/pipe.c:979: error: 'ENFILE' undeclared (first use in this function) fs/pipe.c:979: warning: return makes pointer from integer without a cast fs/pipe.c:982: error: dereferencing pointer to incomplete type fs/pipe.c:982: error: dereferencing pointer to incomplete type fs/pipe.c:983: error: implicit declaration of function 'path_get' fs/pipe.c:983: error: dereferencing pointer to incomplete type fs/pipe.c:984: error: dereferencing pointer to incomplete type fs/pipe.c:984: error: dereferencing pointer to incomplete type fs/pipe.c:986: error: dereferencing pointer to incomplete type fs/pipe.c:987: error: dereferencing pointer to incomplete type fs/pipe.c:987: error: 'O_RDONLY' undeclared (first use in this function) fs/pipe.c:988: error: dereferencing pointer to incomplete type fs/pipe.c:989: error: dereferencing pointer to incomplete type fs/pipe.c:989: error: 'FMODE_READ' undeclared (first use in this function) fs/pipe.c:990: error: dereferencing pointer to incomplete type fs/pipe.c: In function 'do_pipe': fs/pipe.c:1002: error: implicit declaration of function 'IS_ERR' fs/pipe.c:1003: error: implicit declaration of function 'PTR_ERR' fs/pipe.c:1009: error: implicit declaration of function 'get_unused_fd' fs/pipe.c:1019: error: implicit declaration of function 'audit_fd_pair' fs/pipe.c:1023: error: implicit declaration of function 'fd_install' fs/pipe.c:1031: error: implicit declaration of function 'put_unused_fd' fs/pipe.c:1035: error: dereferencing pointer to incomplete type fs/pipe.c: At top level: fs/pipe.c:1046: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/pipe.c:1070: warning: 'struct file_system_type' declared inside parameter list fs/pipe.c: In function 'pipefs_get_sb': fs/pipe.c:1072: error: implicit declaration of function 'get_sb_pseudo' fs/pipe.c:1072: error: 'NULL' undeclared (first use in this function) fs/pipe.c:1072: error: 'PIPEFS_MAGIC' undeclared (first use in this function) fs/pipe.c: At top level: fs/pipe.c:1075: error: variable 'pipe_fs_type' has initializer but incomplete type fs/pipe.c:1076: error: unknown field 'name' specified in initializer fs/pipe.c:1076: warning: excess elements in struct initializer fs/pipe.c:1076: warning: (near initialization for 'pipe_fs_type') fs/pipe.c:1077: error: unknown field 'get_sb' specified in initializer fs/pipe.c:1077: warning: excess elements in struct initializer fs/pipe.c:1077: warning: (near initialization for 'pipe_fs_type') fs/pipe.c:1078: error: unknown field 'kill_sb' specified in initializer fs/pipe.c:1078: error: 'kill_anon_super' undeclared here (not in a function) fs/pipe.c:1078: warning: excess elements in struct initializer fs/pipe.c:1078: warning: (near initialization for 'pipe_fs_type') fs/pipe.c:1081: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_pipe_fs' fs/pipe.c:1095: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'exit_pipe_fs' fs/pipe.c:1101: warning: data definition has no type or storage class fs/pipe.c:1101: warning: type defaults to 'int' in declaration of 'fs_initcall' fs/pipe.c:1101: warning: parameter names (without types) in function declaration fs/pipe.c:1102: warning: data definition has no type or storage class fs/pipe.c:1102: warning: type defaults to 'int' in declaration of 'module_exit' fs/pipe.c:1102: warning: parameter names (without types) in function declaration fs/namei.c:2160: error: dereferencing pointer to incomplete type fs/namei.c:2160: error: dereferencing pointer to incomplete type fs/namei.c:2161: error: 'EPERM' undeclared (first use in this function) fs/namei.c:2165: error: dereferencing pointer to incomplete type fs/namei.c:2168: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:2170: error: implicit declaration of function 'security_inode_rmdir' make[1]: *** [fs/pipe.o] Error 1fs/namei.c:2172: error: dereferencing pointer to incomplete type fs/namei.c:2174: error: dereferencing pointer to incomplete type fs/namei.c:2174: error: 'S_DEAD' undeclared (first use in this function) fs/namei.c:2177: error: dereferencing pointer to incomplete type fs/namei.c:2179: error: implicit declaration of function 'd_delete' fs/namei.c: At top level: fs/namei.c:2186: error: expected ';', ',' or ')' before '*' token fs/namei.c:2233: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2238: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_unlink': fs/namei.c:2240: warning: passing argument 1 of 'may_delete' from incompatible pointer type fs/namei.c:2245: error: dereferencing pointer to incomplete type fs/namei.c:2245: error: dereferencing pointer to incomplete type fs/namei.c:2246: error: 'EPERM' undeclared (first use in this function) fs/namei.c:2250: error: dereferencing pointer to incomplete type fs/namei.c:2252: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:2254: error: implicit declaration of function 'security_inode_unlink' fs/namei.c:2256: error: dereferencing pointer to incomplete type fs/namei.c:2258: error: dereferencing pointer to incomplete type fs/namei.c:2261: error: dereferencing pointer to incomplete type fs/namei.c:2261: error: 'DCACHE_NFSFS_RENAMED' undeclared (first use in this function) fs/namei.c:2262: error: implicit declaration of function 'fsnotify_link_count' fs/namei.c:2262: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:2275: error: expected ';', ',' or ')' before '*' token fs/namei.c:2326: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2342: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_symlink': fs/namei.c:2344: error: 'NULL' undeclared (first use in this function) fs/namei.c:2344: warning: passing argument 1 of 'may_create' from incompatible pointer type fs/namei.c:2349: error: dereferencing pointer to incomplete type fs/namei.c:2349: error: dereferencing pointer to incomplete type fs/namei.c:2350: error: 'EPERM' undeclared (first use in this function) fs/namei.c:2352: error: implicit declaration of function 'security_inode_symlink' fs/namei.c:2357: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:2363: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2405: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2410: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_link': fs/namei.c:2412: error: dereferencing pointer to incomplete type fs/namei.c:2416: error: 'ENOENT' undeclared (first use in this function) fs/namei.c:2418: error: 'NULL' undeclared (first use in this function) fs/namei.c:2418: warning: passing argument 1 of 'may_create' from incompatible pointer type fs/namei.c:2422: error: dereferencing pointer to incomplete type fs/namei.c:2422: error: dereferencing pointer to incomplete type fs/namei.c:2423: error: 'EXDEV' undeclared (first use in this function) fs/namei.c:2429: error: 'EPERM' undeclared (first use in this function) fs/namei.c:2430: error: dereferencing pointer to incomplete type fs/namei.c:2430: error: dereferencing pointer to incomplete type fs/namei.c:2432: error: dereferencing pointer to incomplete type fs/namei.c:2435: error: implicit declaration of function 'security_inode_link' fs/namei.c:2439: error: dereferencing pointer to incomplete type fs/namei.c:2441: error: dereferencing pointer to incomplete type fs/namei.c:2442: error: dereferencing pointer to incomplete type fs/namei.c:2444: error: implicit declaration of function 'fsnotify_link' fs/namei.c: At top level: fs/namei.c:2457: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2545: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_rename_dir': fs/namei.c:2555: error: dereferencing pointer to incomplete type fs/namei.c:2555: error: 'MAY_WRITE' undeclared (first use in this function) fs/namei.c:2555: error: 'NULL' undeclared (first use in this function) fs/namei.c:2560: error: implicit declaration of function 'security_inode_rename' fs/namei.c:2564: error: dereferencing pointer to incomplete type fs/namei.c:2566: error: dereferencing pointer to incomplete type fs/namei.c:2570: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:2572: error: dereferencing pointer to incomplete type fs/namei.c:2575: error: dereferencing pointer to incomplete type fs/namei.c:2575: error: 'S_DEAD' undeclared (first use in this function) fs/namei.c:2576: error: dereferencing pointer to incomplete type fs/namei.c:2577: error: implicit declaration of function 'd_unhashed' fs/namei.c:2578: error: implicit declaration of function 'd_rehash' fs/namei.c:2582: error: dereferencing pointer to incomplete type fs/namei.c:2582: error: 'FS_RENAME_DOES_D_MOVE' undeclared (first use in this function) fs/namei.c:2583: error: implicit declaration of function 'd_move' fs/namei.c: At top level: fs/namei.c:2588: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_rename_other': fs/namei.c:2598: error: dereferencing pointer to incomplete type fs/namei.c:2600: error: dereferencing pointer to incomplete type fs/namei.c:2602: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:2604: error: dereferencing pointer to incomplete type fs/namei.c:2606: error: dereferencing pointer to incomplete type fs/namei.c:2606: error: 'FS_RENAME_DOES_D_MOVE' undeclared (first use in this function) fs/namei.c:2610: error: dereferencing pointer to incomplete type fs/namei.c: At top level: fs/namei.c:2616: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'vfs_rename': fs/namei.c:2619: error: dereferencing pointer to incomplete type fs/namei.c:2622: error: dereferencing pointer to incomplete type fs/namei.c:2622: error: dereferencing pointer to incomplete type fs/namei.c:2625: warning: passing argument 1 of 'may_delete' from incompatible pointer type fs/namei.c:2629: error: dereferencing pointer to incomplete type cc1: error: include/linux/autoconf.h: No such file or directory kernel/timer.c:22:31: error: linux/kernel_stat.h: No such file or directory kernel/timer.c:23:26: error: linux/module.h: No such file or directory kernel/timer.c:24:29: error: linux/interrupt.h: No such file or directory kernel/timer.c:25:26: error: linux/percpu.h: No such file or directory kernel/timer.c:26:24: error: linux/init.h: No such file or directory kernel/timer.c:27:22: error: linux/mm.h: No such file or directory kernel/timer.c:28:24: error: linux/swap.h: No such file or directory kernel/timer.c:29:33: error: linux/pid_namespace.h: No such file or directory kernel/timer.c:30:28: error: linux/notifier.h: No such file or directory kernel/timer.c:31:31: error: linux/thread_info.h: No such file or directory kernel/timer.c:32:24: error: linux/time.h: No such file or directory kernel/timer.c:33:27: error: linux/jiffies.h: No such file or directory kernel/timer.c:34:32: error: linux/posix-timers.h: No such file or directory kernel/timer.c:35:23: error: linux/cpu.h: No such file or directory kernel/timer.c:36:28: error: linux/syscalls.h: No such file or directory kernel/timer.c:37:25: error: linux/delay.h: No such file or directory kernel/timer.c:38:24: error: linux/tick.h: No such file or directory kernel/timer.c:39:28: mm/util.c:2:26: fs/namei.c:2630: error: 'NULL' undeclared (first use in this function)error: linux/kallsyms.h: No such file or directory kernel/timer.c:41:25:error: error: asm/uaccess.h: No such file or directory kernel/timer.c:42:24: error: asm/unistd.h: No such file or directory kernel/timer.c:43:23: error: asm/div64.h: No such file or directory kernel/timer.c:44:23: error: asm/timex.h: No such file or directory kernel/timer.c:45:20: error: asm/io.h: No such file or directory kernel/timer.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jiffies_64' kernel/timer.c:49: warning: data definition has no type or storage class kernel/timer.c:49: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/timer.c:49: warning: parameter names (without types) in function declaration kernel/timer.c:62: error: 'CONFIG_BASE_SMALL' undeclared here (not in a function) cc1: error: kernel/timer.c:70: error: expected specifier-qualifier-list before 'spinlock_t' linux/string.h: No such file or directory kernel/timer.c:81: warning: data definition has no type or storage class include/linux/autoconf.h: No such file or directory mm/util.c:3:26: error: linux/module.h: No such file or directory mm/util.c:4:23: error: linux/err.h: No such file or directory mm/util.c:5:25: error: asm/uaccess.h: No such file or directory mm/util.c:12: error: expected declaration specifiers or '...' before 'gfp_t' arch/x86/kernel/process.c:1:25: error: linux/errno.h: No such file or directory arch/x86/kernel/process.c:2:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/process.c:3:22: error: linux/mm.h: No such file or directory arch/x86/kernel/process.c:4:23: error: kernel/timer.c:81: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/util.c: In function 'kstrdup': fs/namei.c:2630: warning: passing argument 1 of 'may_create' from incompatible pointer type linux/smp.h: No such file or directory arch/x86/kernel/process.c:5:24: error: linux/slab.h: No such file or directory fs/namei.c:2632: warning: passing argument 1 of 'may_delete' from incompatible pointer typearch/x86/kernel/process.c:6:25: error: linux/sched.h: No such file or directory mm/util.c:14: error: 'size_t' undeclared (first use in this function)arch/x86/kernel/process.c:7:26: kernel/timer.c:81: warning: parameter names (without types) in function declaration error: mm/util.c:14: error: (Each undeclared identifier is reported only oncekernel/timer.c:82: error: expected declaration specifiers or '...' before 'tvec_bases' linux/module.h: No such file or directory kernel/timer.c:82: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' arch/x86/kernel/process.c:8:22: error: linux/pm.h: No such file or directory mm/util.c:14: error: for each function it appears in.) kernel/timer.c:82: error: function 'DEFINE_PER_CPU' is initialized like a variable arch/x86/kernel/process.c:9:30:mm/util.c:14: error: expected ';' before 'len' error: linux/clockchips.h: No such file or directory mm/util.c:15: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/process.c:10:24: error: asm/system.h: No such file or directory mm/util.c:18: error: 'NULL' undeclared (first use in this function) mm/util.c:20: error: 'len' undeclared (first use in this function) mm/util.c:20: error: implicit declaration of function 'strlen' arch/x86/kernel/process.c:13: warning: data definition has no type or storage class arch/x86/kernel/process.c:13: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/process.c:13: warning: parameter names (without types) in function declaration mm/util.c:21: error: implicit declaration of function 'kmalloc_track_caller' kernel/timer.c:102: warning: 'struct timer_list' declared inside parameter listmm/util.c:21: error: 'gfp' undeclared (first use in this function)fs/namei.c:2636: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:15: warning: data definition has no type or storage class fs/namei.c:2636: error: dereferencing pointer to incomplete type kernel/timer.c:102: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/process.c:15: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/timer.c: In function 'timer_set_deferrable':mm/util.c:21: warning: assignment makes pointer from integer without a cast fs/namei.c:2637: error: 'EPERM' undeclared (first use in this function) mm/util.c:23: error: implicit declaration of function 'memcpy' fs/namei.c:2642: error: implicit declaration of function 'fsnotify_oldname_init' fs/namei.c:2642: error: dereferencing pointer to incomplete type fs/namei.c:2642: warning: assignment makes pointer from integer without a cast fs/namei.c:2645: warning: passing argument 1 of 'vfs_rename_dir' from incompatible pointer type fs/namei.c:2645: warning: passing argument 3 of 'vfs_rename_dir' from incompatible pointer typemm/util.c: At top level: mm/util.c:26: warning: data definition has no type or storage class mm/util.c:26: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/util.c:26: warning: parameter names (without types) in function declaration CC kernel/user.o arch/x86/kernel/process.c:15: warning: parameter names (without types) in function declaration mm/util.c:34: error: expected declaration specifiers or '...' before 'size_t' mm/util.c:34: error: expected declaration specifiers or '...' before 'gfp_t' kernel/timer.c:104: error: dereferencing pointer to incomplete type kernel/timer.c:104: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' arch/x86/kernel/process.c:20: warning: 'struct task_struct' declared inside parameter list kernel/timer.c: At top level: fs/namei.c:2647: warning: passing argument 1 of 'vfs_rename_other' from incompatible pointer type mm/util.c: In function 'kstrndup': arch/x86/kernel/process.c:20: warning: its scope is only this definition or declaration, which is probably not what you want kernel/timer.c:109: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'timer_set_base': arch/x86/kernel/process.c: In function 'arch_dup_task_struct':fs/namei.c:2647: warning: passing argument 3 of 'vfs_rename_other' from incompatible pointer typemm/util.c:36: error: 'size_t' undeclared (first use in this function) kernel/timer.c:111: error: dereferencing pointer to incomplete typemm/util.c:36: error: expected ';' before 'len' mm/util.c:37: warning: ISO C90 forbids mixed declarations and code mm/util.c:40: error: 'NULL' undeclared (first use in this function) mm/util.c:42: error: 'len' undeclared (first use in this function) mm/util.c:42: error: implicit declaration of function 'strnlen' mm/util.c:42: error: 'max' undeclared (first use in this function) mm/util.c:43: error: 'gfp' undeclared (first use in this function) mm/util.c:43: warning: assignment makes pointer from integer without a cast arch/x86/kernel/process.c:22: error: dereferencing pointer to incomplete type kernel/timer.c:112: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:22: error: dereferencing pointer to incomplete typemm/util.c: At top level: mm/util.c:50: warning: data definition has no type or storage class mm/util.c:50: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/process.c:23: error: dereferencing pointer to incomplete type mm/util.c:50: warning: parameter names (without types) in function declarationarch/x86/kernel/process.c:24: error: dereferencing pointer to incomplete type kernel/timer.c: In function '__round_jiffies': arch/x86/kernel/process.c:24: error: implicit declaration of function 'kmem_cache_alloc' mm/util.c:59: error: expected declaration specifiers or '...' before 'size_t' mm/util.c:59: error: expected declaration specifiers or '...' before 'gfp_t' mm/util.c: In function 'kmemdup': mm/util.c:63: error: 'len' undeclared (first use in this function) mm/util.c:63: error: 'gfp' undeclared (first use in this function) mm/util.c:63: warning: assignment makes pointer from integer without a cast mm/util.c: At top level: mm/util.c:68: warning: data definition has no type or storage class mm/util.c:68: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/util.c:68: warning: parameter names (without types) in function declaration mm/util.c:81: error: expected declaration specifiers or '...' before 'size_t' mm/util.c:81: error: expected declaration specifiers or '...' before 'gfp_t' mm/util.c: In function 'krealloc': mm/util.c:84: error: 'size_t' undeclared (first use in this function) mm/util.c:84: error: expected ';' before 'ks' mm/util.c:86: error: implicit declaration of function 'unlikely' mm/util.c:86: error: 'new_size' undeclared (first use in this function) mm/util.c:87: error: implicit declaration of function 'kfree' mm/util.c:88: error: 'ZERO_SIZE_PTR' undeclared (first use in this function) mm/util.c:92: error: 'ks' undeclared (first use in this function) mm/util.c:92: error: implicit declaration of function 'ksize' mm/util.c:97: error: 'flags' undeclared (first use in this function) mm/util.c:97: warning: assignment makes pointer from integer without a cast mm/util.c: At top level: mm/util.c:104: warning: data definition has no type or storage class mm/util.c:104: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/util.c:104: warning: parameter names (without types) in function declaration mm/util.c:111: error: expected ';', ',' or ')' before '*' token mm/util.c:138: warning: data definition has no type or storage class mm/util.c:138: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/util.c:138: warning: parameter names (without types) in function declaration fs/namei.c:2649: error: dereferencing pointer to incomplete typekernel/timer.c:150: error: 'HZ' undeclared (first use in this function) kernel/timer.c:150: error: (Each undeclared identifier is reported only once kernel/timer.c:150: error: for each function it appears in.) arch/x86/kernel/process.c:25: error: 'GFP_KERNEL' undeclared (first use in this function) arch/x86/kernel/process.c:25: error: (Each undeclared identifier is reported only once kernel/timer.c:166: error: 'jiffies' undeclared (first use in this function) arch/x86/kernel/process.c:25: error: for each function it appears in.) arch/x86/kernel/process.c:26: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:27: error: 'ENOMEM' undeclared (first use in this function) kernel/timer.c: At top level: arch/x86/kernel/process.c:28: error: implicit declaration of function 'WARN_ON' kernel/timer.c:170: warning: data definition has no type or storage class arch/x86/kernel/process.c:28: error: dereferencing pointer to incomplete type kernel/timer.c:170: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/timer.c:170: warning: parameter names (without types) in function declaration arch/x86/kernel/process.c:29: error: implicit declaration of function 'memcpy' arch/x86/kernel/process.c:29: error: dereferencing pointer to incomplete type kernel/timer.c: In function '__round_jiffies_relative': kernel/timer.c:200: error: 'jiffies' undeclared (first use in this function) arch/x86/kernel/process.c:29: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:29: error: 'xstate_size' undeclared (first use in this function) kernel/timer.c: At top level: kernel/timer.c:202: warning: data definition has no type or storage class kernel/timer.c:202: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/timer.c:202: warning: parameter names (without types) in function declaration arch/x86/kernel/process.c: At top level: arch/x86/kernel/process.c:34: warning: 'struct task_struct' declared inside parameter list kernel/timer.c: In function 'round_jiffies': kernel/timer.c:221: error: implicit declaration of function 'raw_smp_processor_id' kernel/timer.c: At top level: kernel/timer.c:223: warning: data definition has no type or storage class kernel/timer.c:223: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/timer.c:223: warning: parameter names (without types) in function declaration kernel/timer.c:244: warning: data definition has no type or storage class kernel/timer.c:244: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/timer.c:244: warning: parameter names (without types) in function declaration kernel/timer.c:248: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:255: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'internal_add_timer': kernel/timer.c:257: error: dereferencing pointer to incomplete type kernel/timer.c:258: error: 'struct tvec_base' has no member named 'timer_jiffies' kernel/timer.c:263: error: 'struct tvec_base' has no member named 'tv1' kernel/timer.c:266: error: 'struct tvec_base' has no member named 'tv2' kernel/timer.c:269: error: 'struct tvec_base' has no member named 'tv3' kernel/timer.c:272: error: 'struct tvec_base' has no member named 'tv4' kernel/timer.c:278: error: 'struct tvec_base' has no member named 'tv1' kernel/timer.c:278: error: 'struct tvec_base' has no member named 'timer_jiffies' kernel/timer.c:286: error: 'struct tvec_base' has no member named 'timer_jiffies' kernel/timer.c:289: error: 'struct tvec_base' has no member named 'tv5' kernel/timer.c:294: error: implicit declaration of function 'list_add_tail' kernel/timer.c:294: error: dereferencing pointer to incomplete type kernel/timer.c: At top level: kernel/timer.c:320: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:441: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:442: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:443: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:446: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function '__init_timer': kernel/timer.c:448: error: dereferencing pointer to incomplete type kernel/timer.c:448: error: 'NULL' undeclared (first use in this function) kernel/timer.c:449: error: dereferencing pointer to incomplete type kernel/timer.c:449: error: implicit declaration of function '__raw_get_cpu_var' kernel/timer.c:449: error: 'tvec_bases' undeclared (first use in this function) kernel/timer.c: At top level: kernel/timer.c:464: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'init_timer': kernel/timer.c:466: warning: passing argument 1 of 'debug_timer_init' from incompatible pointer type kernel/timer.c:467: warning: passing argument 1 of '__init_timer' from incompatible pointer type kernel/timer.c: At top level: kernel/timer.c:469: warning: data definition has no type or storage class kernel/timer.c:469: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/timer.c:469: warning: parameter names (without types) in function declaration kernel/timer.c:471: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'init_timer_deferrable': kernel/timer.c:473: warning: passing argument 1 of 'init_timer' from incompatible pointer type kernel/timer.c:474: warning: passing argument 1 of 'timer_set_deferrable' from incompatible pointer type kernel/timer.c: At top level: kernel/timer.c:476: warning: data definition has no type or storage class kernel/timer.c:476: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/timer.c:476: warning: parameter names (without types) in function declaration kernel/timer.c:479: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'detach_timer': kernel/timer.c:481: error: dereferencing pointer to incomplete type kernel/timer.c:483: warning: passing argument 1 of 'debug_timer_deactivate' from incompatible pointer type kernel/timer.c:485: error: implicit declaration of function '__list_del' kernel/timer.c:485: error: dereferencing pointer to incomplete type kernel/timer.c:485: error: dereferencing pointer to incomplete type kernel/timer.c:487: error: dereferencing pointer to incomplete type kernel/timer.c:487: error: 'NULL' undeclared (first use in this function) kernel/timer.c:488: error: dereferencing pointer to incomplete type kernel/timer.c:488: error: 'LIST_POISON2' undeclared (first use in this function) kernel/timer.c: At top level: kernel/timer.c:504: warning: 'struct timer_list' declared inside parameter list kernel/timer.c: In function 'lock_timer_base': kernel/timer.c:505: error: expected declaration specifiers before '__acquires' kernel/timer.c:523: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:524: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:568: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:577: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:578: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:620: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:621: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:636: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:649: warning: 'struct timer_list' declared inside parameter list kernel/timer.c:650: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:668: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:735: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:764: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:953: warning: 'struct task_struct' declared inside parameter list kernel/timer.c:954: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:972: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:989: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1003: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1010: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1029: warning: 'struct softirq_action' declared inside parameter list kernel/timer.c:1030: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1043: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1054: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1066: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1100: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1111: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1122: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1128: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1134: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1140: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1149: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'schedule_timeout' kernel/timer.c:1228: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'schedule_timeout_interruptible' kernel/timer.c:1239: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1241: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'schedule_timeout_killable' kernel/timer.c:1246: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'schedule_timeout_uninterruptible' kernel/timer.c:1253: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1256: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1265: warning: 'struct sysinfo' declared inside parameter list kernel/timer.c:1266: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1348: error: expected declaration specifiers before 'asmlinkage' kernel/timer.c:1360: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_timers_cpu' kernel/timer.c:1461: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_cpu_notify' kernel/timer.c:1483: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timers_nb' kernel/timer.c:1485: error: expected declaration specifiers before ';' token kernel/timer.c:1488: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_timers' kernel/timer.c:1505: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1512: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1519: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/timer.c:1527: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/timer.c:1527: error: old-style parameter declarations in prototyped function definition kernel/timer.c:1527: error: expected '{' at end of input fs/namei.c:2650: error: implicit declaration of function 'fsnotify_move'arch/x86/kernel/process.c: In function 'free_thread_xstate': arch/x86/kernel/process.c:36: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:37: error: implicit declaration of function 'kmem_cache_free' fs/namei.c:2651: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:37: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:38: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:38: error: 'NULL' undeclared (first use in this function)fs/namei.c:2653: error: implicit declaration of function 'fsnotify_oldname_free' arch/x86/kernel/process.c: At top level: arch/x86/kernel/process.c:42: warning: 'struct thread_info' declared inside parameter list arch/x86/kernel/process.c: In function 'free_thread_info': arch/x86/kernel/process.c:44: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:45: error: implicit declaration of function 'free_pages' arch/x86/kernel/process.c:45: error: implicit declaration of function 'get_order' arch/x86/kernel/process.c:45: error: 'THREAD_SIZE' undeclared (first use in this function) arch/x86/kernel/process.c: In function 'arch_task_cache_init': arch/x86/kernel/process.c:51: error: implicit declaration of function 'kmem_cache_create' fs/namei.c: In function 'do_rename': fs/namei.c:2665: error: storage size of 'oldnd' isn't known arch/x86/kernel/process.c:51: error: 'xstate_size' undeclared (first use in this function) fs/namei.c:2665: error: storage size of 'newnd' isn't known arch/x86/kernel/process.c:52: error: invalid application of '__alignof__' to incomplete type 'union thread_xstate' fs/namei.c:2667: error: 'LOOKUP_PARENT' undeclared (first use in this function) arch/x86/kernel/process.c:53: error: 'SLAB_PANIC' undeclared (first use in this function) arch/x86/kernel/process.c:53: error: 'SLAB_NOTRACK' undeclared (first use in this function) arch/x86/kernel/process.c:53: error: 'NULL' undeclared (first use in this function) fs/namei.c:2675: error: 'EXDEV' undeclared (first use in this function) arch/x86/kernel/process.c:53: warning: assignment makes pointer from integer without a cast fs/namei.c:2680: error: 'EBUSY' undeclared (first use in this function) fs/namei.c:2681: error: 'LAST_NORM' undeclared (first use in this function) arch/x86/kernel/process.c: At top level: fs/namei.c:2695: error: 'ENOENT' undeclared (first use in this function) arch/x86/kernel/process.c:60: warning: data definition has no type or storage classfs/namei.c:2696: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:60: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2699: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c:60: warning: parameter names (without types) in function declaration fs/namei.c:2700: error: 'ENOTDIR' undeclared (first use in this function) arch/x86/kernel/process.c:66: warning: data definition has no type or storage class arch/x86/kernel/process.c:66: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2707: error: 'EINVAL' undeclared (first use in this function) arch/x86/kernel/process.c:66: warning: parameter names (without types) in function declaration fs/namei.c:2715: error: 'ENOTEMPTY' undeclared (first use in this function) fs/namei.c:2722: error: dereferencing pointer to incomplete type fs/namei.c:2723: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c: In function 'default_idle': arch/x86/kernel/process.c:104: error: implicit declaration of function 'current_thread_info' arch/x86/kernel/process.c:104: error: invalid type argument of '->' fs/namei.c:2665: warning: unused variable 'newnd' arch/x86/kernel/process.c:104: error: 'TS_POLLING' undeclared (first use in this function) fs/namei.c:2665: warning: unused variable 'oldnd' arch/x86/kernel/process.c:109: error: implicit declaration of function 'smp_mb' arch/x86/kernel/process.c:111: error: implicit declaration of function 'need_resched' arch/x86/kernel/process.c:112: error: implicit declaration of function 'safe_halt' arch/x86/kernel/process.c:114: error: implicit declaration of function 'local_irq_enable' arch/x86/kernel/process.c:115: error: invalid type argument of '->' fs/namei.c: At top level: arch/x86/kernel/process.c:119: error: implicit declaration of function 'cpu_relax' fs/namei.c:2739: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2759: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namei.c:2764: error: expected ';', ',' or ')' before '*' token fs/namei.c:2786: error: expected ';', ',' or ')' before '*' token fs/namei.c:2803: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'vfs_follow_link': fs/namei.c:2805: error: implicit declaration of function '__vfs_follow_link' fs/namei.c: At top level: fs/namei.c:2809: warning: 'struct page' declared inside parameter list fs/namei.c: In function 'page_getlink': fs/namei.c:2812: error: dereferencing pointer to incomplete type fs/namei.c:2813: error: implicit declaration of function 'read_mapping_page' fs/namei.c:2813: error: 'NULL' undeclared (first use in this function) fs/namei.c:2813: warning: assignment makes pointer from integer without a cast fs/namei.c:2817: error: implicit declaration of function 'kmap' fs/namei.c:2817: warning: return makes pointer from integer without a cast arch/x86/kernel/process.c: In function 'cpu_idle_wait': fs/namei.c: At top level: fs/namei.c:2820: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/process.c:142: error: implicit declaration of function 'smp_call_function' fs/namei.c:2832: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'page_follow_link_light': fs/namei.c:2834: error: 'NULL' undeclared (first use in this function)arch/x86/kernel/process.c:142: error: 'NULL' undeclared (first use in this function) fs/namei.c:2835: error: implicit declaration of function 'nd_set_link' fs/namei.c:2835: warning: passing argument 2 of 'page_getlink' from incompatible pointer type arch/x86/kernel/process.c: At top level: arch/x86/kernel/process.c:144: warning: data definition has no type or storage class arch/x86/kernel/process.c:144: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namei.c: At top level: arch/x86/kernel/process.c:144: warning: parameter names (without types) in function declaration fs/namei.c:2839: warning: 'struct nameidata' declared inside parameter list fs/namei.c: In function 'page_put_link': fs/namei.c:2844: error: implicit declaration of function 'kunmap' arch/x86/kernel/process.c: In function 'mwait_idle_with_hints': fs/namei.c:2845: error: implicit declaration of function 'page_cache_release' arch/x86/kernel/process.c:159: error: implicit declaration of function '__monitor' arch/x86/kernel/process.c:159: error: invalid type argument of '->' fs/namei.c: At top level: arch/x86/kernel/process.c:162: error: implicit declaration of function '__mwait' fs/namei.c:2850: error: expected declaration specifiers or '...' before 'gfp_t' fs/namei.c:2850: warning: 'struct inode' declared inside parameter list fs/namei.c: In function '__page_symlink': fs/namei.c:2852: error: dereferencing pointer to incomplete type arch/x86/kernel/process.c: In function 'mwait_idle': arch/x86/kernel/process.c:170: error: invalid type argument of '->' fs/namei.c:2859: error: implicit declaration of function 'pagecache_write_begin' fs/namei.c:2859: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/process.c:173: error: implicit declaration of function '__sti_mwait' fs/namei.c:2860: error: 'AOP_FLAG_UNINTERRUPTIBLE' undeclared (first use in this function) fs/namei.c:2864: error: implicit declaration of function 'kmap_atomic' fs/namei.c:2864: error: 'KM_USER0' undeclared (first use in this function) fs/namei.c:2864: warning: assignment makes pointer from integer without a cast fs/namei.c:2865: error: implicit declaration of function 'memcpy' arch/x86/kernel/process.c: At top level: fs/namei.c:2866: error: implicit declaration of function 'kunmap_atomic' fs/namei.c:2868: error: implicit declaration of function 'pagecache_write_end' arch/x86/kernel/process.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'force_mwait' fs/namei.c:2875: error: implicit declaration of function 'mark_inode_dirty' arch/x86/kernel/process.c:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mwait_usable' arch/x86/kernel/process.c:234: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'check_c1e_idle' arch/x86/kernel/process.c: In function 'c1e_idle': fs/namei.c: At top level: arch/x86/kernel/process.c:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'c1e_mask' fs/namei.c:2881: warning: 'struct inode' declared inside parameter list fs/namei.c: In function 'page_symlink': fs/namei.c:2884: error: implicit declaration of function 'mapping_gfp_mask' fs/namei.c:2884: error: dereferencing pointer to incomplete type fs/namei.c:2884: warning: passing argument 1 of '__page_symlink' from incompatible pointer type fs/namei.c:2884: error: too many arguments to function '__page_symlink' fs/namei.c: At top level: fs/namei.c:2887: error: variable 'page_symlink_inode_operations' has initializer but incomplete type fs/namei.c:2888: error: unknown field 'readlink' specified in initializer fs/namei.c:2888: error: 'generic_readlink' undeclared here (not in a function) fs/namei.c:2888: warning: excess elements in struct initializer make[1]: arch/x86/kernel/process.c:256: error: 'c1e_mask' undeclared (first use in this function) fs/namei.c:2888: warning: (near initialization for 'page_symlink_inode_operations')make[1]: *** [kernel/timer.o] Error 1arch/x86/kernel/process.c:256: error: 'CPU_MASK_NONE' undeclared (first use in this function) *** [mm/util.o] Error 1 arch/x86/kernel/process.c:257: warning: ISO C90 forbids mixed declarations and code fs/namei.c:2889: error: unknown field 'follow_link' specified in initializer fs/namei.c:2889: warning: excess elements in struct initializer fs/namei.c:2889: warning: (near initialization for 'page_symlink_inode_operations') fs/namei.c:2890: error: unknown field 'put_link' specified in initializer fs/namei.c:2890: warning: excess elements in struct initializer fs/namei.c:2890: warning: (near initialization for 'page_symlink_inode_operations') fs/namei.c:2893: warning: data definition has no type or storage class fs/namei.c:2893: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2893: warning: parameter names (without types) in function declaration fs/namei.c:2894: warning: data definition has no type or storage class fs/namei.c:2894: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2894: warning: parameter names (without types) in function declaration fs/namei.c:2895: warning: data definition has no type or storage class fs/namei.c:2895: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2895: warning: parameter names (without types) in function declaration fs/namei.c:2896: warning: data definition has no type or storage class fs/namei.c:2896: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2896: warning: parameter names (without types) in function declaration arch/x86/kernel/process.c:263: error: 'u32' undeclared (first use in this function) fs/namei.c:2897: warning: data definition has no type or storage class fs/namei.c:2897: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/process.c:263: error: expected ';' before 'lo' fs/namei.c:2897: warning: parameter names (without types) in function declaration arch/x86/kernel/process.c:265: error: implicit declaration of function 'rdmsr' fs/namei.c:2898: warning: data definition has no type or storage class fs/namei.c:2898: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2898: warning: parameter names (without types) in function declaration fs/namei.c:2899: warning: data definition has no type or storage class fs/namei.c:2899: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2899: warning: parameter names (without types) in function declaration fs/namei.c:2900: warning: data definition has no type or storage class fs/namei.c:2900: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2900: warning: parameter names (without types) in function declaration fs/namei.c:2901: warning: data definition has no type or storage class fs/namei.c:2901: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2901: warning: parameter names (without types) in function declaration fs/namei.c:2902: warning: data definition has no type or storage class fs/namei.c:2902: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2902: warning: parameter names (without types) in function declaration fs/namei.c:2903: warning: data definition has no type or storage class fs/namei.c:2903: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2903: warning: parameter names (without types) in function declaration fs/namei.c:2904: warning: data definition has no type or storage class fs/namei.c:2904: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2904: warning: parameter names (without types) in function declaration fs/namei.c:2905: warning: data definition has no type or storage class fs/namei.c:2905: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2905: warning: parameter names (without types) in function declaration fs/namei.c:2906: warning: data definition has no type or storage class fs/namei.c:2906: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2906: warning: parameter names (without types) in function declaration fs/namei.c:2907: warning: data definition has no type or storage class fs/namei.c:2907: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2907: warning: parameter names (without types) in function declaration fs/namei.c:2908: warning: data definition has no type or storage class fs/namei.c:2908: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2908: warning: parameter names (without types) in function declaration fs/namei.c:2909: warning: data definition has no type or storage class fs/namei.c:2909: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2909: warning: parameter names (without types) in function declaration fs/namei.c:2910: warning: data definition has no type or storage class fs/namei.c:2910: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2910: warning: parameter names (without types) in function declaration fs/namei.c:2911: warning: data definition has no type or storage class fs/namei.c:2911: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2911: warning: parameter names (without types) in function declaration fs/namei.c:2912: warning: data definition has no type or storage class fs/namei.c:2912: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2912: warning: parameter names (without types) in function declaration fs/namei.c:2913: warning: data definition has no type or storage class fs/namei.c:2913: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2913: warning: parameter names (without types) in function declaration fs/namei.c:2914: warning: data definition has no type or storage class fs/namei.c:2914: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2914: warning: parameter names (without types) in function declaration fs/namei.c:2915: warning: data definition has no type or storage class fs/namei.c:2915: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2915: warning: parameter names (without types) in function declaration fs/namei.c:2916: warning: data definition has no type or storage class fs/namei.c:2916: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2916: warning: parameter names (without types) in function declaration fs/namei.c:2917: warning: data definition has no type or storage class fs/namei.c:2917: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2917: warning: parameter names (without types) in function declaration fs/namei.c:2918: warning: data definition has no type or storage class fs/namei.c:2918: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2918: warning: parameter names (without types) in function declaration fs/namei.c:2919: warning: data definition has no type or storage class fs/namei.c:2919: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2919: warning: parameter names (without types) in function declaration fs/namei.c:2920: warning: data definition has no type or storage class fs/namei.c:2920: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2920: warning: parameter names (without types) in function declaration fs/namei.c:2921: warning: data definition has no type or storage class fs/namei.c:2921: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2921: warning: parameter names (without types) in function declaration fs/namei.c:2922: warning: data definition has no type or storage class fs/namei.c:2922: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2922: warning: parameter names (without types) in function declaration CC mm/mmzone.o arch/x86/kernel/process.c:265: error: 'MSR_K8_INT_PENDING_MSG' undeclared (first use in this function) CC arch/x86/kernel/i387.o fs/namei.c:2923: warning: data definition has no type or storage class fs/namei.c:2923: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namei.c:2923: warning: parameter names (without types) in function declaration fs/namei.c:2924: warning: data definition has no type or storage class fs/namei.c:2924: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' cc1: fs/namei.c:2924: warning: parameter names (without types) in function declarationerror: arch/x86/kernel/process.c:265: error: 'lo' undeclared (first use in this function) include/linux/autoconf.h: No such file or directory arch/x86/kernel/process.c:265: error: 'hi' undeclared (first use in this function) arch/x86/kernel/process.c:266: error: 'K8_INTP_C1E_ACTIVE_MASK' undeclared (first use in this function) arch/x86/kernel/process.c:268: error: implicit declaration of function 'mark_tsc_unstable' arch/x86/kernel/process.c:269: error: implicit declaration of function 'printk' arch/x86/kernel/process.c:269: error: 'KERN_INFO' undeclared (first use in this function) arch/x86/kernel/process.c:269: error: expected ')' before string constant arch/x86/kernel/process.c:274: error: implicit declaration of function 'smp_processor_id' arch/x86/kernel/process.c:276: error: implicit declaration of function 'cpu_isset' kernel/user.c:11:24: error: arch/x86/kernel/process.c:277: error: implicit declaration of function 'cpu_set' linux/init.h: No such file or directory arch/x86/kernel/process.c:284: error: implicit declaration of function 'clockevents_notify' kernel/user.c:12:25: arch/x86/kernel/process.c:284: error: 'CLOCK_EVT_NOTIFY_BROADCAST_FORCE' undeclared (first use in this function) error: linux/sched.h: No such file or directory arch/x86/kernel/process.c:286: error: expected ')' before string constant kernel/user.c:13:24: error: fs/namei.c:2925: warning: data definition has no type or storage class arch/x86/kernel/process.c:288: error: implicit declaration of function 'local_irq_disable' arch/x86/kernel/process.c:290: error: 'CLOCK_EVT_NOTIFY_BROADCAST_ENTER' undeclared (first use in this function) linux/slab.h: No such file or directory kernel/user.c:14:26: error: linux/bitops.h: No such file or directory fs/namei.c:2925: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'arch/x86/kernel/process.c:299: error: 'CLOCK_EVT_NOTIFY_BROADCAST_EXIT' undeclared (first use in this function) kernel/user.c:15:23: error: linux/key.h: No such file or directory kernel/user.c:16:29: error: linux/interrupt.h: No such file or directory kernel/user.c:17:26: error: linux/module.h: No such file or directory kernel/user.c:18:34: error: linux/user_namespace.h: No such file or directory arch/x86/kernel/process.c: At top level: arch/x86/kernel/process.c:305: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'select_idle_routine' kernel/user.c:20: error: variable 'init_user_ns' has initializer but incomplete type kernel/user.c:21: error: unknown field 'kref' specified in initializer arch/x86/kernel/process.c:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'idle_setup' kernel/user.c:21: error: extra brace group at end of initializer kernel/user.c:21: error: (near initialization for 'init_user_ns') kernel/user.c:22: error: implicit declaration of function 'ATOMIC_INIT' arch/x86/kernel/process.c:365: error: expected declaration specifiers or '...' before string constant kernel/user.c:23: warning: excess elements in struct initializer arch/x86/kernel/process.c:365: error: expected declaration specifiers or '...' before 'idle_setup' arch/x86/kernel/process.c:365: warning: data definition has no type or storage class kernel/user.c:23: warning: (near initialization for 'init_user_ns') arch/x86/kernel/process.c:365: warning: type defaults to 'int' in declaration of 'early_param'kernel/user.c:24: error: unknown field 'root_user' specified in initializerfs/namei.c:2925: warning: parameter names (without types) in function declaration kernel/user.c:24: error: 'root_user' undeclared here (not in a function) arch/x86/kernel/process.c:365: warning: function declaration isn't a prototype kernel/user.c:24: warning: excess elements in struct initializer kernel/user.c:24: warning: (near initialization for 'init_user_ns') kernel/user.c:26: warning: data definition has no type or storage class kernel/user.c:26: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/user.c:26: warning: parameter names (without types) in function declaration kernel/user.c:48: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/user.c:48: warning: parameter names (without types) in function declaration kernel/user.c:50: error: variable 'root_user' has initializer but incomplete type kernel/user.c:51: error: unknown field '__count' specified in initializer kernel/user.c:51: warning: excess elements in struct initializer kernel/user.c:51: warning: (near initialization for 'root_user') kernel/user.c:52: error: unknown field 'processes' specified in initializer kernel/user.c:52: warning: excess elements in struct initializer kernel/user.c:52: warning: (near initialization for 'root_user') kernel/user.c:53: error: unknown field 'files' specified in initializer kernel/user.c:53: warning: excess elements in struct initializer kernel/user.c:53: warning: (near initialization for 'root_user') kernel/user.c:54: error: unknown field 'sigpending' specified in initializer kernel/user.c:54: warning: excess elements in struct initializer kernel/user.c:54: warning: (near initialization for 'root_user') kernel/user.c:55: error: unknown field 'locked_shm' specified in initializer kernel/user.c:55: warning: excess elements in struct initializer kernel/user.c:55: warning: (near initialization for 'root_user') kernel/user.c:64: warning: 'struct hlist_head' declared inside parameter list kernel/user.c:64: warning: its scope is only this definition or declaration, which is probably not what you want kernel/user.c: In function 'uid_hash_insert': kernel/user.c:66: error: implicit declaration of function 'hlist_add_head' kernel/user.c:66: error: dereferencing pointer to incomplete type kernel/user.c: In function 'uid_hash_remove': kernel/user.c:71: error: implicit declaration of function 'hlist_del_init' kernel/user.c:71: error: dereferencing pointer to incomplete type kernel/user.c: At top level: kernel/user.c:74: error: expected ')' before 'uid' kernel/user.c:116: warning: 'struct task_struct' declared inside parameter list kernel/user.c: In function 'free_user': kernel/user.c:346: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/user.c:346: error: 'uidhash_lock' undeclared (first use in this function) kernel/user.c:346: error: (Each undeclared identifier is reported only once kernel/user.c:346: error: for each function it appears in.) kernel/user.c:348: error: implicit declaration of function 'key_put' kernel/user.c:348: error: dereferencing pointer to incomplete type kernel/user.c:349: error: dereferencing pointer to incomplete type kernel/user.c:350: error: implicit declaration of function 'kmem_cache_free' kernel/user.c: At top level: kernel/user.c:361: error: expected ')' before 'uid' kernel/user.c: In function 'free_uid': kernel/user.c:380: error: implicit declaration of function 'local_irq_save' kernel/user.c:381: error: implicit declaration of function 'atomic_dec_and_lock' kernel/user.c:381: error: dereferencing pointer to incomplete type kernel/user.c:381: error: 'uidhash_lock' undeclared (first use in this function) kernel/user.c:384: error: implicit declaration of function 'local_irq_restore' kernel/user.c: At top level: kernel/user.c:387: error: expected declaration specifiers or '...' before 'uid_t' kernel/user.c: In function 'alloc_uid': kernel/user.c:389: error: dereferencing pointer to incomplete type kernel/user.c:389: error: 'uid' undeclared (first use in this function) kernel/user.c:389: error: 'UIDHASH_BITS' undeclared (first use in this function) kernel/user.c:389: error: 'UIDHASH_SZ' undeclared (first use in this function) kernel/user.c:397: error: implicit declaration of function 'spin_lock_irq' kernel/user.c:397: error: 'uidhash_lock' undeclared (first use in this function) kernel/user.c:398: error: implicit declaration of function 'uid_hash_find' kernel/user.c:398: warning: assignment makes pointer from integer without a cast kernel/user.c:399: error: implicit declaration of function 'spin_unlock_irq' kernel/user.c:402: error: implicit declaration of function 'kmem_cache_zalloc' kernel/user.c:402: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/user.c:402: warning: assignment makes pointer from integer without a cast kernel/user.c:406: error: dereferencing pointer to incomplete type kernel/user.c:407: error: implicit declaration of function 'atomic_set' kernel/user.c:407: error: dereferencing pointer to incomplete type kernel/user.c:420: warning: assignment makes pointer from integer without a cast kernel/user.c:427: error: dereferencing pointer to incomplete type kernel/user.c:428: error: dereferencing pointer to incomplete type kernel/user.c:431: warning: passing argument 2 of 'uid_hash_insert' from incompatible pointer type kernel/user.c:448: error: 'NULL' undeclared (first use in this function) kernel/user.c: In function 'switch_uid': kernel/user.c:460: error: 'current' undeclared (first use in this function) kernel/user.c:461: error: implicit declaration of function 'atomic_inc' kernel/user.c:461: error: dereferencing pointer to incomplete type kernel/user.c:462: error: implicit declaration of function 'atomic_dec' kernel/user.c:462: error: dereferencing pointer to incomplete type kernel/user.c:463: error: implicit declaration of function 'switch_uid_keyring' kernel/user.c:474: error: implicit declaration of function 'smp_mb' kernel/user.c:475: error: implicit declaration of function 'spin_unlock_wait' kernel/user.c:478: error: implicit declaration of function 'suid_keys' kernel/user.c: At top level: kernel/user.c:508: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_cache_init' kernel/user.c:526: warning: data definition has no type or storage class kernel/user.c:526: warning: type defaults to 'int' in declaration of 'module_init' kernel/user.c:526: warning: parameter names (without types) in function declaration make[1]: *** [fs/namei.o] Error 1 make[1]: *** [arch/x86/kernel/process.o] Error 1 CC fs/fcntl.o CC mm/vmstat.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/i387.c:8:26: error: linux/module.h: No such file or directory arch/x86/kernel/i387.c:9:26: error: linux/regset.h: No such file or directory arch/x86/kernel/i387.c:10:25: error: linux/sched.h: No such file or directory arch/x86/kernel/i387.c:12:28: error: asm/sigcontext.h: No such file or directory arch/x86/kernel/i387.c:13:27: error: asm/processor.h: No such file or directory arch/x86/kernel/i387.c:14:26: error: asm/math_emu.h: No such file or directory arch/x86/kernel/i387.c:15:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/i387.c:16:24: error: asm/ptrace.h: No such file or directory arch/x86/kernel/i387.c:17:22: error: asm/i387.h: No such file or directory arch/x86/kernel/i387.c:18:22: error: asm/user.h: No such file or directory arch/x86/kernel/i387.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' arch/x86/kernel/i387.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' arch/x86/kernel/i387.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mxcsr_feature_mask_init' arch/x86/kernel/i387.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_thread_xstate' arch/x86/kernel/i387.c:99: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/i387.c:99: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/i387.c: In function 'init_fpu': arch/x86/kernel/i387.c:101: error: implicit declaration of function 'tsk_used_math' arch/x86/kernel/i387.c:102: error: 'current' undeclared (first use in this function) arch/x86/kernel/i387.c:102: error: (Each undeclared identifier is reported only once arch/x86/kernel/i387.c:102: error: for each function it appears in.) arch/x86/kernel/i387.c:103: error: implicit declaration of function 'unlazy_fpu' arch/x86/kernel/i387.c:110: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:111: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:111: error: implicit declaration of function 'kmem_cache_alloc' arch/x86/kernel/i387.c:111: error: 'task_xstate_cachep' undeclared (first use in this function) arch/x86/kernel/i387.c:112: error: 'GFP_KERNEL' undeclared (first use in this function) arch/x86/kernel/i387.c:113: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:114: error: 'ENOMEM' undeclared (first use in this function) arch/x86/kernel/i387.c:126: error: 'cpu_has_fxsr' undeclared (first use in this function) arch/x86/kernel/i387.c:127: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:129: error: implicit declaration of function 'memset' arch/x86/kernel/i387.c:130: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:131: error: 'cpu_has_xmm' undeclared (first use in this function) arch/x86/kernel/i387.c:132: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:132: error: 'MXCSR_DEFAULT' undeclared (first use in this function) arch/x86/kernel/i387.c:134: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:136: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:137: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:138: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:139: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c:144: error: implicit declaration of function 'set_stopped_child_used_math' arch/x86/kernel/i387.c: At top level: arch/x86/kernel/i387.c:148: warning: 'struct user_regset' declared inside parameter list arch/x86/kernel/i387.c:148: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/i387.c: In function 'fpregs_active': arch/x86/kernel/i387.c:150: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c: At top level: arch/x86/kernel/i387.c:153: warning: 'struct user_regset' declared inside parameter list arch/x86/kernel/i387.c:153: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/i387.c: In function 'xfpregs_active': arch/x86/kernel/i387.c:155: error: 'cpu_has_fxsr' undeclared (first use in this function) arch/x86/kernel/i387.c:155: error: dereferencing pointer to incomplete type arch/x86/kernel/i387.c: At top level: arch/x86/kernel/i387.c:160: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/i387.c:177: error: expected ';', ',' or ')' before '*' token cc1: error: include/linux/autoconf.h: No such file or directory mm/mmzone.c:8:26: error: linux/stddef.h: No such file or directory mm/mmzone.c:9:26: error: linux/mmzone.h: No such file or directory mm/mmzone.c:10:26: error: linux/module.h: No such file or directory mm/mmzone.c: In function 'first_online_pgdat': mm/mmzone.c:14: error: implicit declaration of function 'NODE_DATA' mm/mmzone.c:14: error: 'first_online_node' undeclared (first use in this function) mm/mmzone.c:14: error: (Each undeclared identifier is reported only once mm/mmzone.c:14: error: for each function it appears in.) mm/mmzone.c:14: warning: return makes pointer from integer without a cast mm/mmzone.c: In function 'next_online_pgdat': mm/mmzone.c:19: error: implicit declaration of function 'next_online_node' mm/mmzone.c:19: error: dereferencing pointer to incomplete type mm/mmzone.c:21: error: 'MAX_NUMNODES' undeclared (first use in this function) mm/mmzone.c:22: error: 'NULL' undeclared (first use in this function) mm/mmzone.c:23: warning: return makes pointer from integer without a cast mm/mmzone.c: In function 'next_zone': mm/mmzone.c:31: error: 'pg_data_t' undeclared (first use in this function) mm/mmzone.c:31: error: 'pgdat' undeclared (first use in this function) mm/mmzone.c:31: error: dereferencing pointer to incomplete type mm/mmzone.c:33: error: 'MAX_NR_ZONES' undeclared (first use in this function) mm/mmzone.c:34: error: increment of pointer to unknown structure mm/mmzone.c:34: error: arithmetic on pointer to an incomplete type mm/mmzone.c:40: error: 'NULL' undeclared (first use in this function) mm/mmzone.c: At top level: mm/mmzone.c:45: error: expected declaration specifiers or '...' before 'nodemask_t' mm/mmzone.c:45: warning: 'struct zoneref' declared inside parameter list mm/mmzone.c:45: warning: its scope is only this definition or declaration, which is probably not what you want mm/mmzone.c:57: error: expected declaration specifiers or '...' before 'nodemask_t' mm/mmzone.c:58: warning: 'enum zone_type' declared inside parameter list mm/mmzone.c:56: error: parameter 2 ('highest_zoneidx') has incomplete type mm/mmzone.c: In function 'next_zones_zonelist': mm/mmzone.c:64: error: implicit declaration of function 'likely' mm/mmzone.c:64: error: 'nodes' undeclared (first use in this function) mm/mmzone.c:64: error: 'NULL' undeclared (first use in this function) mm/mmzone.c:65: error: implicit declaration of function 'zonelist_zone_idx' mm/mmzone.c:66: error: increment of pointer to unknown structure mm/mmzone.c:66: error: arithmetic on pointer to an incomplete type mm/mmzone.c:69: error: dereferencing pointer to incomplete type mm/mmzone.c:69: warning: passing argument 1 of 'zref_in_nodemask' from incompatible pointer type mm/mmzone.c:69: error: too many arguments to function 'zref_in_nodemask' mm/mmzone.c:70: error: increment of pointer to unknown structure mm/mmzone.c:70: error: arithmetic on pointer to an incomplete type mm/mmzone.c:72: error: implicit declaration of function 'zonelist_zone' mm/mmzone.c:72: error: increment of pointer to unknown structure mm/mmzone.c:72: error: arithmetic on pointer to an incomplete type mm/mmzone.c:72: warning: assignment makes pointer from integer without a cast cc1: error: include/linux/autoconf.h: No such file or directory fs/fcntl.c:7:28: error: linux/syscalls.h: No such file or directory fs/fcntl.c:8:24: error: linux/init.h: No such file or directory fs/fcntl.c:9:22: error: linux/mm.h: No such file or directory fs/fcntl.c:10:22: error: linux/fs.h: No such file or directory fs/fcntl.c:11:24: error: linux/file.h: No such file or directory fs/fcntl.c:12:27: error: linux/fdtable.h: No such file or directory fs/fcntl.c:13:30: error: linux/capability.h: No such file or directory fs/fcntl.c:14:27: error: linux/dnotify.h: No such file or directory fs/fcntl.c:15:24: error: linux/slab.h: No such file or directory fs/fcntl.c:16:26: error: linux/module.h: No such file or directory fs/fcntl.c:17:28: error: linux/security.h: No such file or directory fs/fcntl.c:18:26: error: linux/ptrace.h: No such file or directory fs/fcntl.c:19:26: error: linux/signal.h: No such file or directory fs/fcntl.c:20:28: error: linux/rcupdate.h: No such file or directory fs/fcntl.c:21:33: error: linux/pid_namespace.h: No such file or directory fs/fcntl.c:23:22: error: asm/poll.h: No such file or directory fs/fcntl.c:24:25: error: asm/siginfo.h: No such file or directory fs/fcntl.c:25:25: error: asm/uaccess.h: No such file or directory fs/fcntl.c: In function 'set_close_on_exec': fs/fcntl.c:29: error: 'current' undeclared (first use in this function) fs/fcntl.c:29: error: (Each undeclared identifier is reported only once fs/fcntl.c:29: error: for each function it appears in.) fs/fcntl.c:31: error: implicit declaration of function 'spin_lock' fs/fcntl.c:31: error: dereferencing pointer to incomplete type fs/fcntl.c:32: error: implicit declaration of function 'files_fdtable' fs/fcntl.c:32: warning: assignment makes pointer from integer without a cast fs/fcntl.c:34: error: implicit declaration of function 'FD_SET' fs/fcntl.c:34: error: dereferencing pointer to incomplete type fs/fcntl.c:36: error: implicit declaration of function 'FD_CLR' fs/fcntl.c:36: error: dereferencing pointer to incomplete type fs/fcntl.c:37: error: implicit declaration of function 'spin_unlock' fs/fcntl.c:37: error: dereferencing pointer to incomplete type fs/fcntl.c: In function 'get_close_on_exec': fs/fcntl.c:42: error: 'current' undeclared (first use in this function) fs/fcntl.c:45: error: implicit declaration of function 'rcu_read_lock' fs/fcntl.c:46: warning: assignment makes pointer from integer without a cast fs/fcntl.c:47: error: implicit declaration of function 'FD_ISSET' fs/fcntl.c:47: error: dereferencing pointer to incomplete type fs/fcntl.c:48: error: implicit declaration of function 'rcu_read_unlock' fs/fcntl.c: In function 'locate_fd': fs/fcntl.c:60: error: 'current' undeclared (first use in this function) fs/fcntl.c:66: error: dereferencing pointer to incomplete type fs/fcntl.c:68: error: 'EINVAL' undeclared (first use in this function) fs/fcntl.c:69: error: 'RLIMIT_NOFILE' undeclared (first use in this function) fs/fcntl.c:73: warning: assignment makes pointer from integer without a cast fs/fcntl.c:79: error: dereferencing pointer to incomplete type fs/fcntl.c:80: error: dereferencing pointer to incomplete type fs/fcntl.c:83: error: dereferencing pointer to incomplete type fs/fcntl.c:84: error: implicit declaration of function 'find_next_zero_bit' fs/fcntl.c:84: error: dereferencing pointer to incomplete type fs/fcntl.c:85: error: dereferencing pointer to incomplete type fs/fcntl.c:87: error: 'EMFILE' undeclared (first use in this function) fs/fcntl.c:91: error: implicit declaration of function 'expand_files' fs/fcntl.c:102: error: dereferencing pointer to incomplete type fs/fcntl.c:103: error: dereferencing pointer to incomplete type fs/fcntl.c:105: error: dereferencing pointer to incomplete type fs/fcntl.c:107: error: dereferencing pointer to incomplete type fs/fcntl.c:109: error: dereferencing pointer to incomplete type fs/fcntl.c:113: error: dereferencing pointer to incomplete type fs/fcntl.c: At top level: fs/fcntl.c:117: warning: 'struct file' declared inside parameter list fs/fcntl.c:117: warning: its scope is only this definition or declaration, which is probably not what you want fs/fcntl.c: In function 'dupfd': fs/fcntl.c:121: error: implicit declaration of function 'fd_install' fs/fcntl.c:123: error: implicit declaration of function 'fput' fs/fcntl.c: At top level: fs/fcntl.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/fcntl.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/fcntl.c:196: warning: 'struct file' declared inside parameter list fs/fcntl.c: In function 'setfl': fs/fcntl.c:198: error: dereferencing pointer to incomplete type fs/fcntl.c:205: error: dereferencing pointer to incomplete type fs/fcntl.c:205: error: 'O_APPEND' undeclared (first use in this function) fs/fcntl.c:205: error: implicit declaration of function 'IS_APPEND' fs/fcntl.c:206: error: 'EPERM' undeclared (first use in this function) fs/fcntl.c:209: error: 'O_NOATIME' undeclared (first use in this function) fs/fcntl.c:209: error: dereferencing pointer to incomplete type fs/fcntl.c:210: error: implicit declaration of function 'is_owner_or_cap' fs/fcntl.c:214: error: 'O_NONBLOCK' undeclared (first use in this function) fs/fcntl.c:214: error: 'O_NDELAY' undeclared (first use in this function) fs/fcntl.c:218: error: 'O_DIRECT' undeclared (first use in this function) fs/fcntl.c:219: error: dereferencing pointer to incomplete type fs/fcntl.c:219: error: dereferencing pointer to incomplete type fs/fcntl.c:220: error: dereferencing pointer to incomplete type fs/fcntl.c:221: error: 'EINVAL' undeclared (first use in this function) fs/fcntl.c:224: error: dereferencing pointer to incomplete type fs/fcntl.c:224: error: dereferencing pointer to incomplete type fs/fcntl.c:225: error: dereferencing pointer to incomplete type fs/fcntl.c:229: error: dereferencing pointer to incomplete type fs/fcntl.c:229: error: 'FASYNC' undeclared (first use in this function) fs/fcntl.c:230: error: dereferencing pointer to incomplete type fs/fcntl.c:230: error: dereferencing pointer to incomplete type fs/fcntl.c:231: error: dereferencing pointer to incomplete type fs/fcntl.c:237: error: dereferencing pointer to incomplete type fs/fcntl.c:237: error: dereferencing pointer to incomplete type fs/fcntl.c: At top level: fs/fcntl.c:243: error: expected declaration specifiers or '...' before 'uid_t' fs/fcntl.c:243: error: expected declaration specifiers or '...' before 'uid_t' fs/fcntl.c:243: warning: 'enum pid_type' declared inside parameter list fs/fcntl.c:243: warning: 'struct pid' declared inside parameter list fs/fcntl.c:243: warning: 'struct file' declared inside parameter list fs/fcntl.c:242: error: parameter 3 ('type') has incomplete type fs/fcntl.c: In function 'f_modown': fs/fcntl.c:245: error: implicit declaration of function 'write_lock_irq' fs/fcntl.c:245: error: dereferencing pointer to incomplete type fs/fcntl.c:246: error: dereferencing pointer to incomplete type fs/fcntl.c:247: error: implicit declaration of function 'put_pid' fs/fcntl.c:247: error: dereferencing pointer to incomplete type fs/fcntl.c:248: error: dereferencing pointer to incomplete type fs/fcntl.c:248: error: implicit declaration of function 'get_pid' fs/fcntl.c:249: error: dereferencing pointer to incomplete type fs/fcntl.c:250: error: dereferencing pointer to incomplete type fs/fcntl.c:250: error: 'uid' undeclared (first use in this function) fs/fcntl.c:251: error: dereferencing pointer to incomplete type fs/fcntl.c:251: error: 'euid' undeclared (first use in this function) fs/fcntl.c:253: error: implicit declaration of function 'write_unlock_irq' fs/fcntl.c:253: error: dereferencing pointer to incomplete type fs/fcntl.c: At top level: fs/fcntl.c:257: warning: 'enum pid_type' declared inside parameter list fs/fcntl.c:257: warning: 'struct pid' declared inside parameter list fs/fcntl.c:257: warning: 'struct file' declared inside parameter list fs/fcntl.c:256: error: parameter 3 ('type') has incomplete type fs/fcntl.c: In function '__f_setown': fs/fcntl.c:261: error: implicit declaration of function 'security_file_set_fowner' fs/fcntl.c:265: error: 'current' undeclared (first use in this function) fs/fcntl.c:265: warning: passing argument 1 of 'f_modown' from incompatible pointer type fs/fcntl.c:265: warning: passing argument 2 of 'f_modown' from incompatible pointer type fs/fcntl.c:265: error: type of formal parameter 3 is incomplete fs/fcntl.c:265: error: too many arguments to function 'f_modown' fs/fcntl.c: At top level: fs/fcntl.c:268: warning: data definition has no type or storage class fs/fcntl.c:268: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fcntl.c:268: warning: parameter names (without types) in function declaration fs/fcntl.c:270: warning: 'struct file' declared inside parameter list fs/fcntl.c: In function 'f_setown': fs/fcntl.c:272: error: storage size of 'type' isn't known fs/fcntl.c:276: error: 'PIDTYPE_PID' undeclared (first use in this function) fs/fcntl.c:278: error: 'PIDTYPE_PGID' undeclared (first use in this function) fs/fcntl.c:282: error: implicit declaration of function 'find_vpid' fs/fcntl.c:282: warning: assignment makes pointer from integer without a cast fs/fcntl.c:283: warning: passing argument 1 of '__f_setown' from incompatible pointer type fs/fcntl.c:283: warning: passing argument 2 of '__f_setown' from incompatible pointer type fs/fcntl.c:283: error: type of formal parameter 3 is incomplete fs/fcntl.c:272: warning: unused variable 'type' fs/fcntl.c: At top level: fs/fcntl.c:287: warning: data definition has no type or storage class fs/fcntl.c:287: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fcntl.c:287: warning: parameter names (without types) in function declaration fs/fcntl.c:289: warning: 'struct file' declared inside parameter list fs/fcntl.c: In function 'f_delown': fs/fcntl.c:291: error: 'NULL' undeclared (first use in this function) fs/fcntl.c:291: error: 'PIDTYPE_PID' undeclared (first use in this function) fs/fcntl.c:291: warning: passing argument 1 of 'f_modown' from incompatible pointer type fs/fcntl.c:291: error: type of formal parameter 3 is incomplete fs/fcntl.c:291: error: too many arguments to function 'f_modown' fs/fcntl.c: At top level: fs/fcntl.c:294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'f_getown' fs/fcntl.c:306: warning: 'struct file' declared inside parameter list fs/fcntl.c: In function 'do_fcntl': fs/fcntl.c:308: error: 'EINVAL' undeclared (first use in this function) fs/fcntl.c:311: error: 'F_DUPFD' undeclared (first use in this function) fs/fcntl.c:312: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function) fs/fcntl.c:313: error: implicit declaration of function 'get_file' fs/fcntl.c:314: warning: passing argument 1 of 'dupfd' from incompatible pointer type fs/fcntl.c:316: error: 'F_GETFD' undeclared (first use in this function) fs/fcntl.c:317: error: 'FD_CLOEXEC' undeclared (first use in this function) fs/fcntl.c:319: error: 'F_SETFD' undeclared (first use in this function) fs/fcntl.c:323: error: 'F_GETFL' undeclared (first use in this function) fs/fcntl.c:324: error: dereferencing pointer to incomplete type fs/fcntl.c:326: error: 'F_SETFL' undeclared (first use in this function) fs/fcntl.c:327: warning: passing argument 2 of 'setfl' from incompatible pointer type fs/fcntl.c:329: error: 'F_GETLK' undeclared (first use in this function) fs/fcntl.c:330: error: implicit declaration of function 'fcntl_getlk' fs/fcntl.c:330: error: expected ')' before '__user' fs/fcntl.c:330: error: conversion to non-scalar type requested fs/fcntl.c:332: error: 'F_SETLK' undeclared (first use in this function) fs/fcntl.c:333: error: 'F_SETLKW' undeclared (first use in this function) fs/fcntl.c:334: error: implicit declaration of function 'fcntl_setlk' fs/fcntl.c:334: error: expected ')' before '__user' fs/fcntl.c:334: error: conversion to non-scalar type requested fs/fcntl.c:336: error: 'F_GETOWN' undeclared (first use in this function) fs/fcntl.c:344: error: implicit declaration of function 'f_getown' fs/fcntl.c:345: error: implicit declaration of function 'force_successful_syscall_return' fs/fcntl.c:347: error: 'F_SETOWN' undeclared (first use in this function) fs/fcntl.c:348: warning: passing argument 1 of 'f_setown' from incompatible pointer type fs/fcntl.c:350: error: 'F_GETSIG' undeclared (first use in this function) fs/fcntl.c:351: error: dereferencing pointer to incomplete type fs/fcntl.c:353: error: 'F_SETSIG' undeclared (first use in this function) fs/fcntl.c:355: error: implicit declaration of function 'valid_signal' fs/fcntl.c:359: error: dereferencing pointer to incomplete type fs/fcntl.c:361: error: 'F_GETLEASE' undeclared (first use in this function) fs/fcntl.c:362: error: implicit declaration of function 'fcntl_getlease' fs/fcntl.c:364: error: 'F_SETLEASE' undeclared (first use in this function) fs/fcntl.c:365: error: implicit declaration of function 'fcntl_setlease' fs/fcntl.c:367: error: 'F_NOTIFY' undeclared (first use in this function) fs/fcntl.c:368: error: implicit declaration of function 'fcntl_dirnotify' fs/fcntl.c: At top level: fs/fcntl.c:376: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/fcntl.c:398:5: warning: "BITS_PER_LONG" is not defined fs/fcntl.c:437: error: 'NSIGPOLL' undeclared here (not in a function) fs/fcntl.c:438: error: 'POLLIN' undeclared here (not in a function) fs/fcntl.c:438: error: 'POLLRDNORM' undeclared here (not in a function) fs/fcntl.c:439: error: 'POLLOUT' undeclared here (not in a function) fs/fcntl.c:439: error: 'POLLWRNORM' undeclared here (not in a function) fs/fcntl.c:439: error: 'POLLWRBAND' undeclared here (not in a function) fs/fcntl.c:440: error: 'POLLMSG' undeclared here (not in a function) fs/fcntl.c:441: error: 'POLLERR' undeclared here (not in a function) fs/fcntl.c:442: error: 'POLLPRI' undeclared here (not in a function) fs/fcntl.c:442: error: 'POLLRDBAND' undeclared here (not in a function) fs/fcntl.c:443: error: 'POLLHUP' undeclared here (not in a function) fs/fcntl.c:447: warning: 'struct fown_struct' declared inside parameter list fs/fcntl.c:447: warning: 'struct task_struct' declared inside parameter list fs/fcntl.c: In function 'sigio_perm': fs/fcntl.c:449: error: dereferencing pointer to incomplete type fs/fcntl.c:450: error: dereferencing pointer to incomplete type fs/fcntl.c:450: error: dereferencing pointer to incomplete type fs/fcntl.c:450: error: dereferencing pointer to incomplete type fs/fcntl.c:450: error: dereferencing pointer to incomplete type fs/fcntl.c:451: error: dereferencing pointer to incomplete type fs/fcntl.c:451: error: dereferencing pointer to incomplete type fs/fcntl.c:451: error: dereferencing pointer to incomplete type fs/fcntl.c:451: error: dereferencing pointer to incomplete type fs/fcntl.c:452: error: implicit declaration of function 'security_file_send_sigiotask' fs/fcntl.c: At top level: fs/fcntl.c:458: warning: 'struct fown_struct' declared inside parameter list fs/fcntl.c:458: warning: 'struct task_struct' declared inside parameter list fs/fcntl.c: In function 'send_sigio_to_task': fs/fcntl.c:460: error: dereferencing pointer to incomplete type fs/fcntl.c:460: warning: passing argument 1 of 'sigio_perm' from incompatible pointer type fs/fcntl.c:460: warning: passing argument 2 of 'sigio_perm' from incompatible pointer type fs/fcntl.c:463: error: dereferencing pointer to incomplete type fs/fcntl.c:464: error: 'siginfo_t' undeclared (first use in this function) fs/fcntl.c:464: error: expected ';' before 'si' fs/fcntl.c:472: error: 'si' undeclared (first use in this function) fs/fcntl.c:472: error: dereferencing pointer to incomplete type fs/fcntl.c:478: error: implicit declaration of function 'BUG_ON' fs/fcntl.c:478: error: '__SI_MASK' undeclared (first use in this function) fs/fcntl.c:478: error: '__SI_POLL' undeclared (first use in this function) fs/fcntl.c:479: error: 'POLL_IN' undeclared (first use in this function) fs/fcntl.c:484: error: implicit declaration of function 'group_send_sig_info' fs/fcntl.c:484: error: dereferencing pointer to incomplete type fs/fcntl.c:488: error: 'SIGIO' undeclared (first use in this function) fs/fcntl.c:488: error: 'SEND_SIG_PRIV' undeclared (first use in this function) fs/fcntl.c: At top level: fs/fcntl.c:492: warning: 'struct fown_struct' declared inside parameter list fs/fcntl.c: In function 'send_sigio': fs/fcntl.c:495: error: storage size of 'type' isn't known fs/fcntl.c:498: error: implicit declaration of function 'read_lock' fs/fcntl.c:498: error: dereferencing pointer to incomplete type fs/fcntl.c:499: error: dereferencing pointer to incomplete type fs/fcntl.c:500: error: dereferencing pointer to incomplete type fs/fcntl.c:504: error: 'tasklist_lock' undeclared (first use in this function) fs/fcntl.c:505: error: implicit declaration of function 'do_each_pid_task' make[1]: *** [arch/x86/kernel/i387.o] Error 1 CC arch/x86/kernel/ptrace.o fs/fcntl.c:505: error: expected ';' before '{' token fs/fcntl.c:508: error: implicit declaration of function 'read_unlock' fs/fcntl.c:510: error: dereferencing pointer to incomplete type fs/fcntl.c:495: warning: unused variable 'type' fs/fcntl.c: At top level: fs/fcntl.c:514: warning: 'struct fown_struct' declared inside parameter list fs/fcntl.c:514: warning: 'struct task_struct' declared inside parameter list fs/fcntl.c: In function 'send_sigurg_to_task': fs/fcntl.c:516: error: 'SIGURG' undeclared (first use in this function) fs/fcntl.c:516: warning: passing argument 1 of 'sigio_perm' from incompatible pointer type fs/fcntl.c:516: warning: passing argument 2 of 'sigio_perm' from incompatible pointer type fs/fcntl.c:517: error: 'SEND_SIG_PRIV' undeclared (first use in this function) fs/fcntl.c: At top level: fs/fcntl.c:520: warning: 'struct fown_struct' declared inside parameter list fs/fcntl.c: In function 'send_sigurg': fs/fcntl.c:523: error: storage size of 'type' isn't known fs/fcntl.c:527: error: dereferencing pointer to incomplete type fs/fcntl.c:528: error: dereferencing pointer to incomplete type fs/fcntl.c:529: error: dereferencing pointer to incomplete type fs/fcntl.c:535: error: 'tasklist_lock' undeclared (first use in this function) fs/fcntl.c:536: error: expected ';' before '{' token fs/fcntl.c:541: error: dereferencing pointer to incomplete type fs/fcntl.c:523: warning: unused variable 'type' fs/fcntl.c: At top level: fs/fcntl.c:545: warning: type defaults to 'int' in declaration of 'DEFINE_RWLOCK' fs/fcntl.c:545: warning: parameter names (without types) in function declaration fs/fcntl.c:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/fcntl.c:553: warning: 'struct fasync_struct' declared inside parameter list fs/fcntl.c:553: warning: 'struct file' declared inside parameter list fs/fcntl.c: In function 'fasync_helper': fs/fcntl.c:556: error: 'NULL' undeclared (first use in this function) fs/fcntl.c:560: error: implicit declaration of function 'kmem_cache_alloc' fs/fcntl.c:560: error: 'fasync_cache' undeclared (first use in this function) fs/fcntl.c:560: error: 'GFP_KERNEL' undeclared (first use in this function) fs/fcntl.c:560: warning: assignment makes pointer from integer without a cast fs/fcntl.c:562: error: 'ENOMEM' undeclared (first use in this function) fs/fcntl.c:564: error: 'fasync_lock' undeclared (first use in this function) fs/fcntl.c:565: error: dereferencing pointer to incomplete type fs/fcntl.c:566: error: dereferencing pointer to incomplete type fs/fcntl.c:568: error: dereferencing pointer to incomplete type fs/fcntl.c:569: error: implicit declaration of function 'kmem_cache_free' fs/fcntl.c:571: error: dereferencing pointer to incomplete type fs/fcntl.c:580: error: dereferencing pointer to incomplete type fs/fcntl.c:580: error: 'FASYNC_MAGIC' undeclared (first use in this function) fs/fcntl.c:581: error: dereferencing pointer to incomplete type fs/fcntl.c:582: error: dereferencing pointer to incomplete type fs/fcntl.c:583: error: dereferencing pointer to incomplete type fs/fcntl.c: At top level: fs/fcntl.c:592: warning: data definition has no type or storage class fs/fcntl.c:592: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fcntl.c:592: warning: parameter names (without types) in function declaration fs/fcntl.c:594: warning: 'struct fasync_struct' declared inside parameter list fs/fcntl.c: In function '__kill_fasync': fs/fcntl.c:598: error: dereferencing pointer to incomplete type fs/fcntl.c:598: error: 'FASYNC_MAGIC' undeclared (first use in this function) fs/fcntl.c:599: error: implicit declaration of function 'printk' fs/fcntl.c:599: error: 'KERN_ERR' undeclared (first use in this function) fs/fcntl.c:599: error: expected ')' before string constant fs/fcntl.c:603: error: dereferencing pointer to incomplete type fs/fcntl.c:607: error: 'SIGURG' undeclared (first use in this function) fs/fcntl.c:607: error: dereferencing pointer to incomplete type fs/fcntl.c:608: error: dereferencing pointer to incomplete type fs/fcntl.c:608: warning: passing argument 1 of 'send_sigio' from incompatible pointer type fs/fcntl.c:609: error: dereferencing pointer to incomplete type fs/fcntl.c: At top level: fs/fcntl.c:613: warning: data definition has no type or storage class fs/fcntl.c:613: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fcntl.c:613: warning: parameter names (without types) in function declaration fs/fcntl.c:615: warning: 'struct fasync_struct' declared inside parameter list fs/fcntl.c: In function 'kill_fasync': fs/fcntl.c:621: error: 'fasync_lock' undeclared (first use in this function) fs/fcntl.c:623: warning: passing argument 1 of '__kill_fasync' from incompatible pointer type fs/fcntl.c: At top level: fs/fcntl.c:627: warning: data definition has no type or storage class fs/fcntl.c:627: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fcntl.c:627: warning: parameter names (without types) in function declaration fs/fcntl.c:629: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fasync_init' fs/fcntl.c:636: warning: return type defaults to 'int' fs/fcntl.c:636: warning: function declaration isn't a prototype fs/fcntl.c: In function 'module_init': fs/fcntl.c:636: error: expected '{' at end of input make[1]: *** [kernel/user.o] Error 1 CC kernel/signal.o make[1]: *** [fs/fcntl.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory mm/vmstat.c:12:22: error: linux/mm.h: No such file or directory mm/vmstat.c:13:23: error: linux/err.h: No such file or directory mm/vmstat.c:14:26: error: linux/module.h: No such file or directory mm/vmstat.c:15:23: error: linux/cpu.h: No such file or directory mm/vmstat.c:16:25: error: linux/sched.h: No such file or directory mm/vmstat.c:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_stat' mm/vmstat.c:77: warning: data definition has no type or storage class mm/vmstat.c:77: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmstat.c:77: warning: parameter names (without types) in function declaration CC fs/ioctl.o make[1]: *** [mm/mmzone.o] Error 1 CC kernel/sys.o cc1: error: include/linux/autoconf.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory kernel/signal.c:13:24: error: linux/slab.h: No such file or directory kernel/signal.c:14:26: error: linux/module.h: No such file or directory kernel/signal.c:15:24: error: linux/init.h: No such file or directory kernel/signal.c:16:25: error: linux/sched.h: No such file or directory kernel/signal.c:17:22: error: linux/fs.h: No such file or directory kernel/signal.c:18:23: error: linux/tty.h: No such file or directory kernel/signal.c:19:27: error: linux/binfmts.h: No such file or directory kernel/signal.c:20:28: error: linux/security.h: No such file or directory kernel/signal.c:21:28: error: linux/syscalls.h: No such file or directory kernel/signal.c:22:26: error: linux/ptrace.h: No such file or directory kernel/signal.c:23:26: error: linux/signal.h: No such file or directory kernel/signal.c:24:28: error: linux/signalfd.h: No such file or directory kernel/signal.c:25:30: error: linux/capability.h: No such file or directory kernel/signal.c:26:27: error: linux/freezer.h: No such file or directory kernel/signal.c:27:33: error: linux/pid_namespace.h: No such file or directory kernel/signal.c:28:27: error: linux/nsproxy.h: No such file or directory kernel/signal.c:30:23: error: asm/param.h: No such file or directory kernel/signal.c:31:25: error: asm/uaccess.h: No such file or directory kernel/signal.c:32:24: error: asm/unistd.h: No such file or directory kernel/signal.c:33:25: error: asm/siginfo.h: No such file or directory In file included from kernel/signal.c:34: kernel/audit.h:23:25: error: linux/audit.h: No such file or directory kernel/audit.h:24:26: error: linux/skbuff.h: No such file or directory In file included from kernel/signal.c:34: kernel/audit.h:59: error: expected specifier-qualifier-list before 'atomic_t' kernel/audit.h:72: error: field 'list' has incomplete type kernel/audit.h:73: error: field 'rcu' has incomplete type kernel/audit.h:74: error: field 'rule' has incomplete type kernel/audit.h:85: error: array type has incomplete element type kernel/audit.h:87: error: expected ')' before 'ino' kernel/audit.h:93: warning: type defaults to 'int' in declaration of 'u32' kernel/audit.h:93: error: expected ';', ',' or ')' before 'left' kernel/audit.h:106: error: field 'q' has incomplete type kernel/audit.h:116: error: expected declaration specifiers or '...' before 'u32' kernel/audit.h:116: error: expected declaration specifiers or '...' before 'u32' kernel/audit.h:116: error: expected declaration specifiers or '...' before 'u32' kernel/audit.h:117: warning: 'struct inode' declared inside parameter list kernel/audit.h:117: warning: its scope is only this definition or declaration, which is probably not what you want kernel/audit.h:122: error: array type has incomplete element type kernel/audit.h:147: error: expected declaration specifiers or '...' before 'size_t' kernel/audit.h:147: error: expected declaration specifiers or '...' before 'size_t' kernel/audit.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'audit_sig_pid' kernel/audit.h:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'audit_sig_uid' kernel/audit.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'audit_sig_sid' kernel/signal.c:42: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function '__sig_ignored': kernel/signal.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/signal.c:44: error: 'handler' undeclared (first use in this function) kernel/signal.c:44: error: (Each undeclared identifier is reported only once kernel/signal.c:44: error: for each function it appears in.) kernel/signal.c:48: error: dereferencing pointer to incomplete type kernel/signal.c:49: error: 'SIG_IGN' undeclared (first use in this function) kernel/signal.c:50: error: 'SIG_DFL' undeclared (first use in this function) kernel/signal.c:50: error: implicit declaration of function 'sig_kernel_ignore' kernel/signal.c: At top level: kernel/signal.c:53: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'sig_ignored': kernel/signal.c:58: error: dereferencing pointer to incomplete type kernel/signal.c:58: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c:66: error: implicit declaration of function 'sigismember' kernel/signal.c:66: error: dereferencing pointer to incomplete type kernel/signal.c:66: error: dereferencing pointer to incomplete type kernel/signal.c:69: warning: passing argument 1 of '__sig_ignored' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:76: error: expected ')' before '*' token kernel/signal.c:104: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'recalc_sigpending_tsk': kernel/signal.c:106: error: dereferencing pointer to incomplete type kernel/signal.c:107: error: implicit declaration of function 'has_pending_signals' kernel/signal.c:107: error: dereferencing pointer to incomplete type kernel/signal.c:107: error: dereferencing pointer to incomplete type kernel/signal.c:108: error: dereferencing pointer to incomplete type kernel/signal.c:108: error: dereferencing pointer to incomplete type kernel/signal.c:109: error: implicit declaration of function 'set_tsk_thread_flag' kernel/signal.c:109: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:124: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'recalc_sigpending_and_wake': kernel/signal.c:126: warning: passing argument 1 of 'recalc_sigpending_tsk' from incompatible pointer type kernel/signal.c:127: error: implicit declaration of function 'signal_wake_up' kernel/signal.c: In function 'recalc_sigpending': kernel/signal.c:132: error: 'current' undeclared (first use in this function) kernel/signal.c:132: error: implicit declaration of function 'freezing' kernel/signal.c:133: error: implicit declaration of function 'clear_thread_flag' kernel/signal.c:133: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:139: error: expected declaration specifiers or '...' before 'sigset_t' kernel/signal.c:139: warning: 'struct sigpending' declared inside parameter list kernel/signal.c: In function 'next_signal': kernel/signal.c:144: error: dereferencing pointer to incomplete type kernel/signal.c:145: error: 'mask' undeclared (first use in this function) kernel/signal.c:146: error: '_NSIG_WORDS' undeclared (first use in this function) kernel/signal.c:150: error: implicit declaration of function 'ffz' kernel/signal.c:150: error: '_NSIG_BPW' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:172: error: expected declaration specifiers or '...' before 'gfp_t' kernel/signal.c:173: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function '__sigqueue_alloc': kernel/signal.c:175: error: 'NULL' undeclared (first use in this function) kernel/signal.c:182: error: dereferencing pointer to incomplete type kernel/signal.c:183: error: implicit declaration of function 'barrier' kernel/signal.c:184: error: implicit declaration of function 'atomic_inc' kernel/signal.c:184: error: dereferencing pointer to incomplete type kernel/signal.c:186: error: implicit declaration of function 'atomic_read' kernel/signal.c:186: error: dereferencing pointer to incomplete type kernel/signal.c:187: error: dereferencing pointer to incomplete type kernel/signal.c:187: error: 'RLIMIT_SIGPENDING' undeclared (first use in this function) kernel/signal.c:188: error: implicit declaration of function 'kmem_cache_alloc' kernel/signal.c:188: error: 'flags' undeclared (first use in this function) kernel/signal.c:188: warning: assignment makes pointer from integer without a cast kernel/signal.c:189: error: implicit declaration of function 'unlikely' kernel/signal.c:190: error: implicit declaration of function 'atomic_dec' kernel/signal.c:190: error: dereferencing pointer to incomplete type kernel/signal.c:192: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/signal.c:192: error: dereferencing pointer to incomplete type kernel/signal.c:193: error: dereferencing pointer to incomplete type kernel/signal.c:194: error: dereferencing pointer to incomplete type kernel/signal.c:194: error: implicit declaration of function 'get_uid' kernel/signal.c: In function '__sigqueue_free': kernel/signal.c:201: error: dereferencing pointer to incomplete type kernel/signal.c:201: error: 'SIGQUEUE_PREALLOC' undeclared (first use in this function) kernel/signal.c:203: error: dereferencing pointer to incomplete type kernel/signal.c:204: error: implicit declaration of function 'free_uid' kernel/signal.c:204: error: dereferencing pointer to incomplete type kernel/signal.c:205: error: implicit declaration of function 'kmem_cache_free' kernel/signal.c: At top level: kernel/signal.c:208: warning: 'struct sigpending' declared inside parameter list kernel/signal.c: In function 'flush_sigqueue': kernel/signal.c:212: error: implicit declaration of function 'sigemptyset' kernel/signal.c:212: error: dereferencing pointer to incomplete type kernel/signal.c:213: error: implicit declaration of function 'list_empty' kernel/signal.c:213: error: dereferencing pointer to incomplete type kernel/signal.c:214: error: implicit declaration of function 'list_entry' kernel/signal.c:214: error: dereferencing pointer to incomplete type kernel/signal.c:214: error: expected expression before 'struct' kernel/signal.c:214: warning: assignment makes pointer from integer without a cast kernel/signal.c:215: error: implicit declaration of function 'list_del_init' kernel/signal.c:215: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:223: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'flush_signals': kernel/signal.c:227: error: implicit declaration of function 'spin_lock_irqsave' kernel/signal.c:227: error: dereferencing pointer to incomplete type kernel/signal.c:228: error: implicit declaration of function 'clear_tsk_thread_flag' kernel/signal.c:228: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/signal.c:229: error: dereferencing pointer to incomplete type kernel/signal.c:230: error: dereferencing pointer to incomplete type kernel/signal.c:231: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/signal.c:231: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:234: warning: 'struct sigpending' declared inside parameter list kernel/signal.c: In function '__flush_itimer_signals': kernel/signal.c:236: error: 'sigset_t' undeclared (first use in this function) kernel/signal.c:236: error: expected ';' before 'signal' kernel/signal.c:237: warning: ISO C90 forbids mixed declarations and code kernel/signal.c:239: error: 'signal' undeclared (first use in this function) kernel/signal.c:239: error: dereferencing pointer to incomplete type kernel/signal.c:240: error: 'retain' undeclared (first use in this function) kernel/signal.c:242: error: implicit declaration of function 'list_for_each_entry_safe' kernel/signal.c:242: error: dereferencing pointer to incomplete type kernel/signal.c:242: error: 'list' undeclared (first use in this function) kernel/signal.c:242: error: expected ';' before '{' token kernel/signal.c: In function 'flush_itimer_signals': kernel/signal.c:259: error: 'current' undeclared (first use in this function) kernel/signal.c:262: error: dereferencing pointer to incomplete type kernel/signal.c:263: error: dereferencing pointer to incomplete type kernel/signal.c:264: error: dereferencing pointer to incomplete type kernel/signal.c:265: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:268: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'ignore_signals': kernel/signal.c:272: error: '_NSIG' undeclared (first use in this function) kernel/signal.c:273: error: dereferencing pointer to incomplete type kernel/signal.c:273: error: 'SIG_IGN' undeclared (first use in this function) kernel/signal.c:275: warning: passing argument 1 of 'flush_signals' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:283: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'flush_signal_handlers': kernel/signal.c:286: error: dereferencing pointer to incomplete type kernel/signal.c:287: error: '_NSIG' undeclared (first use in this function) kernel/signal.c:288: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:10:26: cc1: make[1]: cc1: error: error: kernel/signal.c:288: error: 'SIG_IGN' undeclared (first use in this function)error: *** [mm/vmstat.o] Error 1 include/linux/autoconf.h: No such file or directory kernel/signal.c:289: error: dereferencing pointer to incomplete type kernel/signal.c:289: error: 'SIG_DFL' undeclared (first use in this function) kernel/signal.c:290: error: dereferencing pointer to incomplete type kernel/signal.c:291: error: dereferencing pointer to incomplete type kernel/signal.c:292: error: increment of pointer to unknown structure kernel/signal.c:292: error: arithmetic on pointer to an incomplete type kernel/sys.c:7:26: error: linux/module.h: No such file or directory kernel/sys.c:8:22: error: include/linux/autoconf.h: No such file or directorylinux/kernel.h: No such file or directory arch/x86/kernel/ptrace.c:11:25: error: linux/sched.h: No such file or directory arch/x86/kernel/ptrace.c:12:22: error: linux/mm.h: No such file or directory arch/x86/kernel/ptrace.c:13:23: error: linux/smp.h: No such file or directory arch/x86/kernel/ptrace.c:14:25: error: linux/errno.h: No such file or directory arch/x86/kernel/ptrace.c:15:26: error: linux/ptrace.h: No such file or directory kernel/signal.c: At top level: kernel/signal.c:296: warning: 'struct task_struct' declared inside parameter list linux/mm.h: No such file or directory arch/x86/kernel/ptrace.c:16:26: error: kernel/sys.c:9:27: linux/regset.h: No such file or directory arch/x86/kernel/ptrace.c:17:24: error: linux/user.h: No such file or directory arch/x86/kernel/ptrace.c:18:23: error: linux/elf.h: No such file or directory arch/x86/kernel/ptrace.c:19:28: error: linux/security.h: No such file or directory arch/x86/kernel/ptrace.c:20:25: error: linux/audit.h: No such file or directory arch/x86/kernel/ptrace.c:21:27: error: linux/seccomp.h: No such file or directory arch/x86/kernel/ptrace.c:22:26: error: linux/signal.h: No such file or directory arch/x86/kernel/ptrace.c:24:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/ptrace.c:25:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/ptrace.c:26:24: error: asm/system.h: No such file or directory arch/x86/kernel/ptrace.c:27:27: error: asm/processor.h: No such file or directory arch/x86/kernel/ptrace.c:28:22: error: asm/i387.h: No such file or directory arch/x86/kernel/ptrace.c:29:26: error: asm/debugreg.h: No such file or directory arch/x86/kernel/ptrace.c:30:21: error: asm/ldt.h: No such file or directory arch/x86/kernel/ptrace.c:31:22: error: asm/desc.h: No such file or directory arch/x86/kernel/ptrace.c:32:23: error: asm/prctl.h: No such file or directory arch/x86/kernel/ptrace.c:33:23: error: asm/proto.h: No such file or directory arch/x86/kernel/ptrace.c:34:20: error: asm/ds.h: No such file or directory fs/ioctl.c:7:28: error: linux/syscalls.h: No such file or directory fs/ioctl.c:8:22: error: linux/mm.h: No such file or directory In file included from arch/x86/kernel/ptrace.c:36: arch/x86/kernel/tls.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_active' error: arch/x86/kernel/tls.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_get' kernel/signal.c: In function 'unhandled_signal': fs/ioctl.c:9:28: linux/utsname.h: No such file or directoryarch/x86/kernel/tls.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_set' kernel/signal.c:298: error: implicit declaration of function 'is_global_init' error: linux/smp_lock.h: No such file or directory arch/x86/kernel/ptrace.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'invalid_selector'kernel/sys.c:10:24: error: fs/ioctl.c:10:30: linux/mman.h: No such file or directory error: linux/capability.h: No such file or directory kernel/sys.c:11:28: error: kernel/signal.c:300: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:147: warning: 'struct pt_regs' declared inside parameter list fs/ioctl.c:11:24: error: linux/file.h: No such file or directory linux/smp_lock.h: No such file or directory kernel/signal.c:300: error: 'PT_PTRACED' undeclared (first use in this function)arch/x86/kernel/ptrace.c:147: warning: its scope is only this definition or declaration, which is probably not what you wantkernel/sys.c:12:28: error: fs/ioctl.c:12:22: error: linux/fs.h: No such file or directory fs/ioctl.c:13:28: error: linux/security.h: No such file or directory fs/ioctl.c:14:26: error: linux/module.h: No such file or directory fs/ioctl.c:15:27: error: linux/uaccess.h: No such file or directory fs/ioctl.c:17:24: error: asm/ioctls.h: No such file or directory fs/ioctl.c:32: warning: 'struct file' declared inside parameter list fs/ioctl.c:32: warning: its scope is only this definition or declaration, which is probably not what you want CC mm/backing-dev.o fs/ioctl.c: In function 'vfs_ioctl': fs/ioctl.c:34: error: 'ENOTTY' undeclared (first use in this function) fs/ioctl.c:34: error: (Each undeclared identifier is reported only once fs/ioctl.c:34: error: for each function it appears in.) fs/ioctl.c:36: error: dereferencing pointer to incomplete type fs/ioctl.c:39: error: dereferencing pointer to incomplete type fs/ioctl.c:40: error: dereferencing pointer to incomplete type fs/ioctl.c:41: error: 'ENOIOCTLCMD' undeclared (first use in this function) fs/ioctl.c:42: error: 'EINVAL' undeclared (first use in this function) fs/ioctl.c:44: error: dereferencing pointer to incomplete type fs/ioctl.c:45: error: implicit declaration of function 'lock_kernel' fs/ioctl.c:46: error: dereferencing pointer to incomplete type fs/ioctl.c:46: error: dereferencing pointer to incomplete type fs/ioctl.c:48: error: implicit declaration of function 'unlock_kernel' fs/ioctl.c: At top level: fs/ioctl.c:55: error: expected ';', ',' or ')' before '*' token fs/ioctl.c:75: warning: 'struct file' declared inside parameter list fs/ioctl.c: In function 'file_ioctl': fs/ioctl.c:77: error: dereferencing pointer to incomplete type fs/ioctl.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/ioctl.c:78: error: 'p' undeclared (first use in this function) linux/notifier.h: No such file or directory fs/ioctl.c:78: error: expected ')' before '__user' kernel/signal.c:302: error: dereferencing pointer to incomplete type fs/ioctl.c:81: error: 'FIBMAP' undeclared (first use in this function) arch/x86/kernel/ptrace.c: In function 'pt_regs_access':fs/ioctl.c:82: error: implicit declaration of function 'ioctl_fibmap' kernel/sys.c:13:26:fs/ioctl.c:83: error: 'FIGETBSZ' undeclared (first use in this function) kernel/signal.c:302: error: 'SIG_IGN' undeclared (first use in this function) fs/ioctl.c:84: error: implicit declaration of function 'put_user'arch/x86/kernel/ptrace.c:149: error: implicit declaration of function 'BUILD_BUG_ON' kernel/signal.c:303: error: dereferencing pointer to incomplete typearch/x86/kernel/ptrace.c:149: error: implicit declaration of function 'offsetof' error: fs/ioctl.c:84: error: dereferencing pointer to incomplete type kernel/signal.c:303: error: 'SIG_DFL' undeclared (first use in this function)fs/ioctl.c:85: error: 'FIONREAD' undeclared (first use in this function) arch/x86/kernel/ptrace.c:149: error: expected expression before 'struct'fs/ioctl.c:86: error: implicit declaration of function 'i_size_read' linux/reboot.h: No such file or directoryfs/ioctl.c:86: error: dereferencing pointer to incomplete type fs/ioctl.c:89: warning: passing argument 1 of 'vfs_ioctl' from incompatible pointer type kernel/sys.c:14:25: error: linux/prctl.h: No such file or directory arch/x86/kernel/ptrace.c:150: error: dereferencing pointer to incomplete type kernel/sys.c:15:27: error: arch/x86/kernel/ptrace.c:150: error: dereferencing pointer to incomplete type linux/highuid.h: No such file or directory fs/ioctl.c: At top level: kernel/signal.c: At top level: kernel/sys.c:16:22: error: fs/ioctl.c:92: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/ptrace.c: At top level: kernel/signal.c:316: error: expected declaration specifiers or '...' before 'sigset_t' linux/fs.h: No such file or directory arch/x86/kernel/ptrace.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_segment_reg' fs/ioctl.c:114: error: expected ';', ',' or ')' before '*' token kernel/signal.c: In function 'block_all_signals': kernel/sys.c:17:28: error: fs/ioctl.c:151: warning: 'struct file' declared inside parameter list kernel/signal.c:320: error: 'current' undeclared (first use in this function) fs/ioctl.c: In function 'do_vfs_ioctl': linux/resource.h: No such file or directory arch/x86/kernel/ptrace.c:195: error: expected declaration specifiers or '...' before 'u16' fs/ioctl.c:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/signal.c:321: error: 'mask' undeclared (first use in this function) kernel/sys.c:18:26: error: arch/x86/kernel/ptrace.c:195: warning: 'struct task_struct' declared inside parameter list fs/ioctl.c:154: error: 'argp' undeclared (first use in this function) arch/x86/kernel/ptrace.c: In function 'set_segment_reg': linux/kernel.h: No such file or directory kernel/signal.c: In function 'unblock_all_signals': fs/ioctl.c:154: error: expected ')' before '__user' arch/x86/kernel/ptrace.c:200: error: implicit declaration of function 'invalid_selector' fs/ioctl.c:157: error: 'FIOCLEX' undeclared (first use in this function)arch/x86/kernel/ptrace.c:200: error: 'value' undeclared (first use in this function) kernel/sys.c:19:25: error: kernel/signal.c:334: error: 'current' undeclared (first use in this function) arch/x86/kernel/ptrace.c:200: error: (Each undeclared identifier is reported only once linux/kexec.h: No such file or directory kernel/signal.c:335: error: 'NULL' undeclared (first use in this function)fs/ioctl.c:158: error: implicit declaration of function 'set_close_on_exec' arch/x86/kernel/ptrace.c:200: error: for each function it appears in.) kernel/sys.c:20:29: error: linux/workqueue.h: No such file or directory fs/ioctl.c:161: error: 'FIONCLEX' undeclared (first use in this function) kernel/sys.c:21:30: fs/ioctl.c:165: error: 'FIONBIO' undeclared (first use in this function) arch/x86/kernel/ptrace.c:201: error: 'EIO' undeclared (first use in this function) kernel/signal.c: At top level: arch/x86/kernel/ptrace.c:204: error: expected expression before 'struct' error: fs/ioctl.c:166: error: implicit declaration of function 'ioctl_fionbio' kernel/signal.c:341: error: expected declaration specifiers or '...' before 'siginfo_t' fs/ioctl.c:169: error: 'FIOASYNC' undeclared (first use in this function)kernel/signal.c:341: warning: 'struct sigpending' declared inside parameter list arch/x86/kernel/ptrace.c:204: error: case label does not reduce to an integer constant linux/capability.h: No such file or directory kernel/signal.c: In function 'collect_signal': arch/x86/kernel/ptrace.c:209: error: 'FS_TLS_SEL' undeclared (first use in this function) kernel/sys.c:22:26: fs/ioctl.c:170: error: implicit declaration of function 'ioctl_fioasync' kernel/signal.c:343: error: 'NULL' undeclared (first use in this function) fs/ioctl.c:173: error: 'FIOQSIZE' undeclared (first use in this function) arch/x86/kernel/ptrace.c:209: error: dereferencing pointer to incomplete typefs/ioctl.c:174: error: implicit declaration of function 'S_ISDIR' error: kernel/signal.c:346: error: dereferencing pointer to incomplete typearch/x86/kernel/ptrace.c:210: error: dereferencing pointer to incomplete type fs/ioctl.c:174: error: dereferencing pointer to incomplete typearch/x86/kernel/ptrace.c:211: error: dereferencing pointer to incomplete type linux/device.h: No such file or directory arch/x86/kernel/ptrace.c:212: error: dereferencing pointer to incomplete type kernel/signal.c:353: error: implicit declaration of function 'list_for_each_entry' kernel/signal.c:353: error: dereferencing pointer to incomplete type fs/ioctl.c:175: error: implicit declaration of function 'S_ISREG'arch/x86/kernel/ptrace.c:214: error: dereferencing pointer to incomplete type kernel/sys.c:23:23:arch/x86/kernel/ptrace.c:215: error: 'current' undeclared (first use in this function) arch/x86/kernel/ptrace.c:216: error: implicit declaration of function 'loadsegment'fs/ioctl.c:175: error: dereferencing pointer to incomplete type kernel/signal.c:353: error: expected ';' before '{' token fs/ioctl.c:176: error: implicit declaration of function 'S_ISLNK'arch/x86/kernel/ptrace.c:216: error: 'fs' undeclared (first use in this function) error: kernel/signal.c:344: warning: unused variable 'still_pending'fs/ioctl.c:176: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:216: error: dereferencing pointer to incomplete type fs/ioctl.c:177: error: 'loff_t' undeclared (first use in this function) arch/x86/kernel/ptrace.c:218: error: expected expression before 'struct' linux/key.h: No such file or directory fs/ioctl.c:177: error: expected ';' before 'res' arch/x86/kernel/ptrace.c:218: error: case label does not reduce to an integer constantfs/ioctl.c:179: error: implicit declaration of function 'copy_to_user' kernel/sys.c:24:25: error: linux/times.h: No such file or directory arch/x86/kernel/ptrace.c:223: error: 'GS_TLS_SEL' undeclared (first use in this function) kernel/sys.c:25:32: error: linux/posix-timers.h: No such file or directory kernel/signal.c:343: warning: unused variable 'first' arch/x86/kernel/ptrace.c:223: error: dereferencing pointer to incomplete typefs/ioctl.c:179: error: expected ')' before '__user' kernel/sys.c:26:28:fs/ioctl.c:179: error: expected ')' before 'arg' fs/ioctl.c:180: error: 'EFAULT' undeclared (first use in this function) fs/ioctl.c:182: error: 'ENOTTY' undeclared (first use in this function) arch/x86/kernel/ptrace.c:224: error: dereferencing pointer to incomplete type kernel/signal.c: At top level:error: fs/ioctl.c:185: error: dereferencing pointer to incomplete type fs/ioctl.c:186: warning: passing argument 1 of 'file_ioctl' from incompatible pointer type fs/ioctl.c:188: warning: passing argument 1 of 'vfs_ioctl' from incompatible pointer type fs/ioctl.c: At top level: fs/ioctl.c:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/ptrace.c:225: error: dereferencing pointer to incomplete type linux/security.h: No such file or directoryarch/x86/kernel/ptrace.c:226: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:228: error: dereferencing pointer to incomplete type kernel/sys.c:27:28:arch/x86/kernel/ptrace.c:230: error: implicit declaration of function 'load_gs_index' kernel/signal.c:384: error: expected declaration specifiers or '...' before 'sigset_t' error: linux/dcookies.h: No such file or directory kernel/sys.c:28:27: error: linux/suspend.h: No such file or directory kernel/sys.c:29:23: error: linux/tty.h: No such file or directory kernel/sys.c:30:26: error: linux/signal.h: No such file or directory kernel/sys.c:31:27: error: linux/cn_proc.h: No such file or directory kernel/sys.c:32:26: error: linux/getcpu.h: No such file or directory kernel/sys.c:33:42: error: linux/task_io_accounting_ops.h: No such file or directory kernel/sys.c:34:27: error: linux/seccomp.h: No such file or directory kernel/sys.c:35:23: error: linux/cpu.h: No such file or directory kernel/sys.c:37:26: error: linux/compat.h: No such file or directory kernel/sys.c:38:28: error: linux/syscalls.h: No such file or directory kernel/sys.c:39:27: error: linux/kprobes.h: No such file or directory kernel/sys.c:40:34: error: linux/user_namespace.h: No such file or directory kernel/sys.c:42:25: error: asm/uaccess.h: No such file or directory kernel/sys.c:43:20: error: asm/io.h: No such file or directory kernel/sys.c:44:24: error: asm/unistd.h: No such file or directory kernel/sys.c:82: error: 'DEFAULT_OVERFLOWUID' undeclared here (not in a function) kernel/sys.c:83: error: 'DEFAULT_OVERFLOWGID' undeclared here (not in a function) kernel/sys.c:95: error: 'DEFAULT_FS_OVERFLOWUID' undeclared here (not in a function) kernel/sys.c:98: warning: data definition has no type or storage class kernel/sys.c:98: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:98: warning: parameter names (without types) in function declaration kernel/sys.c:99: warning: data definition has no type or storage class kernel/sys.c:99: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:99: warning: parameter names (without types) in function declaration kernel/sys.c:107: warning: data definition has no type or storage class kernel/sys.c:107: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:107: warning: parameter names (without types) in function declaration kernel/sys.c:115: warning: 'struct task_struct' declared inside parameter list kernel/sys.c:115: warning: its scope is only this definition or declaration, which is probably not what you want kernel/sys.c: In function 'set_one_prio': kernel/sys.c:119: error: dereferencing pointer to incomplete type kernel/sys.c:119: error: 'current' undeclared (first use in this function) kernel/sys.c:119: error: (Each undeclared identifier is reported only once kernel/sys.c:119: error: for each function it appears in.) kernel/sys.c:120: error: dereferencing pointer to incomplete type kernel/sys.c:120: error: implicit declaration of function 'capable' kernel/sys.c:120: error: 'CAP_SYS_NICE' undeclared (first use in this function) kernel/sys.c:121: error: 'EPERM' undeclared (first use in this function) kernel/sys.c:124: error: implicit declaration of function 'task_nice' kernel/sys.c:124: error: implicit declaration of function 'can_nice' kernel/sys.c:125: error: 'EACCES' undeclared (first use in this function) kernel/sys.c:128: error: implicit declaration of function 'security_task_setnice' kernel/sys.c:133: error: 'ESRCH' undeclared (first use in this function) kernel/sys.c:135: error: implicit declaration of function 'set_user_nice' kernel/sys.c: At top level: kernel/sys.c:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c: In function 'emergency_restart': kernel/sys.c:273: error: implicit declaration of function 'machine_emergency_restart' kernel/sys.c: At top level: kernel/sys.c:275: warning: data definition has no type or storage class kernel/sys.c:275: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/sys.c:275: warning: parameter names (without types) in function declaration kernel/sys.c: In function 'kernel_restart_prepare': kernel/sys.c:279: error: implicit declaration of function 'blocking_notifier_call_chain' kernel/sys.c:279: error: 'reboot_notifier_list' undeclared (first use in this function) kernel/sys.c:279: error: 'SYS_RESTART' undeclared (first use in this function) kernel/sys.c:280: error: 'system_state' undeclared (first use in this function) kernel/sys.c:280: error: 'SYSTEM_RESTART' undeclared (first use in this function) kernel/sys.c:281: error: implicit declaration of function 'device_shutdown' kernel/sys.c:282: error: implicit declaration of function 'sysdev_shutdown' kernel/sys.c: In function 'kernel_restart': kernel/sys.c:297: error: implicit declaration of function 'printk' kernel/sys.c:297: error: 'KERN_EMERG' undeclared (first use in this function) kernel/sys.c:297: error: expected ')' before string constant kernel/sys.c:299: error: expected ')' before string constant kernel/sys.c:300: error: implicit declaration of function 'machine_restart' kernel/sys.c: At top level: kernel/sys.c:302: warning: data definition has no type or storage class kernel/sys.c:302: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/sys.c:302: warning: parameter names (without types) in function declaration kernel/sys.c:324: warning: 'enum system_states' declared inside parameter list kernel/sys.c:324: error: parameter 1 ('state') has incomplete type kernel/sys.c: In function 'kernel_shutdown_prepare': kernel/sys.c:326: error: 'reboot_notifier_list' undeclared (first use in this function) kernel/sys.c:327: error: 'SYSTEM_HALT' undeclared (first use in this function) kernel/sys.c:327: error: 'SYS_HALT' undeclared (first use in this function) kernel/sys.c:327: error: 'SYS_POWER_OFF' undeclared (first use in this function) kernel/sys.c:327: error: 'NULL' undeclared (first use in this function) kernel/sys.c:328: error: 'system_state' undeclared (first use in this function) kernel/sys.c: In function 'kernel_halt': kernel/sys.c:338: error: 'SYSTEM_HALT' undeclared (first use in this function) kernel/sys.c:338: error: type of formal parameter 1 is incomplete kernel/sys.c:340: error: 'KERN_EMERG' undeclared (first use in this function) kernel/sys.c:340: error: expected ')' before string constant kernel/sys.c:341: error: implicit declaration of function 'machine_halt' kernel/sys.c: At top level: kernel/sys.c:344: warning: data definition has no type or storage class kernel/sys.c:344: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/sys.c:344: warning: parameter names (without types) in function declaration kernel/sys.c: In function 'kernel_power_off': kernel/sys.c:353: error: 'SYSTEM_POWER_OFF' undeclared (first use in this function) kernel/sys.c:353: error: type of formal parameter 1 is incomplete kernel/sys.c:356: error: implicit declaration of function 'disable_nonboot_cpus' kernel/sys.c:358: error: 'KERN_EMERG' undeclared (first use in this function) kernel/sys.c:358: error: expected ')' before string constant kernel/sys.c:359: error: implicit declaration of function 'machine_power_off' kernel/sys.c: At top level: kernel/sys.c:361: warning: data definition has no type or storage class kernel/sys.c:361: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/sys.c:361: warning: parameter names (without types) in function declaration kernel/sys.c:370: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:450: warning: 'struct work_struct' declared inside parameter list kernel/sys.c: In function 'deferred_cad': kernel/sys.c:452: error: 'NULL' undeclared (first use in this function) kernel/sys.c: In function 'ctrl_alt_del': kernel/sys.c:462: warning: type defaults to 'int' in declaration of 'DECLARE_WORK' kernel/sys.c:462: warning: parameter names (without types) in function declaration kernel/sys.c:462: error: invalid storage class for function 'DECLARE_WORK' kernel/sys.c:465: error: implicit declaration of function 'schedule_work' kernel/sys.c:465: error: 'cad_work' undeclared (first use in this function) kernel/sys.c:467: error: implicit declaration of function 'kill_cad_pid' kernel/sys.c:467: error: 'SIGINT' undeclared (first use in this function) kernel/sys.c: At top level: kernel/sys.c:488: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:537: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:567: error: expected ')' before 'new_ruid' kernel/sys.c:607: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:669: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:708: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:751: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:765: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:802: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:820: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:849: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:871: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:921: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:992: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1029: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1057: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1093: error: variable 'init_groups' has initializer but incomplete type kernel/sys.c:1093: error: unknown field 'usage' specified in initializer kernel/sys.c:1093: error: implicit declaration of function 'ATOMIC_INIT' kernel/sys.c:1093: warning: excess elements in struct initializer kernel/sys.c:1093: warning: (near initialization for 'init_groups') kernel/sys.c: In function 'groups_alloc': kernel/sys.c:1101: error: 'NGROUPS_PER_BLOCK' undeclared (first use in this function) kernel/sys.c:1104: error: implicit declaration of function 'kmalloc' kernel/sys.c:1104: error: dereferencing pointer to incomplete type kernel/sys.c:1104: error: 'gid_t' undeclared (first use in this function) kernel/sys.c:1104: error: expected expression before ')' token kernel/sys.c:1104: error: 'GFP_USER' undeclared (first use in this function) kernel/sys.c:1104: warning: assignment makes pointer from integer without a cast kernel/sys.c:1106: error: 'NULL' undeclared (first use in this function) kernel/sys.c:1107: error: dereferencing pointer to incomplete type kernel/sys.c:1108: error: dereferencing pointer to incomplete type kernel/sys.c:1109: error: implicit declaration of function 'atomic_set' kernel/sys.c:1109: error: dereferencing pointer to incomplete type kernel/sys.c:1111: error: 'NGROUPS_SMALL' undeclared (first use in this function) kernel/sys.c:1112: error: dereferencing pointer to incomplete type kernel/sys.c:1112: error: dereferencing pointer to incomplete type kernel/sys.c:1115: error: 'b' undeclared (first use in this function) kernel/sys.c:1116: error: implicit declaration of function '__get_free_page' kernel/sys.c:1119: error: dereferencing pointer to incomplete type kernel/sys.c:1126: error: implicit declaration of function 'free_page' kernel/sys.c:1126: error: dereferencing pointer to incomplete type kernel/sys.c:1128: error: implicit declaration of function 'kfree' kernel/sys.c: At top level: kernel/sys.c:1132: warning: data definition has no type or storage class kernel/sys.c:1132: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1132: warning: parameter names (without types) in function declaration kernel/sys.c: In function 'groups_free': kernel/sys.c:1136: error: dereferencing pointer to incomplete type kernel/sys.c:1136: error: dereferencing pointer to incomplete type kernel/sys.c:1138: error: dereferencing pointer to incomplete type kernel/sys.c:1139: error: dereferencing pointer to incomplete type kernel/sys.c: At top level: kernel/sys.c:1144: warning: data definition has no type or storage class kernel/sys.c:1144: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1144: warning: parameter names (without types) in function declaration kernel/sys.c:1147: error: expected ')' before '__user' kernel/sys.c:1168: error: expected declaration specifiers or '...' before 'gid_t' kernel/sys.c: In function 'groups_from_user': kernel/sys.c:1171: error: dereferencing pointer to incomplete type kernel/sys.c:1173: error: dereferencing pointer to incomplete type kernel/sys.c:1174: error: implicit declaration of function 'min' kernel/sys.c:1174: error: 'NGROUPS_PER_BLOCK' undeclared (first use in this function) kernel/sys.c:1175: error: 'grouplist' undeclared (first use in this function) kernel/sys.c:1177: error: implicit declaration of function 'copy_from_user' kernel/sys.c:1177: error: dereferencing pointer to incomplete type kernel/sys.c:1178: error: 'EFAULT' undeclared (first use in this function) kernel/sys.c: In function 'groups_sort': kernel/sys.c:1190: error: dereferencing pointer to incomplete type kernel/sys.c:1201: error: 'gid_t' undeclared (first use in this function) kernel/sys.c:1201: error: expected ';' before 'tmp' kernel/sys.c:1203: error: implicit declaration of function 'GROUP_AT' kernel/sys.c:1203: error: 'tmp' undeclared (first use in this function) kernel/sys.c:1205: error: invalid lvalue in assignment kernel/sys.c: At top level: kernel/sys.c:1216: error: expected declaration specifiers or '...' before 'gid_t' kernel/sys.c: In function 'groups_search': kernel/sys.c:1224: error: dereferencing pointer to incomplete type kernel/sys.c:1227: error: 'grp' undeclared (first use in this function) kernel/sys.c: In function 'set_current_groups': kernel/sys.c:1244: error: implicit declaration of function 'security_task_setgroups' kernel/sys.c:1249: error: implicit declaration of function 'get_group_info' kernel/sys.c:1251: error: implicit declaration of function 'task_lock' kernel/sys.c:1251: error: 'current' undeclared (first use in this function) kernel/sys.c:1254: error: implicit declaration of function 'task_unlock' kernel/sys.c:1256: error: implicit declaration of function 'put_group_info' kernel/sys.c: At top level: kernel/sys.c:1261: warning: data definition has no type or storage class kernel/sys.c:1261: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1261: warning: parameter names (without types) in function declaration kernel/sys.c:1263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1324: error: expected ')' before 'grp' kernel/sys.c:1332: warning: data definition has no type or storage class kernel/sys.c:1332: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1332: warning: parameter names (without types) in function declaration kernel/sys.c:1334: error: expected ')' before 'grp' kernel/sys.c:1342: warning: data definition has no type or storage class kernel/sys.c:1342: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1342: warning: parameter names (without types) in function declaration kernel/sys.c:1344: warning: data definition has no type or storage class kernel/sys.c:1344: warning: type defaults to 'int' in declaration of 'DECLARE_RWSEM' kernel/sys.c:1344: warning: parameter names (without types) in function declaration kernel/sys.c:1346: warning: data definition has no type or storage class kernel/sys.c:1346: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sys.c:1346: warning: parameter names (without types) in function declaration kernel/sys.c:1348: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1359: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1404: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1462: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys.c:1561: error: expected declaration specifiers or '...' before 'cputime_t' kernel/sys.c:1561: error: expected declaration specifiers or '...' before 'cputime_t' kernel/sys.c:1561: warning: 'struct rusage' declared inside parameter list kernel/sys.c:1561: warning: 'struct task_struct' declared inside parameter list kernel/sys.c: In function 'accumulate_thread_rusage': kernel/sys.c:1563: error: 'utimep' undeclared (first use in this function) kernel/sys.c:1563: error: implicit declaration of function 'cputime_add' kernel/sys.c:1563: error: dereferencing pointer to incomplete type kernel/sys.c:1564: error: 'stimep' undeclared (first use in this function) kernel/sys.c:1564: error: dereferencing pointer to incomplete type kernel/sys.c:1565: error: dereferencing pointer to incomplete type kernel/sys.c:1565: error: dereferencing pointer to incomplete type kernel/sys.c:1566: error: dereferencing pointer to incomplete type kernel/sys.c:1566: error: dereferencing pointer to incomplete type kernel/sys.c:1567: error: dereferencing pointer to incomplete type kernel/sys.c:1567: error: dereferencing pointer to incomplete type kernel/sys.c:1568: error: dereferencing pointer to incomplete type kernel/sys.c:1568: error: dereferencing pointer to incomplete type kernel/sys.c:1569: error: dereferencing pointer to incomplete type kernel/sys.c:1569: error: implicit declaration of function 'task_io_get_inblock' kernel/sys.c:1570: error: dereferencing pointer to incomplete type kernel/sys.c:1570: error: implicit declaration of function 'task_io_get_oublock' kernel/sys.c: At top level: kernel/sys.c:1573: warning: 'struct rusage' declared inside parameter list kernel/sys.c:1573: warning: 'struct task_struct' declared inside parameter list kernel/sys.c: In function 'k_getrusage': kernel/sys.c:1577: error: 'cputime_t' undeclared (first use in this function) kernel/sys.c:1577: error: expected ';' before 'utime' kernel/sys.c:1579: error: implicit declaration of function 'memset' kernel/sys.c:1579: error: dereferencing pointer to incomplete type kernel/sys.c:1580: error: 'utime' undeclared (first use in this function) kernel/sys.c:1580: error: 'stime' undeclared (first use in this function) kernel/sys.c:1580: error: 'cputime_zero' undeclared (first use in this function) kernel/sys.c:1582: error: 'RUSAGE_THREAD' undeclared (first use in this function) kernel/sys.c:1583: warning: passing argument 1 of 'accumulate_thread_rusage' from incompatible pointer type kernel/sys.c:1583: warning: passing argument 2 of 'accumulate_thread_rusage' from incompatible pointer type kernel/sys.c:1583: error: too many arguments to function 'accumulate_thread_rusage' kernel/sys.c:1587: error: implicit declaration of function 'lock_task_sighand' kernel/sys.c:1591: error: 'RUSAGE_BOTH' undeclared (first use in this function) kernel/sys.c:1592: error: 'RUSAGE_CHILDREN' undeclared (first use in this function) kernel/sys.c:1593: error: dereferencing pointer to incomplete type kernel/sys.c:1594: error: dereferencing pointer to incomplete type kernel/sys.c:1595: error: dereferencing pointer to incomplete type kernel/sys.c:1595: error: dereferencing pointer to incomplete type kernel/sys.c:1596: error: dereferencing pointer to incomplete type kernel/sys.c:1596: error: dereferencing pointer to incomplete type kernel/sys.c:1597: error: dereferencing pointer to incomplete type kernel/sys.c:1597: error: dereferencing pointer to incomplete type kernel/sys.c:1598: error: dereferencing pointer to incomplete type kernel/sys.c:1598: error: dereferencing pointer to incomplete type kernel/sys.c:1599: error: dereferencing pointer to incomplete type kernel/sys.c:1599: error: dereferencing pointer to incomplete type kernel/sys.c:1600: error: dereferencing pointer to incomplete type kernel/sys.c:1600: error: dereferencing pointer to incomplete type kernel/sys.c:1605: error: 'RUSAGE_SELF' undeclared (first use in this function) kernel/sys.c:1606: error: dereferencing pointer to incomplete type kernel/sys.c:1607: error: dereferencing pointer to incomplete type kernel/sys.c:1608: error: dereferencing pointer to incomplete type kernel/sys.c:1608: error: dereferencing pointer to incomplete type kernel/sys.c:1609: error: dereferencing pointer to incomplete type kernel/sys.c:1609: error: dereferencing pointer to incomplete type kernel/sys.c:1610: error: dereferencing pointer to incomplete type kernel/sys.c:1610: error: dereferencing pointer to incomplete type kernel/sys.c:1611: error: dereferencing pointer to incomplete type kernel/sys.c:1611: error: dereferencing pointer to incomplete type kernel/sys.c:1612: error: dereferencing pointer to incomplete type kernel/sys.c:1612: error: dereferencing pointer to incomplete type kernel/sys.c:1613: error: dereferencing pointer to incomplete type kernel/sys.c:1613: error: dereferencing pointer to incomplete type kernel/sys.c:1616: warning: passing argument 1 of 'accumulate_thread_rusage' from incompatible pointer type kernel/sys.c:1616: warning: passing argument 2 of 'accumulate_thread_rusage' from incompatible pointer type kernel/sys.c:1616: error: too many arguments to function 'accumulate_thread_rusage' kernel/sys.c:1617: error: implicit declaration of function 'next_thread' kernel/sys.c:1617: warning: assignment makes pointer from integer without a cast kernel/sys.c:1622: error: implicit declaration of function 'BUG' kernel/sys.c:1624: error: implicit declaration of function 'unlock_task_sighand' kernel/sys.c:1627: error: implicit declaration of function 'cputime_to_timeval' kernel/sys.c:1627: error: dereferencing pointer to incomplete type kernel/sys.c:1628: error: dereferencing pointer to incomplete type kernel/sys.c: At top level: kernel/sys.c:1631: error: expected ';', ',' or ')' before '*' token kernel/sys.c:1638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/ptrace.c:230: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:232: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:232: error: case label does not reduce to an integer constant kernel/signal.c:385: error: expected declaration specifiers or '...' before 'siginfo_t' kernel/signal.c:385: warning: 'struct sigpending' declared inside parameter list kernel/signal.c: In function '__dequeue_signal': kernel/sys.c:1646: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/ptrace.c:233: error: dereferencing pointer to incomplete type kernel/sys.c:1652: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' make[1]: arch/x86/kernel/ptrace.c:235: error: 'ds' undeclared (first use in this function) kernel/signal.c:387: error: 'mask' undeclared (first use in this function)*** [fs/ioctl.o] Error 1arch/x86/kernel/ptrace.c:235: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:237: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:237: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:238: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:240: error: 'es' undeclared (first use in this function) kernel/signal.c:387: warning: passing argument 1 of 'next_signal' from incompatible pointer type kernel/signal.c:387: error: too many arguments to function 'next_signal' kernel/signal.c:390: error: 'current' undeclared (first use in this function) kernel/signal.c:393: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/signal.c:399: error: 'info' undeclared (first use in this function) kernel/signal.c:399: warning: passing argument 2 of 'collect_signal' from incompatible pointer type kernel/signal.c:399: error: too many arguments to function 'collect_signal' kernel/signal.c: At top level: kernel/signal.c:412: error: expected declaration specifiers or '...' before 'sigset_t' kernel/signal.c:412: error: expected declaration specifiers or '...' before 'siginfo_t' kernel/signal.c:412: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'dequeue_signal': kernel/signal.c:419: error: dereferencing pointer to incomplete type kernel/signal.c:419: error: 'mask' undeclared (first use in this function) kernel/signal.c:419: error: 'info' undeclared (first use in this function) kernel/signal.c:419: error: too many arguments to function '__dequeue_signal' kernel/signal.c:421: error: dereferencing pointer to incomplete type kernel/signal.c:422: error: too many arguments to function '__dequeue_signal' kernel/signal.c:436: error: 'SIGALRM' undeclared (first use in this function) kernel/signal.c:437: error: dereferencing pointer to incomplete type kernel/signal.c:439: error: implicit declaration of function 'hrtimer_is_queued' kernel/signal.c:440: error: dereferencing pointer to incomplete type kernel/signal.c:441: error: implicit declaration of function 'hrtimer_forward' kernel/signal.c:441: error: dereferencing pointer to incomplete type kernel/signal.c:442: error: dereferencing pointer to incomplete type kernel/signal.c:443: error: implicit declaration of function 'hrtimer_restart' kernel/signal.c:452: error: implicit declaration of function 'sig_kernel_stop' kernel/signal.c:465: error: dereferencing pointer to incomplete type kernel/signal.c:465: error: 'SIGNAL_GROUP_EXIT' undeclared (first use in this function) kernel/signal.c:466: error: dereferencing pointer to incomplete type kernel/signal.c:466: error: 'SIGNAL_STOP_DEQUEUED' undeclared (first use in this function) kernel/signal.c:468: error: '__SI_MASK' undeclared (first use in this function) kernel/signal.c:468: error: '__SI_TIMER' undeclared (first use in this function) kernel/signal.c:475: error: implicit declaration of function 'spin_unlock' kernel/signal.c:475: error: dereferencing pointer to incomplete type kernel/signal.c:476: error: implicit declaration of function 'do_schedule_next_timer' kernel/signal.c:477: error: implicit declaration of function 'spin_lock' kernel/signal.c:477: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:493: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:494: warning: conflicting types for 'signal_wake_up' cc1: kernel/sys.c:1754: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:127: warning: previous implicit declaration of 'signal_wake_up' was herearch/x86/kernel/ptrace.c:240: error: dereferencing pointer to incomplete type error: kernel/sys.c:1766: error: 'POWEROFF_CMD_PATH_LEN' undeclared here (not in a function) include/linux/autoconf.h: No such file or directory kernel/signal.c: In function 'signal_wake_up': arch/x86/kernel/ptrace.c:246: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:246: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:247: error: implicit declaration of function 'unlikely' arch/x86/kernel/ptrace.c:254: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:254: error: case label does not reduce to an integer constant mm/backing-dev.c:2:24: error: linux/wait.h: No such file or directory mm/backing-dev.c:3:31: error: linux/backing-dev.h: No such file or directory arch/x86/kernel/ptrace.c: At top level: kernel/signal.c:497: error: 'TIF_SIGPENDING' undeclared (first use in this function) mm/backing-dev.c:4:22: arch/x86/kernel/ptrace.c:267: warning: 'struct task_struct' declared inside parameter list error: kernel/signal.c:506: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) arch/x86/kernel/ptrace.c: In function 'debugreg_addr_limit': linux/fs.h: No such file or directory arch/x86/kernel/ptrace.c:273: error: 'TASK_SIZE64' undeclared (first use in this function) mm/backing-dev.c:5:25: error: linux/sched.h: No such file or directory kernel/signal.c:508: error: 'TASK_WAKEKILL' undeclared (first use in this function)mm/backing-dev.c:6:26: error: arch/x86/kernel/ptrace.c: At top level: linux/module.h: No such file or directorykernel/signal.c:509: error: implicit declaration of function 'wake_up_state' arch/x86/kernel/ptrace.c:278: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:510: error: implicit declaration of function 'kick_process' arch/x86/kernel/ptrace.c: In function 'get_flags': arch/x86/kernel/ptrace.c:280: error: implicit declaration of function 'task_pt_regs' mm/backing-dev.c:7:29: arch/x86/kernel/ptrace.c:280: error: invalid type argument of '->' error: kernel/signal.c: At top level: linux/writeback.h: No such file or directory kernel/sys.c: In function 'argv_cleanup': arch/x86/kernel/ptrace.c:285: error: implicit declaration of function 'test_tsk_thread_flag' kernel/signal.c:522: error: expected ')' before '*' tokenarch/x86/kernel/ptrace.c:285: error: 'TIF_FORCED_TF' undeclared (first use in this function) mm/backing-dev.c:8:26: arch/x86/kernel/ptrace.c:286: error: 'X86_EFLAGS_TF' undeclared (first use in this function) kernel/sys.c:1770: error: implicit declaration of function 'argv_free' error: linux/device.h: No such file or directory arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:291: warning: 'struct task_struct' declared inside parameter list CC fs/readdir.o arch/x86/kernel/ptrace.c: In function 'set_flags': arch/x86/kernel/ptrace.c:293: warning: initialization makes pointer from integer without a cast arch/x86/kernel/ptrace.c:300: error: 'X86_EFLAGS_TF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:301: error: implicit declaration of function 'clear_tsk_thread_flag' arch/x86/kernel/ptrace.c:301: error: 'TIF_FORCED_TF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:305: error: dereferencing pointer to incomplete typekernel/signal.c:546: warning: 'struct sigpending' declared inside parameter list kernel/sys.c: At top level: kernel/sys.c:1780: error: expected ')' before 'force' kernel/signal.c: In function 'rm_from_queue': kernel/signal.c:550: error: implicit declaration of function 'sigtestsetmask' kernel/signal.c:550: error: dereferencing pointer to incomplete type kernel/sys.c:1822: warning: data definition has no type or storage classmm/backing-dev.c:79: warning: 'struct backing_dev_info' declared inside parameter list kernel/signal.c:553: error: implicit declaration of function 'sigdelsetmask' mm/backing-dev.c:79: warning: its scope is only this definition or declaration, which is probably not what you wantkernel/sys.c:1822: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_CF' undeclared (first use in this function) kernel/signal.c:553: error: dereferencing pointer to incomplete type kernel/sys.c:1822: warning: parameter names (without types) in function declaration arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_PF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_AF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_ZF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_SF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_DF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_OF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_RF' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_AC' undeclared (first use in this function) arch/x86/kernel/ptrace.c:305: error: 'X86_EFLAGS_NT' undeclared (first use in this function) kernel/signal.c:554: error: dereferencing pointer to incomplete type kernel/signal.c:554: error: 'list' undeclared (first use in this function) kernel/signal.c:554: error: expected ';' before '{' token arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:311: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'putreg': arch/x86/kernel/ptrace.c:314: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:314: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:315: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:315: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:316: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:316: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:317: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:317: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:318: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:318: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:319: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:319: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:320: warning: passing argument 1 of 'set_segment_reg' from incompatible pointer type arch/x86/kernel/ptrace.c:320: error: too many arguments to function 'set_segment_reg' arch/x86/kernel/ptrace.c:322: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:322: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:323: warning: passing argument 1 of 'set_flags' from incompatible pointer type arch/x86/kernel/ptrace.c:359: warning: passing argument 1 of 'pt_regs_access' makes pointer from integer without a cast arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:363: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'getreg': arch/x86/kernel/ptrace.c:366: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:366: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:367: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:367: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:368: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:368: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:369: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:369: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:370: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:370: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:371: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:371: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:372: error: implicit declaration of function 'get_segment_reg' arch/x86/kernel/ptrace.c:374: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:374: error: case label does not reduce to an integer constant arch/x86/kernel/ptrace.c:375: warning: passing argument 1 of 'get_flags' from incompatible pointer type arch/x86/kernel/ptrace.c:409: warning: passing argument 1 of 'pt_regs_access' makes pointer from integer without a cast mm/backing-dev.c:82: warning: 'struct backing_dev_info' declared inside parameter list arch/x86/kernel/ptrace.c: At top level: mm/backing-dev.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_ahead_kb_store'kernel/signal.c: At top level:arch/x86/kernel/ptrace.c:415: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/ptrace.c:440: error: expected ';', ',' or ')' before '*' token mm/backing-dev.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_ahead_kb_show'arch/x86/kernel/ptrace.c:470: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'ptrace_get_debugreg': arch/x86/kernel/ptrace.c:473: error: dereferencing pointer to incomplete typemm/backing-dev.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'min_ratio_store' arch/x86/kernel/ptrace.c:474: error: dereferencing pointer to incomplete type mm/backing-dev.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'min_ratio_show' arch/x86/kernel/ptrace.c:475: error: dereferencing pointer to incomplete type mm/backing-dev.c:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'max_ratio_store' arch/x86/kernel/ptrace.c:476: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:477: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:478: error: dereferencing pointer to incomplete type kernel/signal.c:568: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:568: warning: 'struct siginfo' declared inside parameter list mm/backing-dev.c:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'max_ratio_show' kernel/signal.c: In function 'check_kill_permission': arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:484: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'ptrace_set_debugreg': arch/x86/kernel/ptrace.c:489: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/ptrace.c:491: warning: passing argument 1 of 'debugreg_addr_limit' from incompatible pointer type arch/x86/kernel/ptrace.c:495: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:496: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:497: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:498: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:503: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:542: error: 'DR_CONTROL_RESERVED' undeclared (first use in this function) make[1]: mm/backing-dev.c:155: error: array type has incomplete element type kernel/signal.c:573: error: implicit declaration of function 'valid_signal' mm/backing-dev.c:156: error: implicit declaration of function '__ATTR' mm/backing-dev.c:156: error: 'read_ahead_kb' undeclared here (not in a function) kernel/signal.c:574: error: 'EINVAL' undeclared (first use in this function)arch/x86/kernel/ptrace.c:546: error: dereferencing pointer to incomplete type *** [kernel/sys.o] Error 1 mm/backing-dev.c:156: error: 'read_ahead_kb_show' undeclared here (not in a function) mm/backing-dev.c:156: error: 'read_ahead_kb_store' undeclared here (not in a function) mm/backing-dev.c:157: error: 'min_ratio' undeclared here (not in a function) mm/backing-dev.c:157: error: 'min_ratio_show' undeclared here (not in a function) mm/backing-dev.c:157: error: 'min_ratio_store' undeclared here (not in a function) mm/backing-dev.c:158: error: 'max_ratio' undeclared here (not in a function) mm/backing-dev.c:158: error: 'max_ratio_show' undeclared here (not in a function) mm/backing-dev.c:158: error: 'max_ratio_store' undeclared here (not in a function) mm/backing-dev.c:159: error: '__ATTR_NULL' undeclared here (not in a function) mm/backing-dev.c:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' mm/backing-dev.c:170: warning: data definition has no type or storage class mm/backing-dev.c:170: warning: type defaults to 'int' in declaration of 'postcore_initcall' mm/backing-dev.c:170: warning: parameter names (without types) in function declaration mm/backing-dev.c:173: warning: 'struct device' declared inside parameter list arch/x86/kernel/ptrace.c:548: error: implicit declaration of function 'set_tsk_thread_flag' CC fs/select.o kernel/signal.c:576: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:576: error: implicit declaration of function 'is_si_special' kernel/signal.c:576: error: implicit declaration of function 'SI_FROMKERNEL' kernel/signal.c:583: error: 'current' undeclared (first use in this function) kernel/signal.c:583: error: dereferencing pointer to incomplete type kernel/signal.c:583: error: dereferencing pointer to incomplete type kernel/signal.c:584: error: dereferencing pointer to incomplete type kernel/signal.c:584: error: dereferencing pointer to incomplete type kernel/signal.c:585: error: implicit declaration of function 'capable' kernel/signal.c:585: error: 'CAP_KILL' undeclared (first use in this function) kernel/signal.c:587: error: 'SIGCONT' undeclared (first use in this function) kernel/signal.c:588: error: implicit declaration of function 'task_session' kernel/signal.c:588: warning: assignment makes pointer from integer without a cast kernel/signal.c:593: warning: comparison between pointer and integer kernel/signal.c:596: error: 'EPERM' undeclared (first use in this function) kernel/signal.c:600: error: implicit declaration of function 'security_task_kill' kernel/signal.c: At top level: kernel/signal.c:604: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c:548: error: 'TIF_DEBUG' undeclared (first use in this function) kernel/signal.c:616: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'prepare_signal': kernel/signal.c:618: error: dereferencing pointer to incomplete type kernel/signal.c:621: error: dereferencing pointer to incomplete type kernel/signal.c:621: error: 'SIGNAL_GROUP_EXIT' undeclared (first use in this function) kernel/signal.c:629: error: implicit declaration of function 'sigmask' kernel/signal.c:629: error: 'SIGCONT' undeclared (first use in this function) kernel/signal.c:629: error: dereferencing pointer to incomplete type kernel/signal.c:632: error: dereferencing pointer to incomplete type kernel/signal.c:633: error: expected 'while' before 'while_each_thread' kernel/signal.c:640: error: 'SIG_KERNEL_STOP_MASK' undeclared (first use in this function) kernel/signal.c:640: error: dereferencing pointer to incomplete type kernel/signal.c:644: error: dereferencing pointer to incomplete type kernel/signal.c:659: error: '__TASK_STOPPED' undeclared (first use in this function) kernel/signal.c:660: error: implicit declaration of function 'sig_user_defined' kernel/signal.c:660: error: dereferencing pointer to incomplete type kernel/signal.c:661: error: 'TIF_SIGPENDING' undeclared (first use in this function) kernel/signal.c:662: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/signal.c:665: error: expected 'while' before 'while_each_thread' kernel/signal.c:676: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:849: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'ptrace_disable': arch/x86/kernel/ptrace.c:851: error: implicit declaration of function 'user_disable_single_step' arch/x86/kernel/ptrace.c:855: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:859: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:859: error: implicit declaration of function 'ds_debugctl_mask' arch/x86/kernel/ptrace.c:860: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:861: error: 'TIF_DEBUGCTLMSR' undeclared (first use in this function) arch/x86/kernel/ptrace.c:862: error: 'TIF_BTS_TRACE_TS' undeclared (first use in this function) arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:870: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'arch_ptrace': arch/x86/kernel/ptrace.c:873: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token arch/x86/kernel/ptrace.c:873: error: 'datap' undeclared (first use in this function) arch/x86/kernel/ptrace.c:873: error: expected ')' before '__user' arch/x86/kernel/ptrace.c:877: error: 'PTRACE_PEEKUSR' undeclared (first use in this function) arch/x86/kernel/ptrace.c:880: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/ptrace.c:882: error: invalid application of 'sizeof' to incomplete type 'struct user' arch/x86/kernel/ptrace.c:886: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' arch/x86/kernel/ptrace.c:887: warning: passing argument 1 of 'getreg' from incompatible pointer type arch/x86/kernel/ptrace.c:888: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:889: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:890: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:891: warning: passing argument 1 of 'ptrace_get_debugreg' from incompatible pointer type arch/x86/kernel/ptrace.c:893: error: implicit declaration of function 'put_user' arch/x86/kernel/ptrace.c:897: error: 'PTRACE_POKEUSR' undeclared (first use in this function) arch/x86/kernel/ptrace.c:900: error: invalid application of 'sizeof' to incomplete type 'struct user' arch/x86/kernel/ptrace.c:903: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' arch/x86/kernel/ptrace.c:904: warning: passing argument 1 of 'putreg' from incompatible pointer type arch/x86/kernel/ptrace.c:905: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:906: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:907: error: expected expression before 'struct' arch/x86/kernel/ptrace.c:909: warning: passing argument 1 of 'ptrace_set_debugreg' from incompatible pointer type arch/x86/kernel/ptrace.c:913: error: 'PTRACE_GETREGS' undeclared (first use in this function) arch/x86/kernel/ptrace.c:914: error: implicit declaration of function 'copy_regset_to_user' arch/x86/kernel/ptrace.c:915: error: implicit declaration of function 'task_user_regset_view' arch/x86/kernel/ptrace.c:915: error: 'current' undeclared (first use in this function) arch/x86/kernel/ptrace.c:917: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' arch/x86/kernel/ptrace.c:920: error: 'PTRACE_SETREGS' undeclared (first use in this function) arch/x86/kernel/ptrace.c:921: error: implicit declaration of function 'copy_regset_from_user' arch/x86/kernel/ptrace.c:924: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' arch/x86/kernel/ptrace.c:927: error: 'PTRACE_GETFPREGS' undeclared (first use in this function) arch/x86/kernel/ptrace.c:931: error: invalid application of 'sizeof' to incomplete type 'struct user_i387_struct' arch/x86/kernel/ptrace.c:934: error: 'PTRACE_SETFPREGS' undeclared (first use in this function) arch/x86/kernel/ptrace.c:938: error: invalid application of 'sizeof' to incomplete type 'struct user_i387_struct' arch/x86/kernel/ptrace.c:1014: error: implicit declaration of function 'ptrace_request' arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:1347: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c:1348: error: conflicting types for 'task_user_regset_view' arch/x86/kernel/ptrace.c:915: error: previous implicit declaration of 'task_user_regset_view' was here arch/x86/kernel/ptrace.c:1360: warning: 'struct pt_regs' declared inside parameter list arch/x86/kernel/ptrace.c:1360: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'send_sigtrap': arch/x86/kernel/ptrace.c:1362: error: storage size of 'info' isn't known arch/x86/kernel/ptrace.c:1364: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:1365: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:1367: error: implicit declaration of function 'memset' arch/x86/kernel/ptrace.c:1368: error: 'SIGTRAP' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1369: error: 'TRAP_BRKPT' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1372: error: implicit declaration of function 'user_mode_vm' arch/x86/kernel/ptrace.c:1372: error: expected ')' before '__user' arch/x86/kernel/ptrace.c:1372: error: dereferencing pointer to incomplete type arch/x86/kernel/ptrace.c:1372: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1375: error: implicit declaration of function 'force_sig_info' arch/x86/kernel/ptrace.c:1362: warning: unused variable 'info' arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:1378: warning: 'struct pt_regs' declared inside parameter list arch/x86/kernel/ptrace.c: In function 'syscall_trace': arch/x86/kernel/ptrace.c:1380: error: 'current' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1380: error: 'PT_PTRACED' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1390: error: implicit declaration of function 'ptrace_notify' arch/x86/kernel/ptrace.c:1390: error: 'SIGTRAP' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1390: error: 'PT_TRACESYSGOOD' undeclared (first use in this function) arch/x86/kernel/ptrace.c:1398: error: implicit declaration of function 'send_sig' arch/x86/kernel/ptrace.c: At top level: arch/x86/kernel/ptrace.c:1415: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/ptrace.c:1456: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/backing-dev.c:173: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'bdi_register': mm/backing-dev.c:175: error: 'va_list' undeclared (first use in this function) mm/backing-dev.c:175: error: (Each undeclared identifier is reported only once mm/backing-dev.c:175: error: for each function it appears in.) mm/backing-dev.c:175: error: expected ';' before 'args' mm/backing-dev.c:176: warning: ISO C90 forbids mixed declarations and code mm/backing-dev.c:179: error: implicit declaration of function 'va_start' mm/backing-dev.c:179: error: 'args' undeclared (first use in this function) mm/backing-dev.c:180: error: implicit declaration of function 'device_create_vargs' mm/backing-dev.c:180: error: implicit declaration of function 'MKDEV' mm/backing-dev.c:180: warning: assignment makes pointer from integer without a cast mm/backing-dev.c:181: error: implicit declaration of function 'va_end' mm/backing-dev.c:182: error: implicit declaration of function 'IS_ERR' mm/backing-dev.c:183: error: implicit declaration of function 'PTR_ERR' mm/backing-dev.c:187: error: dereferencing pointer to incomplete type mm/backing-dev.c:188: error: implicit declaration of function 'dev_name' mm/backing-dev.c:188: warning: passing argument 1 of 'bdi_debug_register' from incompatible pointer type mm/backing-dev.c:188: warning: passing argument 2 of 'bdi_debug_register' makes pointer from integer without a cast kernel/signal.c:676: error: 'SIGNAL_STOP_STOPPED' undeclared (first use in this function) kernel/signal.c:677: error: 'SIGNAL_CLD_CONTINUED' undeclared (first use in this function) mm/backing-dev.c: At top level: mm/backing-dev.c:193: warning: data definition has no type or storage class mm/backing-dev.c:193: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:193: warning: parameter names (without types) in function declaration mm/backing-dev.c:195: error: expected declaration specifiers or '...' before 'dev_t' mm/backing-dev.c:195: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'bdi_register_dev': mm/backing-dev.c:197: error: 'NULL' undeclared (first use in this function) mm/backing-dev.c:197: error: implicit declaration of function 'MAJOR' mm/backing-dev.c:197: error: 'dev' undeclared (first use in this function) mm/backing-dev.c:197: error: implicit declaration of function 'MINOR' mm/backing-dev.c:197: warning: passing argument 1 of 'bdi_register' from incompatible pointer type mm/backing-dev.c: At top level: mm/backing-dev.c:199: warning: data definition has no type or storage class mm/backing-dev.c:199: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:199: warning: parameter names (without types) in function declaration mm/backing-dev.c:201: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'bdi_unregister': mm/backing-dev.c:203: error: dereferencing pointer to incomplete type mm/backing-dev.c:204: warning: passing argument 1 of 'bdi_debug_unregister' from incompatible pointer type mm/backing-dev.c:205: error: implicit declaration of function 'device_unregister' mm/backing-dev.c:205: error: dereferencing pointer to incomplete type mm/backing-dev.c:206: error: dereferencing pointer to incomplete type mm/backing-dev.c:206: error: 'NULL' undeclared (first use in this function) mm/backing-dev.c: At top level: mm/backing-dev.c:209: warning: data definition has no type or storage class mm/backing-dev.c:209: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:209: warning: parameter names (without types) in function declaration mm/backing-dev.c:211: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'bdi_init': mm/backing-dev.c:216: error: dereferencing pointer to incomplete type mm/backing-dev.c:216: error: 'NULL' undeclared (first use in this function) mm/backing-dev.c:218: error: dereferencing pointer to incomplete type mm/backing-dev.c:219: error: dereferencing pointer to incomplete type mm/backing-dev.c:220: error: dereferencing pointer to incomplete type mm/backing-dev.c:220: error: 'PROP_FRAC_BASE' undeclared (first use in this function) mm/backing-dev.c:222: error: 'NR_BDI_STAT_ITEMS' undeclared (first use in this function) mm/backing-dev.c:223: error: implicit declaration of function 'percpu_counter_init_irq' mm/backing-dev.c:223: error: dereferencing pointer to incomplete type mm/backing-dev.c:228: error: dereferencing pointer to incomplete type mm/backing-dev.c:229: error: implicit declaration of function 'prop_local_init_percpu' mm/backing-dev.c:229: error: dereferencing pointer to incomplete type mm/backing-dev.c:234: error: implicit declaration of function 'percpu_counter_destroy' mm/backing-dev.c:234: error: dereferencing pointer to incomplete type mm/backing-dev.c: At top level: mm/backing-dev.c:239: warning: data definition has no type or storage class mm/backing-dev.c:239: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:678: error: dereferencing pointer to incomplete typemm/backing-dev.c:239: warning: parameter names (without types) in function declaration make[1]: *** [arch/x86/kernel/ptrace.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/readdir.c:7:26: error: linux/kernel.h: No such file or directory fs/readdir.c:8:26: error: linux/module.h: No such file or directory fs/readdir.c:9:24: error: linux/time.h: No such file or directory fs/readdir.c:10:22: error: linux/mm.h: No such file or directory fs/readdir.c:11:25: error: linux/errno.h: No such file or directory fs/readdir.c:12:24: error: linux/stat.h: No such file or directory fs/readdir.c:13:24: error: linux/file.h: No such file or directory fs/readdir.c:14:22: error: linux/fs.h: No such file or directory fs/readdir.c:15:26: error: linux/dirent.h: No such file or directory fs/readdir.c:16:28: error: linux/security.h: No such file or directory fs/readdir.c:17:28: error: linux/syscalls.h: No such file or directory fs/readdir.c:18:26: error: linux/unistd.h: No such file or directory fs/readdir.c:20:25: error: asm/uaccess.h: No such file or directory fs/readdir.c:22: error: expected declaration specifiers or '...' before 'filldir_t' fs/readdir.c:22: warning: 'struct file' declared inside parameter list fs/readdir.c:22: warning: its scope is only this definition or declaration, which is probably not what you want fs/readdir.c: In function 'vfs_readdir': fs/readdir.c:24: error: dereferencing pointer to incomplete type fs/readdir.c:25: error: 'ENOTDIR' undeclared (first use in this function) fs/readdir.c:25: error: (Each undeclared identifier is reported only once fs/readdir.c:25: error: for each function it appears in.) fs/readdir.c:26: error: dereferencing pointer to incomplete type fs/readdir.c:26: error: dereferencing pointer to incomplete type fs/readdir.c:29: error: implicit declaration of function 'security_file_permission' fs/readdir.c:29: error: 'MAY_READ' undeclared (first use in this function) fs/readdir.c:33: error: implicit declaration of function 'mutex_lock_killable' fs/readdir.c:33: error: dereferencing pointer to incomplete type fs/readdir.c:37: error: 'ENOENT' undeclared (first use in this function) fs/readdir.c:38: error: implicit declaration of function 'IS_DEADDIR' fs/readdir.c:39: error: dereferencing pointer to incomplete type fs/readdir.c:39: error: 'filler' undeclared (first use in this function) fs/readdir.c:40: error: implicit declaration of function 'file_accessed' fs/readdir.c:42: error: implicit declaration of function 'mutex_unlock' fs/readdir.c:42: error: dereferencing pointer to incomplete type fs/readdir.c: At top level: fs/readdir.c:47: warning: data definition has no type or storage class fs/readdir.c:47: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/readdir.c:47: warning: parameter names (without types) in function declaration fs/readdir.c:140: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token fs/readdir.c:146: error: expected declaration specifiers or '...' before 'loff_t' fs/readdir.c:147: error: expected declaration specifiers or '...' before 'u64' fs/readdir.c: In function 'filldir': fs/readdir.c:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/readdir.c:149: error: 'dirent' undeclared (first use in this function) fs/readdir.c:150: warning: ISO C90 forbids mixed declarations and code fs/readdir.c:152: error: implicit declaration of function 'ALIGN' fs/readdir.c:152: error: expected ')' before '__user' fs/readdir.c:154: error: 'struct getdents_callback' has no member named 'error' fs/readdir.c:154: error: 'EINVAL' undeclared (first use in this function) fs/readdir.c:155: error: 'struct getdents_callback' has no member named 'count' fs/readdir.c:157: error: 'ino' undeclared (first use in this function) fs/readdir.c:159: error: 'EOVERFLOW' undeclared (first use in this function) fs/readdir.c:160: error: 'struct getdents_callback' has no member named 'previous' fs/readdir.c:162: error: implicit declaration of function '__put_user' fs/readdir.c:162: error: 'offset' undeclared (first use in this function) fs/readdir.c:165: error: 'struct getdents_callback' has no member named 'current_dir' fs/readdir.c:170: error: implicit declaration of function 'copy_to_user' fs/readdir.c:174: error: expected ')' before '__user' fs/readdir.c:176: error: 'struct getdents_callback' has no member named 'previous' fs/readdir.c:177: error: expected ')' before '__user' fs/readdir.c:178: error: 'struct getdents_callback' has no member named 'current_dir' fs/readdir.c:179: error: 'struct getdents_callback' has no member named 'count' fs/readdir.c:182: error: 'struct getdents_callback' has no member named 'error' fs/readdir.c:182: error: 'EFAULT' undeclared (first use in this function) fs/readdir.c: At top level: fs/readdir.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/readdir.c:226: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token fs/readdir.c:232: error: expected declaration specifiers or '...' before 'loff_t' fs/readdir.c:233: error: expected declaration specifiers or '...' before 'u64' fs/readdir.c: In function 'filldir64': fs/readdir.c:235: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/readdir.c:235: error: 'dirent' undeclared (first use in this function) fs/readdir.c:236: warning: ISO C90 forbids mixed declarations and code fs/readdir.c:237: error: expected ')' before '__user' fs/readdir.c:237: error: 'u64' undeclared (first use in this function) fs/readdir.c:239: error: 'struct getdents_callback64' has no member named 'error' fs/readdir.c:239: error: 'EINVAL' undeclared (first use in this function) fs/readdir.c:240: error: 'struct getdents_callback64' has no member named 'count' fs/readdir.c:242: error: 'struct getdents_callback64' has no member named 'previous' fs/readdir.c:244: error: 'offset' undeclared (first use in this function) fs/readdir.c:247: error: 'struct getdents_callback64' has no member named 'current_dir' fs/readdir.c:248: error: 'ino' undeclared (first use in this function) fs/readdir.c:260: error: 'struct getdents_callback64' has no member named 'previous' fs/readdir.c:261: error: expected ')' before '__user' fs/readdir.c:262: error: 'struct getdents_callback64' has no member named 'current_dir' fs/readdir.c:263: error: 'struct getdents_callback64' has no member named 'count' fs/readdir.c:266: error: 'struct getdents_callback64' has no member named 'error' fs/readdir.c:266: error: 'EFAULT' undeclared (first use in this function) fs/readdir.c: At top level: fs/readdir.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' cc1: error: include/linux/autoconf.h: No such file or directory kernel/signal.c:679: error: 'SIGNAL_CLD_STOPPED' undeclared (first use in this function) kernel/signal.c:687: error: dereferencing pointer to incomplete typemm/backing-dev.c:241: warning: 'struct backing_dev_info' declared inside parameter list fs/select.c:17:26: error: linux/kernel.h: No such file or directory fs/select.c:18:28: error: linux/syscalls.h: No such file or directory fs/select.c:19:26: kernel/signal.c:687: error: 'SIGNAL_STOP_CONTINUED' undeclared (first use in this function) kernel/signal.c:688: error: dereferencing pointer to incomplete type kernel/signal.c:689: error: dereferencing pointer to incomplete type kernel/signal.c:696: error: dereferencing pointer to incomplete type kernel/signal.c:696: error: 'SIGNAL_STOP_DEQUEUED' undeclared (first use in this function) kernel/signal.c:700: warning: passing argument 1 of 'sig_ignored' from incompatible pointer type mm/backing-dev.c: In function 'bdi_destroy': mm/backing-dev.c:245: warning: passing argument 1 of 'bdi_unregister' from incompatible pointer type make[1]: *** [fs/readdir.o] Error 1 mm/backing-dev.c:247: error: 'NR_BDI_STAT_ITEMS' undeclared (first use in this function) mm/backing-dev.c:248: error: dereferencing pointer to incomplete type mm/backing-dev.c:250: error: implicit declaration of function 'prop_local_destroy_percpu' mm/backing-dev.c:250: error: dereferencing pointer to incomplete type mm/backing-dev.c: At top level: mm/backing-dev.c:252: warning: data definition has no type or storage class mm/backing-dev.c:252: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:252: warning: parameter names (without types) in function declaration mm/backing-dev.c:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'congestion_wqh' kernel/signal.c: At top level: kernel/signal.c:711: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'wants_signal': kernel/signal.c:713: error: dereferencing pointer to incomplete type kernel/signal.c:715: error: dereferencing pointer to incomplete type kernel/signal.c:715: error: 'PF_EXITING' undeclared (first use in this function) kernel/signal.c:717: error: 'SIGKILL' undeclared (first use in this function) kernel/signal.c:719: error: implicit declaration of function 'task_is_stopped_or_traced' kernel/signal.c:721: error: implicit declaration of function 'task_curr' kernel/signal.c:721: error: implicit declaration of function 'signal_pending' kernel/signal.c: At top level: kernel/signal.c:724: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'complete_signal': kernel/signal.c:726: error: dereferencing pointer to incomplete type kernel/signal.c:735: warning: passing argument 2 of 'wants_signal' from incompatible pointer type kernel/signal.c:737: error: implicit declaration of function 'thread_group_empty' kernel/signal.c:747: error: dereferencing pointer to incomplete type kernel/signal.c:748: warning: passing argument 2 of 'wants_signal' from incompatible pointer type kernel/signal.c:749: error: implicit declaration of function 'next_thread' kernel/signal.c:749: warning: assignment makes pointer from integer without a cast kernel/signal.c:750: error: dereferencing pointer to incomplete type kernel/signal.c:758: error: dereferencing pointer to incomplete type kernel/signal.c:765: error: implicit declaration of function 'sig_fatal' kernel/signal.c:766: error: dereferencing pointer to incomplete type kernel/signal.c:766: error: 'SIGNAL_UNKILLABLE' undeclared (first use in this function) kernel/signal.c:766: error: 'SIGNAL_GROUP_EXIT' undeclared (first use in this function) kernel/signal.c:767: error: dereferencing pointer to incomplete type kernel/signal.c:768: error: 'SIGKILL' undeclared (first use in this function) kernel/signal.c:768: error: dereferencing pointer to incomplete type kernel/signal.c:768: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c:772: error: implicit declaration of function 'sig_kernel_coredump' kernel/signal.c:779: error: dereferencing pointer to incomplete type kernel/signal.c:780: error: dereferencing pointer to incomplete type kernel/signal.c:781: error: dereferencing pointer to incomplete type kernel/signal.c:784: error: implicit declaration of function 'sigaddset' kernel/signal.c:784: error: dereferencing pointer to incomplete type kernel/signal.c:785: warning: passing argument 1 of 'signal_wake_up' from incompatible pointer type kernel/signal.c:786: error: expected 'while' before 'while_each_thread' kernel/signal.c:795: warning: passing argument 1 of 'signal_wake_up' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:799: warning: 'struct sigpending' declared inside parameter list kernel/signal.c: In function 'legacy_queue': kernel/signal.c:801: error: 'SIGRTMIN' undeclared (first use in this function) kernel/signal.c:801: error: dereferencing pointer to incomplete type CC arch/x86/kernel/ds.o mm/backing-dev.c:260: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'clear_bdi_congested': mm/backing-dev.c:262: error: storage size of 'bit' isn't known mm/backing-dev.c:263: error: 'wait_queue_head_t' undeclared (first use in this function) mm/backing-dev.c:263: error: 'wqh' undeclared (first use in this function) mm/backing-dev.c:263: error: 'congestion_wqh' undeclared (first use in this function) mm/backing-dev.c:265: error: 'WRITE' undeclared (first use in this function) mm/backing-dev.c:265: error: 'BDI_write_congested' undeclared (first use in this function) mm/backing-dev.c:265: error: 'BDI_read_congested' undeclared (first use in this function) mm/backing-dev.c:266: error: implicit declaration of function 'clear_bit' mm/backing-dev.c:266: error: dereferencing pointer to incomplete type mm/backing-dev.c:267: error: implicit declaration of function 'smp_mb__after_clear_bit' mm/backing-dev.c:268: error: implicit declaration of function 'waitqueue_active' mm/backing-dev.c:269: error: implicit declaration of function 'wake_up' mm/backing-dev.c:262: warning: unused variable 'bit' mm/backing-dev.c: At top level: mm/backing-dev.c:271: warning: data definition has no type or storage class mm/backing-dev.c:271: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:271: warning: parameter names (without types) in function declaration mm/backing-dev.c:273: warning: 'struct backing_dev_info' declared inside parameter list mm/backing-dev.c: In function 'set_bdi_congested': mm/backing-dev.c:275: error: storage size of 'bit' isn't known mm/backing-dev.c:277: error: 'WRITE' undeclared (first use in this function) mm/backing-dev.c:277: error: 'BDI_write_congested' undeclared (first use in this function) mm/backing-dev.c:277: error: 'BDI_read_congested' undeclared (first use in this function) mm/backing-dev.c:278: error: implicit declaration of function 'set_bit' mm/backing-dev.c:278: error: dereferencing pointer to incomplete type mm/backing-dev.c:275: warning: unused variable 'bit' error: mm/backing-dev.c: At top level: linux/module.h: No such file or directory kernel/signal.c: At top level: kernel/signal.c:805: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:805: warning: 'struct siginfo' declared inside parameter list fs/select.c:20:24: error: linux/slab.h: No such file or directory kernel/signal.c: In function 'send_signal': kernel/signal.c:810: error: implicit declaration of function 'assert_spin_locked' mm/backing-dev.c:280: warning: data definition has no type or storage classfs/select.c:21:24:kernel/signal.c:810: error: dereferencing pointer to incomplete type kernel/signal.c:811: warning: passing argument 2 of 'prepare_signal' from incompatible pointer type mm/backing-dev.c:280: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:814: error: dereferencing pointer to incomplete type kernel/signal.c:814: error: dereferencing pointer to incomplete type mm/backing-dev.c:280: warning: parameter names (without types) in function declaration kernel/signal.c:820: warning: passing argument 1 of 'legacy_queue' from incompatible pointer type kernel/signal.c:826: error: 'SEND_SIG_FORCED' undeclared (first use in this function) kernel/signal.c:837: error: 'GFP_ATOMIC' undeclared (first use in this function) kernel/signal.c:837: error: 'SIGRTMIN' undeclared (first use in this function) kernel/signal.c:839: error: dereferencing pointer to incomplete type kernel/signal.c:839: warning: passing argument 1 of '__sigqueue_alloc' from incompatible pointer type kernel/signal.c:839: error: too many arguments to function '__sigqueue_alloc' mm/backing-dev.c: In function 'congestion_wait': error: linux/poll.h: No such file or directory fs/select.c:22:57: error: linux/personality.h: No such file or directory fs/select.c:23:24: error: linux/file.h: No such file or directory fs/select.c:24:27: error: linux/fdtable.h: No such file or directory fs/select.c:25:22: error: linux/fs.h: No such file or directory fs/select.c:26:28: error: linux/rcupdate.h: No such file or directory fs/select.c:28:25: error: asm/uaccess.h: No such file or directory fs/select.c:33: error: array type has incomplete element type fs/select.c:51: error: expected declaration specifiers or '...' before 'wait_queue_head_t' fs/select.c:52: error: expected declaration specifiers or '...' before 'poll_table' fs/select.c:52: warning: 'struct file' declared inside parameter list fs/select.c:52: warning: its scope is only this definition or declaration, which is probably not what you want fs/select.c:54: warning: 'struct poll_wqueues' declared inside parameter list fs/select.c: In function 'poll_initwait': fs/select.c:56: error: implicit declaration of function 'init_poll_funcptr' fs/select.c:56: error: dereferencing pointer to incomplete type fs/select.c:57: error: dereferencing pointer to incomplete type fs/select.c:58: error: dereferencing pointer to incomplete type fs/select.c:58: error: 'NULL' undeclared (first use in this function) fs/select.c:58: error: (Each undeclared identifier is reported only once fs/select.c:58: error: for each function it appears in.) fs/select.c:59: error: dereferencing pointer to incomplete type fs/select.c: At top level: fs/select.c:62: warning: data definition has no type or storage class fs/select.c:62: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/select.c:62: warning: parameter names (without types) in function declaration fs/select.c: In function 'free_poll_entry': fs/select.c:66: error: implicit declaration of function 'remove_wait_queue' fs/select.c:66: error: dereferencing pointer to incomplete type fs/select.c:66: error: dereferencing pointer to incomplete type fs/select.c:67: error: implicit declaration of function 'fput' fs/select.c:67: error: dereferencing pointer to incomplete type fs/select.c: At top level: fs/select.c:70: warning: 'struct poll_wqueues' declared inside parameter list fs/select.c: In function 'poll_freewait': fs/select.c:72: error: dereferencing pointer to incomplete type fs/select.c:74: error: dereferencing pointer to incomplete type fs/select.c:75: error: dereferencing pointer to incomplete type fs/select.c:82: error: decrement of pointer to unknown structure fs/select.c:82: error: arithmetic on pointer to an incomplete type fs/select.c:87: error: implicit declaration of function 'free_page' fs/select.c: At top level: fs/select.c:91: warning: data definition has no type or storage class fs/select.c:91: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/select.c:91: warning: parameter names (without types) in function declaration fs/select.c:93: error: expected ')' before '*' token fs/select.c:120: error: expected declaration specifiers or '...' before 'wait_queue_head_t' fs/select.c:121: error: expected declaration specifiers or '...' before 'poll_table' fs/select.c:121: warning: 'struct file' declared inside parameter list fs/select.c:122: error: conflicting types for '__pollwait' fs/select.c:52: error: previous declaration of '__pollwait' was here fs/select.c: In function '__pollwait': fs/select.c:123: error: implicit declaration of function 'poll_get_entry' fs/select.c:123: error: 'p' undeclared (first use in this function) fs/select.c:123: warning: initialization makes pointer from integer without a castkernel/signal.c:841: error: implicit declaration of function 'list_add_tail' kernel/signal.c:841: error: dereferencing pointer to incomplete type kernel/signal.c:841: error: dereferencing pointer to incomplete type kernel/signal.c:843: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:844: error: dereferencing pointer to incomplete type kernel/signal.c:845: error: dereferencing pointer to incomplete type kernel/signal.c:846: error: dereferencing pointer to incomplete type kernel/signal.c:846: error: 'SI_USER' undeclared (first use in this function) kernel/signal.c:847: error: dereferencing pointer to incomplete type kernel/signal.c:847: error: implicit declaration of function 'task_pid_vnr' kernel/signal.c:847: error: 'current' undeclared (first use in this function) kernel/signal.c:848: error: dereferencing pointer to incomplete type kernel/signal.c:850: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/signal.c:851: error: dereferencing pointer to incomplete type kernel/signal.c:852: error: dereferencing pointer to incomplete type kernel/signal.c:853: error: dereferencing pointer to incomplete type kernel/signal.c:853: error: 'SI_KERNEL' undeclared (first use in this function) kernel/signal.c:854: error: dereferencing pointer to incomplete type kernel/signal.c:855: error: dereferencing pointer to incomplete type kernel/signal.c:858: error: implicit declaration of function 'copy_siginfo' kernel/signal.c:858: error: dereferencing pointer to incomplete type kernel/signal.c:862: error: dereferencing pointer to incomplete type kernel/signal.c:867: error: 'EAGAIN' undeclared (first use in this function) kernel/signal.c:871: error: implicit declaration of function 'signalfd_notify' kernel/signal.c:872: error: dereferencing pointer to incomplete type mm/backing-dev.c:294: error: implicit declaration of function 'DEFINE_WAIT' kernel/signal.c:873: warning: passing argument 2 of 'complete_signal' from incompatible pointer type mm/backing-dev.c:294: error: 'wait' undeclared (first use in this function) mm/backing-dev.c:295: error: 'wait_queue_head_t' undeclared (first use in this function) mm/backing-dev.c:295: error: 'wqh' undeclared (first use in this function) mm/backing-dev.c:295: error: 'congestion_wqh' undeclared (first use in this function) mm/backing-dev.c:297: error: implicit declaration of function 'prepare_to_wait' mm/backing-dev.c:297: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) mm/backing-dev.c:298: error: implicit declaration of function 'io_schedule_timeout' kernel/signal.c: At top level: kernel/signal.c:879: warning: 'struct pt_regs' declared inside parameter list mm/backing-dev.c:299: error: implicit declaration of function 'finish_wait' kernel/signal.c: In function 'print_fatal_signal': kernel/signal.c:881: error: implicit declaration of function 'printk' kernel/signal.c:882: error: 'current' undeclared (first use in this function) kernel/signal.c:882: error: implicit declaration of function 'task_pid_nr' mm/backing-dev.c: At top level: mm/backing-dev.c:302: warning: data definition has no type or storage class mm/backing-dev.c:302: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/backing-dev.c:302: warning: parameter names (without types) in function declaration kernel/signal.c:885: error: dereferencing pointer to incomplete type kernel/signal.c:891: error: implicit declaration of function '__get_user' kernel/signal.c:891: error: dereferencing pointer to incomplete type kernel/signal.c:897: error: implicit declaration of function 'show_regs' kernel/signal.c: At top level: kernel/signal.c:900: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_print_fatal_signals' kernel/signal.c:907: error: expected declaration specifiers or '...' before string constant kernel/signal.c:907: error: expected declaration specifiers or '...' before 'setup_print_fatal_signals' kernel/signal.c:907: warning: data definition has no type or storage class kernel/signal.c:907: warning: type defaults to 'int' in declaration of '__setup' kernel/signal.c:907: warning: function declaration isn't a prototype kernel/signal.c:910: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:910: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function '__group_send_sig_info': kernel/signal.c:912: warning: passing argument 2 of 'send_signal' from incompatible pointer type kernel/signal.c:912: warning: passing argument 3 of 'send_signal' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:916: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:916: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'specific_send_sig_info': kernel/signal.c:918: warning: passing argument 2 of 'send_signal' from incompatible pointer type kernel/signal.c:918: warning: passing argument 3 of 'send_signal' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:933: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:933: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'force_sig_info': kernel/signal.c:939: error: dereferencing pointer to incomplete type kernel/signal.c:940: error: dereferencing pointer to incomplete type kernel/signal.c:941: error: dereferencing pointer to incomplete type kernel/signal.c:941: error: 'SIG_IGN' undeclared (first use in this function) kernel/signal.c:942: error: dereferencing pointer to incomplete type kernel/signal.c:944: error: dereferencing pointer to incomplete type kernel/signal.c:944: error: 'SIG_DFL' undeclared (first use in this function) kernel/signal.c:946: error: implicit declaration of function 'sigdelset' kernel/signal.c:946: error: dereferencing pointer to incomplete type kernel/signal.c:947: warning: passing argument 1 of 'recalc_sigpending_and_wake' from incompatible pointer type kernel/signal.c:950: error: dereferencing pointer to incomplete type kernel/signal.c:951: error: dereferencing pointer to incomplete type kernel/signal.c:951: error: 'SIGNAL_UNKILLABLE' undeclared (first use in this function) kernel/signal.c:952: warning: passing argument 2 of 'specific_send_sig_info' from incompatible pointer type kernel/signal.c:952: warning: passing argument 3 of 'specific_send_sig_info' from incompatible pointer type kernel/signal.c:953: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:959: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'force_sig_specific': kernel/signal.c:961: error: 'SEND_SIG_FORCED' undeclared (first use in this function) kernel/signal.c:961: warning: passing argument 3 of 'force_sig_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:967: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'zap_other_threads': kernel/signal.c:971: error: dereferencing pointer to incomplete type kernel/signal.c:973: warning: assignment makes pointer from integer without a cast kernel/signal.c:973: warning: assignment makes pointer from integer without a cast kernel/signal.c:977: error: dereferencing pointer to incomplete type kernel/signal.c:981: error: dereferencing pointer to incomplete type kernel/signal.c:981: error: 'SIGKILL' undeclared (first use in this function) kernel/signal.c:982: warning: passing argument 1 of 'signal_wake_up' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:986: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function '__fatal_signal_pending': kernel/signal.c:988: error: dereferencing pointer to incomplete type kernel/signal.c:988: error: 'SIGKILL' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:990: warning: data definition has no type or storage class kernel/signal.c:990: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:990: warning: parameter names (without types) in function declaration kernel/signal.c:992: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'lock_task_sighand': kernel/signal.c:996: error: implicit declaration of function 'rcu_read_lock' kernel/signal.c:998: error: implicit declaration of function 'rcu_dereference' kernel/signal.c:998: error: dereferencing pointer to incomplete type kernel/signal.c:998: warning: assignment makes pointer from integer without a cast kernel/signal.c:999: error: 'NULL' undeclared (first use in this function) kernel/signal.c:1002: error: dereferencing pointer to incomplete type kernel/signal.c:1003: error: implicit declaration of function 'likely' kernel/signal.c:1003: error: dereferencing pointer to incomplete type kernel/signal.c:1005: error: dereferencing pointer to incomplete type kernel/signal.c:1007: error: implicit declaration of function 'rcu_read_unlock' kernel/signal.c: At top level: kernel/signal.c:1012: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:1012: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'group_send_sig_info': kernel/signal.c:1017: warning: passing argument 2 of 'check_kill_permission' from incompatible pointer type kernel/signal.c:1017: warning: passing argument 3 of 'check_kill_permission' from incompatible pointer type kernel/signal.c:1020: error: 'ESRCH' undeclared (first use in this function) kernel/signal.c:1021: warning: passing argument 1 of 'lock_task_sighand' from incompatible pointer type kernel/signal.c:1022: warning: passing argument 2 of '__group_send_sig_info' from incompatible pointer type kernel/signal.c:1022: warning: passing argument 3 of '__group_send_sig_info' from incompatible pointer type kernel/signal.c:1023: error: implicit declaration of function 'unlock_task_sighand' kernel/signal.c: At top level: kernel/signal.c:1035: warning: 'struct pid' declared inside parameter list kernel/signal.c:1035: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function '__kill_pgrp_info': kernel/signal.c:1037: error: 'NULL' undeclared (first use in this function) kernel/signal.c:1041: error: 'ESRCH' undeclared (first use in this function) kernel/signal.c:1042: error: implicit declaration of function 'do_each_pid_task' kernel/signal.c:1042: error: 'PIDTYPE_PGID' undeclared (first use in this function) kernel/signal.c:1042: error: expected ';' before '{' token kernel/signal.c: At top level: kernel/signal.c:1050: warning: 'struct pid' declared inside parameter list kernel/signal.c:1050: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'kill_pid_info': kernel/signal.c:1052: error: 'ESRCH' undeclared (first use in this function) kernel/signal.c:1057: error: implicit declaration of function 'pid_task' kernel/signal.c:1057: error: 'PIDTYPE_PID' undeclared (first use in this function) kernel/signal.c:1057: warning: assignment makes pointer from integer without a cast kernel/signal.c:1059: warning: passing argument 2 of 'group_send_sig_info' from incompatible pointer type kernel/signal.c:1059: warning: passing argument 3 of 'group_send_sig_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1075: error: expected declaration specifiers or '...' before 'pid_t' kernel/signal.c:1075: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'kill_proc_info': kernel/signal.c:1079: error: implicit declaration of function 'find_vpid' kernel/signal.c:1079: error: 'pid' undeclared (first use in this function) kernel/signal.c:1079: warning: passing argument 2 of 'kill_pid_info' from incompatible pointer type kernel/signal.c:1079: warning: passing argument 3 of 'kill_pid_info' makes pointer from integer without a cast kernel/signal.c: At top level: kernel/signal.c:1086: error: expected declaration specifiers or '...' before 'uid_t' kernel/signal.c:1086: error: expected declaration specifiers or '...' before 'uid_t' kernel/signal.c:1086: error: expected declaration specifiers or '...' before 'u32' kernel/signal.c:1086: warning: 'struct pid' declared inside parameter list kernel/signal.c:1086: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'kill_pid_info_as_uid': kernel/signal.c:1088: error: 'EINVAL' undeclared (first use in this function) kernel/signal.c:1094: error: implicit declaration of function 'read_lock' kernel/signal.c:1094: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1095: error: 'PIDTYPE_PID' undeclared (first use in this function) kernel/signal.c:1095: warning: assignment makes pointer from integer without a cast kernel/signal.c:1097: error: 'ESRCH' undeclared (first use in this function) kernel/signal.c:1100: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:1100: error: implicit declaration of function 'SI_FROMUSER' kernel/signal.c:1101: error: 'euid' undeclared (first use in this function) kernel/signal.c:1101: error: dereferencing pointer to incomplete type kernel/signal.c:1101: error: dereferencing pointer to incomplete type kernel/signal.c:1102: error: 'uid' undeclared (first use in this function) kernel/signal.c:1102: error: dereferencing pointer to incomplete type kernel/signal.c:1102: error: dereferencing pointer to incomplete type kernel/signal.c:1103: error: 'EPERM' undeclared (first use in this function) kernel/signal.c:1106: error: 'secid' undeclared (first use in this function) kernel/signal.c:1109: error: dereferencing pointer to incomplete type kernel/signal.c:1111: error: dereferencing pointer to incomplete type kernel/signal.c:1112: warning: passing argument 2 of '__group_send_sig_info' from incompatible pointer type kernel/signal.c:1112: warning: passing argument 3 of '__group_send_sig_info' from incompatible pointer type kernel/signal.c:1113: error: dereferencing pointer to incomplete type kernel/signal.c:1116: error: implicit declaration of function 'read_unlock' kernel/signal.c: At top level: kernel/signal.c:1119: warning: data definition has no type or storage class kernel/signal.c:1119: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/signal.c:1119: warning: parameter names (without types) in function declaration kernel/signal.c:1128: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'kill_something_info': kernel/signal.c:1134: warning: passing argument 2 of 'kill_pid_info' from incompatible pointer type kernel/signal.c:1134: warning: passing argument 3 of 'kill_pid_info' makes pointer from integer without a cast kernel/signal.c:1139: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1142: error: implicit declaration of function 'task_pgrp' kernel/signal.c:1142: error: 'current' undeclared (first use in this function) kernel/signal.c:1142: warning: passing argument 2 of '__kill_pgrp_info' from incompatible pointer type kernel/signal.c:1142: warning: passing argument 3 of '__kill_pgrp_info' makes pointer from integer without a cast kernel/signal.c:1147: error: implicit declaration of function 'for_each_process' kernel/signal.c:1147: error: expected ';' before '{' token kernel/signal.c:1144: warning: unused variable 'count' kernel/signal.c:1144: warning: unused variable 'retval' kernel/signal.c: At top level: kernel/signal.c:1170: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:1170: warning: 'struct siginfo' declared inside parameter list kernel/signal.c: In function 'send_sig_info': kernel/signal.c:1180: error: 'EINVAL' undeclared (first use in this function) kernel/signal.c:1182: error: dereferencing pointer to incomplete type kernel/signal.c:1183: warning: passing argument 2 of 'specific_send_sig_info' from incompatible pointer type kernel/signal.c:1183: warning: passing argument 3 of 'specific_send_sig_info' from incompatible pointer type kernel/signal.c:1184: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:1192: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'send_sig': kernel/signal.c:1194: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/signal.c:1194: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:1194: warning: passing argument 3 of 'send_sig_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1198: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'force_sig': kernel/signal.c:1200: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/signal.c:1200: warning: passing argument 3 of 'force_sig_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1210: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'force_sigsegv': kernel/signal.c:1212: error: 'SIGSEGV' undeclared (first use in this function) kernel/signal.c:1214: error: dereferencing pointer to incomplete type kernel/signal.c:1215: error: dereferencing pointer to incomplete type kernel/signal.c:1215: error: 'SIG_DFL' undeclared (first use in this function) kernel/signal.c:1216: error: dereferencing pointer to incomplete type kernel/signal.c:1218: warning: passing argument 2 of 'force_sig' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1222: warning: 'struct pid' declared inside parameter list kernel/signal.c: In function 'kill_pgrp': kernel/signal.c:1226: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1227: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/signal.c:1227: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:1227: warning: passing argument 3 of '__kill_pgrp_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1232: warning: data definition has no type or storage class kernel/signal.c:1232: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1232: warning: parameter names (without types) in function declaration kernel/signal.c:1234: warning: 'struct pid' declared inside parameter list kernel/signal.c: In function 'kill_pid': kernel/signal.c:1236: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/signal.c:1236: error: 'SEND_SIG_NOINFO' undeclared (first use in this function) kernel/signal.c:1236: warning: passing argument 3 of 'kill_pid_info' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1238: warning: data definition has no type or storage class kernel/signal.c:1238: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1238: warning: parameter names (without types) in function declaration kernel/signal.c:1241: error: expected ')' before 'pid' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/ds.c:20:20: error: asm/ds.h: No such file or directory arch/x86/kernel/ds.c:22:25: error: linux/errno.h: No such file or directory arch/x86/kernel/ds.c:23:26: error: linux/string.h: No such file or directory arch/x86/kernel/ds.c:24:24: error: linux/slab.h: No such file or directory fs/select.c:126: error: implicit declaration of function 'get_file' fs/select.c:127: error: dereferencing pointer to incomplete type fs/select.c:128: error: dereferencing pointer to incomplete type fs/select.c:128: error: 'wait_address' undeclared (first use in this function) fs/select.c:129: error: implicit declaration of function 'init_waitqueue_entry' fs/select.c:129: error: dereferencing pointer to incomplete type fs/select.c:129: error: 'current' undeclared (first use in this function) fs/select.c:130: error: implicit declaration of function 'add_wait_queue' fs/select.c:130: error: dereferencing pointer to incomplete type fs/select.c: At top level: fs/select.c:139: error: expected declaration specifiers or '...' before 'fd_set_bits' fs/select.c: In function 'max_select_fd': fs/select.c:147: error: '__NFDBITS' undeclared (first use in this function) fs/select.c:149: error: implicit declaration of function 'files_fdtable' fs/select.c:149: error: 'current' undeclared (first use in this function) fs/select.c:149: warning: assignment makes pointer from integer without a cast fs/select.c:150: error: dereferencing pointer to incomplete type fs/select.c:153: error: 'fds' undeclared (first use in this function) fs/select.c:157: error: 'EBADF' undeclared (first use in this function) arch/x86/kernel/ds.c:180: error: expected declaration specifiers or '...' before 'size_t' arch/x86/kernel/ds.c: In function 'ds_allocate': arch/x86/kernel/ds.c:182: error: 'size_t' undeclared (first use in this function) arch/x86/kernel/ds.c:182: error: (Each undeclared identifier is reported only once arch/x86/kernel/ds.c:182: error: for each function it appears in.) arch/x86/kernel/ds.c:182: error: expected ';' before 'bts_size_in_records' arch/x86/kernel/ds.c:183: warning: ISO C90 forbids mixed declarations and code fs/select.c: At top level: arch/x86/kernel/ds.c:187: error: 'EOPNOTSUPP' undeclared (first use in this function) arch/x86/kernel/ds.c:189: error: 'bts_size_in_bytes' undeclared (first use in this function) arch/x86/kernel/ds.c:190: error: 'EINVAL' undeclared (first use in this function) arch/x86/kernel/ds.c:192: error: 'bts_size_in_records' undeclared (first use in this function) arch/x86/kernel/ds.c:200: error: implicit declaration of function 'kzalloc' arch/x86/kernel/ds.c:200: error: 'GFP_KERNEL' undeclared (first use in this function) arch/x86/kernel/ds.c:203: error: 'ENOMEM' undeclared (first use in this function) arch/x86/kernel/ds.c:205: warning: assignment makes pointer from integer without a cast kernel/signal.c: In function 'sigqueue_alloc':arch/x86/kernel/ds.c:208: error: implicit declaration of function 'kfree' arch/x86/kernel/ds.c: In function 'ds_free': arch/x86/kernel/ds.c:226: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/ds.c: In function 'ds_get_bts_size': arch/x86/kernel/ds.c:236: error: 'EOPNOTSUPP' undeclared (first use in this function) fs/select.c:185: error: expected declaration specifiers or '...' before 'fd_set_bits' fs/select.c:185: error: expected declaration specifiers or '...' before 's64' make[1]: *** [mm/backing-dev.o] Error 1 kernel/signal.c:1265: error: 'current' undeclared (first use in this function) kernel/signal.c:1265: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/signal.c:1265: error: too many arguments to function '__sigqueue_alloc' kernel/signal.c:1266: error: dereferencing pointer to incomplete type kernel/signal.c:1266: error: 'SIGQUEUE_PREALLOC' undeclared (first use in this function) arch/x86/kernel/ds.c: In function 'ds_get_bts_index': arch/x86/kernel/ds.c:262: error: 'EOPNOTSUPP' undeclared (first use in this function)kernel/signal.c: In function 'sigqueue_free': kernel/signal.c:1273: error: 'spinlock_t' undeclared (first use in this function) kernel/signal.c:1273: error: 'lock' undeclared (first use in this function) kernel/signal.c:1273: error: 'current' undeclared (first use in this function) kernel/signal.c:1275: error: implicit declaration of function 'BUG_ON' kernel/signal.c:1275: error: dereferencing pointer to incomplete type kernel/signal.c:1275: error: 'SIGQUEUE_PREALLOC' undeclared (first use in this function) kernel/signal.c:1282: error: dereferencing pointer to incomplete type kernel/signal.c:1287: error: dereferencing pointer to incomplete type kernel/signal.c:1288: error: 'NULL' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1295: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'send_sigqueue': kernel/signal.c:1297: error: dereferencing pointer to incomplete type kernel/signal.c:1302: error: dereferencing pointer to incomplete type kernel/signal.c:1302: error: 'SIGQUEUE_PREALLOC' undeclared (first use in this function) kernel/signal.c:1305: warning: passing argument 1 of 'lock_task_sighand' from incompatible pointer type kernel/signal.c:1309: warning: passing argument 2 of 'prepare_signal' from incompatible pointer type kernel/signal.c:1313: error: dereferencing pointer to incomplete type kernel/signal.c:1318: error: dereferencing pointer to incomplete type kernel/signal.c:1318: error: 'SI_TIMER' undeclared (first use in this function) kernel/signal.c:1319: error: dereferencing pointer to incomplete type kernel/signal.c:1324: error: dereferencing pointer to incomplete type kernel/signal.c:1324: error: dereferencing pointer to incomplete type kernel/signal.c:1325: error: dereferencing pointer to incomplete type kernel/signal.c:1325: error: dereferencing pointer to incomplete type kernel/signal.c:1326: error: dereferencing pointer to incomplete type kernel/signal.c:1327: warning: passing argument 2 of 'complete_signal' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1338: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function '__wake_up_parent': kernel/signal.c:1340: error: implicit declaration of function 'wake_up_interruptible_sync' kernel/signal.c:1340: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:1348: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'do_notify_parent': kernel/signal.c:1350: error: storage size of 'info' isn't known kernel/signal.c:1359: error: dereferencing pointer to incomplete type kernel/signal.c:1360: error: dereferencing pointer to incomplete type kernel/signal.c:1377: error: implicit declaration of function 'task_pid_nr_ns' kernel/signal.c:1377: error: dereferencing pointer to incomplete type kernel/signal.c:1380: error: dereferencing pointer to incomplete type kernel/signal.c:1383: error: implicit declaration of function 'cputime_to_jiffies' kernel/signal.c:1383: error: implicit declaration of function 'cputime_add' kernel/signal.c:1383: error: dereferencing pointer to incomplete type kernel/signal.c:1384: error: dereferencing pointer to incomplete type kernel/signal.c:1385: error: dereferencing pointer to incomplete type kernel/signal.c:1386: error: dereferencing pointer to incomplete type kernel/signal.c:1388: error: dereferencing pointer to incomplete type kernel/signal.c:1389: error: dereferencing pointer to incomplete type kernel/signal.c:1390: error: 'CLD_DUMPED' undeclared (first use in this function) kernel/signal.c:1391: error: dereferencing pointer to incomplete type kernel/signal.c:1392: error: 'CLD_KILLED' undeclared (first use in this function) kernel/signal.c:1394: error: 'CLD_EXITED' undeclared (first use in this function) kernel/signal.c:1395: error: dereferencing pointer to incomplete type kernel/signal.c:1398: error: dereferencing pointer to incomplete type kernel/signal.c:1399: error: dereferencing pointer to incomplete type kernel/signal.c:1400: error: dereferencing pointer to incomplete type kernel/signal.c:1400: error: 'SIGCHLD' undeclared (first use in this function) kernel/signal.c:1401: error: dereferencing pointer to incomplete type kernel/signal.c:1401: error: 'SIG_IGN' undeclared (first use in this function) kernel/signal.c:1402: error: dereferencing pointer to incomplete type kernel/signal.c:1402: error: 'SA_NOCLDWAIT' undeclared (first use in this function) kernel/signal.c:1418: error: dereferencing pointer to incomplete type kernel/signal.c:1419: error: dereferencing pointer to incomplete type kernel/signal.c:1423: error: dereferencing pointer to incomplete type kernel/signal.c:1424: error: dereferencing pointer to incomplete type kernel/signal.c:1424: warning: passing argument 1 of '__wake_up_parent' from incompatible pointer type kernel/signal.c:1425: error: dereferencing pointer to incomplete type kernel/signal.c:1350: warning: unused variable 'info' kernel/signal.c: At top level: kernel/signal.c:1428: warning: 'struct task_struct' declared inside parameter list kernel/signal.c:1429: error: conflicting types for 'do_notify_parent_cldstop' kernel/signal.c:604: error: previous declaration of 'do_notify_parent_cldstop' was here kernel/signal.c: In function 'do_notify_parent_cldstop': kernel/signal.c:1430: error: storage size of 'info' isn't known kernel/signal.c:1435: error: dereferencing pointer to incomplete type kernel/signal.c:1435: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c:1436: error: dereferencing pointer to incomplete type kernel/signal.c:1438: error: dereferencing pointer to incomplete type kernel/signal.c:1439: error: dereferencing pointer to incomplete type kernel/signal.c:1442: error: 'SIGCHLD' undeclared (first use in this function) kernel/signal.c:1448: error: dereferencing pointer to incomplete type kernel/signal.c:1451: error: dereferencing pointer to incomplete type kernel/signal.c:1454: error: dereferencing pointer to incomplete type kernel/signal.c:1455: error: dereferencing pointer to incomplete type kernel/signal.c:1459: error: 'CLD_CONTINUED' undeclared (first use in this function) kernel/signal.c:1460: error: 'SIGCONT' undeclared (first use in this function) kernel/signal.c:1462: error: 'CLD_STOPPED' undeclared (first use in this function) kernel/signal.c:1463: error: dereferencing pointer to incomplete type kernel/signal.c:1465: error: 'CLD_TRAPPED' undeclared (first use in this function) kernel/signal.c:1466: error: dereferencing pointer to incomplete type kernel/signal.c:1469: error: implicit declaration of function 'BUG' kernel/signal.c:1472: error: dereferencing pointer to incomplete type kernel/signal.c:1473: error: dereferencing pointer to incomplete type kernel/signal.c:1474: error: dereferencing pointer to incomplete type kernel/signal.c:1474: error: 'SIG_IGN' undeclared (first use in this function) kernel/signal.c:1475: error: dereferencing pointer to incomplete type kernel/signal.c:1475: error: 'SA_NOCLDSTOP' undeclared (first use in this function) kernel/signal.c:1476: warning: passing argument 3 of '__group_send_sig_info' from incompatible pointer type kernel/signal.c:1480: warning: passing argument 1 of '__wake_up_parent' from incompatible pointer type kernel/signal.c:1480: warning: passing argument 2 of '__wake_up_parent' from incompatible pointer type kernel/signal.c:1481: error: dereferencing pointer to incomplete type kernel/signal.c:1430: warning: unused variable 'info' kernel/signal.c: In function 'may_ptrace_stop': kernel/signal.c:1486: error: 'current' undeclared (first use in this function) kernel/signal.c:1486: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1508: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'sigkill_pending': kernel/signal.c:1510: error: dereferencing pointer to incomplete type kernel/signal.c:1510: error: 'SIGKILL' undeclared (first use in this function) kernel/signal.c:1511: error: dereferencing pointer to incomplete type kernel/signal.c:1512: error: dereferencing pointer to incomplete type kernel/signal.c: At top level: kernel/signal.c:1526: error: expected declaration specifiers or '...' before 'siginfo_t' kernel/signal.c: In function 'ptrace_stop': kernel/signal.c:1530: error: implicit declaration of function 'arch_ptrace_stop_needed' kernel/signal.c:1530: error: 'info' undeclared (first use in this function) kernel/signal.c:1542: error: implicit declaration of function 'spin_unlock_irq' kernel/signal.c:1542: error: 'current' undeclared (first use in this function) kernel/signal.c:1543: error: implicit declaration of function 'arch_ptrace_stop' kernel/signal.c:1544: error: implicit declaration of function 'spin_lock_irq' kernel/signal.c:1559: error: implicit declaration of function '__set_current_state' kernel/signal.c:1559: error: 'TASK_TRACED' undeclared (first use in this function) kernel/signal.c:1561: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1563: error: 'CLD_TRAPPED' undeclared (first use in this function) kernel/signal.c:1565: error: implicit declaration of function 'schedule' kernel/signal.c:1571: error: 'TASK_RUNNING' undeclared (first use in this function) kernel/signal.c:1582: error: implicit declaration of function 'try_to_freeze' kernel/signal.c:1590: error: 'NULL' undeclared (first use in this function) kernel/signal.c: In function 'ptrace_notify': kernel/signal.c:1602: error: 'siginfo_t' undeclared (first use in this function) kernel/signal.c:1602: error: expected ';' before 'info' kernel/signal.c:1604: error: 'SIGTRAP' undeclared (first use in this function) kernel/signal.c:1606: error: implicit declaration of function 'memset' kernel/signal.c:1606: error: 'info' undeclared (first use in this function) kernel/signal.c:1609: error: 'current' undeclared (first use in this function) kernel/signal.c:1614: error: too many arguments to function 'ptrace_stop' kernel/signal.c: In function 'finish_stop': kernel/signal.c:1626: error: 'current' undeclared (first use in this function) kernel/signal.c:1626: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c:1627: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1628: error: 'CLD_STOPPED' undeclared (first use in this function) kernel/signal.c: In function 'do_signal_stop': kernel/signal.c:1649: error: 'current' undeclared (first use in this function) kernel/signal.c:1652: error: dereferencing pointer to incomplete type kernel/signal.c:1657: error: dereferencing pointer to incomplete type kernel/signal.c:1661: error: dereferencing pointer to incomplete type kernel/signal.c:1661: error: 'SIGNAL_STOP_DEQUEUED' undeclared (first use in this function) kernel/signal.c:1661: error: 'SIGNAL_UNKILLABLE' undeclared (first use in this function) kernel/signal.c:1663: error: implicit declaration of function 'signal_group_exit' kernel/signal.c:1669: error: dereferencing pointer to incomplete type kernel/signal.c:1672: warning: assignment makes pointer from integer without a cast kernel/signal.c:1672: warning: assignment makes pointer from integer without a cast kernel/signal.c:1678: error: dereferencing pointer to incomplete type kernel/signal.c:1678: error: 'PF_EXITING' undeclared (first use in this function) kernel/signal.c:1681: warning: passing argument 1 of 'signal_wake_up' from incompatible pointer type kernel/signal.c:1683: error: dereferencing pointer to incomplete type kernel/signal.c:1687: error: dereferencing pointer to incomplete type kernel/signal.c:1687: error: 'SIGNAL_STOP_STOPPED' undeclared (first use in this function) kernel/signal.c:1688: error: dereferencing pointer to incomplete type kernel/signal.c:1689: error: 'TASK_STOPPED' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1696: error: expected declaration specifiers or '...' before 'siginfo_t' kernel/signal.c:1697: warning: 'struct pt_regs' declared inside parameter list kernel/signal.c: In function 'ptrace_signal': kernel/signal.c:1699: error: 'current' undeclared (first use in this function) kernel/signal.c:1699: error: 'PT_PTRACED' undeclared (first use in this function) kernel/signal.c:1702: error: implicit declaration of function 'ptrace_signal_deliver' kernel/signal.c:1705: error: 'info' undeclared (first use in this function) kernel/signal.c:1705: error: too many arguments to function 'ptrace_stop' kernel/signal.c:1721: error: 'SI_USER' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1735: error: expected ')' before '*' token kernel/signal.c:1877: warning: 'struct task_struct' declared inside parameter list kernel/signal.c: In function 'exit_signals': kernel/signal.c:1882: error: dereferencing pointer to incomplete type kernel/signal.c:1883: error: dereferencing pointer to incomplete type kernel/signal.c:1883: error: 'PF_EXITING' undeclared (first use in this function) kernel/signal.c:1887: error: dereferencing pointer to incomplete type kernel/signal.c:1892: error: dereferencing pointer to incomplete type kernel/signal.c:1900: warning: assignment makes pointer from integer without a cast kernel/signal.c:1901: error: dereferencing pointer to incomplete type kernel/signal.c:1902: warning: passing argument 1 of 'recalc_sigpending_and_wake' from incompatible pointer type kernel/signal.c:1904: error: dereferencing pointer to incomplete type kernel/signal.c:1905: error: dereferencing pointer to incomplete type kernel/signal.c:1906: error: dereferencing pointer to incomplete type kernel/signal.c:1906: error: 'SIGNAL_STOP_STOPPED' undeclared (first use in this function) kernel/signal.c:1910: error: dereferencing pointer to incomplete type kernel/signal.c:1913: error: 'tasklist_lock' undeclared (first use in this function) kernel/signal.c:1914: error: 'CLD_STOPPED' undeclared (first use in this function) kernel/signal.c:1914: warning: passing argument 1 of 'do_notify_parent_cldstop' from incompatible pointer type kernel/signal.c: At top level: kernel/signal.c:1919: warning: data definition has no type or storage class kernel/signal.c:1919: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1919: warning: parameter names (without types) in function declaration kernel/signal.c:1920: warning: data definition has no type or storage class kernel/signal.c:1920: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/signal.c:1920: warning: parameter names (without types) in function declaration kernel/signal.c:1921: warning: data definition has no type or storage class kernel/signal.c:1921: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1921: warning: parameter names (without types) in function declaration kernel/signal.c:1922: warning: data definition has no type or storage class kernel/signal.c:1922: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1922: warning: parameter names (without types) in function declaration kernel/signal.c:1923: warning: data definition has no type or storage class kernel/signal.c:1923: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1923: warning: parameter names (without types) in function declaration kernel/signal.c:1924: warning: data definition has no type or storage class kernel/signal.c:1924: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1924: warning: parameter names (without types) in function declaration kernel/signal.c:1925: warning: data definition has no type or storage class kernel/signal.c:1925: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1925: warning: parameter names (without types) in function declaration kernel/signal.c:1926: warning: data definition has no type or storage class kernel/signal.c:1926: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1926: warning: parameter names (without types) in function declaration kernel/signal.c:1927: warning: data definition has no type or storage class kernel/signal.c:1927: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1927: warning: parameter names (without types) in function declaration kernel/signal.c:1928: warning: data definition has no type or storage class kernel/signal.c:1928: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1928: warning: parameter names (without types) in function declaration kernel/signal.c:1929: warning: data definition has no type or storage class kernel/signal.c:1929: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/signal.c:1929: warning: parameter names (without types) in function declaration kernel/signal.c:1936: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:1942: warning: 'struct restart_block' declared inside parameter list kernel/signal.c: In function 'do_no_restart_syscall': kernel/signal.c:1944: error: 'EINTR' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1961: error: expected declaration specifiers or '...' before 'sigset_t' kernel/signal.c:1961: error: expected declaration specifiers or '...' before 'sigset_t' kernel/signal.c: In function 'sigprocmask': kernel/signal.c:1965: error: 'current' undeclared (first use in this function) kernel/signal.c:1966: error: 'oldset' undeclared (first use in this function) kernel/signal.c:1971: error: 'SIG_BLOCK' undeclared (first use in this function) kernel/signal.c:1972: error: implicit declaration of function 'sigorsets' kernel/signal.c:1972: error: 'set' undeclared (first use in this function) kernel/signal.c:1974: error: 'SIG_UNBLOCK' undeclared (first use in this function) kernel/signal.c:1975: error: implicit declaration of function 'signandsets' kernel/signal.c:1977: error: 'SIG_SETMASK' undeclared (first use in this function) kernel/signal.c:1981: error: 'EINVAL' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:1989: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:2025: error: expected ';', ',' or ')' before '*' token kernel/signal.c:2049: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:2057: error: expected ')' before '__user' kernel/signal.c:2121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:2198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c: In function 'do_tkill': kernel/signal.c:2215: error: storage size of 'info' isn't known kernel/signal.c:2219: error: 'ESRCH' undeclared (first use in this function) kernel/signal.c:2222: error: 'SI_TKILL' undeclared (first use in this function) kernel/signal.c:2223: error: implicit declaration of function 'task_tgid_vnr' kernel/signal.c:2223: error: 'current' undeclared (first use in this function) kernel/signal.c:2227: error: implicit declaration of function 'find_task_by_vpid' kernel/signal.c:2227: warning: assignment makes pointer from integer without a cast kernel/signal.c:2229: warning: passing argument 3 of 'check_kill_permission' from incompatible pointer type kernel/signal.c:2238: warning: passing argument 1 of 'lock_task_sighand' from incompatible pointer type kernel/signal.c:2239: warning: passing argument 3 of 'specific_send_sig_info' from incompatible pointer type fs/select.c: In function 'do_select': arch/x86/kernel/ds.c: In function 'ds_set_overflow': arch/x86/kernel/ds.c:274: error: 'DS_O_SIGNAL' undeclared (first use in this function) arch/x86/kernel/ds.c:275: error: 'EOPNOTSUPP' undeclared (first use in this function) arch/x86/kernel/ds.c:276: error: 'DS_O_WRAP' undeclared (first use in this function) arch/x86/kernel/ds.c:279: error: 'EINVAL' undeclared (first use in this function) arch/x86/kernel/ds.c: In function 'ds_get_overflow': arch/x86/kernel/ds.c:285: error: 'DS_O_WRAP' undeclared (first use in this function) arch/x86/kernel/ds.c: In function 'ds_clear': arch/x86/kernel/ds.c:297: error: implicit declaration of function 'memset' arch/x86/kernel/ds.c: At top level: arch/x86/kernel/ds.c:303: warning: 'struct bts_struct' declared inside parameter list arch/x86/kernel/ds.c:303: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/ds.c: In function 'ds_read_bts': arch/x86/kernel/ds.c:308: error: 'EOPNOTSUPP' undeclared (first use in this function) arch/x86/kernel/ds.c:311: error: 'EINVAL' undeclared (first use in this function) arch/x86/kernel/ds.c:318: error: dereferencing pointer to incomplete type arch/x86/kernel/ds.c:320: error: dereferencing pointer to incomplete type CC mm/page_isolation.o kernel/signal.c:2215: warning: unused variable 'info' arch/x86/kernel/ds.c:321: error: dereferencing pointer to incomplete type fs/select.c:187: error: storage size of 'table' isn't known arch/x86/kernel/ds.c:323: error: dereferencing pointer to incomplete type arch/x86/kernel/ds.c:323: error: 'BTS_BRANCH' undeclared (first use in this function) arch/x86/kernel/ds.c:324: error: dereferencing pointer to incomplete type fs/select.c:188: error: 'poll_table' undeclared (first use in this function) arch/x86/kernel/ds.c:325: error: dereferencing pointer to incomplete type fs/select.c:188: error: 'wait' undeclared (first use in this function) arch/x86/kernel/ds.c:328: error: dereferencing pointer to incomplete type fs/select.c:189: warning: ISO C90 forbids mixed declarations and code fs/select.c:191: error: implicit declaration of function 'rcu_read_lock' fs/select.c:192: error: 'fds' undeclared (first use in this function) arch/x86/kernel/ds.c: At top level: arch/x86/kernel/ds.c:331: warning: 'struct bts_struct' declared inside parameter list fs/select.c:192: error: too many arguments to function 'max_select_fd' fs/select.c:193: error: implicit declaration of function 'rcu_read_unlock' arch/x86/kernel/ds.c: In function 'ds_write_bts': arch/x86/kernel/ds.c:336: error: 'EOPNOTSUPP' undeclared (first use in this function) arch/x86/kernel/ds.c:339: error: 'ENXIO' undeclared (first use in this function) fs/select.c:201: error: 'timeout' undeclared (first use in this function) arch/x86/kernel/ds.c:344: error: dereferencing pointer to incomplete type fs/select.c:202: error: 'NULL' undeclared (first use in this function)arch/x86/kernel/ds.c:345: error: 'BTS_INVALID' undeclared (first use in this function) arch/x86/kernel/ds.c:348: error: 'BTS_BRANCH' undeclared (first use in this function) arch/x86/kernel/ds.c:349: error: dereferencing pointer to incomplete type arch/x86/kernel/ds.c:350: error: dereferencing pointer to incomplete type arch/x86/kernel/ds.c:353: error: 'BTS_TASK_ARRIVES' undeclared (first use in this function) arch/x86/kernel/ds.c:354: error: 'BTS_TASK_DEPARTS' undeclared (first use in this function) fs/select.c:208: error: implicit declaration of function 'set_current_state' arch/x86/kernel/ds.c:356: error: dereferencing pointer to incomplete type arch/x86/kernel/ds.c:357: error: dereferencing pointer to incomplete type fs/select.c:208: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) arch/x86/kernel/ds.c:361: error: 'EINVAL' undeclared (first use in this function) kernel/signal.c: At top level: kernel/signal.c:2258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:2270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/signal.c:2280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/select.c:222: error: '__NFDBITS' undeclared (first use in this function) kernel/signal.c:2298: warning: 'struct k_sigaction' declared inside parameter list fs/select.c:232: error: implicit declaration of function 'fget_light' fs/select.c:232: warning: assignment makes pointer from integer without a cast kernel/signal.c: In function 'do_sigaction': kernel/signal.c:2300: error: 'current' undeclared (first use in this function) kernel/signal.c:2302: error: 'sigset_t' undeclared (first use in this function) fs/select.c:234: error: dereferencing pointer to incomplete type kernel/signal.c:2302: error: expected ';' before 'mask' fs/select.c:235: error: 'DEFAULT_POLLMASK' undeclared (first use in this function) fs/select.c:236: error: dereferencing pointer to incomplete type kernel/signal.c:2304: error: implicit declaration of function 'sig_kernel_only' fs/select.c:237: error: dereferencing pointer to incomplete type kernel/signal.c:2305: error: 'EINVAL' undeclared (first use in this function) fs/select.c:238: error: implicit declaration of function 'fput_light' arch/x86/kernel/ds.c: At top level: kernel/signal.c:2307: error: dereferencing pointer to incomplete type fs/select.c:239: error: 'POLLRDNORM' undeclared (first use in this function) arch/x86/kernel/ds.c:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ds_init_intel' fs/select.c:239: error: 'POLLRDBAND' undeclared (first use in this function) kernel/signal.c:2311: error: dereferencing pointer to incomplete type fs/select.c:239: error: 'POLLIN' undeclared (first use in this function) kernel/signal.c:2311: error: dereferencing pointer to incomplete type fs/select.c:239: error: 'POLLHUP' undeclared (first use in this function) kernel/signal.c:2314: error: dereferencing pointer to incomplete type fs/select.c:239: error: 'POLLERR' undeclared (first use in this function) kernel/signal.c:2315: error: 'SIGKILL' undeclared (first use in this function) fs/select.c:243: error: 'POLLWRBAND' undeclared (first use in this function) kernel/signal.c:2315: error: 'SIGSTOP' undeclared (first use in this function)fs/select.c:243: error: 'POLLWRNORM' undeclared (first use in this function) fs/select.c:243: error: 'POLLOUT' undeclared (first use in this function) fs/select.c:247: error: 'POLLPRI' undeclared (first use in this function) kernel/signal.c:2316: error: dereferencing pointer to incomplete type kernel/signal.c:2316: error: dereferencing pointer to incomplete type fs/select.c:259: error: implicit declaration of function 'cond_resched' kernel/signal.c:2328: warning: passing argument 1 of '__sig_ignored' from incompatible pointer type fs/select.c:262: error: implicit declaration of function 'signal_pending' kernel/signal.c:2329: error: 'mask' undeclared (first use in this function) fs/select.c:262: error: 'current' undeclared (first use in this function) kernel/signal.c:2331: error: implicit declaration of function 'rm_from_queue_full' kernel/signal.c:2331: error: dereferencing pointer to incomplete type fs/select.c:271: error: 'MAX_SCHEDULE_TIMEOUT' undeclared (first use in this function) kernel/signal.c:2333: error: dereferencing pointer to incomplete type fs/select.c:272: error: implicit declaration of function 'unlikely' kernel/signal.c:2334: warning: assignment makes pointer from integer without a cast fs/select.c:272: error: 's64' undeclared (first use in this function) fs/select.c:272: error: expected ')' before 'MAX_SCHEDULE_TIMEOUT' fs/select.c:280: error: implicit declaration of function 'schedule_timeout' fs/select.c:284: error: implicit declaration of function '__set_current_state' fs/select.c:284: error: 'TASK_RUNNING' undeclared (first use in this function) fs/select.c:187: warning: unused variable 'table' kernel/signal.c: At top level: kernel/signal.c:2344: warning: type defaults to 'int' in declaration of 'stack_t' kernel/signal.c:2344: error: expected ';', ',' or ')' before '__user' fs/select.c: At top level: fs/select.c:302: error: expected declaration specifiers or '...' before 'fd_set' fs/select.c:302: error: expected declaration specifiers or '...' before 'fd_set' kernel/signal.c:2588: warning: 'struct vm_area_struct' declared inside parameter list fs/select.c:303: error: expected declaration specifiers or '...' before 'fd_set' fs/select.c:303: error: expected declaration specifiers or '...' before 's64' kernel/signal.c: In function 'arch_vma_name': kernel/signal.c:2590: error: 'NULL' undeclared (first use in this function) fs/select.c: In function 'core_sys_select': fs/select.c:305: error: 'fd_set_bits' undeclared (first use in this function) kernel/signal.c: At top level: fs/select.c:305: error: expected ';' before 'fds' kernel/signal.c:2593: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'signals_init' fs/select.c:306: warning: ISO C90 forbids mixed declarations and code fs/select.c:311: error: 'SELECT_STACK_ALLOC' undeclared (first use in this function) fs/select.c:313: error: 'EINVAL' undeclared (first use in this function) fs/select.c:319: error: 'current' undeclared (first use in this function) fs/select.c:319: warning: assignment makes pointer from integer without a cast fs/select.c:320: error: dereferencing pointer to incomplete type fs/select.c:330: error: implicit declaration of function 'FDS_BYTES' fs/select.c:334: error: 'ENOMEM' undeclared (first use in this function) fs/select.c:335: error: implicit declaration of function 'kmalloc' fs/select.c:335: error: 'GFP_KERNEL' undeclared (first use in this function) fs/select.c:335: warning: assignment makes pointer from integer without a cast fs/select.c:339: error: 'fds' undeclared (first use in this function) fs/select.c:346: error: implicit declaration of function 'get_fd_set' fs/select.c:346: error: 'inp' undeclared (first use in this function) fs/select.c:347: error: 'outp' undeclared (first use in this function) fs/select.c:348: error: 'exp' undeclared (first use in this function) fs/select.c:350: error: implicit declaration of function 'zero_fd_set' make[1]: fs/select.c:354: error: 'timeout' undeclared (first use in this function) *** [arch/x86/kernel/ds.o] Error 1fs/select.c:354: error: too many arguments to function 'do_select' fs/select.c:359: error: 'ERESTARTNOHAND' undeclared (first use in this function) fs/select.c:365: error: implicit declaration of function 'set_fd_set' fs/select.c:368: error: 'EFAULT' undeclared (first use in this function) fs/select.c:372: error: implicit declaration of function 'kfree' fs/select.c:311: warning: unused variable 'stack_fds' fs/select.c: At top level: fs/select.c:377: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/select.c:537: error: array type has incomplete element type fs/select.c:549: error: expected declaration specifiers or '...' before 'poll_table' fs/select.c: In function 'do_pollfd': fs/select.c:555: error: dereferencing pointer to incomplete type fs/select.c:560: warning: assignment makes pointer from integer without a cast fs/select.c:561: error: 'POLLNVAL' undeclared (first use in this function) fs/select.c:562: error: 'NULL' undeclared (first use in this function) fs/select.c:563: error: 'DEFAULT_POLLMASK' undeclared (first use in this function) fs/select.c:564: error: dereferencing pointer to incomplete type fs/select.c:564: error: dereferencing pointer to incomplete type fs/select.c:565: error: dereferencing pointer to incomplete type fs/select.c:565: error: 'pwait' undeclared (first use in this function) fs/select.c:567: error: dereferencing pointer to incomplete type fs/select.c:567: error: 'POLLERR' undeclared (first use in this function) fs/select.c:567: error: 'POLLHUP' undeclared (first use in this function) fs/select.c:571: error: dereferencing pointer to incomplete type fs/select.c: At top level: fs/select.c:577: error: expected declaration specifiers or '...' before 's64' fs/select.c:577: warning: 'struct poll_wqueues' declared inside parameter list fs/select.c: In function 'do_poll': fs/select.c:580: error: 'poll_table' undeclared (first use in this function) fs/select.c:580: error: 'pt' undeclared (first use in this function) fs/select.c:580: error: dereferencing pointer to incomplete type fs/select.c:583: error: 'timeout' undeclared (first use in this function) fs/select.c:584: error: 'NULL' undeclared (first use in this function) fs/select.c:590: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) fs/select.c:595: error: invalid use of undefined type 'struct pollfd' fs/select.c:596: error: increment of pointer to unknown structure fs/select.c:596: error: arithmetic on pointer to an incomplete type fs/select.c:604: error: too many arguments to function 'do_pollfd' fs/select.c:616: error: dereferencing pointer to incomplete type fs/select.c:617: error: 'current' undeclared (first use in this function) fs/select.c:618: error: 'EINTR' undeclared (first use in this function) fs/select.c:625: error: 'MAX_SCHEDULE_TIMEOUT' undeclared (first use in this function) fs/select.c:626: error: 's64' undeclared (first use in this function) fs/select.c:626: error: expected ')' before 'MAX_SCHEDULE_TIMEOUT' fs/select.c:642: error: 'TASK_RUNNING' undeclared (first use in this function) fs/select.c: At top level: fs/select.c:649: error: expected ';', ',' or ')' before '*' token fs/select.c:713: warning: 'struct restart_block' declared inside parameter list fs/select.c: In function 'do_restart_poll': fs/select.c:715: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/select.c:715: error: 'ufds' undeclared (first use in this function) fs/select.c:715: error: expected ')' before '__user' fs/select.c:715: error: dereferencing pointer to incomplete type fs/select.c:716: error: dereferencing pointer to incomplete type fs/select.c:716: warning: ISO C90 forbids mixed declarations and code fs/select.c:717: error: 's64' undeclared (first use in this function) fs/select.c:717: error: expected ';' before 'timeout' fs/select.c:718: warning: ISO C90 forbids mixed declarations and code fs/select.c:720: error: implicit declaration of function 'do_sys_poll' fs/select.c:720: error: 'timeout' undeclared (first use in this function) fs/select.c:721: error: 'EINTR' undeclared (first use in this function) fs/select.c:722: error: dereferencing pointer to incomplete type fs/select.c:723: error: dereferencing pointer to incomplete type fs/select.c:724: error: dereferencing pointer to incomplete type fs/select.c:724: error: 'u64' undeclared (first use in this function) fs/select.c:724: error: expected ';' before 'timeout' fs/select.c:725: error: 'ERESTART_RESTARTBLOCK' undeclared (first use in this function) fs/select.c: At top level: fs/select.c:730: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/select.c:737:5: warning: "HZ" is not defined CC arch/x86/kernel/tls.o make[1]: *** [kernel/signal.o] Error 1 make[1]: *** [fs/select.o] Error 1 CC kernel/kmod.o CC fs/fifo.o CC security/commoncap.o cc1: error: include/linux/autoconf.h: No such file or directory mm/page_isolation.c:6:22: error: linux/mm.h: No such file or directory mm/page_isolation.c:7:34: error: linux/page-isolation.h: No such file or directory mm/page_isolation.c:8:35: error: linux/pageblock-flags.h: No such file or directory In file included from mm/page_isolation.c:9: mm/internal.h:16: warning: 'struct page' declared inside parameter list mm/internal.h:16: warning: its scope is only this definition or declaration, which is probably not what you want mm/internal.h: In function 'set_page_count': mm/internal.h:18: error: implicit declaration of function 'atomic_set' mm/internal.h:18: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:25: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'set_page_refcounted': mm/internal.h:27: error: implicit declaration of function 'VM_BUG_ON' mm/internal.h:27: error: implicit declaration of function 'PageTail' mm/internal.h:28: error: implicit declaration of function 'atomic_read' mm/internal.h:28: error: dereferencing pointer to incomplete type mm/internal.h:29: warning: passing argument 1 of 'set_page_count' from incompatible pointer type mm/internal.h: At top level: mm/internal.h:32: warning: 'struct page' declared inside parameter list mm/internal.h: In function '__put_page': mm/internal.h:34: error: implicit declaration of function 'atomic_dec' mm/internal.h:34: error: dereferencing pointer to incomplete type mm/internal.h: At top level: mm/internal.h:37: warning: 'struct page' declared inside parameter list mm/internal.h:44: warning: 'struct page' declared inside parameter list mm/internal.h: In function 'page_order': mm/internal.h:46: error: implicit declaration of function 'PageBuddy' mm/internal.h:47: error: implicit declaration of function 'page_private' mm/page_isolation.c: In function '__first_valid_page': mm/page_isolation.c:16: error: implicit declaration of function 'pfn_valid_within' mm/page_isolation.c:18: error: implicit declaration of function 'unlikely' mm/page_isolation.c:20: error: implicit declaration of function 'pfn_to_page' mm/page_isolation.c:20: warning: return makes pointer from integer without a cast mm/page_isolation.c: In function 'start_isolate_page_range': mm/page_isolation.c:43: error: implicit declaration of function 'BUG_ON' mm/page_isolation.c:43: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page_isolation.c:43: error: (Each undeclared identifier is reported only once mm/page_isolation.c:43: error: for each function it appears in.) mm/page_isolation.c:50: error: implicit declaration of function 'set_migratetype_isolate' mm/page_isolation.c:60: error: implicit declaration of function 'unset_migratetype_isolate' mm/page_isolation.c:62: error: 'EBUSY' undeclared (first use in this function) mm/page_isolation.c: In function 'undo_isolate_page_range': mm/page_isolation.c:73: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page_isolation.c:79: error: implicit declaration of function 'get_pageblock_migratetype' mm/page_isolation.c:79: error: 'MIGRATE_ISOLATE' undeclared (first use in this function) cc1: error: mm/page_isolation.c: In function '__test_page_isolated_in_pageblock': mm/page_isolation.c:102: warning: assignment makes pointer from integer without a cast mm/page_isolation.c:104: warning: passing argument 1 of 'page_order' from incompatible pointer type mm/page_isolation.c:105: error: implicit declaration of function 'page_count' mm/page_isolation.c:106: error: 'MIGRATE_ISOLATE' undeclared (first use in this function) include/linux/autoconf.h: No such file or directory kernel/kmod.c:21:26: error: linux/module.h: No such file or directory kernel/kmod.c:22:25: error: linux/sched.h: No such file or directory kernel/kmod.c:23:28: error: linux/syscalls.h: No such file or directory kernel/kmod.c:24:26: error: linux/unistd.h: No such file or directory kernel/kmod.c:25:24: error: linux/kmod.h: No such file or directory kernel/kmod.c:26:24: error: linux/slab.h: No such file or directory kernel/kmod.c:27:33: error: linux/mnt_namespace.h: No such file or directory kernel/kmod.c:28:30: error: linux/completion.h: No such file or directory kernel/kmod.c:29:24: error: linux/file.h: No such file or directory kernel/kmod.c:30:27: error: linux/fdtable.h: No such file or directory kernel/kmod.c:31:29: error: linux/workqueue.h: No such file or directory kernel/kmod.c:32:28: error: linux/security.h: No such file or directory kernel/kmod.c:33:25: error: linux/mount.h: No such file or directory kernel/kmod.c:34:26: error: linux/kernel.h: No such file or directory kernel/kmod.c:35:24: error: linux/init.h: No such file or directory kernel/kmod.c:36:28: error: linux/resource.h: No such file or directory kernel/kmod.c:37:28: error: linux/notifier.h: No such file or directory kernel/kmod.c:38:27: error: linux/suspend.h: No such file or directory kernel/kmod.c:39:25: error: asm/uaccess.h: No such file or directory kernel/kmod.c:119: error: field 'work' has incomplete type kernel/kmod.c:125: error: field 'wait' has incomplete type kernel/kmod.c: In function '____call_usermodehelper': kernel/kmod.c:141: error: implicit declaration of function 'key_get' kernel/kmod.c:141: warning: assignment makes pointer from integer without a cast kernel/kmod.c:142: error: implicit declaration of function 'spin_lock_irq' kernel/kmod.c:142: error: 'current' undeclared (first use in this function) kernel/kmod.c:142: error: (Each undeclared identifier is reported only once kernel/kmod.c:142: error: for each function it appears in.) kernel/kmod.c:143: error: implicit declaration of function '__install_session_keyring' kernel/kmod.c:143: warning: assignment makes pointer from integer without a cast kernel/kmod.c:144: error: implicit declaration of function 'flush_signal_handlers' kernel/kmod.c:145: error: implicit declaration of function 'sigemptyset' kernel/kmod.c:146: error: implicit declaration of function 'recalc_sigpending' kernel/kmod.c:147: error: implicit declaration of function 'spin_unlock_irq' kernel/kmod.c:149: error: implicit declaration of function 'key_put' kernel/kmod.c:156: error: implicit declaration of function 'sys_close' kernel/kmod.c:157: error: implicit declaration of function 'fd_install' kernel/kmod.c:158: error: implicit declaration of function 'spin_lock' kernel/kmod.c:158: error: dereferencing pointer to incomplete type kernel/kmod.c:159: error: implicit declaration of function 'files_fdtable' kernel/kmod.c:159: warning: assignment makes pointer from integer without a cast kernel/kmod.c:160: error: implicit declaration of function 'FD_SET' kernel/kmod.c:160: error: dereferencing pointer to incomplete typecc1: kernel/kmod.c:161: error: implicit declaration of function 'FD_CLR' kernel/kmod.c:161: error: dereferencing pointer to incomplete type kernel/kmod.c:162: error: implicit declaration of function 'spin_unlock' kernel/kmod.c:162: error: dereferencing pointer to incomplete type kernel/kmod.c:165: error: 'RLIMIT_CORE' undeclared (first use in this function) kernel/kmod.c:165: warning: excess elements in struct initializer kernel/kmod.c:165: warning: (near initialization for '(anonymous)') kernel/kmod.c:165: warning: excess elements in struct initializer kernel/kmod.c:165: warning: (near initialization for '(anonymous)') kernel/kmod.c:169: error: implicit declaration of function 'set_cpus_allowed_ptr' kernel/kmod.c:169: error: 'CPU_MASK_ALL_PTR' undeclared (first use in this function) kernel/kmod.c:175: error: implicit declaration of function 'set_user_nice' kernel/kmod.c:177: error: implicit declaration of function 'kernel_execve' kernel/kmod.c:181: error: implicit declaration of function 'do_exit' kernel/kmod.c: In function 'call_usermodehelper_freeinfo': kernel/kmod.c:188: error: implicit declaration of function 'kfree' kernel/kmod.c: At top level: kernel/kmod.c:190: warning: data definition has no type or storage class kernel/kmod.c:190: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:190: warning: parameter names (without types) in function declaration kernel/kmod.c: In function 'wait_for_helper': kernel/kmod.c:196: error: 'pid_t' undeclared (first use in this function) kernel/kmod.c:196: error: expected ';' before 'pid' kernel/kmod.c:200: error: implicit declaration of function 'allow_signal' kernel/kmod.c:200: error: 'SIGCHLD' undeclared (first use in this function) kernel/kmod.c:202: error: 'pid' undeclared (first use in this function) kernel/kmod.c:202: error: implicit declaration of function 'kernel_thread' kernel/kmod.c:217: error: implicit declaration of function 'sys_wait4' kernel/kmod.c:217: error: expected ')' before '__user' kernel/kmod.c:217: error: 'NULL' undeclared (first use in this function) kernel/kmod.c:228: error: 'UMH_NO_WAIT' undeclared (first use in this function) kernel/kmod.c:231: error: implicit declaration of function 'complete' kernel/kmod.c: In function '__call_usermodehelper': kernel/kmod.c:239: error: implicit declaration of function 'container_of' kernel/kmod.c:239: error: expected expression before 'struct' kernel/kmod.c:239: warning: initialization makes pointer from integer without a cast kernel/kmod.c:240: error: 'pid_t' undeclared (first use in this function) kernel/kmod.c:240: error: expected ';' before 'pid' kernel/kmod.c:241: error: variable 'wait' has initializer but incomplete type kernel/kmod.c:241: error: storage size of 'wait' isn't known kernel/kmod.c:241: warning: ISO C90 forbids mixed declarations and code kernel/kmod.c:246: error: 'UMH_WAIT_PROC' undeclared (first use in this function) kernel/kmod.c:246: error: 'UMH_NO_WAIT' undeclared (first use in this function) kernel/kmod.c:247: error: 'pid' undeclared (first use in this function) kernel/kmod.c:248: error: 'CLONE_FS' undeclared (first use in this function) kernel/kmod.c:248: error: 'CLONE_FILES' undeclared (first use in this function) kernel/kmod.c:248: error: 'SIGCHLD' undeclared (first use in this function) kernel/kmod.c:251: error: 'CLONE_VFORK' undeclared (first use in this function) kernel/kmod.c:263: error: 'UMH_WAIT_EXEC' undeclared (first use in this function) kernel/kmod.c:241: warning: unused variable 'wait' kernel/kmod.c: In function 'call_usermodehelper_setup': kernel/kmod.c:364: error: implicit declaration of function 'kzalloc' kernel/kmod.c:364: error: 'GFP_ATOMIC' undeclared (first use in this function) kernel/kmod.c:364: warning: assignment makes pointer from integer without a cast kernel/kmod.c:368: error: implicit declaration of function 'INIT_WORK' kernel/kmod.c: At top level: kernel/kmod.c:376: warning: data definition has no type or storage class kernel/kmod.c:376: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:376: warning: parameter names (without types) in function declaration kernel/kmod.c:388: warning: data definition has no type or storage class kernel/kmod.c:388: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:388: warning: parameter names (without types) in function declaration kernel/kmod.c:405: warning: data definition has no type or storage class kernel/kmod.c:405: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:405: warning: parameter names (without types) in function declaration kernel/kmod.c: In function 'call_usermodehelper_stdinpipe': kernel/kmod.c:420: error: implicit declaration of function 'create_write_pipe' kernel/kmod.c:420: warning: assignment makes pointer from integer without a cast kernel/kmod.c:421: error: implicit declaration of function 'IS_ERR' kernel/kmod.c:422: error: implicit declaration of function 'PTR_ERR' kernel/kmod.c:425: error: implicit declaration of function 'create_read_pipe' kernel/kmod.c:425: warning: assignment makes pointer from integer without a cast kernel/kmod.c:427: error: implicit declaration of function 'free_write_pipe' kernel/kmod.c: At top level: kernel/kmod.c:434: warning: data definition has no type or storage class kernel/kmod.c:434: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:434: warning: parameter names (without types) in function declaration kernel/kmod.c:449: error: parameter 2 ('wait') has incomplete type kernel/kmod.c: In function 'call_usermodehelper_exec': kernel/kmod.c:451: error: implicit declaration of function 'DECLARE_COMPLETION_ONSTACK' kernel/kmod.c:451: error: 'done' undeclared (first use in this function) kernel/kmod.c:452: warning: ISO C90 forbids mixed declarations and code kernel/kmod.c:459: error: 'EBUSY' undeclared (first use in this function) kernel/kmod.c:466: error: implicit declaration of function 'queue_work' kernel/kmod.c:467: error: 'UMH_NO_WAIT' undeclared (first use in this function) kernel/kmod.c:469: error: implicit declaration of function 'wait_for_completion' kernel/kmod.c: At top level: kernel/kmod.c:478: warning: data definition has no type or storage class kernel/kmod.c:478: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:478: warning: parameter names (without types) in function declaration kernel/kmod.c: In function 'call_usermodehelper_pipe': kernel/kmod.c:498: error: 'NULL' undeclared (first use in this function) kernel/kmod.c:499: error: 'ENOMEM' undeclared (first use in this function) kernel/kmod.c:505: error: 'UMH_WAIT_EXEC' undeclared (first use in this function) kernel/kmod.c:505: error: type of formal parameter 2 is incomplete kernel/kmod.c: At top level: kernel/kmod.c:511: warning: data definition has no type or storage class kernel/kmod.c:511: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kmod.c:511: warning: parameter names (without types) in function declaration kernel/kmod.c:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usermodehelper_init' cc1: error: include/linux/autoconf.h: No such file or directory security/commoncap.c:10:30: error: linux/capability.h: No such file or directory security/commoncap.c:11:26: error: linux/module.h: No such file or directory security/commoncap.c:12:24: error: linux/init.h: No such file or directory security/commoncap.c:13:26: error: linux/kernel.h: No such file or directory security/commoncap.c:14:28: error: linux/security.h: No such file or directory security/commoncap.c:15:24: error: linux/file.h: No such file or directory security/commoncap.c:16:22: error: linux/mm.h: No such file or directory security/commoncap.c:17:24: error: linux/mman.h: No such file or directory security/commoncap.c:18:27: error: linux/pagemap.h: No such file or directory security/commoncap.c:19:24: error: linux/swap.h: No such file or directory security/commoncap.c:20:26: error: linux/skbuff.h: No such file or directory security/commoncap.c:21:27: error: linux/netlink.h: No such file or directory security/commoncap.c:22:26: error: linux/ptrace.h: No such file or directory security/commoncap.c:23:25: error: linux/xattr.h: No such file or directory security/commoncap.c:24:27: error: linux/hugetlb.h: No such file or directory security/commoncap.c:25:25: error: linux/mount.h: No such file or directory security/commoncap.c:26:25: error: linux/sched.h: No such file or directory security/commoncap.c:27:25: error: linux/prctl.h: No such file or directory security/commoncap.c:28:30: error: linux/securebits.h: No such file or directory security/commoncap.c:30: warning: 'struct sk_buff' declared inside parameter list security/commoncap.c:30: warning: its scope is only this definition or declaration, which is probably not what you want security/commoncap.c:30: warning: 'struct sock' declared inside parameter list security/commoncap.c: In function 'cap_netlink_send': security/commoncap.c:32: error: implicit declaration of function 'NETLINK_CB' security/commoncap.c:32: error: request for member 'eff_cap' in something not a structure or union security/commoncap.c:32: error: 'current' undeclared (first use in this function) security/commoncap.c:32: error: (Each undeclared identifier is reported only once security/commoncap.c:32: error: for each function it appears in.) security/commoncap.c: At top level: security/commoncap.c:36: warning: 'struct sk_buff' declared inside parameter list security/commoncap.c: In function 'cap_netlink_recv': security/commoncap.c:38: error: implicit declaration of function 'cap_raised' security/commoncap.c:38: error: request for member 'eff_cap' in something not a structure or union security/commoncap.c:39: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:43: warning: data definition has no type or storage class security/commoncap.c:43: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' security/commoncap.c:43: warning: parameter names (without types) in function declaration security/commoncap.c:51: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_capable': security/commoncap.c:54: error: dereferencing pointer to incomplete type security/commoncap.c:56: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:59: warning: 'struct timezone' declared inside parameter list security/commoncap.c:59: warning: 'struct timespec' declared inside parameter list security/commoncap.c: In function 'cap_settime': security/commoncap.c:61: error: implicit declaration of function 'capable' security/commoncap.c:61: error: 'CAP_SYS_TIME' undeclared (first use in this function) security/commoncap.c:62: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:67: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_ptrace': security/commoncap.c:70: error: implicit declaration of function 'cap_issubset' security/commoncap.c:70: error: dereferencing pointer to incomplete type security/commoncap.c:70: error: dereferencing pointer to incomplete type mm/page_isolation.c: In function 'test_pages_isolated': mm/page_isolation.c:127: error: 'pageblock_nr_pages' undeclared (first use in this function) mm/page_isolation.c:129: error: 'MIGRATE_ISOLATE' undeclared (first use in this function) mm/page_isolation.c:133: error: 'EBUSY' undeclared (first use in this function) make[1]: *** [kernel/kmod.o] Error 1 security/commoncap.c:71: error: implicit declaration of function '__capable' security/commoncap.c:71: error: 'CAP_SYS_PTRACE' undeclared (first use in this function) security/commoncap.c:72: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:76: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:77: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:77: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:77: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_capget': security/commoncap.c:80: error: 'effective' undeclared (first use in this function) security/commoncap.c:80: error: dereferencing pointer to incomplete type security/commoncap.c:81: error: 'inheritable' undeclared (first use in this function) security/commoncap.c:81: error: dereferencing pointer to incomplete type security/commoncap.c:82: error: 'permitted' undeclared (first use in this function) security/commoncap.c:82: error: dereferencing pointer to incomplete type security/commoncap.c: At top level: security/commoncap.c:111: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_limit_ptraced_target': security/commoncap.c:115: error: 'CAP_SETPCAP' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:120: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:121: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:121: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:121: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_capset_check': security/commoncap.c:123: warning: passing argument 1 of 'cap_block_setpcap' from incompatible pointer type security/commoncap.c:124: error: 'EPERM' undeclared (first use in this function) security/commoncap.c:127: error: 'inheritable' undeclared (first use in this function) security/commoncap.c:128: error: implicit declaration of function 'cap_combine' security/commoncap.c:128: error: dereferencing pointer to incomplete type security/commoncap.c:129: error: 'current' undeclared (first use in this function) security/commoncap.c:134: error: dereferencing pointer to incomplete type security/commoncap.c:141: error: 'permitted' undeclared (first use in this function) security/commoncap.c:142: error: dereferencing pointer to incomplete type security/commoncap.c:148: error: 'effective' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:155: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:156: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:156: error: expected declaration specifiers or '...' before 'kernel_cap_t' security/commoncap.c:156: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_capset_set': security/commoncap.c:158: error: dereferencing pointer to incomplete type security/commoncap.c:158: error: 'effective' undeclared (first use in this function) security/commoncap.c:159: error: dereferencing pointer to incomplete type security/commoncap.c:159: error: 'inheritable' undeclared (first use in this function) security/commoncap.c:160: error: dereferencing pointer to incomplete type security/commoncap.c:160: error: 'permitted' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:163: warning: 'struct linux_binprm' declared inside parameter list security/commoncap.c: In function 'bprm_clear_caps': security/commoncap.c:165: error: implicit declaration of function 'cap_clear' security/commoncap.c:165: error: dereferencing pointer to incomplete type security/commoncap.c:166: error: dereferencing pointer to incomplete type security/commoncap.c:167: error: dereferencing pointer to incomplete type security/commoncap.c:167: error: 'false' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:285: warning: 'struct dentry' declared inside parameter list security/commoncap.c:290: warning: 'struct dentry' declared inside parameter list security/commoncap.c:295: warning: 'struct linux_binprm' declared inside parameter list security/commoncap.c: In function 'get_file_caps': security/commoncap.c:297: warning: passing argument 1 of 'bprm_clear_caps' from incompatible pointer type security/commoncap.c: At top level: security/commoncap.c:302: warning: 'struct linux_binprm' declared inside parameter list security/commoncap.c: In function 'cap_bprm_set_security': security/commoncap.c:306: warning: passing argument 1 of 'get_file_caps' from incompatible pointer type security/commoncap.c:308: error: implicit declaration of function 'printk' security/commoncap.c:308: error: 'KERN_NOTICE' undeclared (first use in this function) security/commoncap.c:308: error: expected ')' before string constant security/commoncap.c:319: error: implicit declaration of function 'issecure' security/commoncap.c:319: error: 'SECURE_NOROOT' undeclared (first use in this function) security/commoncap.c:320: error: dereferencing pointer to incomplete type security/commoncap.c:320: error: 'current' undeclared (first use in this function) security/commoncap.c:321: error: implicit declaration of function 'cap_set_full' security/commoncap.c:321: error: dereferencing pointer to incomplete type security/commoncap.c:322: error: dereferencing pointer to incomplete type security/commoncap.c:324: error: dereferencing pointer to incomplete type security/commoncap.c:325: error: dereferencing pointer to incomplete type security/commoncap.c:325: error: 'true' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:331: warning: 'struct linux_binprm' declared inside parameter list security/commoncap.c: In function 'cap_bprm_apply_creds': security/commoncap.c:334: error: 'kernel_cap_t' undeclared (first use in this function) security/commoncap.c:334: error: expected ';' before 'new_permitted' security/commoncap.c:336: error: 'new_permitted' undeclared (first use in this function) security/commoncap.c:336: error: implicit declaration of function 'cap_intersect' security/commoncap.c:336: error: dereferencing pointer to incomplete type security/commoncap.c:337: error: 'current' undeclared (first use in this function) security/commoncap.c:338: error: 'working' undeclared (first use in this function) security/commoncap.c:338: error: dereferencing pointer to incomplete type security/commoncap.c:342: error: dereferencing pointer to incomplete type security/commoncap.c:342: error: dereferencing pointer to incomplete type security/commoncap.c:344: error: implicit declaration of function 'set_dumpable' security/commoncap.c:344: error: 'suid_dumpable' undeclared (first use in this function) security/commoncap.c:347: error: 'LSM_UNSAFE_PTRACE_CAP' undeclared (first use in this function) security/commoncap.c:348: error: 'CAP_SETUID' undeclared (first use in this function) security/commoncap.c:349: error: dereferencing pointer to incomplete type security/commoncap.c:350: error: dereferencing pointer to incomplete type security/commoncap.c:360: error: dereferencing pointer to incomplete type security/commoncap.c:361: error: dereferencing pointer to incomplete type security/commoncap.c:366: error: implicit declaration of function 'is_global_init' security/commoncap.c:368: error: dereferencing pointer to incomplete type security/commoncap.c:376: error: implicit declaration of function 'issecure_mask' security/commoncap.c:376: error: 'SECURE_KEEP_CAPS' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:379: warning: 'struct linux_binprm' declared inside parameter list security/commoncap.c: In function 'cap_bprm_secureexec': security/commoncap.c:381: error: 'current' undeclared (first use in this function) security/commoncap.c:382: error: dereferencing pointer to incomplete type security/commoncap.c:384: error: implicit declaration of function 'cap_isclear' security/commoncap.c:384: error: dereferencing pointer to incomplete type security/commoncap.c:386: error: dereferencing pointer to incomplete type security/commoncap.c: At top level: security/commoncap.c:395: error: expected declaration specifiers or '...' before 'size_t' security/commoncap.c:395: warning: 'struct dentry' declared inside parameter list security/commoncap.c: In function 'cap_inode_setxattr': security/commoncap.c:397: error: implicit declaration of function 'strcmp' security/commoncap.c:397: error: 'XATTR_NAME_CAPS' undeclared (first use in this function) security/commoncap.c:398: error: 'CAP_SETFCAP' undeclared (first use in this function) security/commoncap.c:399: error: 'EPERM' undeclared (first use in this function) security/commoncap.c:401: error: implicit declaration of function 'strncmp' security/commoncap.c:401: error: 'XATTR_SECURITY_PREFIX' undeclared (first use in this function) security/commoncap.c:403: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:408: warning: 'struct dentry' declared inside parameter list security/commoncap.c: In function 'cap_inode_removexattr': security/commoncap.c:410: error: 'XATTR_NAME_CAPS' undeclared (first use in this function) security/commoncap.c:411: error: 'CAP_SETFCAP' undeclared (first use in this function) security/commoncap.c:412: error: 'EPERM' undeclared (first use in this function) security/commoncap.c:414: error: 'XATTR_SECURITY_PREFIX' undeclared (first use in this function) security/commoncap.c:416: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) security/commoncap.c: In function 'cap_emulate_setxuid': security/commoncap.c:455: error: 'current' undeclared (first use in this function) security/commoncap.c:456: error: 'SECURE_KEEP_CAPS' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:468: error: expected ')' before 'old_ruid' security/commoncap.c:567: warning: 'struct sched_param' declared inside parameter list security/commoncap.c:567: warning: 'struct task_struct' declared inside parameter list security/commoncap.c:571: warning: 'struct task_struct' declared inside parameter list security/commoncap.c:575: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_task_prctl': security/commoncap.c:587: error: 'PR_CAPBSET_READ' undeclared (first use in this function) security/commoncap.c:588: error: implicit declaration of function 'cap_valid' security/commoncap.c:589: error: 'EINVAL' undeclared (first use in this function) security/commoncap.c:591: error: 'current' undeclared (first use in this function) security/commoncap.c:642: error: 'PR_GET_KEEPCAPS' undeclared (first use in this function) security/commoncap.c:643: error: 'SECURE_KEEP_CAPS' undeclared (first use in this function) security/commoncap.c:646: error: 'PR_SET_KEEPCAPS' undeclared (first use in this function) security/commoncap.c:649: error: 'SECURE_KEEP_CAPS_LOCKED' undeclared (first use in this function) security/commoncap.c:650: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:668: warning: 'struct task_struct' declared inside parameter list security/commoncap.c: In function 'cap_task_reparent_to_init': security/commoncap.c:670: error: implicit declaration of function 'cap_set_init_eff' security/commoncap.c:670: error: dereferencing pointer to incomplete type security/commoncap.c:671: error: dereferencing pointer to incomplete type security/commoncap.c:672: error: dereferencing pointer to incomplete type security/commoncap.c:673: error: dereferencing pointer to incomplete type security/commoncap.c:673: error: 'SECUREBITS_DEFAULT' undeclared (first use in this function) security/commoncap.c: In function 'cap_syslog': security/commoncap.c:679: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) security/commoncap.c:680: error: 'EPERM' undeclared (first use in this function) security/commoncap.c: At top level: security/commoncap.c:684: warning: 'struct mm_struct' declared inside parameter list security/commoncap.c: In function 'cap_vm_enough_memory': security/commoncap.c:688: error: 'current' undeclared (first use in this function) security/commoncap.c:688: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) security/commoncap.c:690: error: implicit declaration of function '__vm_enough_memory' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/tls.c:1:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/tls.c:2:25: error: linux/errno.h: No such file or directory arch/x86/kernel/tls.c:3:25: error: linux/sched.h: No such file or directory arch/x86/kernel/tls.c:4:24: error: linux/user.h: No such file or directory arch/x86/kernel/tls.c:5:26: error: linux/regset.h: No such file or directory arch/x86/kernel/tls.c:7:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/tls.c:8:22: error: asm/desc.h: No such file or directory arch/x86/kernel/tls.c:9:24: error: asm/system.h: No such file or directory arch/x86/kernel/tls.c:10:21: error: asm/ldt.h: No such file or directory arch/x86/kernel/tls.c:11:27: error: asm/processor.h: No such file or directory arch/x86/kernel/tls.c:12:23: error: asm/proto.h: No such file or directory In file included from arch/x86/kernel/tls.c:14: arch/x86/kernel/tls.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_active' arch/x86/kernel/tls.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_get' arch/x86/kernel/tls.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regset_tls_set' CC kernel/workqueue.o error: include/linux/autoconf.h: No such file or directory fs/fifo.c:12:22: error: linux/mm.h: No such file or directory fs/fifo.c:13:24: error: linux/slab.h: No such file or directory fs/fifo.c:14:22: error: linux/fs.h: No such file or directory fs/fifo.c:15:25: error: linux/sched.h: No such file or directory fs/fifo.c:16:29: error: linux/pipe_fs_i.h: No such file or directory fs/fifo.c:18: warning: 'struct inode' declared inside parameter list fs/fifo.c:18: warning: its scope is only this definition or declaration, which is probably not what you want fs/fifo.c: In function 'wait_for_partner': fs/fifo.c:23: error: implicit declaration of function 'pipe_wait' fs/fifo.c:23: error: dereferencing pointer to incomplete type fs/fifo.c:24: error: implicit declaration of function 'signal_pending' fs/fifo.c:24: error: 'current' undeclared (first use in this function) fs/fifo.c:24: error: (Each undeclared identifier is reported only once fs/fifo.c:24: error: for each function it appears in.) fs/fifo.c: At top level: fs/fifo.c:29: warning: 'struct inode' declared inside parameter list fs/fifo.c: In function 'wake_up_partner': fs/fifo.c:31: error: implicit declaration of function 'wake_up_interruptible' fs/fifo.c:31: error: dereferencing pointer to incomplete type fs/fifo.c: At top level: fs/fifo.c:34: warning: 'struct file' declared inside parameter list fs/fifo.c:34: warning: 'struct inode' declared inside parameter list fs/fifo.c: In function 'fifo_open': fs/fifo.c:39: error: implicit declaration of function 'mutex_lock' fs/fifo.c:39: error: dereferencing pointer to incomplete type fs/fifo.c:40: error: dereferencing pointer to incomplete type fs/fifo.c:42: error: 'ENOMEM' undeclared (first use in this function) fs/fifo.c:43: error: implicit declaration of function 'alloc_pipe_info' fs/fifo.c:43: warning: assignment makes pointer from integer without a cast fs/fifo.c:46: error: dereferencing pointer to incomplete type fs/fifo.c:48: error: dereferencing pointer to incomplete type fs/fifo.c:51: error: dereferencing pointer to incomplete type fs/fifo.c:51: error: 'FMODE_READ' undeclared (first use in this function) fs/fifo.c:51: error: 'FMODE_WRITE' undeclared (first use in this function) fs/fifo.c:53: error: dereferencing pointer to incomplete type fs/fifo.c:60: error: dereferencing pointer to incomplete type fs/fifo.c:60: error: 'read_pipefifo_fops' undeclared (first use in this function) fs/fifo.c:61: error: dereferencing pointer to incomplete type fs/fifo.c:62: error: dereferencing pointer to incomplete type fs/fifo.c:63: warning: passing argument 1 of 'wake_up_partner' from incompatible pointer type fs/fifo.c:65: error: dereferencing pointer to incomplete type fs/fifo.c:66: error: dereferencing pointer to incomplete type fs/fifo.c:66: error: 'O_NONBLOCK' undeclared (first use in this function) fs/fifo.c:69: error: dereferencing pointer to incomplete type fs/fifo.c:69: error: dereferencing pointer to incomplete type fs/fifo.c:72: error: dereferencing pointer to incomplete type fs/fifo.c:72: warning: passing argument 1 of 'wait_for_partner' from incompatible pointer type fs/fifo.c:73: error: 'current' undeclared (first use in this function) fs/fifo.c:85: error: 'ENXIO' undeclared (first use in this function) fs/fifo.c:86: error: dereferencing pointer to incomplete type fs/fifo.c:86: error: dereferencing pointer to incomplete type fs/fifo.c:89: error: dereferencing pointer to incomplete type fs/fifo.c:89: error: 'write_pipefifo_fops' undeclared (first use in this function) fs/fifo.c:90: error: dereferencing pointer to incomplete type fs/fifo.c:91: error: dereferencing pointer to incomplete type fs/fifo.c:92: warning: passing argument 1 of 'wake_up_partner' from incompatible pointer type fs/fifo.c:94: error: dereferencing pointer to incomplete type fs/fifo.c:95: error: dereferencing pointer to incomplete type fs/fifo.c:95: warning: passing argument 1 of 'wait_for_partner' from incompatible pointer type fs/fifo.c:108: error: dereferencing pointer to incomplete type fs/fifo.c:108: error: 'rdwr_pipefifo_fops' undeclared (first use in this function) fs/fifo.c:110: error: dereferencing pointer to incomplete type fs/fifo.c:111: error: dereferencing pointer to incomplete type fs/fifo.c:112: error: dereferencing pointer to incomplete type fs/fifo.c:113: error: dereferencing pointer to incomplete type fs/fifo.c:114: error: dereferencing pointer to incomplete type fs/fifo.c:114: error: dereferencing pointer to incomplete type fs/fifo.c:115: warning: passing argument 1 of 'wake_up_partner' from incompatible pointer type fs/fifo.c:119: error: 'EINVAL' undeclared (first use in this function) fs/fifo.c:124: error: implicit declaration of function 'mutex_unlock' fs/fifo.c:124: error: dereferencing pointer to incomplete type fs/fifo.c:128: error: dereferencing pointer to incomplete type fs/fifo.c:129: error: dereferencing pointer to incomplete type fs/fifo.c:130: error: 'ERESTARTSYS' undeclared (first use in this function) fs/fifo.c:134: error: dereferencing pointer to incomplete type fs/fifo.c:135: error: dereferencing pointer to incomplete type fs/fifo.c:140: error: dereferencing pointer to incomplete type fs/fifo.c:140: error: dereferencing pointer to incomplete type fs/fifo.c:141: error: implicit declaration of function 'free_pipe_info' fs/fifo.c:144: error: dereferencing pointer to incomplete type fs/fifo.c: At top level: fs/fifo.c:153: error: variable 'def_fifo_fops' has initializer but incomplete type fs/fifo.c:154: error: unknown field 'open' specified in initializer fs/fifo.c:154: warning: excess elements in struct initializer fs/fifo.c:154: warning: (near initialization for 'def_fifo_fops') arch/x86/kernel/tls.c: In function 'get_free_idx': arch/x86/kernel/tls.c:21: error: 'current' undeclared (first use in this function) arch/x86/kernel/tls.c:21: error: (Each undeclared identifier is reported only once arch/x86/kernel/tls.c:21: error: for each function it appears in.) arch/x86/kernel/tls.c:24: error: 'GDT_ENTRY_TLS_ENTRIES' undeclared (first use in this function) arch/x86/kernel/tls.c:25: error: implicit declaration of function 'desc_empty' arch/x86/kernel/tls.c:25: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:26: error: 'GDT_ENTRY_TLS_MIN' undeclared (first use in this function) arch/x86/kernel/tls.c:27: error: 'ESRCH' undeclared (first use in this function) arch/x86/kernel/tls.c: At top level: arch/x86/kernel/tls.c:31: warning: 'struct user_desc' declared inside parameter list arch/x86/kernel/tls.c:31: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/tls.c:31: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/tls.c: In function 'set_tls_desc': arch/x86/kernel/tls.c:33: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:34: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:34: error: 'GDT_ENTRY_TLS_MIN' undeclared (first use in this function) arch/x86/kernel/tls.c:40: error: implicit declaration of function 'get_cpu' arch/x86/kernel/tls.c:43: error: implicit declaration of function 'LDT_empty' arch/x86/kernel/tls.c:44: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:44: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:46: error: implicit declaration of function 'fill_ldt' arch/x86/kernel/tls.c:47: error: increment of pointer to unknown structure arch/x86/kernel/tls.c:47: error: arithmetic on pointer to an incomplete type arch/x86/kernel/tls.c:48: error: increment of pointer to unknown structure arch/x86/kernel/tls.c:48: error: arithmetic on pointer to an incomplete type arch/x86/kernel/tls.c:51: error: 'current' undeclared (first use in this function) arch/x86/kernel/tls.c:52: error: implicit declaration of function 'load_TLS' arch/x86/kernel/tls.c:54: error: implicit declaration of function 'put_cpu' arch/x86/kernel/tls.c: At top level: arch/x86/kernel/tls.c:61: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/tls.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/tls.c:105: warning: 'struct desc_struct' declared inside parameter list arch/x86/kernel/tls.c:105: warning: 'struct user_desc' declared inside parameter list arch/x86/kernel/tls.c: In function 'fill_user_desc': arch/x86/kernel/tls.c:108: error: implicit declaration of function 'memset' arch/x86/kernel/tls.c:108: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:109: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:110: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:110: error: implicit declaration of function 'get_desc_base' arch/x86/kernel/tls.c:111: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:111: error: implicit declaration of function 'get_desc_limit' arch/x86/kernel/tls.c:112: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:112: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:113: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:113: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:114: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:114: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:115: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:115: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:116: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:116: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:117: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:117: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c: At top level: arch/x86/kernel/tls.c:124: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/tls.c:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/tls.c:150: warning: 'struct user_regset' declared inside parameter list arch/x86/kernel/tls.c:150: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/tls.c: In function 'regset_tls_active': arch/x86/kernel/tls.c:152: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c:153: error: 'GDT_ENTRY_TLS_ENTRIES' undeclared (first use in this function) arch/x86/kernel/tls.c:154: error: dereferencing pointer to incomplete type arch/x86/kernel/tls.c: At top level: arch/x86/kernel/tls.c:161: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/tls.c:195: error: expected ';', ',' or ')' before '*' token make[1]: *** [mm/page_isolation.o] Error 1 CC mm/fremap.o make[1]: *** [fs/fifo.o] Error 1 make[1]: *** [arch/x86/kernel/tls.o] Error 1 make[1]: *** [security/commoncap.o] Error 1 CC fs/locks.o CC arch/x86/kernel/step.o make[1]: Target `__build' not remade because of errors. make: *** [security] Error 2 cc1: error: include/linux/autoconf.h: No such file or directory kernel/workqueue.c:19:26: error: linux/module.h: No such file or directory kernel/workqueue.c:20:26: error: linux/kernel.h: No such file or directory kernel/workqueue.c:21:25: error: linux/sched.h: No such file or directory kernel/workqueue.c:22:24: error: linux/init.h: No such file or directory kernel/workqueue.c:23:26: error: linux/signal.h: No such file or directory kernel/workqueue.c:24:30: error: linux/completion.h: No such file or directory kernel/workqueue.c:25:29: error: linux/workqueue.h: No such file or directory kernel/workqueue.c:26:24: error: linux/slab.h: No such file or directory kernel/workqueue.c:27:23: error: linux/cpu.h: No such file or directory kernel/workqueue.c:28:28: error: linux/notifier.h: No such file or directory kernel/workqueue.c:29:27: error: linux/kthread.h: No such file or directory kernel/workqueue.c:30:27: error: linux/hardirq.h: No such file or directory kernel/workqueue.c:31:29: error: linux/mempolicy.h: No such file or directory kernel/workqueue.c:32:27: error: linux/freezer.h: No such file or directory kernel/workqueue.c:33:28: error: linux/kallsyms.h: No such file or directory kernel/workqueue.c:34:31: error: linux/debug_locks.h: No such file or directory kernel/workqueue.c:35:27: error: linux/lockdep.h: No such file or directory kernel/workqueue.c:43: error: expected specifier-qualifier-list before 'spinlock_t' kernel/workqueue.c:61: error: field 'list' has incomplete type kernel/workqueue.c:71: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' CC fs/dcache.o cc1: error: include/linux/autoconf.h: No such file or directory mm/fremap.c:8:31: error: linux/backing-dev.h: No such file or directory mm/fremap.c:9:22: error: linux/mm.h: No such file or directory mm/fremap.c:10:24: error: linux/swap.h: No such file or directory mm/fremap.c:11:24: error: linux/file.h: No such file or directory mm/fremap.c:12:24: error: linux/mman.h: No such file or directory mm/fremap.c:13:27: error: linux/pagemap.h: No such file or directory mm/fremap.c:14:27: error: linux/swapops.h: No such file or directory mm/fremap.c:15:24: error: linux/rmap.h: No such file or directory mm/fremap.c:16:26: error: linux/module.h: No such file or directory mm/fremap.c:17:28: error: linux/syscalls.h: No such file or directory mm/fremap.c:19:29: error: asm/mmu_context.h: No such file or directory mm/fremap.c:20:28: error: asm/cacheflush.h: No such file or directory mm/fremap.c:21:26: error: asm/tlbflush.h: No such file or directory mm/fremap.c:24: error: expected declaration specifiers or '...' before 'pte_t' mm/fremap.c:24: warning: 'struct vm_area_struct' declared inside parameter list mm/fremap.c:24: warning: its scope is only this definition or declaration, which is probably not what you want mm/fremap.c:24: warning: 'struct mm_struct' declared inside parameter list mm/fremap.c: In function 'zap_pte': mm/fremap.c:26: error: 'pte_t' undeclared (first use in this function) mm/fremap.c:26: error: (Each undeclared identifier is reported only once mm/fremap.c:26: error: for each function it appears in.) mm/fremap.c:26: error: expected ';' before 'pte' mm/fremap.c:28: error: implicit declaration of function 'pte_present' mm/fremap.c:28: error: 'pte' undeclared (first use in this function) mm/fremap.c:31: error: implicit declaration of function 'flush_cache_page' mm/fremap.c:31: error: implicit declaration of function 'pte_pfn' mm/fremap.c:32: error: implicit declaration of function 'ptep_clear_flush' mm/fremap.c:32: error: 'ptep' undeclared (first use in this function) mm/fremap.c:33: error: implicit declaration of function 'vm_normal_page' mm/fremap.c:33: warning: assignment makes pointer from integer without a cast mm/fremap.c:35: error: implicit declaration of function 'pte_dirty' mm/fremap.c:36: error: implicit declaration of function 'set_page_dirty' mm/fremap.c:37: error: implicit declaration of function 'page_remove_rmap' mm/fremap.c:38: error: implicit declaration of function 'page_cache_release' mm/fremap.c:39: error: implicit declaration of function 'update_hiwater_rss' mm/fremap.c:40: error: implicit declaration of function 'dec_mm_counter' mm/fremap.c:40: error: 'file_rss' undeclared (first use in this function) mm/fremap.c:43: error: implicit declaration of function 'pte_file' mm/fremap.c:44: error: implicit declaration of function 'free_swap_and_cache' mm/fremap.c:44: error: implicit declaration of function 'pte_to_swp_entry' mm/fremap.c:45: error: implicit declaration of function 'pte_clear_not_present_full' cc1: error: include/linux/autoconf.h: No such file or directory mm/fremap.c: At top level: mm/fremap.c:54: error: expected declaration specifiers or '...' before 'pgprot_t' mm/fremap.c:54: warning: 'struct vm_area_struct' declared inside parameter list mm/fremap.c:54: warning: 'struct mm_struct' declared inside parameter list mm/fremap.c: In function 'install_file_pte': mm/fremap.c:56: error: 'ENOMEM' undeclared (first use in this function) mm/fremap.c:57: error: 'pte_t' undeclared (first use in this function) mm/fremap.c:57: error: 'pte' undeclared (first use in this function) mm/fremap.c:58: error: 'spinlock_t' undeclared (first use in this function) mm/fremap.c:58: error: 'ptl' undeclared (first use in this function) mm/fremap.c:60: error: implicit declaration of function 'get_locked_pte' fs/locks.c:117:30: error: mm/fremap.c:64: error: implicit declaration of function 'pte_none' mm/fremap.c:65: warning: passing argument 1 of 'zap_pte' from incompatible pointer type mm/fremap.c:65: warning: passing argument 2 of 'zap_pte' from incompatible pointer type mm/fremap.c:65: error: too many arguments to function 'zap_pte' mm/fremap.c:67: error: implicit declaration of function 'set_pte_at' mm/fremap.c:67: error: implicit declaration of function 'pgoff_to_pte' mm/fremap.c:75: error: implicit declaration of function 'pte_unmap_unlock' mm/fremap.c: At top level: mm/fremap.c:82: error: expected declaration specifiers or '...' before 'pgoff_t' mm/fremap.c:82: warning: 'struct vm_area_struct' declared inside parameter list mm/fremap.c:82: warning: 'struct mm_struct' declared inside parameter list mm/fremap.c: In function 'populate_range': mm/fremap.c:87: error: 'pgoff' undeclared (first use in this function) mm/fremap.c:87: error: dereferencing pointer to incomplete type mm/fremap.c:87: warning: passing argument 1 of 'install_file_pte' from incompatible pointer type mm/fremap.c:87: warning: passing argument 2 of 'install_file_pte' from incompatible pointer type mm/fremap.c:87: error: too many arguments to function 'install_file_pte' mm/fremap.c:91: error: 'PAGE_SIZE' undeclared (first use in this function) mm/fremap.c: At top level: mm/fremap.c:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/fremap.c:143:5: warning: "PTE_FILE_MAX_BITS" is not defined mm/fremap.c:143:25: warning: "BITS_PER_LONG" is not defined kernel/workqueue.c:71: warning: parameter names (without types) in function declaration kernel/workqueue.c:72: warning: type defaults to 'int' in declaration of 'LIST_HEAD' kernel/workqueue.c:72: warning: parameter names (without types) in function declaration kernel/workqueue.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/workqueue.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_singlethread_map' kernel/workqueue.c:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpu_populated_map' kernel/workqueue.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/workqueue.c: In function 'wq_per_cpu': kernel/workqueue.c:100: error: implicit declaration of function 'unlikely' kernel/workqueue.c:101: error: 'singlethread_cpu' undeclared (first use in this function) kernel/workqueue.c:101: error: (Each undeclared identifier is reported only once kernel/workqueue.c:101: error: for each function it appears in.) kernel/workqueue.c:102: error: implicit declaration of function 'per_cpu_ptr' kernel/workqueue.c:102: warning: return makes pointer from integer without a cast kernel/workqueue.c: At top level: kernel/workqueue.c:110: warning: 'struct work_struct' declared inside parameter list kernel/workqueue.c:110: warning: its scope is only this definition or declaration, which is probably not what you want kernel/workqueue.c: In function 'set_wq_data': kernel/workqueue.c:114: error: implicit declaration of function 'BUG_ON' kernel/workqueue.c:114: error: implicit declaration of function 'work_pending' kernel/workqueue.c:116: error: 'WORK_STRUCT_PENDING' undeclared (first use in this function) kernel/workqueue.c:117: error: 'WORK_STRUCT_FLAG_MASK' undeclared (first use in this function) kernel/workqueue.c:117: error: implicit declaration of function 'work_data_bits' kernel/workqueue.c:117: error: invalid type argument of 'unary *' kernel/workqueue.c:118: error: implicit declaration of function 'atomic_long_set' kernel/workqueue.c:118: error: dereferencing pointer to incomplete type kernel/workqueue.c: At top level: kernel/workqueue.c:122: warning: 'struct work_struct' declared inside parameter list kernel/workqueue.c: In function 'get_wq_data': kernel/workqueue.c:124: error: implicit declaration of function 'atomic_long_read' kernel/workqueue.c:124: error: dereferencing pointer to incomplete type kernel/workqueue.c:124: error: 'WORK_STRUCT_WQ_DATA_MASK' undeclared (first use in this function) kernel/workqueue.c: At top level: kernel/workqueue.c:128: warning: 'struct work_struct' declared inside parameter list kernel/workqueue.c: In function 'insert_work': kernel/workqueue.c:130: warning: passing argument 1 of 'set_wq_data' from incompatible pointer type kernel/workqueue.c:135: error: implicit declaration of function 'smp_wmb' kernel/workqueue.c:137: error: implicit declaration of function 'list_add_tail' kernel/workqueue.c:137: error: dereferencing pointer to incomplete type kernel/workqueue.c:137: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:139: error: implicit declaration of function 'list_add' kernel/workqueue.c:139: error: dereferencing pointer to incomplete type kernel/workqueue.c:139: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:140: error: implicit declaration of function 'wake_up' kernel/workqueue.c:140: error: 'struct cpu_workqueue_struct' has no member named 'more_work' kernel/workqueue.c: At top level: kernel/workqueue.c:145: warning: 'struct work_struct' declared inside parameter list kernel/workqueue.c: In function '__queue_work': kernel/workqueue.c:149: error: implicit declaration of function 'spin_lock_irqsave' kernel/workqueue.c:149: error: 'struct cpu_workqueue_struct' has no member named 'lock' make[1]: *** [mm/fremap.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/dcache.c:17:28: error: linux/syscalls.h: No such file or directory fs/dcache.c:18:26: error: linux/string.h: No such file or directory fs/dcache.c:19:22: error: linux/mm.h: No such file or directory fs/dcache.c:20:27: error: linux/fdtable.h: No such file or directory fs/dcache.c:21:22: error: linux/fs.h: No such file or directory fs/dcache.c:22:28: error: linux/fsnotify.h: No such file or directory fs/dcache.c:23:24: error: linux/slab.h: No such file or directory fs/dcache.c:24:24: error: linux/init.h: No such file or directory fs/dcache.c:25:24: error: linux/hash.h: No such file or directory fs/dcache.c:26:25: error: linux/cache.h: No such file or directory fs/dcache.c:27:26: error: linux/module.h: No such file or directory fs/dcache.c:28:25: error: linux/mount.h: No such file or directory fs/dcache.c:29:24: error: linux/file.h: No such file or directory fs/dcache.c:30:25: error: asm/uaccess.h: No such file or directory fs/dcache.c:31:28: error: linux/security.h: No such file or directory fs/dcache.c:32:27: error: linux/seqlock.h: No such file or directory fs/dcache.c:33:24: error: linux/swap.h: No such file or directory fs/dcache.c:34:27: error: linux/bootmem.h: No such file or directory In file included from fs/dcache.c:35: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/internal.h:45: error: expected ';', ',' or ')' before '*' token fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter list fs/internal.h:47: warning: its scope is only this definition or declaration, which is probably not what you want fs/internal.h:49: warning: 'struct dentry' declared inside parameter list fs/internal.h:51: warning: 'struct dentry' declared inside parameter list fs/internal.h:52: warning: 'struct list_head' declared inside parameter list fs/internal.h:53: warning: 'struct list_head' declared inside parameter list fs/internal.h:54: warning: 'struct dentry' declared inside parameter list fs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' fs/dcache.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:39: warning: data definition has no type or storage class fs/dcache.c:39: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/dcache.c:39: warning: parameter names (without types) in function declaration fs/dcache.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SPINLOCK' fs/dcache.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SEQLOCK' fs/dcache.c:44: warning: data definition has no type or storage class fs/dcache.c:44: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/dcache.c:44: warning: parameter names (without types) in function declaration fs/dcache.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:64: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/dcache.c:64: warning: parameter names (without types) in function declaration fs/dcache.c:67: error: variable 'dentry_stat' has initializer but incomplete type fs/dcache.c:68: error: unknown field 'age_limit' specified in initializer fs/dcache.c:68: warning: excess elements in struct initializer fs/dcache.c:68: warning: (near initialization for 'dentry_stat') fs/dcache.c:71: warning: 'struct dentry' declared inside parameter list fs/dcache.c: In function '__d_free': fs/dcache.c:73: error: implicit declaration of function 'dname_external' fs/dcache.c:74: error: implicit declaration of function 'kfree' fs/dcache.c:74: error: dereferencing pointer to incomplete type fs/dcache.c:75: error: implicit declaration of function 'kmem_cache_free' fs/dcache.c:75: error: 'dentry_cache' undeclared (first use in this function) fs/dcache.c:75: error: (Each undeclared identifier is reported only once fs/dcache.c:75: error: for each function it appears in.) fs/dcache.c: At top level: fs/dcache.c:78: warning: 'struct rcu_head' declared inside parameter list fs/dcache.c: In function 'd_callback': fs/dcache.c:80: error: implicit declaration of function 'container_of' fs/dcache.c:80: error: expected expression before 'struct' CC mm/highmem.o cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/step.c:4:25: error: linux/sched.h: No such file or directory arch/x86/kernel/step.c:5:22: error: linux/mm.h: No such file or directory arch/x86/kernel/step.c:6:26: error: linux/ptrace.h: No such file or directory arch/x86/kernel/step.c:8: warning: 'struct pt_regs' declared inside parameter list arch/x86/kernel/step.c:8: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/step.c:8: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'convert_ip_to_linear': arch/x86/kernel/step.c:12: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:13: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:14: error: implicit declaration of function 'v8086_mode' arch/x86/kernel/step.c:25: error: 'SEGMENT_TI_MASK' undeclared (first use in this function) arch/x86/kernel/step.c:25: error: (Each undeclared identifier is reported only once arch/x86/kernel/step.c:25: error: for each function it appears in.) arch/x86/kernel/step.c:25: error: 'SEGMENT_LDT' undeclared (first use in this function) arch/x86/kernel/step.c:26: error: 'u32' undeclared (first use in this function) arch/x86/kernel/step.c:26: error: 'desc' undeclared (first use in this function) arch/x86/kernel/step.c:27: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/step.c:31: error: implicit declaration of function 'mutex_lock' arch/x86/kernel/step.c:31: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:32: error: implicit declaration of function 'unlikely' arch/x86/kernel/step.c:32: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:35: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:45: error: implicit declaration of function 'mutex_unlock' arch/x86/kernel/step.c:45: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:51: warning: 'struct pt_regs' declared inside parameter list arch/x86/kernel/step.c:51: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'is_setting_trap_flag': arch/x86/kernel/step.c:55: warning: passing argument 1 of 'convert_ip_to_linear' from incompatible pointer type arch/x86/kernel/step.c:55: warning: passing argument 2 of 'convert_ip_to_linear' from incompatible pointer type arch/x86/kernel/step.c:57: error: implicit declaration of function 'access_process_vm' arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:105: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'enable_single_step': arch/x86/kernel/step.c:107: error: implicit declaration of function 'task_pt_regs' arch/x86/kernel/step.c:107: warning: initialization makes pointer from integer without a cast arch/x86/kernel/step.c:120: error: implicit declaration of function 'test_tsk_thread_flag' arch/x86/kernel/step.c:120: error: 'TIF_SINGLESTEP' undeclared (first use in this function) arch/x86/kernel/step.c:121: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:121: error: 'X86_EFLAGS_TF' undeclared (first use in this function) arch/x86/kernel/step.c:128: error: implicit declaration of function 'set_tsk_thread_flag' arch/x86/kernel/step.c:130: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:133: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:144: warning: passing argument 1 of 'is_setting_trap_flag' from incompatible pointer type arch/x86/kernel/step.c:144: warning: passing argument 2 of 'is_setting_trap_flag' from incompatible pointer type arch/x86/kernel/step.c:145: error: implicit declaration of function 'clear_tsk_thread_flag' arch/x86/kernel/step.c:145: error: 'TIF_FORCED_TF' undeclared (first use in this function) arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:164: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'write_debugctlmsr': arch/x86/kernel/step.c:166: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:169: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:171: error: 'current' undeclared (first use in this function) arch/x86/kernel/step.c:174: error: implicit declaration of function 'update_debugctlmsr' arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:180: error: expected declaration specifiers or '...' before 'bool' arch/x86/kernel/step.c:180: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'enable_step': arch/x86/kernel/step.c:189: warning: passing argument 1 of 'enable_single_step' from incompatible pointer type arch/x86/kernel/step.c:189: error: 'block' undeclared (first use in this function) arch/x86/kernel/step.c:190: error: 'TIF_DEBUGCTLMSR' undeclared (first use in this function) arch/x86/kernel/step.c:192: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:192: error: 'DEBUGCTLMSR_BTF' undeclared (first use in this function) arch/x86/kernel/step.c:192: warning: passing argument 1 of 'write_debugctlmsr' from incompatible pointer type arch/x86/kernel/step.c:195: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:195: warning: passing argument 1 of 'write_debugctlmsr' from incompatible pointer type arch/x86/kernel/step.c:197: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:202: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'user_enable_single_step': arch/x86/kernel/step.c:204: warning: passing argument 1 of 'enable_step' from incompatible pointer type arch/x86/kernel/step.c:204: error: too many arguments to function 'enable_step' arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:207: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'user_enable_block_step': arch/x86/kernel/step.c:209: warning: passing argument 1 of 'enable_step' from incompatible pointer type arch/x86/kernel/step.c:209: error: too many arguments to function 'enable_step' arch/x86/kernel/step.c: At top level: arch/x86/kernel/step.c:212: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/step.c: In function 'user_disable_single_step': arch/x86/kernel/step.c:218: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:218: error: 'DEBUGCTLMSR_BTF' undeclared (first use in this function) arch/x86/kernel/step.c:218: warning: passing argument 1 of 'write_debugctlmsr' from incompatible pointer type arch/x86/kernel/step.c:220: error: dereferencing pointer to incomplete type arch/x86/kernel/step.c:221: error: 'TIF_DEBUGCTLMSR' undeclared (first use in this function) arch/x86/kernel/step.c:224: error: 'TIF_SINGLESTEP' undeclared (first use in this function) arch/x86/kernel/step.c:227: error: implicit declaration of function 'test_and_clear_tsk_thread_flag' arch/x86/kernel/step.c:227: error: 'TIF_FORCED_TF' undeclared (first use in this function) arch/x86/kernel/step.c:228: error: invalid type argument of '->' arch/x86/kernel/step.c:228: error: 'X86_EFLAGS_TF' undeclared (first use in this function) linux/capability.h: No such file or directorykernel/workqueue.c:150: warning: passing argument 2 of 'insert_work' from incompatible pointer type kernel/workqueue.c:151: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/workqueue.c:151: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c: At top level: kernel/workqueue.c:164: warning: 'struct work_struct' declared inside parameter list kernel/workqueue.c: In function 'queue_work': kernel/workqueue.c:168: error: implicit declaration of function 'test_and_set_bit' kernel/workqueue.c:168: error: 'WORK_STRUCT_PENDING' undeclared (first use in this function) kernel/workqueue.c:169: error: implicit declaration of function 'list_empty' kernel/workqueue.c:169: error: dereferencing pointer to incomplete type kernel/workqueue.c:170: error: implicit declaration of function 'get_cpu' kernel/workqueue.c:170: warning: passing argument 2 of '__queue_work' from incompatible pointer type kernel/workqueue.c:171: error: implicit declaration of function 'put_cpu' kernel/workqueue.c: At top level: kernel/workqueue.c:176: warning: data definition has no type or storage class kernel/workqueue.c:176: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:176: warning: parameter names (without types) in function declaration kernel/workqueue.c: In function 'delayed_work_timer_fn': kernel/workqueue.c:181: error: dereferencing pointer to incomplete type kernel/workqueue.c:182: error: 'struct cpu_workqueue_struct' has no member named 'wq' kernel/workqueue.c:184: error: implicit declaration of function 'smp_processor_id' kernel/workqueue.c:184: error: dereferencing pointer to incomplete type kernel/workqueue.c: At top level: kernel/workqueue.c:196: warning: 'struct delayed_work' declared inside parameter list kernel/workqueue.c: In function 'queue_delayed_work': kernel/workqueue.c:199: error: dereferencing pointer to incomplete type kernel/workqueue.c:201: error: implicit declaration of function 'queue_delayed_work_on' kernel/workqueue.c: At top level: kernel/workqueue.c:203: warning: data definition has no type or storage class kernel/workqueue.c:203: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:203: warning: parameter names (without types) in function declaration kernel/workqueue.c:215: warning: 'struct delayed_work' declared inside parameter list kernel/workqueue.c: In function 'queue_delayed_work_on': kernel/workqueue.c:218: error: dereferencing pointer to incomplete type kernel/workqueue.c:219: error: dereferencing pointer to incomplete type kernel/workqueue.c:221: error: 'WORK_STRUCT_PENDING' undeclared (first use in this function) kernel/workqueue.c:222: error: implicit declaration of function 'timer_pending' kernel/workqueue.c:223: error: dereferencing pointer to incomplete type kernel/workqueue.c:225: error: implicit declaration of function 'timer_stats_timer_set_start_info' kernel/workqueue.c:225: error: dereferencing pointer to incomplete type kernel/workqueue.c:228: error: implicit declaration of function 'raw_smp_processor_id' kernel/workqueue.c:228: warning: passing argument 1 of 'set_wq_data' from incompatible pointer type kernel/workqueue.c:229: error: dereferencing pointer to incomplete type kernel/workqueue.c:229: error: 'jiffies' undeclared (first use in this function) kernel/workqueue.c:230: error: dereferencing pointer to incomplete type kernel/workqueue.c:231: error: dereferencing pointer to incomplete type kernel/workqueue.c:234: error: implicit declaration of function 'add_timer_on' kernel/workqueue.c:236: error: implicit declaration of function 'add_timer' kernel/workqueue.c: At top level: kernel/workqueue.c:241: warning: data definition has no type or storage class kernel/workqueue.c:241: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:241: warning: parameter names (without types) in function declaration kernel/workqueue.c: In function 'run_workqueue': kernel/workqueue.c:245: error: implicit declaration of function 'spin_lock_irq' kernel/workqueue.c:245: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:246: error: 'struct cpu_workqueue_struct' has no member named 'run_depth' kernel/workqueue.c:247: error: 'struct cpu_workqueue_struct' has no member named 'run_depth' kernel/workqueue.c:249: error: implicit declaration of function 'printk' kernel/workqueue.c:250: error: 'struct cpu_workqueue_struct' has no member named 'run_depth' kernel/workqueue.c:251: error: implicit declaration of function 'dump_stack' kernel/workqueue.c:253: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:254: error: implicit declaration of function 'list_entry' kernel/workqueue.c:254: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:255: error: expected expression before 'struct' kernel/workqueue.c:255: warning: initialization makes pointer from integer without a cast kernel/workqueue.c:256: error: 'work_func_t' undeclared (first use in this function) kernel/workqueue.c:256: error: expected ';' before 'f' kernel/workqueue.c:269: error: 'struct cpu_workqueue_struct' has no member named 'current_work' kernel/workqueue.c:270: error: implicit declaration of function 'list_del_init' kernel/workqueue.c:270: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:271: error: implicit declaration of function 'spin_unlock_irq' kernel/workqueue.c:271: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:273: warning: passing argument 1 of 'get_wq_data' from incompatible pointer type kernel/workqueue.c:274: error: implicit declaration of function 'work_clear_pending' kernel/workqueue.c:275: error: implicit declaration of function 'lock_acquire' kernel/workqueue.c:275: error: 'struct cpu_workqueue_struct' has no member named 'wq' kernel/workqueue.c:275: error: '_THIS_IP_' undeclared (first use in this function) kernel/workqueue.c:276: error: 'lockdep_map' undeclared (first use in this function) kernel/workqueue.c:277: error: implicit declaration of function 'f' kernel/workqueue.c:278: error: implicit declaration of function 'lock_release' kernel/workqueue.c:279: error: 'struct cpu_workqueue_struct' has no member named 'wq' kernel/workqueue.c:281: error: implicit declaration of function 'in_atomic' kernel/workqueue.c:281: error: implicit declaration of function 'lockdep_depth' kernel/workqueue.c:281: error: 'current' undeclared (first use in this function) kernel/workqueue.c:282: error: 'KERN_ERR' undeclared (first use in this function) kernel/workqueue.c:282: error: expected ')' before string constant kernel/workqueue.c:286: error: expected ')' before string constant kernel/workqueue.c:287: error: implicit declaration of function 'print_symbol' kernel/workqueue.c:288: error: implicit declaration of function 'debug_show_held_locks' kernel/workqueue.c:292: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:293: error: 'struct cpu_workqueue_struct' has no member named 'current_work' kernel/workqueue.c:293: error: 'NULL' undeclared (first use in this function) kernel/workqueue.c:295: error: 'struct cpu_workqueue_struct' has no member named 'run_depth' kernel/workqueue.c:296: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c: In function 'worker_thread': kernel/workqueue.c:302: error: implicit declaration of function 'DEFINE_WAIT' kernel/workqueue.c:302: error: 'wait' undeclared (first use in this function) kernel/workqueue.c:304: error: 'struct cpu_workqueue_struct' has no member named 'wq' kernel/workqueue.c:305: error: implicit declaration of function 'set_freezable' kernel/workqueue.c:307: error: implicit declaration of function 'set_user_nice' kernel/workqueue.c:307: error: 'current' undeclared (first use in this function) kernel/workqueue.c:310: error: implicit declaration of function 'prepare_to_wait' kernel/workqueue.c:310: error: 'struct cpu_workqueue_struct' has no member named 'more_work' kernel/workqueue.c:310: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/workqueue.c:311: error: implicit declaration of function 'freezing' kernel/workqueue.c:312: error: implicit declaration of function 'kthread_should_stop' kernel/workqueue.c:313: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:314: error: implicit declaration of function 'schedule' kernel/workqueue.c:315: error: implicit declaration of function 'finish_wait' kernel/workqueue.c:315: error: 'struct cpu_workqueue_struct' has no member named 'more_work' kernel/workqueue.c:317: error: implicit declaration of function 'try_to_freeze' cc1: error: include/linux/autoconf.h: No such file or directory kernel/workqueue.c: At top level: kernel/workqueue.c:329: error: field 'work' has incomplete type kernel/workqueue.c:330: error: field 'done' has incomplete type kernel/workqueue.c: In function 'wq_barrier_func': kernel/workqueue.c:335: error: implicit declaration of function 'container_of' kernel/workqueue.c:335: error: expected expression before 'struct' kernel/workqueue.c:335: warning: initialization makes pointer from integer without a cast kernel/workqueue.c:336: error: implicit declaration of function 'complete' kernel/workqueue.c: In function 'insert_wq_barrier': kernel/workqueue.c:342: error: implicit declaration of function 'INIT_WORK' kernel/workqueue.c:343: error: implicit declaration of function '__set_bit' kernel/workqueue.c:343: error: 'WORK_STRUCT_PENDING' undeclared (first use in this function) mm/highmem.c:19:22: error: fs/dcache.c:80: warning: initialization makes pointer from integer without a cast fs/locks.c:118:24: error: linux/file.h: No such file or directory fs/locks.c:119:27: error: linux/fdtable.h: No such file or directory fs/dcache.c:81: warning: passing argument 1 of '__d_free' from incompatible pointer typekernel/workqueue.c:345: error: implicit declaration of function 'init_completion' linux/mm.h: No such file or directory mm/highmem.c:20:26: error: linux/module.h: No such file or directory kernel/workqueue.c: In function 'flush_cpu_workqueue': kernel/workqueue.c:354: error: 'struct cpu_workqueue_struct' has no member named 'thread' kernel/workqueue.c:354: error: 'current' undeclared (first use in this function) kernel/workqueue.c:365: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:366: error: 'struct cpu_workqueue_struct' has no member named 'worklist' kernel/workqueue.c:366: error: 'struct cpu_workqueue_struct' has no member named 'current_work' kernel/workqueue.c:366: error: 'NULL' undeclared (first use in this function) kernel/workqueue.c:370: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:373: error: implicit declaration of function 'wait_for_completion' kernel/workqueue.c: In function 'flush_workqueue': kernel/workqueue.c:394: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/workqueue.c:394: error: 'cpu_map' undeclared (first use in this function) kernel/workqueue.c:394: error: implicit declaration of function 'wq_cpu_map' kernel/workqueue.c:395: warning: ISO C90 forbids mixed declarations and code kernel/workqueue.c:397: error: implicit declaration of function 'might_sleep' kernel/workqueue.c:398: error: 'struct workqueue_struct' has no member named 'lockdep_map' kernel/workqueue.c:398: error: '_THIS_IP_' undeclared (first use in this function) kernel/workqueue.c:399: error: 'struct workqueue_struct' has no member named 'lockdep_map' kernel/workqueue.c:400: error: implicit declaration of function 'for_each_cpu_mask_nr' kernel/workqueue.c:401: error: expected ';' before 'flush_cpu_workqueue' kernel/workqueue.c: At top level: kernel/workqueue.c:403: warning: data definition has no type or storage class kernel/workqueue.c:403: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:403: warning: parameter names (without types) in function declaration kernel/workqueue.c: In function 'try_to_grab_pending': kernel/workqueue.c:414: error: 'WORK_STRUCT_PENDING' undeclared (first use in this function) kernel/workqueue.c:422: warning: passing argument 1 of 'get_wq_data' from incompatible pointer type kernel/workqueue.c:426: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:427: error: dereferencing pointer to incomplete type kernel/workqueue.c:433: error: implicit declaration of function 'smp_rmb' kernel/workqueue.c:434: warning: passing argument 1 of 'get_wq_data' from incompatible pointer type kernel/workqueue.c:435: error: dereferencing pointer to incomplete type kernel/workqueue.c:439: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c: In function 'wait_on_cpu_work': kernel/workqueue.c:450: error: 'struct cpu_workqueue_struct' has no member named 'lock' kernel/workqueue.c:451: error: 'struct cpu_workqueue_struct' has no member named 'current_work' kernel/workqueue.c:455: error: 'struct cpu_workqueue_struct' has no member named 'lock' fs/locks.c:120:22: error: fs/dcache.c: At top level: fs/dcache.c:88: warning: 'struct dentry' declared inside parameter list fs/dcache.c: In function 'd_free': fs/dcache.c:90: error: dereferencing pointer to incomplete type fs/dcache.c:90: error: dereferencing pointer to incomplete type fs/dcache.c:91: error: dereferencing pointer to incomplete type fs/dcache.c:93: error: implicit declaration of function 'hlist_unhashed' fs/dcache.c:93: error: dereferencing pointer to incomplete type fs/dcache.c:94: warning: passing argument 1 of '__d_free' from incompatible pointer type fs/dcache.c:96: error: implicit declaration of function 'call_rcu' fs/dcache.c:96: error: dereferencing pointer to incomplete type fs/dcache.c: At top level: fs/dcache.c:99: warning: 'struct dentry' declared inside parameter list fs/dcache.c: In function 'dentry_lru_remove': fs/dcache.c:101: error: implicit declaration of function 'list_empty' fs/dcache.c:101: error: dereferencing pointer to incomplete type fs/dcache.c:102: error: implicit declaration of function 'list_del_init' fs/dcache.c:102: error: dereferencing pointer to incomplete type fs/dcache.c:103: error: invalid use of undefined type 'struct dentry_stat_t' fs/dcache.c: At top level: fs/dcache.c:111: warning: 'struct dentry' declared inside parameter list fs/dcache.c: In function 'dentry_iput': fs/dcache.c:112: error: expected declaration specifiers before '__releases' fs/dcache.c:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__releases' fs/dcache.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:319: warning: 'struct inode' declared inside parameter list fs/dcache.c:320: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:346: warning: 'struct inode' declared inside parameter list fs/dcache.c:347: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:362: warning: 'struct inode' declared inside parameter list fs/dcache.c:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/highmem.c:21:24: fs/dcache.c:391: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__releases'error: kernel/workqueue.c: In function 'wait_on_work':linux/fs.h: No such file or directory linux/swap.h: No such file or directory fs/dcache.c:432: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/workqueue.c:465: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/locks.c:121:24: error: linux/init.h: No such file or directory mm/highmem.c:22:23: fs/locks.c:122:26: fs/dcache.c:546: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/workqueue.c:465: error: 'cpu_map' undeclared (first use in this function) make[1]: *** [arch/x86/kernel/step.o] Error 1 fs/dcache.c:590: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token error: error: linux/module.h: No such file or directory kernel/workqueue.c:466: warning: ISO C90 forbids mixed declarations and code fs/locks.c:123:28: error: linux/security.h: No such file or directory fs/locks.c:124:24:linux/bio.h: No such file or directorykernel/workqueue.c:470: error: dereferencing pointer to incomplete type error: linux/slab.h: No such file or directory kernel/workqueue.c:470: error: '_THIS_IP_' undeclared (first use in this function) fs/dcache.c:696: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' tokenkernel/workqueue.c:471: error: dereferencing pointer to incomplete type kernel/workqueue.c:473: warning: passing argument 1 of 'get_wq_data' from incompatible pointer type kernel/workqueue.c:477: error: 'struct cpu_workqueue_struct' has no member named 'wq' fs/locks.c:125:28: error: fs/dcache.c:728: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/workqueue.c:481: error: expected ';' before 'wait_on_cpu_work'linux/smp_lock.h: No such file or directory fs/locks.c:126:28: error: linux/syscalls.h: No such file or directory fs/locks.c:127:24: error: linux/time.h: No such file or directory fs/locks.c:128:28: error: linux/rcupdate.h: No such file or directory fs/locks.c:129:33: error: linux/pid_namespace.h: No such file or directory mm/highmem.c:23:27: error: linux/pagemap.h: No such file or directory mm/highmem.c:24:27: error: linux/mempool.h: No such file or directory mm/highmem.c:25:26: error: linux/blkdev.h: No such file or directory mm/highmem.c:26:24: error: linux/init.h: No such file or directory mm/highmem.c:27:24: error: linux/hash.h: No such file or directory mm/highmem.c:28:27: error: linux/highmem.h: No such file or directory mm/highmem.c:29:32: error: linux/blktrace_api.h: No such file or directory mm/highmem.c:30:26: error: asm/tlbflush.h: No such file or directory fs/dcache.c:780: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/locks.c:131:25: error: asm/uaccess.h: No such file or directory fs/locks.c:143: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/locks.c:143: warning: parameter names (without types) in function declaration kernel/workqueue.c: At top level: kernel/workqueue.c:485: warning: 'struct timer_list' declared inside parameter list kernel/workqueue.c: In function '__cancel_work_timer': kernel/workqueue.c:490: error: implicit declaration of function 'likely' kernel/workqueue.c:490: error: implicit declaration of function 'del_timer' kernel/workqueue.c: In function 'cancel_work_sync': kernel/workqueue.c:523: error: 'NULL' undeclared (first use in this function) kernel/workqueue.c: At top level: kernel/workqueue.c:525: warning: data definition has no type or storage class kernel/workqueue.c:525: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:525: warning: parameter names (without types) in function declaration kernel/workqueue.c:536: warning: 'struct delayed_work' declared inside parameter list kernel/workqueue.c: In function 'cancel_delayed_work_sync': kernel/workqueue.c:538: error: dereferencing pointer to incomplete type kernel/workqueue.c:538: error: dereferencing pointer to incomplete type kernel/workqueue.c: At top level: kernel/workqueue.c:540: warning: data definition has no type or storage class kernel/workqueue.c:540: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:540: warning: parameter names (without types) in function declaration kernel/workqueue.c:542: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/workqueue.c: In function 'schedule_work': kernel/workqueue.c:552: error: 'keventd_wq' undeclared (first use in this function) kernel/workqueue.c:552: warning: passing argument 2 of 'queue_work' from incompatible pointer type kernel/workqueue.c: At top level: kernel/workqueue.c:554: warning: data definition has no type or storage class kernel/workqueue.c:554: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:554: warning: parameter names (without types) in function declaration kernel/workqueue.c:565: warning: 'struct delayed_work' declared inside parameter list kernel/workqueue.c: In function 'schedule_delayed_work': kernel/workqueue.c:567: error: 'keventd_wq' undeclared (first use in this function) kernel/workqueue.c:567: warning: passing argument 2 of 'queue_delayed_work' from incompatible pointer type kernel/workqueue.c: At top level: kernel/workqueue.c:569: warning: data definition has no type or storage class kernel/workqueue.c:569: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:569: warning: parameter names (without types) in function declaration kernel/workqueue.c:581: warning: 'struct delayed_work' declared inside parameter list kernel/workqueue.c: In function 'schedule_delayed_work_on': kernel/workqueue.c:583: error: 'keventd_wq' undeclared (first use in this function) kernel/workqueue.c:583: warning: passing argument 3 of 'queue_delayed_work_on' from incompatible pointer type kernel/workqueue.c: At top level: fs/locks.c:144: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/locks.c:144: warning: parameter names (without types) in function declaration fs/locks.c:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/workqueue.c:585: warning: data definition has no type or storage class kernel/workqueue.c:585: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:585: warning: parameter names (without types) in function declarationfs/locks.c: In function 'locks_alloc_lock': fs/locks.c:151: error: implicit declaration of function 'kmem_cache_alloc' fs/locks.c:151: error: 'filelock_cache' undeclared (first use in this function) fs/locks.c:151: error: (Each undeclared identifier is reported only once fs/locks.c:151: error: for each function it appears in.) fs/locks.c:151: error: 'GFP_KERNEL' undeclared (first use in this function) fs/locks.c:151: warning: return makes pointer from integer without a cast fs/locks.c: In function 'locks_release_private': fs/locks.c:156: error: dereferencing pointer to incomplete type fs/locks.c:157: error: dereferencing pointer to incomplete type fs/locks.c:158: error: dereferencing pointer to incomplete type fs/locks.c:159: error: dereferencing pointer to incomplete type fs/locks.c:159: error: 'NULL' undeclared (first use in this function) fs/locks.c:161: error: dereferencing pointer to incomplete type fs/locks.c:162: error: dereferencing pointer to incomplete type fs/locks.c:163: error: dereferencing pointer to incomplete type fs/locks.c:164: error: dereferencing pointer to incomplete type fs/locks.c: In function 'locks_free_lock': fs/locks.c:172: error: implicit declaration of function 'BUG_ON' LD arch/x86/kernel/acpi/built-in.o make[1]: fs/dcache.c:842: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/workqueue.c:596: error: expected ')' before 'func' fs/dcache.c:861: error: expected declaration specifiers or '...' before 'gfp_t' fs/dcache.c:862: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/workqueue.c: In function 'flush_scheduled_work': kernel/workqueue.c:621: error: 'keventd_wq' undeclared (first use in this function) fs/locks.c:172: error: implicit declaration of function 'waitqueue_active'*** [mm/highmem.o] Error 1 kernel/workqueue.c: At top level: fs/dcache.c:871: error: storage class specified for parameter 'dcache_shrinker' fs/dcache.c:871: error: parameter 'dcache_shrinker' is initialized fs/dcache.c:872: error: unknown field 'shrink' specified in initializer fs/dcache.c:872: error: 'shrink_dcache_memory' undeclared (first use in this function) fs/dcache.c:872: warning: excess elements in struct initializer fs/dcache.c:872: warning: (near initialization for 'dcache_shrinker') fs/dcache.c:873: error: unknown field 'seeks' specified in initializer fs/dcache.c:873: error: 'DEFAULT_SEEKS' undeclared (first use in this function) fs/dcache.c:873: warning: excess elements in struct initializer fs/dcache.c:873: warning: (near initialization for 'dcache_shrinker') fs/dcache.c:886: warning: 'struct qstr' declared inside parameter list fs/dcache.c:887: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:945: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:969: warning: 'struct inode' declared inside parameter list fs/dcache.c:970: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:998: warning: 'struct inode' declared inside parameter list fs/dcache.c:999: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1031: warning: 'struct inode' declared inside parameter list fs/dcache.c:1032: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1051: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:1062: warning: 'struct inode' declared inside parameter list fs/dcache.c:1063: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1081: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1107: warning: 'struct inode' declared inside parameter list fs/dcache.c:1108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1168: warning: 'struct inode' declared inside parameter list fs/dcache.c:1169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1214: warning: 'struct qstr' declared inside parameter list fs/dcache.c:1214: warning: 'struct inode' declared inside parameter list fs/dcache.c:1215: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1328: warning: 'struct qstr' declared inside parameter list fs/dcache.c:1329: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1342: warning: 'struct qstr' declared inside parameter list fs/dcache.c:1343: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1408: warning: 'struct qstr' declared inside parameter list fs/dcache.c:1409: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1440: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1490: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1514: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1521: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1533: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1557: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1615: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1683: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1693: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1713: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__releases' fs/dcache.c:1752: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1787: warning: 'struct inode' declared inside parameter list fs/dcache.c:1788: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1852: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1861: warning: 'struct qstr' declared inside parameter list fs/dcache.c:1862: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1884: warning: 'struct path' declared inside parameter list fs/dcache.c:1885: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1956: warning: 'struct path' declared inside parameter list fs/dcache.c:1957: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:1989: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token CC mm/madvise.o fs/dcache.c:2009: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:2060: error: expected declaration specifiers before 'asmlinkage' fs/dcache.c:2125: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:2157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/dcache.c:2200: error: expected declaration specifiers before 'ino_t' fs/dcache.c:2214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' fs/dcache.c:2215: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_dhash_entries' fs/dcache.c:2222: error: expected declaration specifiers before '__setup' fs/dcache.c:2224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dcache_init_early' fs/dcache.c:2248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dcache_init' fs/dcache.c:2281: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:2284: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/dcache.c:2286: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_caches_init_early' fs/dcache.c:2294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_caches_init' fs/dcache.c:2318: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2319: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:623: warning: data definition has no type or storage classfs/dcache.c:2320: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:172: error: dereferencing pointer to incomplete typekernel/workqueue.c:623: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/dcache.c:2321: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:623: warning: parameter names (without types) in function declaration fs/dcache.c:2322: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2323: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:637: error: expected ')' before 'fn'fs/locks.c:173: error: implicit declaration of function 'list_empty' fs/dcache.c:2324: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2325: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:173: error: dereferencing pointer to incomplete typekernel/workqueue.c:649: warning: data definition has no type or storage class fs/dcache.c:2326: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2327: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' kernel/workqueue.c:649: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/dcache.c:2328: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:649: warning: parameter names (without types) in function declarationfs/dcache.c:2329: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:174: error: dereferencing pointer to incomplete type fs/dcache.c:2330: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2331: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:177: error: implicit declaration of function 'kmem_cache_free' fs/dcache.c:2332: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c: In function 'keventd_up': fs/locks.c:177: error: 'filelock_cache' undeclared (first use in this function) fs/dcache.c:2333: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:653: error: 'keventd_wq' undeclared (first use in this function)fs/dcache.c:2334: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/dcache.c:2335: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:653: error: 'NULL' undeclared (first use in this function) fs/locks.c: In function 'locks_init_lock': fs/dcache.c:2336: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:182: error: implicit declaration of function 'INIT_LIST_HEAD' fs/dcache.c:2337: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:182: error: dereferencing pointer to incomplete type kernel/workqueue.c: In function 'current_is_keventd': fs/dcache.c:2338: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:183: error: dereferencing pointer to incomplete typefs/dcache.c:2339: error: expected declaration specifiers before 'EXPORT_SYMBOL' kernel/workqueue.c:662: error: 'keventd_wq' undeclared (first use in this function) fs/dcache.c:2340: error: expected declaration specifiers before 'EXPORT_SYMBOL' fs/locks.c:184: error: implicit declaration of function 'init_waitqueue_head' kernel/workqueue.c:664: warning: assignment makes pointer from integer without a cast fs/dcache.c:2340: error: old-style parameter declarations in prototyped function definition fs/locks.c:184: error: dereferencing pointer to incomplete type fs/dcache.c:2340: error: expected '{' at end of input kernel/workqueue.c:665: error: 'current' undeclared (first use in this function) fs/locks.c:185: error: dereferencing pointer to incomplete type kernel/workqueue.c:665: error: 'struct cpu_workqueue_struct' has no member named 'thread' fs/locks.c:185: error: 'NULL' undeclared (first use in this function) fs/locks.c:186: error: dereferencing pointer to incomplete type kernel/workqueue.c: In function 'init_cpu_workqueue': fs/locks.c:187: error: dereferencing pointer to incomplete type kernel/workqueue.c:675: warning: initialization makes pointer from integer without a cast kernel/workqueue.c:677: error: 'struct cpu_workqueue_struct' has no member named 'wq' kernel/workqueue.c:678: error: implicit declaration of function 'spin_lock_init' fs/locks.c:188: error: dereferencing pointer to incomplete type kernel/workqueue.c:678: error: 'struct cpu_workqueue_struct' has no member named 'lock' fs/locks.c:189: error: dereferencing pointer to incomplete type kernel/workqueue.c:679: error: implicit declaration of function 'INIT_LIST_HEAD' fs/locks.c:190: error: dereferencing pointer to incomplete type kernel/workqueue.c:679: error: 'struct cpu_workqueue_struct' has no member named 'worklist' fs/locks.c:191: error: dereferencing pointer to incomplete type kernel/workqueue.c:680: error: implicit declaration of function 'init_waitqueue_head' fs/locks.c:192: error: dereferencing pointer to incomplete type kernel/workqueue.c:680: error: 'struct cpu_workqueue_struct' has no member named 'more_work' fs/locks.c:193: error: dereferencing pointer to incomplete type fs/locks.c:193: error: dereferencing pointer to incomplete type fs/locks.c:194: error: dereferencing pointer to incomplete type fs/locks.c:195: error: dereferencing pointer to incomplete type kernel/workqueue.c: In function 'create_workqueue_thread': kernel/workqueue.c:687: error: 'struct cpu_workqueue_struct' has no member named 'wq' fs/locks.c: At top level: fs/locks.c:198: warning: data definition has no type or storage class fs/locks.c:198: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:691: error: implicit declaration of function 'kthread_create' fs/locks.c:198: warning: parameter names (without types) in function declaration kernel/workqueue.c:691: warning: assignment makes pointer from integer without a cast kernel/workqueue.c:700: error: implicit declaration of function 'IS_ERR' kernel/workqueue.c:701: error: implicit declaration of function 'PTR_ERR' kernel/workqueue.c:703: error: 'struct cpu_workqueue_struct' has no member named 'thread' fs/locks.c: In function 'locks_copy_private':kernel/workqueue.c: In function 'start_workqueue_thread': kernel/workqueue.c:710: error: 'struct cpu_workqueue_struct' has no member named 'thread' fs/locks.c:213: error: dereferencing pointer to incomplete type kernel/workqueue.c:712: error: 'NULL' undeclared (first use in this function) fs/locks.c:214: error: dereferencing pointer to incomplete type kernel/workqueue.c:714: error: implicit declaration of function 'kthread_bind' fs/locks.c:215: error: dereferencing pointer to incomplete type kernel/workqueue.c:715: error: implicit declaration of function 'wake_up_process' fs/locks.c:216: error: dereferencing pointer to incomplete type fs/locks.c:216: error: dereferencing pointer to incomplete type fs/locks.c:218: error: dereferencing pointer to incomplete type fs/locks.c:219: error: dereferencing pointer to incomplete type kernel/workqueue.c: At top level: fs/locks.c:220: error: dereferencing pointer to incomplete type kernel/workqueue.c:723: warning: 'struct lock_class_key' declared inside parameter list fs/locks.c:221: error: dereferencing pointer to incomplete type fs/locks.c:221: error: dereferencing pointer to incomplete type kernel/workqueue.c: In function '__create_workqueue_key': kernel/workqueue.c:729: error: implicit declaration of function 'kzalloc' fs/locks.c: In function '__locks_copy_lock': kernel/workqueue.c:729: error: 'GFP_KERNEL' undeclared (first use in this function) fs/locks.c:230: error: dereferencing pointer to incomplete type kernel/workqueue.c:729: warning: assignment makes pointer from integer without a cast fs/locks.c:230: error: dereferencing pointer to incomplete type kernel/workqueue.c:731: error: 'NULL' undeclared (first use in this function) fs/locks.c:231: error: dereferencing pointer to incomplete type kernel/workqueue.c:733: error: implicit declaration of function 'alloc_percpu'fs/locks.c:231: error: dereferencing pointer to incomplete type fs/locks.c:232: error: dereferencing pointer to incomplete type kernel/workqueue.c:733: error: expected expression before 'struct'fs/locks.c:232: error: 'NULL' undeclared (first use in this function) fs/locks.c:233: error: dereferencing pointer to incomplete type kernel/workqueue.c:733: warning: assignment makes pointer from integer without a cast fs/locks.c:233: error: dereferencing pointer to incomplete type kernel/workqueue.c:735: error: implicit declaration of function 'kfree' fs/locks.c:234: error: dereferencing pointer to incomplete type kernel/workqueue.c:740: error: implicit declaration of function 'lockdep_init_map' fs/locks.c:234: error: dereferencing pointer to incomplete typekernel/workqueue.c:740: error: 'struct workqueue_struct' has no member named 'lockdep_map' fs/locks.c:235: error: dereferencing pointer to incomplete type fs/locks.c:235: error: dereferencing pointer to incomplete type kernel/workqueue.c:746: error: 'singlethread_cpu' undeclared (first use in this function) fs/locks.c:236: error: dereferencing pointer to incomplete type fs/locks.c:236: error: dereferencing pointer to incomplete type fs/locks.c:237: error: dereferencing pointer to incomplete type kernel/workqueue.c:750: error: implicit declaration of function 'get_online_cpus' fs/locks.c:238: error: dereferencing pointer to incomplete type kernel/workqueue.c:751: error: implicit declaration of function 'spin_lock' kernel/workqueue.c:751: error: 'workqueue_lock' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:240: warning: data definition has no type or storage class kernel/workqueue.c:752: error: 'workqueues' undeclared (first use in this function) fs/locks.c:240: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/workqueue.c:753: error: implicit declaration of function 'spin_unlock' fs/locks.c:240: warning: parameter names (without types) in function declaration kernel/workqueue.c:755: error: implicit declaration of function 'for_each_possible_cpu' kernel/workqueue.c:755: error: expected ';' before '{' token fs/locks.c: In function 'locks_copy_lock': kernel/workqueue.c:766: error: implicit declaration of function 'destroy_workqueue' fs/locks.c:247: error: dereferencing pointer to incomplete type fs/locks.c:247: error: dereferencing pointer to incomplete type fs/locks.c:248: error: dereferencing pointer to incomplete type fs/locks.c:248: error: dereferencing pointer to incomplete type fs/locks.c:249: error: dereferencing pointer to incomplete type fs/locks.c:249: error: dereferencing pointer to incomplete type kernel/workqueue.c: At top level: kernel/workqueue.c:771: warning: data definition has no type or storage class kernel/workqueue.c:771: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/locks.c: At top level: kernel/workqueue.c:771: warning: parameter names (without types) in function declaration fs/locks.c:254: warning: data definition has no type or storage class fs/locks.c:254: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:254: warning: parameter names (without types) in function declaration kernel/workqueue.c: In function 'cleanup_workqueue_thread': kernel/workqueue.c:779: error: 'struct cpu_workqueue_struct' has no member named 'thread' kernel/workqueue.c:779: error: 'NULL' undeclared (first use in this function) fs/locks.c: In function 'flock_translate_cmd': fs/locks.c:257: error: 'LOCK_MAND' undeclared (first use in this function) kernel/workqueue.c:782: error: 'struct cpu_workqueue_struct' has no member named 'wq' fs/locks.c:258: error: 'LOCK_RW' undeclared (first use in this function) kernel/workqueue.c:782: error: '_THIS_IP_' undeclared (first use in this function) fs/locks.c:260: error: 'LOCK_SH' undeclared (first use in this function) kernel/workqueue.c:783: error: 'struct cpu_workqueue_struct' has no member named 'wq' fs/locks.c:261: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:262: error: 'LOCK_EX' undeclared (first use in this function) kernel/workqueue.c:796: error: implicit declaration of function 'kthread_stop'fs/locks.c:263: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:264: error: 'LOCK_UN' undeclared (first use in this function) kernel/workqueue.c:796: error: 'struct cpu_workqueue_struct' has no member named 'thread'fs/locks.c:265: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:267: error: 'EINVAL' undeclared (first use in this function) kernel/workqueue.c:797: error: 'struct cpu_workqueue_struct' has no member named 'thread' kernel/workqueue.c: At top level: kernel/workqueue.c:807: warning: conflicting types for 'destroy_workqueue' fs/locks.c: At top level: kernel/workqueue.c:766: warning: previous implicit declaration of 'destroy_workqueue' was here fs/locks.c:272: warning: 'struct file' declared inside parameter list kernel/workqueue.c: In function 'destroy_workqueue': fs/locks.c:272: warning: its scope is only this definition or declaration, which is probably not what you want kernel/workqueue.c:808: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/workqueue.c:808: error: 'cpu_map' undeclared (first use in this function) kernel/workqueue.c:809: warning: ISO C90 forbids mixed declarations and code kernel/workqueue.c:812: error: 'workqueue_lock' undeclared (first use in this function) fs/locks.c: In function 'flock_make_lock':kernel/workqueue.c:813: error: implicit declaration of function 'list_del' make[1]: kernel/workqueue.c:817: error: expected ';' before 'cleanup_workqueue_thread' *** [fs/dcache.o] Error 1kernel/workqueue.c:818: error: implicit declaration of function 'put_online_cpus' fs/locks.c:280: error: 'NULL' undeclared (first use in this function) fs/locks.c:281: error: 'ENOMEM' undeclared (first use in this function) kernel/workqueue.c:820: error: implicit declaration of function 'free_percpu' fs/locks.c:283: error: dereferencing pointer to incomplete type fs/locks.c:284: error: dereferencing pointer to incomplete type fs/locks.c:284: error: 'current' undeclared (first use in this function) kernel/workqueue.c: At top level: fs/locks.c:285: error: dereferencing pointer to incomplete type fs/locks.c:285: error: 'FL_FLOCK' undeclared (first use in this function) fs/locks.c:286: error: dereferencing pointer to incomplete type fs/locks.c:287: error: dereferencing pointer to incomplete type fs/locks.c:287: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c: In function 'assign_type': fs/locks.c:296: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:297: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:298: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:299: error: dereferencing pointer to incomplete type fs/locks.c:302: error: 'EINVAL' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:311: warning: 'struct flock' declared inside parameter list fs/locks.c:311: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'flock_to_posix_lock': fs/locks.c:313: error: 'off_t' undeclared (first use in this function) fs/locks.c:313: error: expected ';' before 'start' fs/locks.c:315: error: dereferencing pointer to incomplete type fs/locks.c:316: error: 'SEEK_SET' undeclared (first use in this function) fs/locks.c:317: error: 'start' undeclared (first use in this function) fs/locks.c:319: error: 'SEEK_CUR' undeclared (first use in this function) fs/locks.c:320: error: dereferencing pointer to incomplete type fs/locks.c:322: error: 'SEEK_END' undeclared (first use in this function) fs/locks.c:323: error: implicit declaration of function 'i_size_read' fs/locks.c:323: error: dereferencing pointer to incomplete type fs/locks.c:326: error: 'EINVAL' undeclared (first use in this function) fs/locks.c:331: error: dereferencing pointer to incomplete type fs/locks.c:334: error: dereferencing pointer to incomplete type fs/locks.c:334: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:335: error: dereferencing pointer to incomplete type fs/locks.c:336: error: 'end' undeclared (first use in this function) fs/locks.c:336: error: dereferencing pointer to incomplete type fs/locks.c:337: error: dereferencing pointer to incomplete type fs/locks.c:338: error: dereferencing pointer to incomplete type fs/locks.c:340: error: dereferencing pointer to incomplete type fs/locks.c:341: error: dereferencing pointer to incomplete type fs/locks.c:345: error: dereferencing pointer to incomplete type fs/locks.c:346: error: dereferencing pointer to incomplete type fs/locks.c:346: error: dereferencing pointer to incomplete type fs/locks.c:347: error: 'EOVERFLOW' undeclared (first use in this function) fs/locks.c:349: error: dereferencing pointer to incomplete type fs/locks.c:349: error: 'current' undeclared (first use in this function) fs/locks.c:350: error: dereferencing pointer to incomplete type fs/locks.c:351: error: dereferencing pointer to incomplete type fs/locks.c:352: error: dereferencing pointer to incomplete type fs/locks.c:352: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:353: error: dereferencing pointer to incomplete type fs/locks.c:353: error: 'NULL' undeclared (first use in this function) fs/locks.c:354: error: dereferencing pointer to incomplete type fs/locks.c:356: error: dereferencing pointer to incomplete type fs/locks.c:359:5: warning: "BITS_PER_LONG" is not defined fs/locks.c: In function 'lease_break_callback': fs/locks.c:419: error: implicit declaration of function 'kill_fasync' fs/locks.c:419: error: dereferencing pointer to incomplete type fs/locks.c:419: error: 'SIGIO' undeclared (first use in this function) fs/locks.c:419: error: 'POLL_MSG' undeclared (first use in this function) fs/locks.c: In function 'lease_release_private_callback': fs/locks.c:424: error: dereferencing pointer to incomplete type fs/locks.c:427: error: implicit declaration of function 'f_delown' fs/locks.c:427: error: dereferencing pointer to incomplete type fs/locks.c:428: error: dereferencing pointer to incomplete type fs/locks.c: In function 'lease_mylease_callback': fs/locks.c:433: error: dereferencing pointer to incomplete type fs/locks.c:433: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:436: error: variable 'lease_manager_ops' has initializer but incomplete type fs/locks.c:437: error: unknown field 'fl_break' specified in initializer fs/locks.c:437: warning: excess elements in struct initializer fs/locks.c:437: warning: (near initialization for 'lease_manager_ops') fs/locks.c:438: error: unknown field 'fl_release_private' specified in initializer fs/locks.c:438: warning: excess elements in struct initializer fs/locks.c:438: warning: (near initialization for 'lease_manager_ops') fs/locks.c:439: error: unknown field 'fl_mylease' specified in initializer fs/locks.c:439: warning: excess elements in struct initializer fs/locks.c:439: warning: (near initialization for 'lease_manager_ops') fs/locks.c:440: error: unknown field 'fl_change' specified in initializer fs/locks.c:440: error: 'lease_modify' undeclared here (not in a function) fs/locks.c:440: warning: excess elements in struct initializer fs/locks.c:440: warning: (near initialization for 'lease_manager_ops') fs/locks.c:446: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'lease_init': fs/locks.c:449: error: 'EINVAL' undeclared (first use in this function) fs/locks.c:451: error: dereferencing pointer to incomplete type fs/locks.c:451: error: 'current' undeclared (first use in this function) fs/locks.c:452: error: dereferencing pointer to incomplete type fs/locks.c:454: error: dereferencing pointer to incomplete type kernel/workqueue.c:823: warning: data definition has no type or storage class fs/locks.c:455: error: dereferencing pointer to incomplete type kernel/workqueue.c:823: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'fs/locks.c:455: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:456: error: dereferencing pointer to incomplete type fs/locks.c:457: error: dereferencing pointer to incomplete type fs/locks.c:457: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:458: error: dereferencing pointer to incomplete type fs/locks.c:458: error: 'NULL' undeclared (first use in this function) fs/locks.c:459: error: dereferencing pointer to incomplete type kernel/workqueue.c:823: warning: parameter names (without types) in function declaration kernel/workqueue.c:825: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'workqueue_cpu_callback' fs/locks.c: At top level: fs/locks.c:464: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'lease_alloc': fs/locks.c:467: error: 'ENOMEM' undeclared (first use in this function) kernel/workqueue.c:872: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_workqueues' fs/locks.c:469: error: 'NULL' undeclared (first use in this function) fs/locks.c:470: error: implicit declaration of function 'ERR_PTR' fs/locks.c:470: warning: return makes pointer from integer without a cast fs/locks.c:472: warning: passing argument 1 of 'lease_init' from incompatible pointer type fs/locks.c:475: warning: return makes pointer from integer without a cast fs/locks.c: In function 'locks_overlap': fs/locks.c:484: error: dereferencing pointer to incomplete type fs/locks.c:484: error: dereferencing pointer to incomplete type fs/locks.c:485: error: dereferencing pointer to incomplete type fs/locks.c:485: error: dereferencing pointer to incomplete type fs/locks.c: In function 'posix_same_owner': fs/locks.c:493: error: dereferencing pointer to incomplete type fs/locks.c:493: error: dereferencing pointer to incomplete type fs/locks.c:494: error: dereferencing pointer to incomplete type fs/locks.c:494: error: dereferencing pointer to incomplete type fs/locks.c:495: error: dereferencing pointer to incomplete type fs/locks.c:496: error: dereferencing pointer to incomplete type fs/locks.c:496: error: dereferencing pointer to incomplete type fs/locks.c: In function '__locks_delete_block': fs/locks.c:504: error: implicit declaration of function 'list_del_init' fs/locks.c:504: error: dereferencing pointer to incomplete type fs/locks.c:505: error: dereferencing pointer to incomplete type fs/locks.c:506: error: dereferencing pointer to incomplete type fs/locks.c:506: error: 'NULL' undeclared (first use in this function) fs/locks.c: In function 'locks_delete_block': fs/locks.c:513: error: implicit declaration of function 'lock_kernel' fs/locks.c:515: error: implicit declaration of function 'unlock_kernel' fs/locks.c: In function 'locks_insert_block': fs/locks.c:526: error: dereferencing pointer to incomplete type fs/locks.c:527: error: implicit declaration of function 'list_add_tail' fs/locks.c:527: error: dereferencing pointer to incomplete type fs/locks.c:527: error: dereferencing pointer to incomplete type fs/locks.c:528: error: dereferencing pointer to incomplete type fs/locks.c:529: error: dereferencing pointer to incomplete type fs/locks.c:529: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:530: error: implicit declaration of function 'list_add' fs/locks.c:530: error: dereferencing pointer to incomplete type fs/locks.c:530: error: 'blocked_list' undeclared (first use in this function) fs/locks.c: In function 'locks_wake_up_blocks': fs/locks.c:539: error: dereferencing pointer to incomplete type fs/locks.c:542: error: implicit declaration of function 'list_first_entry' fs/locks.c:542: error: dereferencing pointer to incomplete type fs/locks.c:543: error: expected expression before 'struct' fs/locks.c:543: warning: assignment makes pointer from integer without a cast fs/locks.c:545: error: dereferencing pointer to incomplete type fs/locks.c:545: error: dereferencing pointer to incomplete type fs/locks.c:546: error: dereferencing pointer to incomplete type fs/locks.c:548: error: implicit declaration of function 'wake_up' fs/locks.c:548: error: dereferencing pointer to incomplete type fs/locks.c: In function 'locks_insert_lock': fs/locks.c:557: error: dereferencing pointer to incomplete type fs/locks.c:557: error: 'file_lock_list' undeclared (first use in this function) fs/locks.c:559: error: dereferencing pointer to incomplete type fs/locks.c:559: error: implicit declaration of function 'get_pid' fs/locks.c:559: error: implicit declaration of function 'task_tgid' fs/locks.c:559: error: 'current' undeclared (first use in this function) fs/locks.c:562: error: dereferencing pointer to incomplete type fs/locks.c: In function 'locks_delete_lock': fs/locks.c:576: error: dereferencing pointer to incomplete type fs/locks.c:577: error: dereferencing pointer to incomplete type fs/locks.c:577: error: 'NULL' undeclared (first use in this function) fs/locks.c:578: error: dereferencing pointer to incomplete type fs/locks.c:580: error: implicit declaration of function 'fasync_helper' fs/locks.c:580: error: dereferencing pointer to incomplete type fs/locks.c:580: error: dereferencing pointer to incomplete type fs/locks.c:581: error: dereferencing pointer to incomplete type fs/locks.c:582: error: implicit declaration of function 'printk' fs/locks.c:582: error: 'KERN_ERR' undeclared (first use in this function) fs/locks.c:582: error: expected ')' before string constant fs/locks.c:583: error: dereferencing pointer to incomplete type fs/locks.c:586: error: dereferencing pointer to incomplete type fs/locks.c:587: error: implicit declaration of function 'put_pid' fs/locks.c:587: error: dereferencing pointer to incomplete type fs/locks.c:588: error: dereferencing pointer to incomplete type fs/locks.c: In function 'locks_conflict': fs/locks.c:600: error: dereferencing pointer to incomplete type fs/locks.c:600: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:602: error: dereferencing pointer to incomplete type CC arch/x86/kernel/cpu/intel_cacheinfo.o fs/locks.c: In function 'posix_locks_conflict': fs/locks.c:615: error: dereferencing pointer to incomplete type fs/locks.c:615: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c: In function 'flock_locks_conflict': fs/locks.c:633: error: dereferencing pointer to incomplete type fs/locks.c:633: error: 'FL_FLOCK' undeclared (first use in this function) fs/locks.c:633: error: dereferencing pointer to incomplete type fs/locks.c:633: error: dereferencing pointer to incomplete type fs/locks.c:635: error: dereferencing pointer to incomplete type fs/locks.c:635: error: 'LOCK_MAND' undeclared (first use in this function) fs/locks.c:635: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:642: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'posix_test_lock': fs/locks.c:647: error: dereferencing pointer to incomplete type fs/locks.c:647: error: dereferencing pointer to incomplete type fs/locks.c:648: error: dereferencing pointer to incomplete type fs/locks.c:648: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:655: error: dereferencing pointer to incomplete type fs/locks.c:656: error: dereferencing pointer to incomplete type fs/locks.c:656: error: implicit declaration of function 'pid_vnr' fs/locks.c:656: error: dereferencing pointer to incomplete type fs/locks.c:658: error: dereferencing pointer to incomplete type fs/locks.c:658: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:662: warning: data definition has no type or storage class fs/locks.c:662: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:662: warning: parameter names (without types) in function declaration fs/locks.c: In function 'what_owner_is_waiting_for': fs/locks.c:696: error: implicit declaration of function 'list_for_each_entry' fs/locks.c:696: error: 'blocked_list' undeclared (first use in this function) fs/locks.c:696: error: 'fl_link' undeclared (first use in this function) fs/locks.c:696: error: expected ';' before '{' token fs/locks.c: At top level: fs/locks.c:724: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'flock_lock_file': fs/locks.c:726: error: 'NULL' undeclared (first use in this function) fs/locks.c:728: error: dereferencing pointer to incomplete type fs/locks.c:733: error: dereferencing pointer to incomplete type fs/locks.c:733: error: 'FL_ACCESS' undeclared (first use in this function) fs/locks.c:736: error: dereferencing pointer to incomplete type fs/locks.c:736: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:737: error: 'ENOMEM' undeclared (first use in this function) fs/locks.c:744: error: dereferencing pointer to incomplete type fs/locks.c:744: error: dereferencing pointer to incomplete type fs/locks.c:746: error: dereferencing pointer to incomplete type fs/locks.c:746: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:748: error: dereferencing pointer to incomplete type fs/locks.c:748: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:750: error: dereferencing pointer to incomplete type fs/locks.c:752: error: dereferencing pointer to incomplete type fs/locks.c:752: error: dereferencing pointer to incomplete type fs/locks.c:759: error: dereferencing pointer to incomplete type fs/locks.c:760: error: dereferencing pointer to incomplete type fs/locks.c:760: error: 'FL_EXISTS' undeclared (first use in this function) fs/locks.c:761: error: 'ENOENT' undeclared (first use in this function) fs/locks.c:770: error: implicit declaration of function 'cond_resched_bkl' CC arch/x86/kernel/reboot.o fs/locks.c:773: error: dereferencing pointer to incomplete type fs/locks.c:773: error: dereferencing pointer to incomplete type make[1]: *** [kernel/workqueue.o] Error 1 fs/locks.c:775: error: dereferencing pointer to incomplete type fs/locks.c:777: error: dereferencing pointer to incomplete type fs/locks.c:781: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:782: error: dereferencing pointer to incomplete type fs/locks.c:782: error: 'FL_SLEEP' undeclared (first use in this function) fs/locks.c:786: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:800: warning: 'struct inode' declared inside parameter list fs/locks.c: In function '__posix_lock_file': fs/locks.c:803: error: 'NULL' undeclared (first use in this function) fs/locks.c:816: error: dereferencing pointer to incomplete type fs/locks.c:816: error: 'FL_ACCESS' undeclared (first use in this function) fs/locks.c:817: error: dereferencing pointer to incomplete type fs/locks.c:817: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:818: error: dereferencing pointer to incomplete type fs/locks.c:818: error: dereferencing pointer to incomplete type fs/locks.c:818: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:824: error: dereferencing pointer to incomplete type fs/locks.c:825: error: dereferencing pointer to incomplete type fs/locks.c:825: error: dereferencing pointer to incomplete type fs/locks.c:827: error: dereferencing pointer to incomplete type fs/locks.c:827: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:833: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:834: error: dereferencing pointer to incomplete type fs/locks.c:834: error: 'FL_SLEEP' undeclared (first use in this function) fs/locks.c:836: error: 'EDEADLK' undeclared (first use in this function) fs/locks.c:847: error: dereferencing pointer to incomplete type fs/locks.c:854: error: dereferencing pointer to incomplete type fs/locks.c:857: error: dereferencing pointer to incomplete type fs/locks.c:859: error: dereferencing pointer to incomplete type fs/locks.c:866: error: dereferencing pointer to incomplete type fs/locks.c:866: error: dereferencing pointer to incomplete type fs/locks.c:871: error: dereferencing pointer to incomplete type fs/locks.c:871: error: dereferencing pointer to incomplete type fs/locks.c:876: error: dereferencing pointer to incomplete type fs/locks.c:876: error: dereferencing pointer to incomplete type fs/locks.c:884: error: dereferencing pointer to incomplete type fs/locks.c:884: error: dereferencing pointer to incomplete type fs/locks.c:885: error: dereferencing pointer to incomplete type fs/locks.c:885: error: dereferencing pointer to incomplete type fs/locks.c:887: error: dereferencing pointer to incomplete type fs/locks.c:887: error: dereferencing pointer to incomplete type fs/locks.c:888: error: dereferencing pointer to incomplete type fs/locks.c:888: error: dereferencing pointer to incomplete type fs/locks.c:889: error: dereferencing pointer to incomplete type fs/locks.c:889: error: dereferencing pointer to incomplete type fs/locks.c:891: error: dereferencing pointer to incomplete type fs/locks.c:891: error: dereferencing pointer to incomplete type fs/locks.c:903: error: dereferencing pointer to incomplete type fs/locks.c:903: error: dereferencing pointer to incomplete type fs/locks.c:905: error: dereferencing pointer to incomplete type fs/locks.c:905: error: dereferencing pointer to incomplete type fs/locks.c:907: error: dereferencing pointer to incomplete type fs/locks.c:909: error: dereferencing pointer to incomplete type fs/locks.c:909: error: dereferencing pointer to incomplete type fs/locks.c:914: error: dereferencing pointer to incomplete type fs/locks.c:914: error: dereferencing pointer to incomplete type fs/locks.c:918: error: dereferencing pointer to incomplete type fs/locks.c:918: error: dereferencing pointer to incomplete type fs/locks.c:932: error: dereferencing pointer to incomplete type fs/locks.c:932: error: dereferencing pointer to incomplete type fs/locks.c:933: error: dereferencing pointer to incomplete type fs/locks.c:933: error: dereferencing pointer to incomplete type fs/locks.c:934: error: dereferencing pointer to incomplete type fs/locks.c:934: error: dereferencing pointer to incomplete type fs/locks.c:944: error: dereferencing pointer to incomplete type fs/locks.c:953: error: 'ENOLCK' undeclared (first use in this function) fs/locks.c:959: error: dereferencing pointer to incomplete type fs/locks.c:960: error: dereferencing pointer to incomplete type fs/locks.c:960: error: 'FL_EXISTS' undeclared (first use in this function) fs/locks.c:961: error: 'ENOENT' undeclared (first use in this function) fs/locks.c:983: error: dereferencing pointer to incomplete type fs/locks.c:983: error: dereferencing pointer to incomplete type fs/locks.c:987: error: dereferencing pointer to incomplete type fs/locks.c:987: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1017: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'posix_lock_file': fs/locks.c:1019: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1021: warning: data definition has no type or storage class fs/locks.c:1021: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1021: warning: parameter names (without types) in function declaration fs/locks.c:1032: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'posix_lock_file_wait': fs/locks.c:1035: error: implicit declaration of function 'might_sleep' fs/locks.c:1037: error: 'NULL' undeclared (first use in this function) fs/locks.c:1037: warning: passing argument 1 of 'posix_lock_file' from incompatible pointer type fs/locks.c:1038: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:1038: error: dereferencing pointer to incomplete type fs/locks.c:1038: error: 'FL_SLEEP' undeclared (first use in this function) fs/locks.c:1040: error: implicit declaration of function 'wait_event_interruptible' fs/locks.c:1040: error: dereferencing pointer to incomplete type fs/locks.c:1040: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1049: warning: data definition has no type or storage class fs/locks.c:1049: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1049: warning: parameter names (without types) in function declaration fs/locks.c:1058: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'locks_mandatory_locked': fs/locks.c:1060: error: 'fl_owner_t' undeclared (first use in this function) fs/locks.c:1060: error: expected ';' before 'owner' fs/locks.c:1061: warning: ISO C90 forbids mixed declarations and code fs/locks.c:1067: error: dereferencing pointer to incomplete type fs/locks.c:1067: error: 'NULL' undeclared (first use in this function) fs/locks.c:1067: error: dereferencing pointer to incomplete type fs/locks.c:1068: error: dereferencing pointer to incomplete type fs/locks.c:1068: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:1070: error: dereferencing pointer to incomplete type fs/locks.c:1070: error: 'owner' undeclared (first use in this function) CC kernel/pid.o fs/locks.c:1074: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:1091: error: expected declaration specifiers or '...' before 'loff_t' fs/locks.c:1092: error: expected declaration specifiers or '...' before 'size_t' fs/locks.c:1092: warning: 'struct file' declared inside parameter list fs/locks.c:1092: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'locks_mandatory_area': fs/locks.c:1094: error: storage size of 'fl' isn't known fs/locks.c:1098: error: 'current' undeclared (first use in this function) fs/locks.c:1101: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:1101: error: 'FL_ACCESS' undeclared (first use in this function) fs/locks.c:1102: error: dereferencing pointer to incomplete type fs/locks.c:1102: error: 'O_NONBLOCK' undeclared (first use in this function) fs/locks.c:1103: error: 'FL_SLEEP' undeclared (first use in this function) fs/locks.c:1104: error: 'FLOCK_VERIFY_WRITE' undeclared (first use in this function) fs/locks.c:1104: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:1104: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:1105: error: 'offset' undeclared (first use in this function) fs/locks.c:1106: error: 'count' undeclared (first use in this function) fs/locks.c:1109: error: 'NULL' undeclared (first use in this function) fs/locks.c:1109: warning: passing argument 1 of '__posix_lock_file' from incompatible pointer type fs/locks.c:1110: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:1120: error: implicit declaration of function '__mandatory_lock' fs/locks.c:1094: warning: unused variable 'fl' fs/locks.c: At top level: fs/locks.c:1131: warning: data definition has no type or storage class fs/locks.c:1131: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1131: warning: parameter names (without types) in function declaration fs/locks.c: In function 'lease_modify': fs/locks.c:1142: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:1147: warning: data definition has no type or storage class fs/locks.c:1147: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1147: warning: parameter names (without types) in function declaration fs/locks.c:1149: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'time_out_leases': fs/locks.c:1154: error: dereferencing pointer to incomplete type fs/locks.c:1155: error: dereferencing pointer to incomplete type fs/locks.c:1155: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:1155: error: dereferencing pointer to incomplete type fs/locks.c:1155: error: 'F_INPROGRESS' undeclared (first use in this function) fs/locks.c:1156: error: dereferencing pointer to incomplete type fs/locks.c:1157: error: implicit declaration of function 'time_before' fs/locks.c:1157: error: 'jiffies' undeclared (first use in this function) fs/locks.c:1157: error: dereferencing pointer to incomplete type fs/locks.c:1158: error: dereferencing pointer to incomplete type fs/locks.c:1161: error: dereferencing pointer to incomplete type fs/locks.c:1163: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1177: warning: 'struct inode' declared inside parameter list fs/locks.c: In function '__break_lease': fs/locks.c:1185: error: 'NULL' undeclared (first use in this function) fs/locks.c:1185: error: 'FMODE_WRITE' undeclared (first use in this function) fs/locks.c:1185: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:1185: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:1189: warning: passing argument 1 of 'time_out_leases' from incompatible pointer type fs/locks.c:1191: error: dereferencing pointer to incomplete type fs/locks.c:1192: error: dereferencing pointer to incomplete type fs/locks.c:1192: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:1195: error: dereferencing pointer to incomplete type fs/locks.c:1195: error: dereferencing pointer to incomplete type fs/locks.c:1196: error: dereferencing pointer to incomplete type fs/locks.c:1196: error: 'current' undeclared (first use in this function) fs/locks.c:1201: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:1201: error: 'F_INPROGRESS' undeclared (first use in this function) fs/locks.c:1202: error: dereferencing pointer to incomplete type fs/locks.c:1204: error: dereferencing pointer to incomplete type fs/locks.c:1205: error: dereferencing pointer to incomplete type fs/locks.c:1213: error: implicit declaration of function 'IS_ERR' fs/locks.c:1214: error: 'O_NONBLOCK' undeclared (first use in this function) fs/locks.c:1215: error: implicit declaration of function 'PTR_ERR' fs/locks.c:1221: error: 'jiffies' undeclared (first use in this function) fs/locks.c:1221: error: 'HZ' undeclared (first use in this function) fs/locks.c:1226: error: dereferencing pointer to incomplete type fs/locks.c:1226: error: dereferencing pointer to incomplete type fs/locks.c:1227: error: dereferencing pointer to incomplete type fs/locks.c:1228: error: dereferencing pointer to incomplete type fs/locks.c:1229: error: dereferencing pointer to incomplete type fs/locks.c:1231: error: dereferencing pointer to incomplete type fs/locks.c:1236: error: 'EWOULDBLOCK' undeclared (first use in this function) fs/locks.c:1241: error: dereferencing pointer to incomplete type fs/locks.c:1248: error: implicit declaration of function 'wait_event_interruptible_timeout' fs/locks.c:1248: error: dereferencing pointer to incomplete type fs/locks.c:1249: error: dereferencing pointer to incomplete type fs/locks.c:1253: warning: passing argument 1 of 'time_out_leases' from incompatible pointer type fs/locks.c:1255: error: dereferencing pointer to incomplete type fs/locks.c:1255: error: dereferencing pointer to incomplete type fs/locks.c:1256: error: dereferencing pointer to incomplete type fs/locks.c:1257: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1270: warning: data definition has no type or storage class fs/locks.c:1270: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1270: warning: parameter names (without types) in function declaration fs/locks.c:1281: warning: 'struct timespec' declared inside parameter list fs/locks.c:1281: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'lease_get_mtime': fs/locks.c:1283: error: dereferencing pointer to incomplete type fs/locks.c:1284: error: dereferencing pointer to incomplete type fs/locks.c:1284: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:1284: error: dereferencing pointer to incomplete type fs/locks.c:1284: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:1285: error: dereferencing pointer to incomplete type fs/locks.c:1285: error: implicit declaration of function 'current_fs_time' fs/locks.c:1285: error: dereferencing pointer to incomplete type fs/locks.c:1287: error: dereferencing pointer to incomplete type fs/locks.c:1287: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1290: warning: data definition has no type or storage class fs/locks.c:1290: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1290: warning: parameter names (without types) in function declaration fs/locks.c:1315: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'fcntl_getlease': fs/locks.c:1318: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:1321: error: dereferencing pointer to incomplete type fs/locks.c:1322: error: dereferencing pointer to incomplete type fs/locks.c:1322: error: dereferencing pointer to incomplete type fs/locks.c:1322: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:1323: error: dereferencing pointer to incomplete type fs/locks.c:1324: error: dereferencing pointer to incomplete type fs/locks.c:1325: error: dereferencing pointer to incomplete type fs/locks.c:1325: error: 'F_INPROGRESS' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:1344: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'generic_setlease': fs/locks.c:1346: error: 'NULL' undeclared (first use in this function) fs/locks.c:1348: error: dereferencing pointer to incomplete type fs/locks.c:1349: error: dereferencing pointer to incomplete type fs/locks.c:1352: error: 'current' undeclared (first use in this function) fs/locks.c:1352: error: dereferencing pointer to incomplete type fs/locks.c:1352: error: implicit declaration of function 'capable' fs/locks.c:1352: error: 'CAP_LEASE' undeclared (first use in this function) fs/locks.c:1353: error: 'EACCES' undeclared (first use in this function) fs/locks.c:1354: error: implicit declaration of function 'S_ISREG' fs/locks.c:1354: error: dereferencing pointer to incomplete type fs/locks.c:1355: error: 'EINVAL' undeclared (first use in this function) fs/locks.c:1356: error: implicit declaration of function 'security_file_lock' fs/locks.c:1360: warning: passing argument 1 of 'time_out_leases' from incompatible pointer type fs/locks.c:1362: error: dereferencing pointer to incomplete type fs/locks.c:1366: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:1367: error: 'ENOMEM' undeclared (first use in this function) fs/locks.c:1372: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:1373: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:1373: error: implicit declaration of function 'atomic_read' fs/locks.c:1373: error: dereferencing pointer to incomplete type fs/locks.c:1375: error: 'F_WRLCK' undeclared (first use in this function) fs/locks.c:1376: error: dereferencing pointer to incomplete type fs/locks.c:1377: error: dereferencing pointer to incomplete type fs/locks.c:1389: error: dereferencing pointer to incomplete type fs/locks.c:1390: error: dereferencing pointer to incomplete type fs/locks.c:1390: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:1391: error: dereferencing pointer to incomplete type fs/locks.c:1392: error: dereferencing pointer to incomplete type fs/locks.c:1394: error: dereferencing pointer to incomplete type fs/locks.c:1394: error: 'F_INPROGRESS' undeclared (first use in this function) fs/locks.c:1412: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1435: warning: data definition has no type or storage class fs/locks.c:1435: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1435: warning: parameter names (without types) in function declaration fs/locks.c:1464: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'vfs_setlease': fs/locks.c:1469: error: dereferencing pointer to incomplete type fs/locks.c:1469: error: dereferencing pointer to incomplete type fs/locks.c:1470: error: dereferencing pointer to incomplete type fs/locks.c:1472: warning: passing argument 1 of 'generic_setlease' from incompatible pointer type fs/locks.c: At top level: fs/locks.c:1477: warning: data definition has no type or storage class fs/locks.c:1477: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/locks.c:1477: warning: parameter names (without types) in function declaration fs/locks.c:1489: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'fcntl_setlease': fs/locks.c:1491: error: storage size of 'fl' isn't known fs/locks.c:1492: error: dereferencing pointer to incomplete type fs/locks.c:1496: warning: passing argument 1 of 'lease_init' from incompatible pointer type fs/locks.c:1502: warning: passing argument 1 of 'vfs_setlease' from incompatible pointer type fs/locks.c:1503: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:1506: error: dereferencing pointer to incomplete type fs/locks.c:1509: error: dereferencing pointer to incomplete type fs/locks.c:1509: error: 'F_INPROGRESS' undeclared (first use in this function) fs/locks.c:1510: error: dereferencing pointer to incomplete type fs/locks.c:1510: error: 'jiffies' undeclared (first use in this function) fs/locks.c:1511: warning: passing argument 1 of 'time_out_leases' from incompatible pointer type fs/locks.c:1515: error: implicit declaration of function '__f_setown' fs/locks.c:1515: error: implicit declaration of function 'task_pid' fs/locks.c:1515: error: 'current' undeclared (first use in this function) fs/locks.c:1515: error: 'PIDTYPE_PID' undeclared (first use in this function) fs/locks.c:1491: warning: unused variable 'fl' fs/locks.c: At top level: fs/locks.c:1528: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'flock_lock_file_wait': fs/locks.c:1533: warning: passing argument 1 of 'flock_lock_file' from incompatible pointer type fs/locks.c:1534: error: 'EAGAIN' undeclared (first use in this function) fs/locks.c:1534: error: dereferencing pointer to incomplete type fs/locks.c:1534: error: 'FL_SLEEP' undeclared (first use in this function) fs/locks.c:1536: error: dereferencing pointer to incomplete type fs/locks.c:1536: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:1546: warning: data definition has no type or storage class fs/locks.c:1546: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:1546: warning: parameter names (without types) in function declaration fs/locks.c:1567: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/locks.c:1620: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'vfs_test_lock': fs/locks.c:1622: error: dereferencing pointer to incomplete type fs/locks.c:1622: error: dereferencing pointer to incomplete type fs/locks.c:1623: error: dereferencing pointer to incomplete type fs/locks.c:1623: error: 'F_GETLK' undeclared (first use in this function) fs/locks.c:1624: warning: passing argument 1 of 'posix_test_lock' from incompatible pointer type fs/locks.c: At top level: fs/locks.c:1627: warning: data definition has no type or storage class fs/locks.c:1627: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/locks.c:1627: warning: parameter names (without types) in function declaration fs/locks.c:1629: warning: 'struct flock' declared inside parameter list fs/locks.c: In function 'posix_lock_to_flock': fs/locks.c:1631: error: dereferencing pointer to incomplete type fs/locks.c:1631: error: dereferencing pointer to incomplete type fs/locks.c:1632:5: warning: "BITS_PER_LONG" is not defined fs/locks.c:1642: error: dereferencing pointer to incomplete type fs/locks.c:1642: error: dereferencing pointer to incomplete type fs/locks.c:1643: error: dereferencing pointer to incomplete type fs/locks.c:1643: error: dereferencing pointer to incomplete type fs/locks.c:1643: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:1644: error: dereferencing pointer to incomplete type fs/locks.c:1644: error: dereferencing pointer to incomplete type fs/locks.c:1645: error: dereferencing pointer to incomplete type fs/locks.c:1646: error: dereferencing pointer to incomplete type fs/locks.c:1646: error: dereferencing pointer to incomplete type fs/locks.c:1650:5: warning: "BITS_PER_LONG" is not defined fs/locks.c: At top level: fs/locks.c:1665: error: expected ';', ',' or ')' before '*' token fs/locks.c:1732: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'vfs_lock_file': fs/locks.c:1734: error: dereferencing pointer to incomplete type fs/locks.c:1734: error: dereferencing pointer to incomplete type fs/locks.c:1735: error: dereferencing pointer to incomplete type fs/locks.c:1737: warning: passing argument 1 of 'posix_lock_file' from incompatible pointer type fs/locks.c: At top level: fs/locks.c:1739: warning: data definition has no type or storage class fs/locks.c:1739: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/locks.c:1739: warning: parameter names (without types) in function declaration fs/locks.c:1745: error: expected ';', ',' or ')' before '*' token fs/locks.c:1841:5: warning: "BITS_PER_LONG" is not defined fs/locks.c:1979: error: expected declaration specifiers or '...' before 'fl_owner_t' fs/locks.c:1979: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'locks_remove_posix': fs/locks.c:1981: error: storage size of 'lock' isn't known fs/locks.c:1988: error: dereferencing pointer to incomplete type fs/locks.c:1991: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:1992: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:1992: error: 'FL_CLOSE' undeclared (first use in this function) fs/locks.c:1994: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:1995: error: 'owner' undeclared (first use in this function) fs/locks.c:1996: error: 'current' undeclared (first use in this function) fs/locks.c:1998: error: 'NULL' undeclared (first use in this function) fs/locks.c:2001: error: 'F_SETLK' undeclared (first use in this function) fs/locks.c:2001: warning: passing argument 1 of 'vfs_lock_file' from incompatible pointer type fs/locks.c:1981: warning: unused variable 'lock' fs/locks.c: At top level: fs/locks.c:2007: warning: data definition has no type or storage class fs/locks.c:2007: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:2007: warning: parameter names (without types) in function declaration fs/locks.c:2012: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'locks_remove_flock': fs/locks.c:2014: error: dereferencing pointer to incomplete type fs/locks.c:2018: error: dereferencing pointer to incomplete type fs/locks.c:2021: error: dereferencing pointer to incomplete type fs/locks.c:2021: error: dereferencing pointer to incomplete type fs/locks.c:2022: error: variable 'fl' has initializer but incomplete type fs/locks.c:2023: error: unknown field 'fl_pid' specified in initializer fs/locks.c:2023: error: 'current' undeclared (first use in this function) fs/locks.c:2023: warning: excess elements in struct initializer fs/locks.c:2023: warning: (near initialization for 'fl') fs/locks.c:2024: error: unknown field 'fl_file' specified in initializer fs/locks.c:2024: warning: excess elements in struct initializer fs/locks.c:2024: warning: (near initialization for 'fl') fs/locks.c:2025: error: unknown field 'fl_flags' specified in initializer fs/locks.c:2025: error: 'FL_FLOCK' undeclared (first use in this function) fs/locks.c:2025: warning: excess elements in struct initializer fs/locks.c:2025: warning: (near initialization for 'fl') fs/locks.c:2026: error: unknown field 'fl_type' specified in initializer fs/locks.c:2026: error: 'F_UNLCK' undeclared (first use in this function) fs/locks.c:2026: warning: excess elements in struct initializer fs/locks.c:2026: warning: (near initialization for 'fl') fs/locks.c:2027: error: unknown field 'fl_end' specified in initializer fs/locks.c:2027: error: 'OFFSET_MAX' undeclared (first use in this function) fs/locks.c:2027: warning: excess elements in struct initializer fs/locks.c:2027: warning: (near initialization for 'fl') fs/locks.c:2022: error: storage size of 'fl' isn't known fs/locks.c:2029: error: dereferencing pointer to incomplete type fs/locks.c:2029: error: 'F_SETLKW' undeclared (first use in this function) fs/locks.c:2022: warning: unused variable 'fl' fs/locks.c:2035: error: dereferencing pointer to incomplete type fs/locks.c:2037: error: 'NULL' undeclared (first use in this function) fs/locks.c:2038: error: dereferencing pointer to incomplete type fs/locks.c:2039: error: dereferencing pointer to incomplete type fs/locks.c:2043: error: dereferencing pointer to incomplete type fs/locks.c:2043: error: 'FL_LEASE' undeclared (first use in this function) fs/locks.c:2048: error: implicit declaration of function 'BUG' fs/locks.c:2050: error: dereferencing pointer to incomplete type fs/locks.c: At top level: fs/locks.c:2063: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'posix_unblock_lock': fs/locks.c:2068: error: dereferencing pointer to incomplete type fs/locks.c:2071: error: 'ENOENT' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:2076: warning: data definition has no type or storage class fs/locks.c:2076: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:2076: warning: parameter names (without types) in function declaration fs/locks.c:2085: warning: 'struct file' declared inside parameter list fs/locks.c: In function 'vfs_cancel_lock': fs/locks.c:2087: error: dereferencing pointer to incomplete type fs/locks.c:2087: error: dereferencing pointer to incomplete type fs/locks.c:2088: error: dereferencing pointer to incomplete type fs/locks.c:2088: error: 'F_CANCELLK' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:2092: warning: data definition has no type or storage class fs/locks.c:2092: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/locks.c:2092: warning: parameter names (without types) in function declaration fs/locks.c:2221: error: expected declaration specifiers or '...' before 'loff_t' fs/locks.c:2221: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'lock_may_read': fs/locks.c:2226: error: dereferencing pointer to incomplete type fs/locks.c:2226: error: 'NULL' undeclared (first use in this function) fs/locks.c:2226: error: dereferencing pointer to incomplete type fs/locks.c:2227: error: dereferencing pointer to incomplete type fs/locks.c:2227: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:2228: error: dereferencing pointer to incomplete type fs/locks.c:2228: error: 'F_RDLCK' undeclared (first use in this function) fs/locks.c:2230: error: dereferencing pointer to incomplete type fs/locks.c:2230: error: 'start' undeclared (first use in this function) fs/locks.c:2230: error: dereferencing pointer to incomplete type fs/locks.c:2232: error: dereferencing pointer to incomplete type fs/locks.c:2232: error: 'FL_FLOCK' undeclared (first use in this function) fs/locks.c:2233: error: dereferencing pointer to incomplete type fs/locks.c:2233: error: 'LOCK_MAND' undeclared (first use in this function) fs/locks.c:2235: error: dereferencing pointer to incomplete type fs/locks.c:2235: error: 'LOCK_READ' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:2246: warning: data definition has no type or storage class fs/locks.c:2246: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:2246: warning: parameter names (without types) in function declaration fs/locks.c:2261: error: expected declaration specifiers or '...' before 'loff_t' fs/locks.c:2261: warning: 'struct inode' declared inside parameter list fs/locks.c: In function 'lock_may_write': fs/locks.c:2266: error: dereferencing pointer to incomplete type fs/locks.c:2266: error: 'NULL' undeclared (first use in this function) fs/locks.c:2266: error: dereferencing pointer to incomplete type fs/locks.c:2267: error: dereferencing pointer to incomplete type fs/locks.c:2267: error: 'FL_POSIX' undeclared (first use in this function) fs/locks.c:2268: error: dereferencing pointer to incomplete type fs/locks.c:2268: error: 'start' undeclared (first use in this function) fs/locks.c:2268: error: dereferencing pointer to incomplete type fs/locks.c:2270: error: dereferencing pointer to incomplete type fs/locks.c:2270: error: 'FL_FLOCK' undeclared (first use in this function) fs/locks.c:2271: error: dereferencing pointer to incomplete type fs/locks.c:2271: error: 'LOCK_MAND' undeclared (first use in this function) fs/locks.c:2273: error: dereferencing pointer to incomplete type fs/locks.c:2273: error: 'LOCK_WRITE' undeclared (first use in this function) fs/locks.c: At top level: fs/locks.c:2284: warning: data definition has no type or storage class fs/locks.c:2284: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/locks.c:2284: warning: parameter names (without types) in function declaration fs/locks.c:2286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filelock_init' fs/locks.c:2294: warning: data definition has no type or storage class fs/locks.c:2294: warning: type defaults to 'int' in declaration of 'core_initcall' fs/locks.c:2294: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/reboot.c:1:26: error: linux/module.h: No such file or directory arch/x86/kernel/reboot.c:2:26: error: linux/reboot.h: No such file or directory arch/x86/kernel/reboot.c:3:24: error: linux/init.h: No such file or directory arch/x86/kernel/reboot.c:4:22: error: linux/pm.h: No such file or directory arch/x86/kernel/reboot.c:5:23: error: linux/efi.h: No such file or directory arch/x86/kernel/reboot.c:6:25: error: acpi/reboot.h: No such file or directory arch/x86/kernel/reboot.c:7:20: error: asm/io.h: No such file or directory arch/x86/kernel/reboot.c:8:22: error: asm/apic.h: No such file or directory arch/x86/kernel/reboot.c:9:22: error: asm/desc.h: No such file or directory arch/x86/kernel/reboot.c:10:22: error: asm/hpet.h: No such file or directory arch/x86/kernel/reboot.c:11:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/reboot.c:12:23: error: asm/proto.h: No such file or directory arch/x86/kernel/reboot.c:13:31: error: asm/reboot_fixups.h: No such file or directory arch/x86/kernel/reboot.c:14:24: error: asm/reboot.h: No such file or directory arch/x86/kernel/reboot.c:21:24: error: asm/iommu.h: No such file or directory arch/x86/kernel/reboot.c:28: warning: data definition has no type or storage class arch/x86/kernel/reboot.c:28: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/reboot.c:28: warning: parameter names (without types) in function declaration arch/x86/kernel/reboot.c:30: error: variable 'no_idt' has initializer but incomplete type arch/x86/kernel/reboot.c:32: error: variable 'reboot_type' has initializer but incomplete type arch/x86/kernel/reboot.c:32: error: 'BOOT_KBD' undeclared here (not in a function) arch/x86/kernel/reboot.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'reboot_setup' arch/x86/kernel/reboot.c:99: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/reboot.c:99: error: expected declaration specifiers or '...' before 'reboot_setup' arch/x86/kernel/reboot.c:99: warning: data definition has no type or storage class arch/x86/kernel/reboot.c:99: warning: type defaults to 'int' in declaration of '__setup' arch/x86/kernel/reboot.c:99: warning: function declaration isn't a prototype arch/x86/kernel/reboot.c: In function 'kb_wait': arch/x86/kernel/reboot.c:348: error: implicit declaration of function 'inb' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/reboot.c:350: error: implicit declaration of function 'udelay' arch/x86/kernel/reboot.c: In function 'native_machine_emergency_restart': arch/x86/kernel/reboot.c:363: error: implicit declaration of function '__va' arch/x86/kernel/reboot.c:374: error: implicit declaration of function 'outb' arch/x86/kernel/reboot.c:378: error: 'BOOT_TRIPLE' undeclared (first use in this function) arch/x86/kernel/reboot.c:378: error: (Each undeclared identifier is reported only oncemm/madvise.c:8:24: error: linux/mman.h: No such file or directory mm/madvise.c:9:27: error: linux/pagemap.h: No such file or directory mm/madvise.c:10:28: error: linux/syscalls.h: No such file or directory mm/madvise.c:11:29: error: linux/mempolicy.h: No such file or directory mm/madvise.c:12:27: error: linux/hugetlb.h: No such file or directory mm/madvise.c:13:25: error: linux/sched.h: No such file or directory mm/madvise.c: In function 'madvise_need_mmap_write': mm/madvise.c:23: error: 'MADV_REMOVE' undeclared (first use in this function) mm/madvise.c:23: error: (Each undeclared identifier is reported only once mm/madvise.c:23: error: for each function it appears in.) mm/madvise.c:24: error: 'MADV_WILLNEED' undeclared (first use in this function) mm/madvise.c:25: error: 'MADV_DONTNEED' undeclared (first use in this function) make[1]: *** [fs/locks.o] Error 1 CC fs/inode.o mm/madvise.c: At top level: mm/madvise.c:39: warning: 'struct vm_area_struct' declared inside parameter list mm/madvise.c:39: warning: its scope is only this definition or declaration, which is probably not what you want mm/madvise.c: In function 'madvise_behavior': mm/madvise.c:41: error: dereferencing pointer to incomplete type mm/madvise.c:43: error: 'pgoff_t' undeclared (first use in this function) mm/madvise.c:43: error: expected ';' before 'pgoff' mm/madvise.c:44: error: dereferencing pointer to incomplete type mm/madvise.c:44: warning: ISO C90 forbids mixed declarations and code mm/madvise.c:47: error: 'MADV_NORMAL' undeclared (first use in this function) mm/madvise.c:48: error: 'VM_RAND_READ' undeclared (first use in this function) mm/madvise.c:48: error: 'VM_SEQ_READ' undeclared (first use in this function) mm/madvise.c:50: error: 'MADV_SEQUENTIAL' undeclared (first use in this function) mm/madvise.c:53: error: 'MADV_RANDOM' undeclared (first use in this function) mm/madvise.c:56: error: 'MADV_DONTFORK' undeclared (first use in this function) mm/madvise.c:57: error: 'VM_DONTCOPY' undeclared (first use in this function) mm/madvise.c:59: error: 'MADV_DOFORK' undeclared (first use in this function) mm/madvise.c:64: error: dereferencing pointer to incomplete type mm/madvise.c:69: error: 'pgoff' undeclared (first use in this function) mm/madvise.c:69: error: dereferencing pointer to incomplete type mm/madvise.c:69: error: dereferencing pointer to incomplete type mm/madvise.c:69: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/madvise.c:70: error: implicit declaration of function 'vma_merge' mm/madvise.c:70: error: dereferencing pointer to incomplete type mm/madvise.c:71: error: dereferencing pointer to incomplete type mm/madvise.c:71: error: implicit declaration of function 'vma_policy' mm/madvise.c:71: warning: assignment makes pointer from integer without a cast mm/madvise.c:79: error: dereferencing pointer to incomplete type mm/madvise.c:80: error: implicit declaration of function 'split_vma' mm/madvise.c:85: error: dereferencing pointer to incomplete type mm/madvise.c:95: error: dereferencing pointer to incomplete type mm/madvise.c:98: error: 'ENOMEM' undeclared (first use in this function) mm/madvise.c:99: error: 'EAGAIN' undeclared (first use in this function) mm/madvise.c: At top level: mm/madvise.c:108: warning: 'struct vm_area_struct' declared inside parameter list mm/madvise.c: In function 'madvise_willneed': mm/madvise.c:110: error: dereferencing pointer to incomplete type mm/madvise.c:113: error: 'EBADF' undeclared (first use in this function) mm/madvise.c:115: error: dereferencing pointer to incomplete type mm/madvise.c:121: error: dereferencing pointer to incomplete type mm/madvise.c:121: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/madvise.c:121: error: dereferencing pointer to incomplete type mm/madvise.c:122: error: dereferencing pointer to incomplete type mm/madvise.c:123: error: dereferencing pointer to incomplete type mm/madvise.c:124: error: dereferencing pointer to incomplete type mm/madvise.c:124: error: dereferencing pointer to incomplete type mm/madvise.c:126: error: implicit declaration of function 'force_page_cache_readahead' mm/madvise.c:126: error: dereferencing pointer to incomplete type mm/madvise.c:127: error: implicit declaration of function 'max_sane_readahead' mm/madvise.c: At top level: mm/madvise.c:152: warning: 'struct vm_area_struct' declared inside parameter list mm/madvise.c: In function 'madvise_dontneed': mm/madvise.c:155: error: dereferencing pointer to incomplete type mm/madvise.c:155: error: 'VM_LOCKED' undeclared (first use in this function) mm/madvise.c:155: error: 'VM_HUGETLB' undeclared (first use in this function) mm/madvise.c:155: error: 'VM_PFNMAP' undeclared (first use in this function) mm/madvise.c:156: error: 'EINVAL' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory kernel/pid.c:29:22: error: linux/mm.h: No such file or directory kernel/pid.c:30:26: error: linux/module.h: No such file or directory kernel/pid.c:31:24: error: linux/slab.h: No such file or directory kernel/pid.c:32:24: error: linux/init.h: No such file or directory kernel/pid.c:33:27: error: linux/rculist.h: No such file or directory kernel/pid.c:34:27: error: linux/bootmem.h: No such file or directory kernel/pid.c:35:24: error: linux/hash.h: No such file or directory kernel/pid.c:36:33: error: linux/pid_namespace.h: No such file or directory kernel/pid.c:37:29: error: linux/init_task.h: No such file or directory kernel/pid.c:38:28: error: linux/syscalls.h: No such file or directory kernel/pid.c:44: error: variable 'init_struct_pid' has initializer but incomplete type kernel/pid.c:44: error: 'INIT_STRUCT_PID' undeclared here (not in a function) kernel/pid.c:46: error: 'PID_MAX_DEFAULT' undeclared here (not in a function) kernel/pid.c:51: error: 'PID_MAX_LIMIT' undeclared here (not in a function) kernel/pid.c:57: warning: 'struct pidmap' declared inside parameter list kernel/pid.c:57: warning: its scope is only this definition or declaration, which is probably not what you want kernel/pid.c:57: warning: 'struct pid_namespace' declared inside parameter list kernel/pid.c: In function 'mk_pid': kernel/pid.c:59: error: dereferencing pointer to incomplete type kernel/pid.c:59: error: 'PAGE_SIZE' undeclared (first use in this function) kernel/pid.c:59: error: (Each undeclared identifier is reported only once kernel/pid.c:59: error: for each function it appears in.) kernel/pid.c: At top level: kernel/pid.c:71: error: variable 'init_pid_ns' has initializer but incomplete type kernel/pid.c:72: error: unknown field 'kref' specified in initializer kernel/pid.c:72: error: extra brace group at end of initializer kernel/pid.c:72: error: (near initialization for 'init_pid_ns') kernel/pid.c:73: error: implicit declaration of function 'ATOMIC_INIT' kernel/pid.c:74: warning: excess elements in struct initializer kernel/pid.c:74: warning: (near initialization for 'init_pid_ns') kernel/pid.c:75: error: unknown field 'pidmap' specified in initializer kernel/pid.c:75: error: extra brace group at end of initializer kernel/pid.c:75: error: (near initialization for 'init_pid_ns') kernel/pid.c:76: error: 'PIDMAP_ENTRIES' undeclared here (not in a function) kernel/pid.c:76: error: extra brace group at end of initializer kernel/pid.c:76: error: (near initialization for 'init_pid_ns') kernel/pid.c:76: error: 'PAGE_SIZE' undeclared here (not in a function) kernel/pid.c:76: error: 'NULL' undeclared here (not in a function) kernel/pid.c:77: warning: excess elements in struct initializer kernel/pid.c:77: warning: (near initialization for 'init_pid_ns') kernel/pid.c:78: error: unknown field 'last_pid' specified in initializer kernel/pid.c:78: warning: excess elements in struct initializer kernel/pid.c:78: warning: (near initialization for 'init_pid_ns') kernel/pid.c:79: error: unknown field 'level' specified in initializer kernel/pid.c:79: warning: excess elements in struct initializer kernel/pid.c:79: warning: (near initialization for 'init_pid_ns') kernel/pid.c:80: error: unknown field 'child_reaper' specified in initializer kernel/pid.c:80: error: 'init_task' undeclared here (not in a function) kernel/pid.c:80: warning: excess elements in struct initializer kernel/pid.c:80: warning: (near initialization for 'init_pid_ns') kernel/pid.c:82: warning: data definition has no type or storage class kernel/pid.c:82: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:82: warning: parameter names (without types) in function declaration kernel/pid.c:84: warning: 'struct task_struct' declared inside parameter list kernel/pid.c: In function 'is_container_init': kernel/pid.c:89: error: implicit declaration of function 'rcu_read_lock' kernel/pid.c:90: error: implicit declaration of function 'task_pid' kernel/pid.c:90: warning: assignment makes pointer from integer without a cast kernel/pid.c:91: error: dereferencing pointer to incomplete type kernel/pid.c:91: error: dereferencing pointer to incomplete type kernel/pid.c:93: error: implicit declaration of function 'rcu_read_unlock' kernel/pid.c: At top level: kernel/pid.c:97: warning: data definition has no type or storage class kernel/pid.c:97: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:97: warning: parameter names (without types) in function declaration kernel/pid.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SPINLOCK' kernel/pid.c:115: warning: 'struct upid' declared inside parameter list kernel/pid.c: In function 'free_pidmap': kernel/pid.c:117: error: dereferencing pointer to incomplete type kernel/pid.c:118: error: dereferencing pointer to incomplete type kernel/pid.c:121: error: implicit declaration of function 'clear_bit' kernel/pid.c:121: error: dereferencing pointer to incomplete type kernel/pid.c:122: error: implicit declaration of function 'atomic_inc' kernel/pid.c:122: error: dereferencing pointer to incomplete type kernel/pid.c: In function 'alloc_pidmap': kernel/pid.c:127: error: dereferencing pointer to incomplete type kernel/pid.c:134: error: dereferencing pointer to incomplete type kernel/pid.c:137: error: implicit declaration of function 'unlikely' kernel/pid.c:137: error: dereferencing pointer to incomplete type kernel/pid.c:138: error: implicit declaration of function 'kzalloc' kernel/pid.c:138: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/pid.c:138: warning: initialization makes pointer from integer without a cast kernel/pid.c:143: error: implicit declaration of function 'spin_lock_irq' kernel/pid.c:143: error: 'pidmap_lock' undeclared (first use in this function) kernel/pid.c:144: error: dereferencing pointer to incomplete type kernel/pid.c:145: error: implicit declaration of function 'kfree' kernel/pid.c:147: error: dereferencing pointer to incomplete type kernel/pid.c:148: error: implicit declaration of function 'spin_unlock_irq' kernel/pid.c:149: error: dereferencing pointer to incomplete type kernel/pid.c:152: error: implicit declaration of function 'likely' kernel/pid.c:152: error: implicit declaration of function 'atomic_read' kernel/pid.c:152: error: dereferencing pointer to incomplete type kernel/pid.c:154: error: implicit declaration of function 'test_and_set_bit' kernel/pid.c:154: error: dereferencing pointer to incomplete type kernel/pid.c:155: error: implicit declaration of function 'atomic_dec' kernel/pid.c:155: error: dereferencing pointer to incomplete type kernel/pid.c:156: error: dereferencing pointer to incomplete type kernel/pid.c:159: error: implicit declaration of function 'find_next_zero_bit' kernel/pid.c:159: error: dereferencing pointer to incomplete type kernel/pid.c:160: warning: passing argument 1 of 'mk_pid' from incompatible pointer type kernel/pid.c:160: warning: passing argument 2 of 'mk_pid' from incompatible pointer type kernel/pid.c:171: error: dereferencing pointer to incomplete type kernel/pid.c:172: error: increment of pointer to unknown structure kernel/pid.c:172: error: arithmetic on pointer to an incomplete type kernel/pid.c:175: error: dereferencing pointer to incomplete type kernel/pid.c:180: warning: passing argument 1 of 'mk_pid' from incompatible pointer type kernel/pid.c:180: warning: passing argument 2 of 'mk_pid' from incompatible pointer type kernel/pid.c: In function 'next_pidmap': kernel/pid.c:191: error: dereferencing pointer to incomplete type kernel/pid.c:192: error: dereferencing pointer to incomplete type kernel/pid.c:193: error: increment of pointer to unknown structure kernel/pid.c:193: error: arithmetic on pointer to an incomplete type kernel/pid.c:194: error: dereferencing pointer to incomplete type kernel/pid.c:196: error: implicit declaration of function 'find_next_bit' kernel/pid.c:196: error: dereferencing pointer to incomplete type kernel/pid.c:198: warning: passing argument 1 of 'mk_pid' from incompatible pointer type kernel/pid.c:198: warning: passing argument 2 of 'mk_pid' from incompatible pointer type kernel/pid.c: In function 'put_pid': kernel/pid.c:210: error: dereferencing pointer to incomplete type kernel/pid.c:210: error: dereferencing pointer to incomplete type kernel/pid.c:211: error: dereferencing pointer to incomplete type kernel/pid.c:212: error: implicit declaration of function 'atomic_dec_and_test' kernel/pid.c:212: error: dereferencing pointer to incomplete type kernel/pid.c:213: error: implicit declaration of function 'kmem_cache_free' kernel/pid.c:213: error: dereferencing pointer to incomplete type kernel/pid.c:214: error: implicit declaration of function 'put_pid_ns' kernel/pid.c: At top level: kernel/pid.c:217: warning: data definition has no type or storage class kernel/pid.c:217: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:217: warning: parameter names (without types) in function declaration kernel/pid.c:219: warning: 'struct rcu_head' declared inside parameter list kernel/pid.c: In function 'delayed_put_pid': kernel/pid.c:221: error: implicit declaration of function 'container_of' kernel/pid.c:221: error: expected expression before 'struct' kernel/pid.c:221: warning: initialization makes pointer from integer without a cast kernel/pid.c: In function 'free_pid': kernel/pid.c:231: error: implicit declaration of function 'spin_lock_irqsave' kernel/pid.c:231: error: 'pidmap_lock' undeclared (first use in this function) kernel/pid.c:232: error: dereferencing pointer to incomplete type kernel/pid.c:233: error: implicit declaration of function 'hlist_del_rcu' kernel/pid.c:233: error: dereferencing pointer to incomplete type kernel/pid.c:234: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/pid.c:236: error: dereferencing pointer to incomplete type kernel/pid.c:237: error: dereferencing pointer to incomplete type kernel/pid.c:239: error: implicit declaration of function 'call_rcu' kernel/pid.c:239: error: dereferencing pointer to incomplete type kernel/pid.c: In function 'alloc_pid': kernel/pid.c:245: error: storage size of 'type' isn't known kernel/pid.c:250: error: implicit declaration of function 'kmem_cache_alloc' kernel/pid.c:250: error: dereferencing pointer to incomplete type kernel/pid.c:250: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/pid.c:250: warning: assignment makes pointer from integer without a cast kernel/pid.c:255: error: dereferencing pointer to incomplete type kernel/pid.c:260: error: dereferencing pointer to incomplete type kernel/pid.c:261: error: dereferencing pointer to incomplete type kernel/pid.c:262: error: dereferencing pointer to incomplete type kernel/pid.c:265: error: implicit declaration of function 'get_pid_ns' kernel/pid.c:266: error: dereferencing pointer to incomplete type kernel/pid.c:266: error: dereferencing pointer to incomplete type kernel/pid.c:267: error: implicit declaration of function 'atomic_set' kernel/pid.c:267: error: dereferencing pointer to incomplete type kernel/pid.c:268: error: 'PIDTYPE_MAX' undeclared (first use in this function) kernel/pid.c:269: error: implicit declaration of function 'INIT_HLIST_HEAD' kernel/pid.c:269: error: dereferencing pointer to incomplete type kernel/pid.c:271: error: 'pidmap_lock' undeclared (first use in this function) kernel/pid.c:272: error: dereferencing pointer to incomplete type kernel/pid.c:273: error: dereferencing pointer to incomplete type kernel/pid.c:274: error: implicit declaration of function 'hlist_add_head_rcu' kernel/pid.c:274: error: dereferencing pointer to incomplete type kernel/pid.c:275: error: implicit declaration of function 'hash_long' kernel/pid.c:275: error: dereferencing pointer to incomplete type kernel/pid.c:275: error: dereferencing pointer to incomplete type kernel/pid.c:275: error: invalid use of undefined type 'struct hlist_head' kernel/pid.c:275: error: dereferencing pointer to incomplete type kernel/pid.c:283: error: dereferencing pointer to incomplete type kernel/pid.c:284: error: dereferencing pointer to incomplete type kernel/pid.c:286: error: dereferencing pointer to incomplete type kernel/pid.c:245: warning: unused variable 'type' kernel/pid.c: In function 'find_pid_ns': kernel/pid.c:296: error: implicit declaration of function 'hlist_for_each_entry_rcu' kernel/pid.c:297: error: invalid use of undefined type 'struct hlist_head' kernel/pid.c:297: error: dereferencing pointer to incomplete type kernel/pid.c:297: error: 'pid_chain' undeclared (first use in this function) kernel/pid.c:298: error: expected ';' before 'if' kernel/pid.c: At top level: kernel/pid.c:304: warning: data definition has no type or storage class kernel/pid.c:304: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:304: warning: parameter names (without types) in function declaration kernel/pid.c: In function 'find_vpid': kernel/pid.c:308: error: 'current' undeclared (first use in this function) kernel/pid.c: At top level: kernel/pid.c:310: warning: data definition has no type or storage class kernel/pid.c:310: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:310: warning: parameter names (without types) in function declaration kernel/pid.c:316: warning: data definition has no type or storage class kernel/pid.c:316: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:316: warning: parameter names (without types) in function declaration kernel/pid.c:322: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:322: warning: 'struct task_struct' declared inside parameter list kernel/pid.c:321: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'attach_pid': kernel/pid.c:326: error: dereferencing pointer to incomplete type kernel/pid.c:327: error: dereferencing pointer to incomplete type kernel/pid.c:328: error: dereferencing pointer to incomplete type kernel/pid.c:328: error: dereferencing pointer to incomplete type kernel/pid.c: At top level: kernel/pid.c:332: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:332: warning: 'struct task_struct' declared inside parameter list kernel/pid.c:331: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function '__change_pid': kernel/pid.c:338: error: dereferencing pointer to incomplete type kernel/pid.c:339: error: dereferencing pointer to incomplete type kernel/pid.c:341: error: dereferencing pointer to incomplete type kernel/pid.c:342: error: dereferencing pointer to incomplete type kernel/pid.c:344: error: 'PIDTYPE_MAX' undeclared (first use in this function) kernel/pid.c:345: error: implicit declaration of function 'hlist_empty' kernel/pid.c:345: error: dereferencing pointer to incomplete type kernel/pid.c: At top level: kernel/pid.c:351: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:351: warning: 'struct task_struct' declared inside parameter list kernel/pid.c:351: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'detach_pid': kernel/pid.c:353: warning: passing argument 1 of '__change_pid' from incompatible pointer type kernel/pid.c:353: error: type of formal parameter 2 is incomplete kernel/pid.c: At top level: kernel/pid.c:357: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:357: warning: 'struct task_struct' declared inside parameter list kernel/pid.c:356: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'change_pid': kernel/pid.c:359: warning: passing argument 1 of '__change_pid' from incompatible pointer type kernel/pid.c:359: error: type of formal parameter 2 is incomplete kernel/pid.c:360: warning: passing argument 1 of 'attach_pid' from incompatible pointer type kernel/pid.c:360: error: type of formal parameter 2 is incomplete kernel/pid.c: At top level: kernel/pid.c:365: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:365: warning: 'struct task_struct' declared inside parameter list kernel/pid.c:365: error: parameter 3 ('type') has incomplete type kernel/pid.c: In function 'transfer_pid': kernel/pid.c:367: error: dereferencing pointer to incomplete type kernel/pid.c:367: error: dereferencing pointer to incomplete type kernel/pid.c:368: error: implicit declaration of function 'hlist_replace_rcu' kernel/pid.c:368: error: dereferencing pointer to incomplete type kernel/pid.c:368: error: dereferencing pointer to incomplete type kernel/pid.c: At top level: kernel/pid.c:371: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:371: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'pid_task': kernel/pid.c:376: error: implicit declaration of function 'rcu_dereference' kernel/pid.c:376: error: dereferencing pointer to incomplete type kernel/pid.c:376: warning: assignment makes pointer from integer without a cast kernel/pid.c:378: error: implicit declaration of function 'hlist_entry' kernel/pid.c:378: error: expected expression before 'struct' kernel/pid.c:378: warning: assignment makes pointer from integer without a cast kernel/pid.c: At top level: kernel/pid.c:382: warning: data definition has no type or storage class kernel/pid.c:382: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:382: warning: parameter names (without types) in function declaration kernel/pid.c: In function 'find_task_by_pid_type_ns': kernel/pid.c:390: error: type of formal parameter 2 is incomplete kernel/pid.c: At top level: kernel/pid.c:393: warning: data definition has no type or storage class kernel/pid.c:393: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:393: warning: parameter names (without types) in function declaration kernel/pid.c:395: error: expected ')' before 'vnr' kernel/pid.c:400: warning: data definition has no type or storage class kernel/pid.c:400: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:400: warning: parameter names (without types) in function declaration kernel/pid.c:402: error: expected ')' before 'nr' kernel/pid.c:406: warning: data definition has no type or storage class kernel/pid.c:406: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:406: warning: parameter names (without types) in function declaration kernel/pid.c:408: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:408: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'get_task_pid': kernel/pid.c:412: error: implicit declaration of function 'get_pid' kernel/pid.c:412: error: dereferencing pointer to incomplete type kernel/pid.c:412: warning: assignment makes pointer from integer without a cast kernel/pid.c: At top level: kernel/pid.c:417: warning: 'enum pid_type' declared inside parameter list kernel/pid.c:417: error: parameter 2 ('type') has incomplete type kernel/pid.c: In function 'get_pid_task': kernel/pid.c:421: error: type of formal parameter 2 is incomplete kernel/pid.c:423: error: implicit declaration of function 'get_task_struct' kernel/pid.c: At top level: kernel/pid.c:428: error: expected ')' before 'nr' kernel/pid.c:439: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_nr_ns' kernel/pid.c:452: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_vnr' kernel/pid.c:456: warning: data definition has no type or storage class kernel/pid.c:456: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:456: warning: parameter names (without types) in function declaration kernel/pid.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pid_nr_ns' kernel/pid.c:462: warning: data definition has no type or storage class kernel/pid.c:462: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:462: warning: parameter names (without types) in function declaration kernel/pid.c:464: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_tgid_nr_ns' kernel/pid.c:468: warning: data definition has no type or storage class kernel/pid.c:468: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:468: warning: parameter names (without types) in function declaration kernel/pid.c:470: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_pgrp_nr_ns' kernel/pid.c:474: warning: data definition has no type or storage class kernel/pid.c:474: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:474: warning: parameter names (without types) in function declaration kernel/pid.c:476: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'task_session_nr_ns' kernel/pid.c:480: warning: data definition has no type or storage class kernel/pid.c:480: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/pid.c:480: warning: parameter names (without types) in function declaration kernel/pid.c:500: warning: data definition has no type or storage class kernel/pid.c:500: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pid.c:500: warning: parameter names (without types) in function declaration kernel/pid.c:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pidhash_init' kernel/pid.c:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pidmap_init' cc1: error: include/linux/autoconf.h: No such file or directory fs/inode.c:7:22: error: linux/fs.h: No such file or directory fs/inode.c:8:22: error: linux/mm.h: No such file or directory fs/inode.c:9:26: error: linux/dcache.h: No such file or directory fs/inode.c:10:24: error: linux/init.h: No such file or directory fs/inode.c:11:28: error: linux/quotaops.h: No such file or directory fs/inode.c:12:24: error: linux/slab.h: No such file or directory fs/inode.c:13:29: error: linux/writeback.h: No such file or directory fs/inode.c:14:26: error: linux/module.h: No such file or directory fs/inode.c:15:31: error: linux/backing-dev.h: No such file or directory fs/inode.c:16:24: error: linux/wait.h: No such file or directory fs/inode.c:17:24: error: linux/hash.h: No such file or directory fs/inode.c:18:24: error: linux/swap.h: No such file or directory fs/inode.c:19:28: error: linux/security.h: No such file or directory fs/inode.c:20:27: error: linux/pagemap.h: No such file or directory fs/inode.c:21:24: error: linux/cdev.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/cpu/intel_cacheinfo.c:10:24: error: linux/init.h: No such file or directory arch/x86/kernel/reboot.c:378: error: for each function it appears in.) arch/x86/kernel/reboot.c:379: error: implicit declaration of function 'load_idt' arch/x86/kernel/reboot.c:382: error: 'reboot_type' has an incomplete type mm/madvise.c:158: error: implicit declaration of function 'unlikely'fs/inode.c:22:27: error: linux/bootmem.h: No such file or directory fs/inode.c:23:27: mm/madvise.c:158: error: dereferencing pointer to incomplete type mm/madvise.c:158: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/madvise.c:159: error: variable 'details' has initializer but incomplete type mm/madvise.c:160: error: unknown field 'nonlinear_vma' specified in initializer make[1]: *** [kernel/pid.o] Error 1 arch/x86/kernel/reboot.c:393: error: 'BOOT_ACPI' undeclared (first use in this function) error: mm/madvise.c:160: warning: excess elements in struct initializer mm/madvise.c:160: warning: (near initialization for 'details') mm/madvise.c:161: error: unknown field 'last_index' specified in initializer mm/madvise.c:161: error: 'ULONG_MAX' undeclared (first use in this function) mm/madvise.c:161: warning: excess elements in struct initializer mm/madvise.c:161: warning: (near initialization for 'details') mm/madvise.c:159: error: storage size of 'details' isn't known mm/madvise.c:163: error: implicit declaration of function 'zap_page_range' mm/madvise.c:159: warning: unused variable 'details' mm/madvise.c:165: error: 'NULL' undeclared (first use in this function) mm/madvise.c: At top level: mm/madvise.c:178: warning: 'struct vm_area_struct' declared inside parameter list mm/madvise.c: In function 'madvise_remove': mm/madvise.c:181: error: 'loff_t' undeclared (first use in this function) mm/madvise.c:181: error: expected ';' before 'offset' mm/madvise.c:182: warning: ISO C90 forbids mixed declarations and code mm/madvise.c:184: error: 'NULL' undeclared (first use in this function) mm/madvise.c:186: error: dereferencing pointer to incomplete type mm/madvise.c:186: error: 'VM_LOCKED' undeclared (first use in this function) mm/madvise.c:186: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/madvise.c:186: error: 'VM_HUGETLB' undeclared (first use in this function) mm/madvise.c:187: error: 'EINVAL' undeclared (first use in this function) mm/madvise.c:189: error: dereferencing pointer to incomplete type mm/madvise.c:189: error: dereferencing pointer to incomplete type mm/madvise.c:190: error: dereferencing pointer to incomplete type mm/madvise.c:194: error: dereferencing pointer to incomplete type mm/madvise.c:194: error: 'VM_SHARED' undeclared (first use in this function) mm/madvise.c:194: error: 'VM_WRITE' undeclared (first use in this function) mm/madvise.c:195: error: 'EACCES' undeclared (first use in this function) mm/madvise.c:197: error: dereferencing pointer to incomplete type mm/madvise.c:199: error: 'offset' undeclared (first use in this function) mm/madvise.c:199: error: dereferencing pointer to incomplete type mm/madvise.c:200: error: expected ')' before 'vma' mm/madvise.c:201: error: 'endoff' undeclared (first use in this function) mm/madvise.c:201: error: dereferencing pointer to incomplete type mm/madvise.c:202: error: expected ')' before 'vma' mm/madvise.c:205: error: implicit declaration of function 'up_read' mm/madvise.c:205: error: 'current' undeclared (first use in this function) mm/madvise.c:206: error: implicit declaration of function 'vmtruncate_range' mm/madvise.c:206: error: dereferencing pointer to incomplete type mm/madvise.c:207: error: implicit declaration of function 'down_read' mm/madvise.c: At top level: mm/madvise.c:213: warning: 'struct vm_area_struct' declared inside parameter list mm/madvise.c: In function 'madvise_vma': mm/madvise.c:218: error: 'MADV_DOFORK' undeclared (first use in this function) mm/madvise.c:219: error: dereferencing pointer to incomplete type mm/madvise.c:219: error: 'VM_IO' undeclared (first use in this function) mm/madvise.c:220: error: 'EINVAL' undeclared (first use in this function) mm/madvise.c:223: error: 'MADV_DONTFORK' undeclared (first use in this function) mm/madvise.c:224: error: 'MADV_NORMAL' undeclared (first use in this function) mm/madvise.c:225: error: 'MADV_SEQUENTIAL' undeclared (first use in this function) mm/madvise.c:226: error: 'MADV_RANDOM' undeclared (first use in this function) mm/madvise.c:227: warning: passing argument 1 of 'madvise_behavior' from incompatible pointer type mm/madvise.c:227: warning: passing argument 2 of 'madvise_behavior' from incompatible pointer type mm/madvise.c:229: error: 'MADV_REMOVE' undeclared (first use in this function) mm/madvise.c:230: warning: passing argument 1 of 'madvise_remove' from incompatible pointer type mm/madvise.c:230: warning: passing argument 2 of 'madvise_remove' from incompatible pointer type mm/madvise.c:233: error: 'MADV_WILLNEED' undeclared (first use in this function) mm/madvise.c:234: warning: passing argument 1 of 'madvise_willneed' from incompatible pointer type mm/madvise.c:234: warning: passing argument 2 of 'madvise_willneed' from incompatible pointer typearch/x86/kernel/cpu/intel_cacheinfo.c:11:24:linux/inotify.h: No such file or directory error: linux/slab.h: No such file or directory arch/x86/kernel/reboot.c:394: error: implicit declaration of function 'acpi_reboot' mm/madvise.c:237: error: 'MADV_DONTNEED' undeclared (first use in this function) fs/inode.c:24:25: arch/x86/kernel/reboot.c:395: error: 'reboot_type' has an incomplete type arch/x86/kernel/cpu/intel_cacheinfo.c:12:26: arch/x86/kernel/reboot.c:399: error: 'BOOT_EFI' undeclared (first use in this function)mm/madvise.c:238: warning: passing argument 1 of 'madvise_dontneed' from incompatible pointer type error: error: mm/madvise.c:238: warning: passing argument 2 of 'madvise_dontneed' from incompatible pointer type linux/device.h: No such file or directory arch/x86/kernel/reboot.c:400: error: 'efi_enabled' undeclared (first use in this function) arch/x86/kernel/cpu/intel_cacheinfo.c:13:28: linux/mount.h: No such file or directory fs/inode.c:34:31: error: linux/buffer_head.h: No such file or directory mm/madvise.c: At top level: mm/madvise.c:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/inode.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/inode.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/inode.c:73: warning: data definition has no type or storage class fs/inode.c:73: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/inode.c:73: warning: parameter names (without types) in function declaration fs/inode.c:74: warning: data definition has no type or storage class fs/inode.c:74: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/inode.c:74: warning: parameter names (without types) in function declaration fs/inode.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/inode.c:83: warning: data definition has no type or storage class fs/inode.c:83: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/inode.c:83: warning: parameter names (without types) in function declaration fs/inode.c:93: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' fs/inode.c:93: warning: parameter names (without types) in function declaration fs/inode.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/inode.c:102: warning: 'struct inode' declared inside parameter list fs/inode.c:102: warning: its scope is only this definition or declaration, which is probably not what you want fs/inode.c: In function 'wake_up_inode': fs/inode.c:107: error: implicit declaration of function 'smp_mb' fs/inode.c:108: error: implicit declaration of function 'wake_up_bit' fs/inode.c:108: error: dereferencing pointer to incomplete type fs/inode.c:108: error: '__I_LOCK' undeclared (first use in this function) fs/inode.c:108: error: (Each undeclared identifier is reported only once fs/inode.c:108: error: for each function it appears in.) CC kernel/rcupdate.o fs/inode.c: At top level: fs/inode.c:111: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'alloc_inode': fs/inode.c:113: error: storage size of 'empty_aops' isn't known fs/inode.c:114: error: storage size of 'empty_iops' isn't known fs/inode.c:115: error: storage size of 'empty_fops' isn't known fs/inode.c:118: error: dereferencing pointer to incomplete type fs/inode.c:119: error: dereferencing pointer to incomplete type fs/inode.c:121: error: implicit declaration of function 'kmem_cache_alloc' fs/inode.c:121: error: 'inode_cachep' undeclared (first use in this function) fs/inode.c:121: error: 'GFP_KERNEL' undeclared (first use in this function) fs/inode.c:124: error: dereferencing pointer to incomplete type fs/inode.c:126: error: dereferencing pointer to incomplete type fs/inode.c:127: error: dereferencing pointer to incomplete type fs/inode.c:127: error: dereferencing pointer to incomplete type fs/inode.c:128: error: dereferencing pointer to incomplete type fs/inode.c:129: error: implicit declaration of function 'atomic_set' fs/inode.c:129: error: dereferencing pointer to incomplete type fs/inode.c:130: error: dereferencing pointer to incomplete type fs/inode.c:131: error: dereferencing pointer to incomplete type fs/inode.c:132: error: dereferencing pointer to incomplete type fs/inode.c:133: error: dereferencing pointer to incomplete type fs/inode.c:134: error: dereferencing pointer to incomplete type fs/inode.c:135: error: dereferencing pointer to incomplete type fs/inode.c:136: error: dereferencing pointer to incomplete type fs/inode.c:137: error: dereferencing pointer to incomplete type fs/inode.c:141: error: dereferencing pointer to incomplete type fs/inode.c:141: error: 'NULL' undeclared (first use in this function) fs/inode.c:142: error: dereferencing pointer to incomplete type fs/inode.c:143: error: dereferencing pointer to incomplete type fs/inode.c:144: error: dereferencing pointer to incomplete type fs/inode.c:145: error: dereferencing pointer to incomplete type fs/inode.c:146: error: implicit declaration of function 'security_inode_alloc' fs/inode.c:147: error: dereferencing pointer to incomplete type fs/inode.c:148: error: dereferencing pointer to incomplete type fs/inode.c:150: error: implicit declaration of function 'kmem_cache_free' fs/inode.c:154: error: implicit declaration of function 'spin_lock_init' fs/inode.c:154: error: dereferencing pointer to incomplete type fs/inode.c:155: error: implicit declaration of function 'lockdep_set_class' fs/inode.c:155: error: dereferencing pointer to incomplete type fs/inode.c:155: error: dereferencing pointer to incomplete type fs/inode.c:157: error: implicit declaration of function 'mutex_init'arch/x86/kernel/reboot.c:401: error: 'efi' undeclared (first use in this function) error: fs/inode.c:157: error: dereferencing pointer to incomplete type linux/compiler.h: No such file or directoryfs/inode.c:158: error: dereferencing pointer to incomplete typearch/x86/kernel/reboot.c:401: error: 'EFI_RESET_WARM' undeclared (first use in this function) arch/x86/kernel/reboot.c:401: error: 'EFI_RESET_COLD' undeclared (first use in this function) arch/x86/kernel/reboot.c:402: error: 'EFI_SUCCESS' undeclared (first use in this function) fs/inode.c:158: error: dereferencing pointer to incomplete typearch/x86/kernel/cpu/intel_cacheinfo.c:14:23: error: linux/cpu.h: No such file or directory arch/x86/kernel/cpu/intel_cacheinfo.c:15:25: error: linux/sched.h: No such file or directory arch/x86/kernel/reboot.c:402: error: 'NULL' undeclared (first use in this function)arch/x86/kernel/cpu/intel_cacheinfo.c:17:27: error: asm/processor.h: No such file or directory arch/x86/kernel/cpu/intel_cacheinfo.c:18:21: error: asm/smp.h: No such file or directory arch/x86/kernel/cpu/intel_cacheinfo.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' fs/inode.c:160: error: implicit declaration of function 'init_rwsem' make[1]: fs/inode.c:160: error: dereferencing pointer to incomplete type arch/x86/kernel/reboot.c:404: error: 'reboot_type' has an incomplete typefs/inode.c:161: error: dereferencing pointer to incomplete type *** [mm/madvise.o] Error 1 arch/x86/kernel/reboot.c:367: confused by earlier errors, bailing out arch/x86/kernel/cpu/intel_cacheinfo.c:109: error: expected specifier-qualifier-list before 'u32' arch/x86/kernel/cpu/intel_cacheinfo.c:118: error: expected specifier-qualifier-list before 'u32' arch/x86/kernel/cpu/intel_cacheinfo.c:125: error: expected specifier-qualifier-list before 'u32' arch/x86/kernel/cpu/intel_cacheinfo.c:133: error: expected specifier-qualifier-list before 'cpumask_t' arch/x86/kernel/cpu/intel_cacheinfo.c:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' arch/x86/kernel/cpu/intel_cacheinfo.c:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' arch/x86/kernel/cpu/intel_cacheinfo.c:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cpuinitdata' fs/inode.c:161: error: dereferencing pointer to incomplete type fs/inode.c:163: error: dereferencing pointer to incomplete type fs/inode.c:164: error: dereferencing pointer to incomplete type fs/inode.c:165: error: dereferencing pointer to incomplete type fs/inode.c:166: error: implicit declaration of function 'mapping_set_gfp_mask' fs/inode.c:166: error: 'GFP_HIGHUSER_PAGECACHE' undeclared (first use in this function) fs/inode.c:167: error: dereferencing pointer to incomplete type fs/inode.c:168: error: dereferencing pointer to incomplete type fs/inode.c:168: error: 'default_backing_dev_info' undeclared (first use in this function) fs/inode.c:175: error: dereferencing pointer to incomplete type fs/inode.c:178: error: dereferencing pointer to incomplete type fs/inode.c:180: error: dereferencing pointer to incomplete type fs/inode.c:181: error: dereferencing pointer to incomplete type fs/inode.c:183: error: dereferencing pointer to incomplete type fs/inode.c:184: error: dereferencing pointer to incomplete type fs/inode.c:115: warning: unused variable 'empty_fops' fs/inode.c:114: warning: unused variable 'empty_iops' fs/inode.c:113: warning: unused variable 'empty_aops' fs/inode.c: In function 'destroy_inode': fs/inode.c:191: error: implicit declaration of function 'BUG_ON' fs/inode.c:191: error: implicit declaration of function 'inode_has_buffers' fs/inode.c:192: error: implicit declaration of function 'security_inode_free' fs/inode.c:193: error: dereferencing pointer to incomplete type fs/inode.c:194: error: dereferencing pointer to incomplete type fs/inode.c:196: error: 'inode_cachep' undeclared (first use in this function) fs/inode.c: In function 'inode_init_once': fs/inode.c:207: error: implicit declaration of function 'memset' fs/inode.c:207: error: dereferencing pointer to incomplete type fs/inode.c:208: error: implicit declaration of function 'INIT_HLIST_NODE' fs/inode.c:208: error: dereferencing pointer to incomplete type fs/inode.c:209: error: implicit declaration of function 'INIT_LIST_HEAD' fs/inode.c:209: error: dereferencing pointer to incomplete type fs/inode.c:210: error: dereferencing pointer to incomplete type fs/inode.c:211: error: implicit declaration of function 'INIT_RADIX_TREE' fs/inode.c:211: error: dereferencing pointer to incomplete type fs/inode.c:211: error: 'GFP_ATOMIC' undeclared (first use in this function) fs/inode.c:212: error: implicit declaration of function 'rwlock_init' fs/inode.c:212: error: dereferencing pointer to incomplete type fs/inode.c:213: error: dereferencing pointer to incomplete type fs/inode.c:214: error: dereferencing pointer to incomplete type fs/inode.c:215: error: dereferencing pointer to incomplete type fs/inode.c:216: error: implicit declaration of function 'INIT_RAW_PRIO_TREE_ROOT' fs/inode.c:216: error: dereferencing pointer to incomplete type fs/inode.c:217: error: dereferencing pointer to incomplete type fs/inode.c:218: error: implicit declaration of function 'i_size_ordered_init' fs/inode.c: At top level: fs/inode.c:225: warning: data definition has no type or storage class fs/inode.c:225: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:225: warning: parameter names (without types) in function declaration fs/inode.c: In function '__iget': fs/inode.c:239: error: implicit declaration of function 'atomic_read' fs/inode.c:239: error: dereferencing pointer to incomplete type fs/inode.c:240: error: implicit declaration of function 'atomic_inc' fs/inode.c:240: error: dereferencing pointer to incomplete type fs/inode.c:243: error: dereferencing pointer to incomplete type fs/inode.c:244: error: dereferencing pointer to incomplete type fs/inode.c:244: error: 'I_DIRTY' undeclared (first use in this function) fs/inode.c:244: error: 'I_SYNC' undeclared (first use in this function) fs/inode.c:245: error: implicit declaration of function 'list_move' arch/x86/kernel/cpu/intel_cacheinfo.c:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'amd_cpuid4' arch/x86/kernel/cpu/intel_cacheinfo.c:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpuid4_cache_lookup' arch/x86/kernel/cpu/intel_cacheinfo.c:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'find_num_cache_leaves' arch/x86/kernel/cpu/intel_cacheinfo.c:293: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_intel_cacheinfo' CC mm/memory.o make[1]: *** [arch/x86/kernel/reboot.o] Error 1 arch/x86/kernel/cpu/intel_cacheinfo.c:455: error: expected declaration specifiers or '...' before 'cpuid4_info' arch/x86/kernel/cpu/intel_cacheinfo.c:455: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' arch/x86/kernel/cpu/intel_cacheinfo.c:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cache_shared_cpu_map_setup' arch/x86/kernel/cpu/intel_cacheinfo.c:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cache_remove_shared_cpu_map' arch/x86/kernel/cpu/intel_cacheinfo.c:502: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'free_cache_attributes' arch/x86/kernel/cpu/intel_cacheinfo.c:513: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'detect_cache_attributes' fs/inode.c:245: error: dereferencing pointer to incomplete type fs/inode.c:245: error: 'inode_in_use' undeclared (first use in this function) fs/inode.c:246: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c: In function 'clear_inode': fs/inode.c:259: error: implicit declaration of function 'might_sleep' fs/inode.c:260: error: implicit declaration of function 'invalidate_inode_buffers' fs/inode.c:262: error: dereferencing pointer to incomplete type fs/inode.c:263: error: dereferencing pointer to incomplete type fs/inode.c:263: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:264: error: dereferencing pointer to incomplete type fs/inode.c:264: error: 'I_CLEAR' undeclared (first use in this function) fs/inode.c:265: error: implicit declaration of function 'inode_sync_wait' fs/inode.c:266: error: implicit declaration of function 'DQUOT_DROP' fs/inode.c:267: error: dereferencing pointer to incomplete type fs/inode.c:268: error: dereferencing pointer to incomplete type fs/inode.c:269: error: implicit declaration of function 'S_ISBLK' fs/inode.c:269: error: dereferencing pointer to incomplete type fs/inode.c:269: error: dereferencing pointer to incomplete type fs/inode.c:270: error: implicit declaration of function 'bd_forget' fs/inode.c:271: error: implicit declaration of function 'S_ISCHR' fs/inode.c:271: error: dereferencing pointer to incomplete type fs/inode.c:271: error: dereferencing pointer to incomplete type fs/inode.c:272: error: implicit declaration of function 'cd_forget' fs/inode.c:273: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:276: warning: data definition has no type or storage class fs/inode.c:276: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:276: warning: parameter names (without types) in function declaration fs/inode.c:285: warning: 'struct list_head' declared inside parameter list fs/inode.c: In function 'dispose_list': fs/inode.c:289: error: implicit declaration of function 'list_empty' fs/inode.c:292: error: implicit declaration of function 'list_first_entry' fs/inode.c:292: error: expected expression before 'struct' fs/inode.c:292: warning: assignment makes pointer from integer without a cast fs/inode.c:293: error: implicit declaration of function 'list_del' fs/inode.c:293: error: dereferencing pointer to incomplete type fs/inode.c:295: error: dereferencing pointer to incomplete type fs/inode.c:296: error: implicit declaration of function 'truncate_inode_pages' fs/inode.c:296: error: dereferencing pointer to incomplete type fs/inode.c:299: error: implicit declaration of function 'spin_lock' fs/inode.c:299: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:300: error: implicit declaration of function 'hlist_del_init' fs/inode.c:300: error: dereferencing pointer to incomplete type fs/inode.c:301: error: implicit declaration of function 'list_del_init' fs/inode.c:301: error: dereferencing pointer to incomplete type fs/inode.c:302: error: implicit declaration of function 'spin_unlock' fs/inode.c:304: warning: passing argument 1 of 'wake_up_inode' from incompatible pointer type fs/inode.c:309: error: invalid use of undefined type 'struct inodes_stat_t' CC mm/mincore.o fs/inode.c: At top level: fs/inode.c:316: warning: 'struct list_head' declared inside parameter list fs/inode.c: In function 'invalidate_list': fs/inode.c:321: error: dereferencing pointer to incomplete type fs/inode.c:332: error: implicit declaration of function 'cond_resched_lock' fs/inode.c:332: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:334: error: dereferencing pointer to incomplete type fs/inode.c:337: error: implicit declaration of function 'list_entry' fs/inode.c:337: error: expected expression before 'struct' fs/inode.c:337: warning: assignment makes pointer from integer without a cast fs/inode.c:339: error: dereferencing pointer to incomplete type fs/inode.c:340: error: dereferencing pointer to incomplete type fs/inode.c:341: error: dereferencing pointer to incomplete type fs/inode.c:341: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:348: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c: At top level: fs/inode.c:360: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'invalidate_inodes': fs/inode.c:363: error: 'throw_away' undeclared (first use in this function) fs/inode.c:365: error: implicit declaration of function 'mutex_lock' fs/inode.c:365: error: 'iprune_mutex' undeclared (first use in this function) fs/inode.c:366: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:367: error: implicit declaration of function 'inotify_unmount_inodes' fs/inode.c:367: error: dereferencing pointer to incomplete type fs/inode.c:368: error: dereferencing pointer to incomplete type fs/inode.c:372: error: implicit declaration of function 'mutex_unlock' fs/inode.c: At top level: fs/inode.c:377: warning: data definition has no type or storage class fs/inode.c:377: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:377: warning: parameter names (without types) in function declaration fs/inode.c: In function 'can_unuse': fs/inode.c:381: error: dereferencing pointer to incomplete type fs/inode.c:385: error: dereferencing pointer to incomplete type fs/inode.c:387: error: dereferencing pointer to incomplete type fs/inode.c: In function 'prune_icache': fs/inode.c:407: error: 'freeable' undeclared (first use in this function) fs/inode.c:408: warning: ISO C90 forbids mixed declarations and code fs/inode.c:412: error: 'iprune_mutex' undeclared (first use in this function) fs/inode.c:413: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:417: error: 'inode_unused' undeclared (first use in this function) fs/inode.c:420: error: expected expression before 'struct' fs/inode.c:420: warning: assignment makes pointer from integer without a cast fs/inode.c:422: error: dereferencing pointer to incomplete type fs/inode.c:422: error: dereferencing pointer to incomplete type fs/inode.c:423: error: dereferencing pointer to incomplete type fs/inode.c:426: error: dereferencing pointer to incomplete type fs/inode.c:429: error: implicit declaration of function 'remove_inode_buffers' fs/inode.c:430: error: implicit declaration of function 'invalidate_mapping_pages' fs/inode.c:430: error: dereferencing pointer to incomplete type fs/inode.c:432: error: implicit declaration of function 'iput' fs/inode.c:436: error: expected expression before 'struct' fs/inode.c:436: warning: comparison between pointer and integer fs/inode.c:441: error: dereferencing pointer to incomplete type fs/inode.c:442: error: dereferencing pointer to incomplete type fs/inode.c:442: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:445: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:446: error: implicit declaration of function 'current_is_kswapd' fs/inode.c:447: error: implicit declaration of function '__count_vm_events' fs/inode.c:447: error: 'KSWAPD_INODESTEAL' undeclared (first use in this function) fs/inode.c:449: error: 'PGINODESTEAL' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:465: error: expected declaration specifiers or '...' before 'gfp_t' fs/inode.c: In function 'shrink_icache_memory': fs/inode.c:473: error: 'gfp_mask' undeclared (first use in this function) fs/inode.c:473: error: '__GFP_FS' undeclared (first use in this function) fs/inode.c:477: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:477: error: 'sysctl_vfs_cache_pressure' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:480: error: variable 'icache_shrinker' has initializer but incomplete type fs/inode.c:481: error: unknown field 'shrink' specified in initializer fs/inode.c:481: warning: excess elements in struct initializer fs/inode.c:481: warning: (near initialization for 'icache_shrinker') fs/inode.c:482: error: unknown field 'seeks' specified in initializer fs/inode.c:482: error: 'DEFAULT_SEEKS' undeclared here (not in a function) fs/inode.c:482: warning: excess elements in struct initializer fs/inode.c:482: warning: (near initialization for 'icache_shrinker') fs/inode.c:492: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'find_inode': fs/inode.c:495: error: 'NULL' undeclared (first use in this function) fs/inode.c:498: error: implicit declaration of function 'hlist_for_each_entry' fs/inode.c:498: error: 'i_hash' undeclared (first use in this function) fs/inode.c:498: error: expected ';' before '{' token fs/inode.c:497: warning: label 'repeat' defined but not used fs/inode.c: At top level: fs/inode.c:516: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'find_inode_fast': fs/inode.c:519: error: 'NULL' undeclared (first use in this function) fs/inode.c:522: error: 'i_hash' undeclared (first use in this function) fs/inode.c:522: error: expected ';' before '{' token fs/inode.c:521: warning: label 'repeat' defined but not used fs/inode.c: At top level: fs/inode.c:548: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'new_inode': fs/inode.c:558: error: implicit declaration of function 'spin_lock_prefetch' fs/inode.c:558: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:560: warning: passing argument 1 of 'alloc_inode' from incompatible pointer type fs/inode.c:563: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:564: error: implicit declaration of function 'list_add' fs/inode.c:564: error: dereferencing pointer to incomplete type fs/inode.c:564: error: 'inode_in_use' undeclared (first use in this function) fs/inode.c:565: error: dereferencing pointer to incomplete type fs/inode.c:565: error: dereferencing pointer to incomplete type fs/inode.c:566: error: dereferencing pointer to incomplete type fs/inode.c:567: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:573: warning: data definition has no type or storage class fs/inode.c:573: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:573: warning: parameter names (without types) in function declaration fs/inode.c: In function 'unlock_new_inode': fs/inode.c:597: error: dereferencing pointer to incomplete type fs/inode.c:597: error: 'I_LOCK' undeclared (first use in this function) fs/inode.c:597: error: 'I_NEW' undeclared (first use in this function) fs/inode.c:598: warning: passing argument 1 of 'wake_up_inode' from incompatible pointer type fs/inode.c: At top level: fs/inode.c:601: warning: data definition has no type or storage class fs/inode.c:601: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:601: warning: parameter names (without types) in function declaration fs/inode.c:609: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'get_new_inode': fs/inode.c:613: warning: passing argument 1 of 'alloc_inode' from incompatible pointer type fs/inode.c:617: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:619: warning: passing argument 1 of 'find_inode' from incompatible pointer type fs/inode.c:624: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:625: error: dereferencing pointer to incomplete type fs/inode.c:625: error: 'inode_in_use' undeclared (first use in this function) fs/inode.c:626: error: dereferencing pointer to incomplete type fs/inode.c:626: error: dereferencing pointer to incomplete type fs/inode.c:627: error: implicit declaration of function 'hlist_add_head' fs/inode.c:627: error: dereferencing pointer to incomplete type fs/inode.c:628: error: dereferencing pointer to incomplete type fs/inode.c:628: error: 'I_LOCK' undeclared (first use in this function) fs/inode.c:628: error: 'I_NEW' undeclared (first use in this function) fs/inode.c:646: error: implicit declaration of function 'wait_on_inode' fs/inode.c:653: error: 'NULL' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:660: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'get_new_inode_fast': fs/inode.c:664: warning: passing argument 1 of 'alloc_inode' from incompatible pointer type fs/inode.c:668: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:670: warning: passing argument 1 of 'find_inode_fast' from incompatible pointer type fs/inode.c:672: error: dereferencing pointer to incomplete type fs/inode.c:673: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:674: error: dereferencing pointer to incomplete type fs/inode.c:674: error: 'inode_in_use' undeclared (first use in this function) fs/inode.c:675: error: dereferencing pointer to incomplete type fs/inode.c:675: error: dereferencing pointer to incomplete type fs/inode.c:676: error: dereferencing pointer to incomplete type fs/inode.c:677: error: dereferencing pointer to incomplete type fs/inode.c:677: error: 'I_LOCK' undeclared (first use in this function) fs/inode.c:677: error: 'I_NEW' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:700: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'hash': fs/inode.c:704: error: 'GOLDEN_RATIO_PRIME' undeclared (first use in this function) fs/inode.c:705: error: 'L1_CACHE_BYTES' undeclared (first use in this function) fs/inode.c:706: error: 'i_hash_shift' undeclared (first use in this function) fs/inode.c:707: error: 'i_hash_mask' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:724: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'iunique' fs/inode.c:748: warning: data definition has no type or storage class fs/inode.c:748: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:748: warning: parameter names (without types) in function declaration fs/inode.c: In function 'igrab': fs/inode.c:752: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:753: error: dereferencing pointer to incomplete type fs/inode.c:753: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:753: error: 'I_CLEAR' undeclared (first use in this function) fs/inode.c:753: error: 'I_WILL_FREE' undeclared (first use in this function) fs/inode.c:761: error: 'NULL' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:766: warning: data definition has no type or storage class fs/inode.c:766: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:766: warning: parameter names (without types) in function declaration fs/inode.c:789: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'ifind': fs/inode.c:793: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:794: warning: passing argument 1 of 'find_inode' from incompatible pointer type fs/inode.c:798: error: implicit declaration of function 'likely' fs/inode.c:803: error: 'NULL' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:822: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'ifind_fast': fs/inode.c:826: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:827: warning: passing argument 1 of 'find_inode_fast' from incompatible pointer type fs/inode.c:835: error: 'NULL' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:860: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'ilookup5_nowait': fs/inode.c:862: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:862: warning: passing argument 1 of 'hash' from incompatible pointer type fs/inode.c:864: warning: passing argument 1 of 'ifind' from incompatible pointer type fs/inode.c: At top level:cc1: error: include/linux/autoconf.h: No such file or directory kernel/rcupdate.c:33:25: error: linux/types.h: No such file or directory kernel/rcupdate.c:34:26: error: linux/kernel.h: No such file or directory kernel/rcupdate.c:35:24: error: linux/init.h: No such file or directory kernel/rcupdate.c:36:28: error: linux/spinlock.h: No such file or directory kernel/rcupdate.c:37:23: error: linux/smp.h: No such file or directory kernel/rcupdate.c:38:29: error: linux/interrupt.h: No such file or directory kernel/rcupdate.c:39:25: error: linux/sched.h: No such file or directory kernel/rcupdate.c:40:24: error: asm/atomic.h: No such file or directory kernel/rcupdate.c:41:26: error: linux/bitops.h: No such file or directory kernel/rcupdate.c:42:26: error: linux/percpu.h: No such file or directory kernel/rcupdate.c:43:28: error: linux/notifier.h: No such file or directory kernel/rcupdate.c:44:23: error: linux/cpu.h: No such file or directory kernel/rcupdate.c:45:25: error: linux/mutex.h: No such file or directory kernel/rcupdate.c:46:26: error: linux/module.h: No such file or directory kernel/rcupdate.c:54: error: expected declaration specifiers or '...' before 'rcu_barrier_head' kernel/rcupdate.c:54: warning: 'struct rcu_head' declared inside parameter list kernel/rcupdate.c:54: warning: its scope is only this definition or declaration, which is probably not what you want kernel/rcupdate.c:54: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' kernel/rcupdate.c:54: error: function 'DEFINE_PER_CPU' is initialized like a variable kernel/rcupdate.c:54: error: 'NULL' undeclared here (not in a function) kernel/rcupdate.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rcu_barrier_cpu_count' kernel/rcupdate.c:56: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' kernel/rcupdate.c:56: warning: parameter names (without types) in function declaration kernel/rcupdate.c:63: warning: 'struct rcu_head' declared inside parameter list kernel/rcupdate.c: In function 'wakeme_after_rcu': kernel/rcupdate.c:67: error: implicit declaration of function 'container_of' kernel/rcupdate.c:67: error: expected expression before 'struct' kernel/rcupdate.c:67: warning: assignment makes pointer from integer without a cast kernel/rcupdate.c:68: error: implicit declaration of function 'complete' kernel/rcupdate.c:68: error: dereferencing pointer to incomplete type kernel/rcupdate.c: At top level: kernel/rcupdate.c:81: warning: return type defaults to 'int' kernel/rcupdate.c:81: warning: function declaration isn't a prototype kernel/rcupdate.c: In function 'synchronize_rcu_xxx': kernel/rcupdate.c:81: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' kernel/rcupdate.c:83: warning: 'struct rcu_head' declared inside parameter list kernel/rcupdate.c:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:144: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' kernel/rcupdate.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:153: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' kernel/rcupdate.c:159: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token kernel/rcupdate.c:162: error: expected declaration specifiers before 'EXPORT_SYMBOL_GPL' kernel/rcupdate.c:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rcu_init' kernel/rcupdate.c:167: error: expected '{' at end of input make[2]: *** [arch/x86/kernel/cpu/intel_cacheinfo.o] Error 1 fs/inode.c:867: warning: data definition has no type or storage class fs/inode.c:867: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:867: warning: parameter names (without types) in function declaration fs/inode.c:889: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'ilookup5': fs/inode.c:891: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:891: warning: passing argument 1 of 'hash' from incompatible pointer type fs/inode.c:893: warning: passing argument 1 of 'ifind' from incompatible pointer type fs/inode.c: At top level: fs/inode.c:896: warning: data definition has no type or storage class fs/inode.c:896: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:896: warning: parameter names (without types) in function declaration fs/inode.c:912: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'ilookup': fs/inode.c:914: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:914: warning: passing argument 1 of 'hash' from incompatible pointer type fs/inode.c:916: warning: passing argument 1 of 'ifind_fast' from incompatible pointer type fs/inode.c: At top level: fs/inode.c:919: warning: data definition has no type or storage class fs/inode.c:919: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:919: warning: parameter names (without types) in function declaration fs/inode.c:943: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'iget5_locked': fs/inode.c:945: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:945: warning: passing argument 1 of 'hash' from incompatible pointer type fs/inode.c:948: warning: passing argument 1 of 'ifind' from incompatible pointer type fs/inode.c:955: warning: passing argument 1 of 'get_new_inode' from incompatible pointer type fs/inode.c: At top level: fs/inode.c:958: warning: data definition has no type or storage class fs/inode.c:958: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:958: warning: parameter names (without types) in function declaration fs/inode.c:975: warning: 'struct super_block' declared inside parameter list fs/inode.c: In function 'iget_locked': fs/inode.c:977: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:977: warning: passing argument 1 of 'hash' from incompatible pointer type fs/inode.c:980: warning: passing argument 1 of 'ifind_fast' from incompatible pointer type fs/inode.c:987: warning: passing argument 1 of 'get_new_inode_fast' from incompatible pointer type fs/inode.c: At top level: fs/inode.c:990: warning: data definition has no type or storage class fs/inode.c:990: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:990: warning: parameter names (without types) in function declaration fs/inode.c: In function '__insert_inode_hash': fs/inode.c:1002: error: 'inode_hashtable' undeclared (first use in this function) fs/inode.c:1002: error: dereferencing pointer to incomplete type fs/inode.c:1003: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:1004: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:1008: warning: data definition has no type or storage class fs/inode.c:1008: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1008: warning: parameter names (without types) in function declaration fs/inode.c: In function 'remove_inode_hash': fs/inode.c:1018: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:1019: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:1023: warning: data definition has no type or storage class fs/inode.c:1023: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1023: warning: parameter names (without types) in function declaration fs/inode.c: In function 'generic_delete_inode': fs/inode.c:1039: error: dereferencing pointer to incomplete type fs/inode.c:1041: error: dereferencing pointer to incomplete type fs/inode.c:1042: error: dereferencing pointer to incomplete type fs/inode.c:1043: error: dereferencing pointer to incomplete type fs/inode.c:1043: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:1044: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:1045: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:1047: error: implicit declaration of function 'security_inode_delete' fs/inode.c:1049: error: dereferencing pointer to incomplete type fs/inode.c:1050: error: dereferencing pointer to incomplete type CC arch/x86/kernel/cpu/addon_cpuid_features.o cc1: error: include/linux/autoconf.h: No such file or directory mm/mincore.c:10:24: error: linux/slab.h: No such file or directory mm/mincore.c:11:27: error: linux/pagemap.h: No such file or directory mm/mincore.c:12:22: error: linux/mm.h: No such file or directory mm/mincore.c:13:24: error: linux/mman.h: No such file or directory mm/mincore.c:14:28: error: linux/syscalls.h: No such file or directory mm/mincore.c:15:24: error: linux/swap.h: No such file or directory mm/mincore.c:16:27: error: linux/swapops.h: No such file or directory mm/mincore.c:18:25: error: asm/uaccess.h: No such file or directory mm/mincore.c:19:25: error: asm/pgtable.h: No such file or directory mm/mincore.c:27: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mincore.c:27: warning: 'struct address_space' declared inside parameter list mm/mincore.c:27: warning: its scope is only this definition or declaration, which is probably not what you want mm/mincore.c: In function 'mincore_page': mm/mincore.c:42: error: implicit declaration of function 'find_get_page' mm/mincore.c:42: error: 'pgoff' undeclared (first use in this function) mm/mincore.c:42: error: (Each undeclared identifier is reported only once mm/mincore.c:42: error: for each function it appears in.) mm/mincore.c:42: warning: assignment makes pointer from integer without a cast mm/mincore.c:44: error: implicit declaration of function 'PageUptodate' mm/mincore.c:45: error: implicit declaration of function 'page_cache_release' mm/mincore.c: In function 'do_mincore': mm/mincore.c:58: error: 'pgd_t' undeclared (first use in this function) mm/mincore.c:58: error: 'pgd' undeclared (first use in this function) mm/mincore.c:59: error: 'pud_t' undeclared (first use in this function) mm/mincore.c:59: error: 'pud' undeclared (first use in this function) mm/mincore.c:60: error: 'pmd_t' undeclared (first use in this function) mm/mincore.c:60: error: 'pmd' undeclared (first use in this function) mm/mincore.c:61: error: 'pte_t' undeclared (first use in this function) mm/mincore.c:61: error: 'ptep' undeclared (first use in this function) mm/mincore.c:62: error: 'spinlock_t' undeclared (first use in this function) mm/mincore.c:62: error: 'ptl' undeclared (first use in this function) mm/mincore.c:63: warning: ISO C90 forbids mixed declarations and code mm/mincore.c:65: error: 'pgoff_t' undeclared (first use in this function) mm/mincore.c:65: error: expected ';' before 'pgoff' mm/mincore.c:66: error: implicit declaration of function 'find_vma' mm/mincore.c:66: error: 'current' undeclared (first use in this function) mm/mincore.c:66: warning: initialization makes pointer from integer without a cast mm/mincore.c:66: warning: ISO C90 forbids mixed declarations and code mm/mincore.c:72: error: dereferencing pointer to incomplete type mm/mincore.c:73: error: 'ENOMEM' undeclared (first use in this function) mm/mincore.c:79: error: 'PTRS_PER_PTE' undeclared (first use in this function) mm/mincore.c:79: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mincore.c:84: error: implicit declaration of function 'min' mm/mincore.c:84: error: dereferencing pointer to incomplete type mm/mincore.c:91: error: implicit declaration of function 'pgd_offset' mm/mincore.c:91: error: dereferencing pointer to incomplete type mm/mincore.c:92: error: implicit declaration of function 'pgd_none_or_clear_bad' mm/mincore.c:94: error: implicit declaration of function 'pud_offset' mm/mincore.c:95: error: implicit declaration of function 'pud_none_or_clear_bad' mm/mincore.c:97: error: implicit declaration of function 'pmd_offset' mm/mincore.c:98: error: implicit declaration of function 'pmd_none_or_clear_bad' mm/mincore.c:101: error: implicit declaration of function 'pte_offset_map_lock' mm/mincore.c:101: error: dereferencing pointer to incomplete type mm/mincore.c:102: error: 'PAGE_SIZE' undeclared (first use in this function) mm/mincore.c:102: warning: left-hand operand of comma expression has no effect mm/mincore.c:104: error: expected ';' before 'pte' mm/mincore.c:106: error: implicit declaration of function 'pte_present' mm/mincore.c:106: error: 'pte' undeclared (first use in this function) mm/mincore.c:109: error: implicit declaration of function 'pte_none' mm/mincore.c:110: error: dereferencing pointer to incomplete type mm/mincore.c:111: error: 'pgoff' undeclared (first use in this function) mm/mincore.c:111: error: implicit declaration of function 'linear_page_index' mm/mincore.c:112: error: dereferencing pointer to incomplete type mm/mincore.c:113: error: too many arguments to function 'mincore_page' mm/mincore.c:117: error: implicit declaration of function 'pte_file' mm/mincore.c:118: error: implicit declaration of function 'pte_to_pgoff' mm/mincore.c:119: error: dereferencing pointer to incomplete type mm/mincore.c:119: error: too many arguments to function 'mincore_page' mm/mincore.c:122: error: 'swp_entry_t' undeclared (first use in this function) mm/mincore.c:122: error: expected ';' before 'entry' mm/mincore.c:123: error: implicit declaration of function 'is_migration_entry' mm/mincore.c:123: error: 'entry' undeclared (first use in this function) mm/mincore.c:131: error: implicit declaration of function 'WARN_ON' mm/mincore.c:139: error: implicit declaration of function 'pte_unmap_unlock' mm/mincore.c:144: error: dereferencing pointer to incomplete type mm/mincore.c:147: error: dereferencing pointer to incomplete type mm/mincore.c:147: error: too many arguments to function 'mincore_page' mm/mincore.c: At top level: mm/mincore.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' cc1: error: include/linux/autoconf.h: No such file or directory mm/memory.c:41:31: error: linux/kernel_stat.h: No such file or directory mm/memory.c:42:22: error: linux/mm.h: No such file or directory mm/memory.c:43:27: error: linux/hugetlb.h: No such file or directory mm/memory.c:44:24: error: linux/mman.h: No such file or directory mm/memory.c:45:24: error: linux/swap.h: No such file or directory mm/memory.c:46:27: error: linux/highmem.h: No such file or directory mm/memory.c:47:27: error: linux/pagemap.h: No such file or directory mm/memory.c:48:24: error: linux/rmap.h: No such file or directory mm/memory.c:49:26: error: linux/module.h: No such file or directory mm/memory.c:50:29: error: linux/delayacct.h: No such file or directory mm/memory.c:51:24: error: linux/init.h: No such file or directory mm/memory.c:52:29: error: linux/writeback.h: No such file or directory mm/memory.c:53:30: error: linux/memcontrol.h: No such file or directory mm/memory.c:55:25: error: asm/pgalloc.h: No such file or directory mm/memory.c:56:25: error: asm/uaccess.h: No such file or directory mm/memory.c:57:21: error: asm/tlb.h: No such file or directory mm/memory.c:58:26: error: asm/tlbflush.h: No such file or directory mm/memory.c:59:25: error: asm/pgtable.h: No such file or directory mm/memory.c:61:27: error: linux/swapops.h: No such file or directory mm/memory.c:62:23: error: linux/elf.h: No such file or directory mm/memory.c:69: warning: data definition has no type or storage class mm/memory.c:69: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:69: warning: parameter names (without types) in function declaration mm/memory.c:70: warning: data definition has no type or storage class mm/memory.c:70: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:70: warning: parameter names (without types) in function declaration mm/memory.c:83: warning: data definition has no type or storage class mm/memory.c:83: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:83: warning: parameter names (without types) in function declaration mm/memory.c:84: warning: data definition has no type or storage class mm/memory.c:84: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:84: warning: parameter names (without types) in function declaration mm/memory.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/memory.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'disable_randmaps' mm/memory.c:104: error: expected declaration specifiers or '...' before string constant mm/memory.c:104: error: expected declaration specifiers or '...' before 'disable_randmaps' mm/memory.c:104: warning: data definition has no type or storage class mm/memory.c:104: warning: type defaults to 'int' in declaration of '__setup' mm/memory.c:104: warning: function declaration isn't a prototype mm/memory.c:113: error: expected ')' before '*' token mm/memory.c:119: error: expected ')' before '*' token mm/memory.c:125: error: expected ')' before '*' token mm/memory.c:135: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:135: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c:135: warning: its scope is only this definition or declaration, which is probably not what you want mm/memory.c: In function 'free_pte_range': mm/memory.c:137: error: 'pgtable_t' undeclared (first use in this function) mm/memory.c:137: error: (Each undeclared identifier is reported only once mm/memory.c:137: error: for each function it appears in.) mm/memory.c:137: error: expected ';' before 'token' mm/memory.c:138: error: implicit declaration of function 'pmd_clear' mm/memory.c:138: error: 'pmd' undeclared (first use in this function) mm/memory.c:139: error: implicit declaration of function 'pte_free_tlb' mm/memory.c:139: error: 'token' undeclared (first use in this function) mm/memory.c:140: error: dereferencing pointer to incomplete type mm/memory.c: At top level: mm/memory.c:143: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:145: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'free_pmd_range': mm/memory.c:147: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:147: error: 'pmd' undeclared (first use in this function) mm/memory.c:148: warning: ISO C90 forbids mixed declarations and code mm/memory.c:152: error: implicit declaration of function 'pmd_offset' mm/memory.c:152: error: 'pud' undeclared (first use in this function) mm/memory.c:154: error: implicit declaration of function 'pmd_addr_end' mm/memory.c:155: error: implicit declaration of function 'pmd_none_or_clear_bad' mm/memory.c:157: warning: passing argument 1 of 'free_pte_range' from incompatible pointer type mm/memory.c:157: error: too many arguments to function 'free_pte_range' mm/memory.c:158: warning: left-hand operand of comma expression has no effect mm/memory.c:158: warning: value computed is not used mm/memory.c:160: error: 'PUD_MASK' undeclared (first use in this function) mm/memory.c:172: error: implicit declaration of function 'pud_clear' mm/memory.c:173: error: implicit declaration of function 'pmd_free_tlb' mm/memory.c: At top level: mm/memory.c:176: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:178: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'free_pud_range': mm/memory.c:180: error: 'pud_t' undeclared (first use in this function) mm/memory.c:180: error: 'pud' undeclared (first use in this function)fs/inode.c:1051: error: implicit declaration of function 'is_bad_inode'make[1]: *** [kernel/rcupdate.o] Error 1 fs/inode.c:1052: error: implicit declaration of function 'DQUOT_INIT' fs/inode.c:1059: error: dereferencing pointer to incomplete type fs/inode.c:1063: error: dereferencing pointer to incomplete type fs/inode.c:1065: warning: passing argument 1 of 'wake_up_inode' from incompatible pointer type fs/inode.c:1066: error: dereferencing pointer to incomplete type fs/inode.c:1066: error: 'I_CLEAR' undeclared (first use in this function) mm/memory.c:181: warning: ISO C90 forbids mixed declarations and code mm/memory.c:185: error: implicit declaration of function 'pud_offset' mm/memory.c:185: error: 'pgd' undeclared (first use in this function) mm/memory.c:187: error: implicit declaration of function 'pud_addr_end' mm/memory.c:188: error: implicit declaration of function 'pud_none_or_clear_bad' fs/inode.c: At top level: mm/memory.c:190: warning: passing argument 1 of 'free_pmd_range' from incompatible pointer type mm/memory.c:190: error: too many arguments to function 'free_pmd_range' mm/memory.c:191: warning: left-hand operand of comma expression has no effect mm/memory.c:193: error: 'PGDIR_MASK' undeclared (first use in this function) mm/memory.c:205: error: implicit declaration of function 'pgd_clear' mm/memory.c:206: error: implicit declaration of function 'pud_free_tlb' mm/memory.c: At top level: mm/memory.c:216: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'free_pgd_range': mm/memory.c:218: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:218: error: 'pgd' undeclared (first use in this function) mm/memory.c:219: warning: ISO C90 forbids mixed declarations and code mm/memory.c:248: error: 'PMD_MASK' undeclared (first use in this function) mm/memory.c:250: error: 'PMD_SIZE' undeclared (first use in this function) mm/memory.c:265: error: implicit declaration of function 'pgd_offset' mm/memory.c:265: error: dereferencing pointer to incomplete type mm/memory.c:267: error: implicit declaration of function 'pgd_addr_end' mm/memory.c:268: error: implicit declaration of function 'pgd_none_or_clear_bad' mm/memory.c:270: warning: passing argument 1 of 'free_pud_range' from incompatible pointer type mm/memory.c:270: error: too many arguments to function 'free_pud_range' mm/memory.c:271: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:275: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:275: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'free_pgtables': mm/memory.c:278: error: dereferencing pointer to incomplete type mm/memory.c:279: error: dereferencing pointer to incomplete type mm/memory.c:284: error: implicit declaration of function 'anon_vma_unlink' mm/memory.c:285: error: implicit declaration of function 'unlink_file_vma' mm/memory.c:287: error: implicit declaration of function 'is_vm_hugetlb_page' mm/memory.c:288: error: implicit declaration of function 'hugetlb_free_pgd_range' mm/memory.c:288: error: dereferencing pointer to incomplete type mm/memory.c:289: error: dereferencing pointer to incomplete type mm/memory.c:294: error: dereferencing pointer to incomplete type mm/memory.c:294: error: dereferencing pointer to incomplete type cc1: error: include/linux/autoconf.h: No such file or directory CC kernel/extable.o arch/x86/kernel/cpu/addon_cpuid_features.c:5:23: error: linux/cpu.h: No such file or directory arch/x86/kernel/cpu/addon_cpuid_features.c:7:21: error: asm/pat.h: No such file or directory arch/x86/kernel/cpu/addon_cpuid_features.c:8:27: error: asm/processor.h: No such file or directory arch/x86/kernel/cpu/addon_cpuid_features.c:11: error: expected specifier-qualifier-list before 'u16' arch/x86/kernel/cpu/addon_cpuid_features.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_scattered_cpuid_features' fs/inode.c:1070: warning: data definition has no type or storage classmm/memory.c:294: error: 'PMD_SIZE' undeclared (first use in this function) mm/memory.c:297: error: dereferencing pointer to incomplete type mm/memory.c:301: error: dereferencing pointer to incomplete type mm/memory.c:302: error: dereferencing pointer to incomplete type mm/memory.c:302: warning: passing argument 1 of 'free_pgd_range' from incompatible pointer type mm/memory.c: At top level: mm/memory.c:308: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:308: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function '__pte_alloc': mm/memory.c:310: error: 'pgtable_t' undeclared (first use in this function) mm/memory.c:310: error: expected ';' before 'new' mm/memory.c:311: error: 'new' undeclared (first use in this function) mm/memory.c:312: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:327: error: implicit declaration of function 'smp_wmb' mm/memory.c:329: error: implicit declaration of function 'spin_lock' mm/memory.c:329: error: dereferencing pointer to incomplete type mm/memory.c:330: error: implicit declaration of function 'pmd_present' mm/memory.c:330: error: 'pmd' undeclared (first use in this function) mm/memory.c:331: error: dereferencing pointer to incomplete type mm/memory.c:332: error: implicit declaration of function 'pmd_populate' mm/memory.c:333: error: 'NULL' undeclared (first use in this function) mm/memory.c:335: error: implicit declaration of function 'spin_unlock' mm/memory.c:335: error: dereferencing pointer to incomplete type mm/memory.c:337: error: implicit declaration of function 'pte_free' mm/memory.c: At top level: mm/memory.c:341: error: expected ')' before '*' token mm/memory.c:360: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'add_mm_rss': mm/memory.c:363: error: implicit declaration of function 'add_mm_counter' mm/memory.c: At top level: mm/memory.c:375: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:375: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'print_bad_pte': mm/memory.c:377: error: implicit declaration of function 'printk' mm/memory.c:377: error: 'KERN_ERR' undeclared (first use in this function) mm/memory.c:377: error: expected ')' before string constant mm/memory.c:382: error: implicit declaration of function 'dump_stack' mm/memory.c: In function 'is_cow_mapping': mm/memory.c:387: error: 'VM_SHARED' undeclared (first use in this function) mm/memory.c:387: error: 'VM_MAYWRITE' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:438: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:438: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'vm_normal_page': mm/memory.c:443: error: implicit declaration of function 'likely' mm/memory.c:443: error: implicit declaration of function 'pte_special' mm/memory.c:443: error: 'pte' undeclared (first use in this function) mm/memory.c:444: error: implicit declaration of function 'VM_BUG_ON' mm/memory.c:444: error: implicit declaration of function 'pfn_valid' mm/memory.c:444: error: implicit declaration of function 'pte_pfn' mm/memory.c:445: error: implicit declaration of function 'pte_page' mm/memory.c:445: warning: return makes pointer from integer without a cast mm/memory.c:447: error: dereferencing pointer to incomplete type mm/memory.c:447: error: 'VM_PFNMAP' undeclared (first use in this function) mm/memory.c:447: error: 'VM_MIXEDMAP' undeclared (first use in this function) mm/memory.c:448: error: 'NULL' undeclared (first use in this function) mm/memory.c:455: error: implicit declaration of function 'unlikely' mm/memory.c:455: error: dereferencing pointer to incomplete type mm/memory.c:456: error: dereferencing pointer to incomplete type mm/memory.c:462: error: dereferencing pointer to incomplete type mm/memory.c:462: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:463: error: dereferencing pointer to incomplete type mm/memory.c:465: error: dereferencing pointer to incomplete type mm/memory.c:478: error: implicit declaration of function 'pfn_to_page' mm/memory.c:478: warning: return makes pointer from integer without a cast mm/memory.c: At top level: mm/memory.c:489: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:489: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:490: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:490: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'copy_one_pte': mm/memory.c:492: error: dereferencing pointer to incomplete type mm/memory.c:493: error: 'pte_t' undeclared (first use in this function) mm/memory.c:493: error: expected ';' before 'pte' mm/memory.c:494: warning: ISO C90 forbids mixed declarations and code mm/memory.c:497: error: implicit declaration of function 'pte_present' mm/memory.c:497: error: 'pte' undeclared (first use in this function) mm/memory.c:498: error: implicit declaration of function 'pte_file' mm/memory.c:499: error: 'swp_entry_t' undeclared (first use in this function) mm/memory.c:499: error: expected ';' before 'entry' mm/memory.c:501: error: implicit declaration of function 'swap_duplicate' mm/memory.c:501: error: 'entry' undeclared (first use in this function) mm/memory.c:503: error: implicit declaration of function 'list_empty' mm/memory.c:503: error: dereferencing pointer to incomplete type mm/memory.c:504: error: 'mmlist_lock' undeclared (first use in this function) mm/memory.c:505: error: dereferencing pointer to incomplete type mm/memory.c:506: error: implicit declaration of function 'list_add' mm/memory.c:506: error: dereferencing pointer to incomplete type mm/memory.c:507: error: dereferencing pointer to incomplete type mm/memory.c:510: error: implicit declaration of function 'is_write_migration_entry' mm/memory.c:516: error: implicit declaration of function 'make_migration_entry_read' mm/memory.c:517: error: implicit declaration of function 'swp_entry_to_pte' mm/memory.c:518: error: implicit declaration of function 'set_pte_at' mm/memory.c:518: error: 'src_pte' undeclared (first use in this function) mm/memory.c:529: error: implicit declaration of function 'ptep_set_wrprotect' mm/memory.c:530: error: implicit declaration of function 'pte_wrprotect' mm/memory.c:537: error: 'VM_SHARED' undeclared (first use in this function) mm/memory.c:538: error: implicit declaration of function 'pte_mkclean' mm/memory.c:539: error: implicit declaration of function 'pte_mkold' mm/memory.c:541: warning: passing argument 1 of 'vm_normal_page' from incompatible pointer type mm/memory.c:541: error: too many arguments to function 'vm_normal_page' mm/memory.c:543: error: implicit declaration of function 'get_page' make[2]: *** [arch/x86/kernel/cpu/addon_cpuid_features.o] Error 1 CC arch/x86/kernel/cpu/proc.o make[1]: *** [mm/mincore.o] Error 1 CC kernel/params.o fs/inode.c:1070: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/memory.c:544: error: implicit declaration of function 'page_dup_rmap' mm/memory.c:545: error: implicit declaration of function 'PageAnon' mm/memory.c:549: error: 'dst_pte' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:553: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:553: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:554: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:554: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'copy_pte_range': mm/memory.c:556: error: 'pte_t' undeclared (first use in this function) mm/memory.c:556: error: 'src_pte' undeclared (first use in this function) mm/memory.c:556: error: 'dst_pte' undeclared (first use in this function) mm/memory.c:556: warning: left-hand operand of comma expression has no effect mm/memory.c:557: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:557: error: 'src_ptl' undeclared (first use in this function) mm/memory.c:557: error: 'dst_ptl' undeclared (first use in this function) mm/memory.c:557: warning: left-hand operand of comma expression has no effect cc1: error: include/linux/autoconf.h: No such file or directory kernel/extable.c:18:26: error: linux/module.h: No such file or directory kernel/extable.c:19:24: error: linux/init.h: No such file or directory kernel/extable.c:20:25: error: asm/uaccess.h: No such file or directory kernel/extable.c:21:26: error: asm/sections.h: No such file or directory kernel/extable.c:23: error: array type has incomplete element type fs/inode.c:1070: warning: parameter names (without types) in function declaration mm/memory.c:558: warning: ISO C90 forbids mixed declarations and codecc1: kernel/extable.c:24: error: array type has incomplete element type kernel/extable.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sort_main_extable' fs/inode.c: In function 'generic_forget_inode': fs/inode.c:1074: error: dereferencing pointer to incomplete type fs/inode.c:1076: error: implicit declaration of function 'hlist_unhashed' fs/inode.c:1076: error: dereferencing pointer to incomplete typeerror: include/linux/autoconf.h: No such file or directory mm/memory.c:563: error: implicit declaration of function 'pte_alloc_map_lock' mm/memory.c:563: error: 'dst_pmd' undeclared (first use in this function) mm/memory.c:565: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:566: error: implicit declaration of function 'pte_offset_map_nested' mm/memory.c:566: error: 'src_pmd' undeclared (first use in this function) mm/memory.c:567: error: implicit declaration of function 'pte_lockptr' mm/memory.c:568: error: implicit declaration of function 'spin_lock_nested' mm/memory.c:568: error: 'SINGLE_DEPTH_NESTING' undeclared (first use in this function) mm/memory.c:569: error: implicit declaration of function 'arch_enter_lazy_mmu_mode' kernel/params.c:18:31: kernel/extable.c: In function 'search_exception_tables': mm/memory.c:578: error: implicit declaration of function 'need_resched' error: linux/moduleparam.h: No such file or directoryfs/inode.c:1077: error: dereferencing pointer to incomplete type mm/memory.c:579: error: implicit declaration of function 'spin_needbreak' fs/inode.c:1077: error: 'I_DIRTY' undeclared (first use in this function) kernel/params.c:19:26:fs/inode.c:1077: error: 'I_SYNC' undeclared (first use in this function) kernel/extable.c:37: error: implicit declaration of function 'search_extable'fs/inode.c:1078: error: dereferencing pointer to incomplete type fs/inode.c:1078: error: 'inode_unused' undeclared (first use in this function) fs/inode.c:1079: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:1080: error: dereferencing pointer to incomplete type fs/inode.c:1080: error: 'MS_ACTIVE' undeclared (first use in this function) fs/inode.c:1081: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:1084: error: dereferencing pointer to incomplete type fs/inode.c:1084: error: 'I_WILL_FREE' undeclared (first use in this function) fs/inode.c:1086: error: implicit declaration of function 'write_inode_now' fs/inode.c:1088: error: dereferencing pointer to incomplete type fs/inode.c:1089: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:1090: error: dereferencing pointer to incomplete type fs/inode.c:1092: error: dereferencing pointer to incomplete type fs/inode.c:1093: error: dereferencing pointer to incomplete type fs/inode.c:1094: error: dereferencing pointer to incomplete type fs/inode.c:1094: error: 'I_FREEING' undeclared (first use in this function) fs/inode.c:1095: error: invalid use of undefined type 'struct inodes_stat_t' fs/inode.c:1097: error: dereferencing pointer to incomplete type fs/inode.c:1098: error: dereferencing pointer to incomplete type fs/inode.c:1100: warning: passing argument 1 of 'wake_up_inode' from incompatible pointer type fs/inode.c: In function 'generic_drop_inode': fs/inode.c:1111: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:1117: warning: data definition has no type or storage class fs/inode.c:1117: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/inode.c:1117: warning: parameter names (without types) in function declaration fs/inode.c: In function 'iput_final': fs/inode.c:1132: error: dereferencing pointer to incomplete type fs/inode.c:1135: error: dereferencing pointer to incomplete type fs/inode.c:1136: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:1150: warning: conflicting types for 'iput' fs/inode.c:432: warning: previous implicit declaration of 'iput' was here fs/inode.c: In function 'iput': fs/inode.c:1152: error: dereferencing pointer to incomplete type fs/inode.c:1152: error: 'I_CLEAR' undeclared (first use in this function) fs/inode.c:1154: error: implicit declaration of function 'atomic_dec_and_lock' fs/inode.c:1154: error: dereferencing pointer to incomplete type fs/inode.c:1154: error: 'inode_lock' undeclared (first use in this function) fs/inode.c: At top level: fs/inode.c:1159: warning: data definition has no type or storage class fs/inode.c:1159: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1159: warning: parameter names (without types) in function declaration fs/inode.c:1172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bmap' fs/inode.c:1179: warning: data definition has no type or storage class fs/inode.c:1179: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1179: warning: parameter names (without types) in function declaration fs/inode.c:1190: warning: 'struct dentry' declared inside parameter list fs/inode.c:1190: warning: 'struct vfsmount' declared inside parameter list fs/inode.c: In function 'touch_atime': fs/inode.c:1192: error: dereferencing pointer to incomplete type fs/inode.c:1193: error: storage size of 'now' isn't known fs/inode.c:1195: error: implicit declaration of function 'mnt_want_write' fs/inode.c:1197: error: dereferencing pointer to incomplete type fs/inode.c:1197: error: 'S_NOATIME' undeclared (first use in this function) fs/inode.c:1199: error: implicit declaration of function 'IS_NOATIME' fs/inode.c:1201: error: dereferencing pointer to incomplete type fs/inode.c:1201: error: 'MS_NODIRATIME' undeclared (first use in this function) fs/inode.c:1201: error: implicit declaration of function 'S_ISDIR' fs/inode.c:1201: error: dereferencing pointer to incomplete type fs/inode.c:1204: error: dereferencing pointer to incomplete type fs/inode.c:1204: error: 'MNT_NOATIME' undeclared (first use in this function) fs/inode.c:1206: error: dereferencing pointer to incomplete type fs/inode.c:1206: error: 'MNT_NODIRATIME' undeclared (first use in this function) fs/inode.c:1206: error: dereferencing pointer to incomplete type fs/inode.c:1208: error: dereferencing pointer to incomplete type fs/inode.c:1208: error: 'MNT_RELATIME' undeclared (first use in this function) fs/inode.c:1213: error: implicit declaration of function 'timespec_compare' fs/inode.c:1213: error: dereferencing pointer to incomplete type fs/inode.c:1213: error: dereferencing pointer to incomplete type fs/inode.c:1214: error: dereferencing pointer to incomplete type fs/inode.c:1214: error: dereferencing pointer to incomplete type fs/inode.c:1218: error: implicit declaration of function 'current_fs_time' fs/inode.c:1218: error: dereferencing pointer to incomplete type fs/inode.c:1219: error: implicit declaration of function 'timespec_equal' fs/inode.c:1219: error: dereferencing pointer to incomplete type fs/inode.c:1222: error: dereferencing pointer to incomplete type fs/inode.c:1223: error: implicit declaration of function 'mark_inode_dirty_sync' fs/inode.c:1225: error: implicit declaration of function 'mnt_drop_write' fs/inode.c:1193: warning: unused variable 'now' fs/inode.c: At top level: fs/inode.c:1227: warning: data definition has no type or storage class fs/inode.c:1227: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1227: warning: parameter names (without types) in function declaration fs/inode.c:1241: warning: 'struct file' declared inside parameter list fs/inode.c: In function 'file_update_time': fs/inode.c:1243: error: dereferencing pointer to incomplete type fs/inode.c:1244: error: storage size of 'now' isn't known fs/inode.c:1248: error: implicit declaration of function 'IS_NOCMTIME' fs/inode.c:1251: error: dereferencing pointer to incomplete type fs/inode.c:1255: error: dereferencing pointer to incomplete type fs/inode.c:1256: error: dereferencing pointer to incomplete type fs/inode.c:1257: error: dereferencing pointer to incomplete type fs/inode.c:1261: error: dereferencing pointer to incomplete type fs/inode.c:1262: error: dereferencing pointer to incomplete type fs/inode.c:1266: error: implicit declaration of function 'IS_I_VERSION' fs/inode.c:1267: error: implicit declaration of function 'inode_inc_iversion' fs/inode.c:1273: error: dereferencing pointer to incomplete type fs/inode.c:1244: warning: unused variable 'now' cc1: error: linux/kernel.h: No such file or directory kernel/params.c:20:26: error: linux/string.h: No such file or directory kernel/params.c:21:25: error: linux/errno.h: No such file or directory kernel/params.c:22:26: error: linux/module.h: No such file or directory kernel/extable.c:37: warning: assignment makes pointer from integer without a cast fs/inode.c: At top level:error: include/linux/autoconf.h: No such file or directory mm/memory.c:582: error: implicit declaration of function 'pte_none' kernel/params.c:23:26: error: linux/device.h: No such file or directory mm/memory.c:586: warning: passing argument 1 of 'copy_one_pte' from incompatible pointer type kernel/extable.c:39: error: implicit declaration of function 'search_module_extables' kernel/params.c:24:23: mm/memory.c:586: warning: passing argument 2 of 'copy_one_pte' from incompatible pointer type fs/inode.c:1276: warning: data definition has no type or storage classmm/memory.c:586: warning: passing argument 5 of 'copy_one_pte' from incompatible pointer type kernel/extable.c:39: warning: assignment makes pointer from integer without a cast arch/x86/kernel/cpu/proc.c:1:23: error: linux/smp.h: No such file or directory arch/x86/kernel/cpu/proc.c:2:25: error: linux/timex.h: No such file or directory kernel/extable.c: In function 'core_kernel_text':arch/x86/kernel/cpu/proc.c:3:26: error: linux/err.h: No such file or directory kernel/params.c:25:24: error: linux/slab.h: No such file or directory kernel/params.c:53: warning: 'struct kernel_param' declared inside parameter list kernel/params.c:53: warning: its scope is only this definition or declaration, which is probably not what you want kernel/params.c: In function 'parse_one': kernel/params.c:59: error: invalid use of undefined type 'struct kernel_param' kernel/params.c:59: error: dereferencing pointer to incomplete type kernel/params.c:62: error: invalid use of undefined type 'struct kernel_param' kernel/params.c:62: error: dereferencing pointer to incomplete type kernel/params.c:62: error: invalid use of undefined type 'struct kernel_param' kernel/params.c:62: error: dereferencing pointer to incomplete type kernel/params.c:72: error: 'ENOENT' undeclared (first use in this function) kernel/params.c:72: error: (Each undeclared identifier is reported only once kernel/params.c:72: error: for each function it appears in.) kernel/params.c: In function 'next_arg': kernel/params.c:102: error: 'NULL' undeclared (first use in this function) kernel/params.c: At top level: kernel/params.c:134: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'parse_args': kernel/params.c:149: error: implicit declaration of function 'irqs_disabled' kernel/params.c:150: warning: passing argument 3 of 'parse_one' from incompatible pointer type kernel/params.c:152: error: implicit declaration of function 'printk' kernel/params.c:152: error: 'KERN_WARNING' undeclared (first use in this function) kernel/params.c:152: error: expected ')' before string constant fs/inode.c:1276: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1276: warning: parameter names (without types) in function declaration fs/inode.c: In function 'inode_needs_sync': fs/inode.c:1280: error: implicit declaration of function 'IS_SYNC' fs/inode.c:1282: error: dereferencing pointer to incomplete type fs/inode.c:1282: error: implicit declaration of function 'IS_DIRSYNC' mm/memory.c:586: error: too many arguments to function 'copy_one_pte' fs/inode.c: At top level: mm/memory.c:588: warning: left-hand operand of comma expression has no effectkernel/params.c:156: error: 'ENOENT' undeclared (first use in this function) kernel/extable.c:45: error: '_stext' undeclared (first use in this function) kernel/extable.c:45: error: (Each undeclared identifier is reported only once kernel/extable.c:45: error: for each function it appears in.)error: fs/inode.c:1287: warning: data definition has no type or storage class kernel/params.c:157: error: 'KERN_ERR' undeclared (first use in this function) kernel/params.c:157: error: expected ')' before string constant kernel/extable.c:46: error: '_etext' undeclared (first use in this function) linux/string.h: No such file or directory fs/inode.c:1287: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/memory.c:588: error: 'PAGE_SIZE' undeclared (first use in this function)arch/x86/kernel/cpu/proc.c:4:28: kernel/params.c:160: error: 'ENOSPC' undeclared (first use in this function)kernel/extable.c:49: error: 'system_state' undeclared (first use in this function) kernel/extable.c:49: error: 'SYSTEM_BOOTING' undeclared (first use in this function) kernel/extable.c:50: error: '_sinittext' undeclared (first use in this function) kernel/extable.c:51: error: '_einittext' undeclared (first use in this function) kernel/extable.c: In function '__kernel_text_address': kernel/extable.c:60: error: implicit declaration of function '__module_text_address' kernel/extable.c:60: error: 'NULL' undeclared (first use in this function) kernel/extable.c: In function 'kernel_text_address': kernel/extable.c:67: error: implicit declaration of function 'module_text_address' kernel/extable.c:67: error: 'NULL' undeclared (first use in this function) fs/inode.c:1287: warning: parameter names (without types) in function declarationmm/memory.c:588: warning: left-hand operand of comma expression has no effecterror: kernel/params.c:162: error: expected ')' before string constant kernel/params.c:169: error: expected ')' before string constant kernel/params.c: At top level: kernel/params.c:198: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_byte': kernel/params.c:198: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:198: error: implicit declaration of function 'strict_strtoul' kernel/params.c:198: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:198: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_byte': kernel/params.c:198: error: implicit declaration of function 'sprintf' kernel/params.c:198: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:199: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_short': kernel/params.c:199: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:199: error: implicit declaration of function 'strict_strtol' kernel/params.c:199: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:199: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_short': kernel/params.c:199: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:200: warning: 'struct kernel_param' declared inside parameter listmm/memory.c:588: warning: left-hand operand of comma expression has no effectlinux/seq_file.h: No such file or directoryfs/inode.c: In function 'inode_wait': kernel/params.c: In function 'param_set_ushort': kernel/params.c:200: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:200: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:5:27: error: linux/cpufreq.h: No such file or directory fs/inode.c:1291: error: implicit declaration of function 'schedule' make[1]: *** [kernel/extable.o] Error 1 arch/x86/kernel/cpu/proc.c:54: warning: 'struct cpuinfo_x86' declared inside parameter list arch/x86/kernel/cpu/proc.c:54: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/cpu/proc.c:54: warning: 'struct seq_file' declared inside parameter list fs/inode.c: In function '__wait_on_freeing_inode': fs/inode.c:1309: error: 'wait_queue_head_t' undeclared (first use in this function) fs/inode.c:1309: error: 'wq' undeclared (first use in this function) fs/inode.c:1310: error: implicit declaration of function 'DEFINE_WAIT_BIT' mm/memory.c:590: error: implicit declaration of function 'arch_leave_lazy_mmu_mode'fs/inode.c:1310: error: 'wait' undeclared (first use in this function) kernel/params.c: At top level:fs/inode.c:1310: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:69: warning: 'struct cpuinfo_x86' declared inside parameter list kernel/params.c:200: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_ushort': mm/memory.c:592: error: implicit declaration of function 'pte_unmap_nested' fs/inode.c:1310: error: '__I_LOCK' undeclared (first use in this function) fs/inode.c:1311: error: implicit declaration of function 'bit_waitqueue' fs/inode.c:1311: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:69: warning: 'struct seq_file' declared inside parameter listfs/inode.c:1312: error: implicit declaration of function 'prepare_to_wait' kernel/params.c:200: error: dereferencing pointer to incomplete typefs/inode.c:1312: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) mm/memory.c:593: warning: passing argument 1 of 'add_mm_rss' from incompatible pointer type mm/memory.c:594: error: implicit declaration of function 'pte_unmap_unlock' mm/memory.c:595: error: implicit declaration of function 'cond_resched' arch/x86/kernel/cpu/proc.c: In function 'show_cpuinfo_misc': arch/x86/kernel/cpu/proc.c:71: error: implicit declaration of function 'seq_printf' arch/x86/kernel/cpu/proc.c:76: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c: At top level: arch/x86/kernel/cpu/proc.c:80: warning: 'struct seq_file' declared inside parameter list mm/memory.c: At top level: mm/memory.c:602: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:602: error: expected declaration specifiers or '...' before 'pud_t' kernel/params.c: At top level: kernel/params.c:201: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_int': kernel/params.c:201: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:201: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:201: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_int': kernel/params.c:201: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:202: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_uint': kernel/params.c:202: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:202: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:202: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_uint': kernel/params.c:202: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:203: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_long': kernel/params.c:203: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:203: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:203: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_long': kernel/params.c:203: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:204: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_ulong': kernel/params.c:204: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:204: error: dereferencing pointer to incomplete type CC arch/x86/kernel/cpu/feature_names.o fs/inode.c:1313: error: 'inode_lock' undeclared (first use in this function) fs/inode.c:1315: error: implicit declaration of function 'finish_wait' fs/inode.c: In function 'inode_double_lock': fs/inode.c:1327: error: 'NULL' undeclared (first use in this function) fs/inode.c:1329: error: dereferencing pointer to incomplete type fs/inode.c:1331: error: dereferencing pointer to incomplete type fs/inode.c:1336: error: implicit declaration of function 'mutex_lock_nested' fs/inode.c:1336: error: dereferencing pointer to incomplete type fs/inode.c:1336: error: 'I_MUTEX_PARENT' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c: In function 'show_cpuinfo': mm/memory.c:603: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:603: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'copy_pmd_range': mm/memory.c:605: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:605: error: 'src_pmd' undeclared (first use in this function) mm/memory.c:605: error: 'dst_pmd' undeclared (first use in this function) mm/memory.c:605: warning: left-hand operand of comma expression has no effect mm/memory.c:606: warning: ISO C90 forbids mixed declarations and code mm/memory.c:608: error: implicit declaration of function 'pmd_alloc' mm/memory.c:608: error: 'dst_pud' undeclared (first use in this function) mm/memory.c:610: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:611: error: 'src_pud' undeclared (first use in this function) mm/memory.c:617: warning: passing argument 1 of 'copy_pte_range' from incompatible pointer type mm/memory.c:617: warning: passing argument 2 of 'copy_pte_range' from incompatible pointer type mm/memory.c:617: warning: passing argument 5 of 'copy_pte_range' makes integer from pointer without a cast mm/memory.c:617: error: too many arguments to function 'copy_pte_range' mm/memory.c:619: warning: left-hand operand of comma expression has no effect mm/memory.c:619: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:624: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:624: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:625: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:625: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'copy_pud_range': mm/memory.c:627: error: 'pud_t' undeclared (first use in this function) mm/memory.c:627: error: 'src_pud' undeclared (first use in this function) mm/memory.c:627: error: 'dst_pud' undeclared (first use in this function) mm/memory.c:627: warning: left-hand operand of comma expression has no effect mm/memory.c:628: warning: ISO C90 forbids mixed declarations and code mm/memory.c:630: error: implicit declaration of function 'pud_alloc' mm/memory.c:630: error: 'dst_pgd' undeclared (first use in this function) mm/memory.c:632: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:633: error: 'src_pgd' undeclared (first use in this function) mm/memory.c:639: warning: passing argument 1 of 'copy_pmd_range' from incompatible pointer type mm/memory.c:639: warning: passing argument 2 of 'copy_pmd_range' from incompatible pointer type mm/memory.c:639: warning: passing argument 5 of 'copy_pmd_range' makes integer from pointer without a cast mm/memory.c:639: error: too many arguments to function 'copy_pmd_range' mm/memory.c:641: warning: left-hand operand of comma expression has no effect mm/memory.c:641: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:646: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:646: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'copy_page_range': mm/memory.c:648: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:648: error: 'src_pgd' undeclared (first use in this function) mm/memory.c:648: error: 'dst_pgd' undeclared (first use in this function) mm/memory.c:648: warning: left-hand operand of comma expression has no effect mm/memory.c:649: warning: ISO C90 forbids mixed declarations and code mm/memory.c:650: error: dereferencing pointer to incomplete type mm/memory.c:651: error: dereferencing pointer to incomplete type mm/memory.c:659: error: dereferencing pointer to incomplete type mm/memory.c:659: error: 'VM_HUGETLB' undeclared (first use in this function) mm/memory.c:659: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/memory.c:659: error: 'VM_PFNMAP' undeclared (first use in this function) mm/memory.c:659: error: 'VM_INSERTPAGE' undeclared (first use in this function) mm/memory.c:660: error: dereferencing pointer to incomplete type mm/memory.c:665: error: implicit declaration of function 'copy_hugetlb_page_range' mm/memory.c:674: warning: passing argument 1 of 'copy_pud_range' from incompatible pointer type mm/memory.c:674: warning: passing argument 2 of 'copy_pud_range' from incompatible pointer type mm/memory.c:674: warning: passing argument 5 of 'copy_pud_range' makes integer from pointer without a cast mm/memory.c:674: error: too many arguments to function 'copy_pud_range' mm/memory.c:675: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:676: warning: left-hand operand of comma expression has no effect mm/memory.c:676: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:681: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:683: warning: 'struct zap_details' declared inside parameter list mm/memory.c:683: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:683: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'zap_pte_range': mm/memory.c:685: error: dereferencing pointer to incomplete type mm/memory.c:686: error: 'pte_t' undeclared (first use in this function) mm/memory.c:686: error: 'pte' undeclared (first use in this function) mm/memory.c:687: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:687: error: 'ptl' undeclared (first use in this function) mm/memory.c:688: warning: ISO C90 forbids mixed declarations and code mm/memory.c:691: error: implicit declaration of function 'pte_offset_map_lock' mm/memory.c:691: error: 'pmd' undeclared (first use in this function) mm/memory.c:694: error: expected ';' before 'ptent' mm/memory.c:695: error: 'ptent' undeclared (first use in this function) mm/memory.c:700: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:705: warning: passing argument 1 of 'vm_normal_page' from incompatible pointer type mm/memory.c:705: error: too many arguments to function 'vm_normal_page' mm/memory.c:712: error: dereferencing pointer to incomplete type mm/memory.c:713: error: dereferencing pointer to incomplete type mm/memory.c:713: error: dereferencing pointer to incomplete type mm/memory.c:719: error: dereferencing pointer to incomplete type mm/memory.c:720: error: dereferencing pointer to incomplete type mm/memory.c:720: error: dereferencing pointer to incomplete type mm/memory.c:721: error: dereferencing pointer to incomplete type mm/memory.c:721: error: dereferencing pointer to incomplete type mm/memory.c:724: error: implicit declaration of function 'ptep_get_and_clear_full' mm/memory.c:725: error: dereferencing pointer to incomplete type mm/memory.c:726: error: implicit declaration of function 'tlb_remove_tlb_entry' mm/memory.c:729: error: dereferencing pointer to incomplete type mm/memory.c:730: error: implicit declaration of function 'linear_page_index' mm/memory.c:730: error: dereferencing pointer to incomplete type mm/memory.c:731: error: dereferencing pointer to incomplete type mm/memory.c:733: error: implicit declaration of function 'pgoff_to_pte' mm/memory.c:733: error: dereferencing pointer to incomplete type mm/memory.c:737: error: implicit declaration of function 'pte_dirty' mm/memory.c:738: error: implicit declaration of function 'set_page_dirty' mm/memory.c:739: error: implicit declaration of function 'pte_young' mm/memory.c:740: error: implicit declaration of function 'SetPageReferenced' mm/memory.c:743: error: implicit declaration of function 'page_remove_rmap' mm/memory.c:744: error: implicit declaration of function 'tlb_remove_page' mm/memory.c:754: error: implicit declaration of function 'free_swap_and_cache' mm/memory.c:754: error: implicit declaration of function 'pte_to_swp_entry' mm/memory.c:755: error: implicit declaration of function 'pte_clear_not_present_full' mm/memory.c:755: error: dereferencing pointer to incomplete type mm/memory.c:756: warning: left-hand operand of comma expression has no effect mm/memory.c:756: warning: left-hand operand of comma expression has no effect mm/memory.c:758: warning: passing argument 1 of 'add_mm_rss' from incompatible pointer type mm/memory.c: At top level: mm/memory.c:766: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:768: warning: 'struct zap_details' declared inside parameter list mm/memory.c:768: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:768: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'zap_pmd_range': mm/memory.c:770: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:770: error: 'pmd' undeclared (first use in this function) mm/memory.c:771: warning: ISO C90 forbids mixed declarations and code mm/memory.c:773: error: 'pud' undeclared (first use in this function) mm/memory.c:781: warning: passing argument 1 of 'zap_pte_range' from incompatible pointer type mm/memory.c:781: warning: passing argument 2 of 'zap_pte_range' from incompatible pointer type mm/memory.c:781: warning: passing argument 5 of 'zap_pte_range' makes pointer from integer without a cast mm/memory.c:781: warning: passing argument 6 of 'zap_pte_range' from incompatible pointer type mm/memory.c:781: error: too many arguments to function 'zap_pte_range' mm/memory.c:782: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:788: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:790: warning: 'struct zap_details' declared inside parameter list mm/memory.c:790: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:790: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'zap_pud_range': mm/memory.c:792: error: 'pud_t' undeclared (first use in this function) mm/memory.c:792: error: 'pud' undeclared (first use in this function) mm/memory.c:793: warning: ISO C90 forbids mixed declarations and code mm/memory.c:795: error: 'pgd' undeclared (first use in this function) mm/memory.c:803: warning: passing argument 1 of 'zap_pmd_range' from incompatible pointer type mm/memory.c:803: warning: passing argument 2 of 'zap_pmd_range' from incompatible pointer type mm/memory.c:803: warning: passing argument 5 of 'zap_pmd_range' makes pointer from integer without a cast mm/memory.c:803: warning: passing argument 6 of 'zap_pmd_range' from incompatible pointer type mm/memory.c:803: error: too many arguments to function 'zap_pmd_range' mm/memory.c:804: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:812: warning: 'struct zap_details' declared inside parameter list mm/memory.c:812: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:812: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'unmap_page_range': mm/memory.c:814: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:814: error: 'pgd' undeclared (first use in this function) mm/memory.c:815: warning: ISO C90 forbids mixed declarations and code mm/memory.c:817: error: dereferencing pointer to incomplete type mm/memory.c:817: error: dereferencing pointer to incomplete type mm/memory.c:818: error: 'NULL' undeclared (first use in this function) mm/memory.c:820: error: implicit declaration of function 'BUG_ON' mm/memory.c:821: error: implicit declaration of function 'tlb_start_vma' mm/memory.c:822: error: dereferencing pointer to incomplete type mm/memory.c:830: warning: passing argument 1 of 'zap_pud_range' from incompatible pointer type mm/memory.c:830: warning: passing argument 2 of 'zap_pud_range' from incompatible pointer type mm/memory.c:830: warning: passing argument 5 of 'zap_pud_range' makes pointer from integer without a cast mm/memory.c:830: warning: passing argument 6 of 'zap_pud_range' from incompatible pointer type mm/memory.c:830: error: too many arguments to function 'zap_pud_range' mm/memory.c:831: warning: left-hand operand of comma expression has no effect mm/memory.c:832: error: implicit declaration of function 'tlb_end_vma' mm/memory.c: At top level: mm/memory.c:873: warning: 'struct zap_details' declared inside parameter list mm/memory.c:873: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:873: warning: 'struct mmu_gather' declared inside parameter list mm/memory.c: In function 'unmap_vmas': mm/memory.c:875: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:879: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:879: error: 'i_mmap_lock' undeclared (first use in this function) mm/memory.c:879: error: dereferencing pointer to incomplete type mm/memory.c:879: error: 'NULL' undeclared (first use in this function) mm/memory.c:880: error: dereferencing pointer to incomplete type mm/memory.c:880: warning: ISO C90 forbids mixed declarations and code mm/memory.c:882: error: dereferencing pointer to incomplete type mm/memory.c:882: error: dereferencing pointer to incomplete type mm/memory.c:885: error: implicit declaration of function 'max' mm/memory.c:885: error: dereferencing pointer to incomplete type mm/memory.c:886: error: dereferencing pointer to incomplete type mm/memory.c:888: error: implicit declaration of function 'min' mm/memory.c:888: error: dereferencing pointer to incomplete type mm/memory.c:889: error: dereferencing pointer to incomplete type mm/memory.c:892: error: dereferencing pointer to incomplete type mm/memory.c:892: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/memory.c:893: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:902: error: implicit declaration of function 'unmap_hugepage_range' mm/memory.c:904: error: 'HPAGE_SIZE' undeclared (first use in this function) mm/memory.c:908: warning: passing argument 1 of 'unmap_page_range' from incompatible pointer type mm/memory.c:908: warning: passing argument 2 of 'unmap_page_range' from incompatible pointer type mm/memory.c:908: warning: passing argument 6 of 'unmap_page_range' from incompatible pointer type mm/memory.c:915: error: implicit declaration of function 'tlb_finish_mmu' mm/memory.c:926: error: implicit declaration of function 'tlb_gather_mmu' mm/memory.c:926: error: dereferencing pointer to incomplete type mm/memory.c:926: warning: assignment makes pointer from integer without a cast mm/memory.c: At top level: mm/memory.c:943: warning: 'struct zap_details' declared inside parameter list mm/memory.c:943: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'zap_page_range': mm/memory.c:945: error: dereferencing pointer to incomplete type mm/memory.c:950: error: implicit declaration of function 'lru_add_drain' mm/memory.c:951: warning: assignment makes pointer from integer without a cast mm/memory.c:952: error: implicit declaration of function 'update_hiwater_rss' mm/memory.c:953: warning: passing argument 1 of 'unmap_vmas' from incompatible pointer type mm/memory.c:953: warning: passing argument 2 of 'unmap_vmas' from incompatible pointer type mm/memory.c:953: warning: passing argument 6 of 'unmap_vmas' from incompatible pointer type mm/memory.c: At top level: mm/memory.c:963: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'follow_page': mm/memory.c:965: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:965: error: 'pgd' undeclared (first use in this function) mm/memory.c:966: error: 'pud_t' undeclared (first use in this function) mm/memory.c:966: error: 'pud' undeclared (first use in this function) mm/memory.c:967: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:967: error: 'pmd' undeclared (first use in this function) mm/memory.c:968: error: 'pte_t' undeclared (first use in this function) mm/memory.c:968: error: 'ptep' undeclared (first use in this function) mm/memory.c:968: error: 'pte' undeclared (first use in this function) mm/memory.c:968: warning: left-hand operand of comma expression has no effect mm/memory.c:969: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:969: error: 'ptl' undeclared (first use in this function) mm/memory.c:970: warning: ISO C90 forbids mixed declarations and code mm/memory.c:971: error: dereferencing pointer to incomplete type mm/memory.c:973: error: implicit declaration of function 'follow_huge_addr' mm/memory.c:973: error: 'FOLL_WRITE' undeclared (first use in this function) mm/memory.c:973: warning: assignment makes pointer from integer without a cast mm/memory.c:974: error: implicit declaration of function 'IS_ERR' mm/memory.c:975: error: 'FOLL_GET' undeclared (first use in this function) mm/memory.c:979: error: 'NULL' undeclared (first use in this function) mm/memory.c:981: error: implicit declaration of function 'pgd_none' mm/memory.c:981: error: implicit declaration of function 'pgd_bad' mm/memory.c:985: error: implicit declaration of function 'pud_none' mm/memory.c:985: error: implicit declaration of function 'pud_bad' mm/memory.c:989: error: implicit declaration of function 'pmd_none' mm/memory.c:992: error: implicit declaration of function 'pmd_huge' mm/memory.c:994: error: implicit declaration of function 'follow_huge_pmd' mm/memory.c:994: warning: assignment makes pointer from integer without a cast mm/memory.c:998: error: implicit declaration of function 'pmd_bad' mm/memory.c:1006: error: implicit declaration of function 'pte_write' mm/memory.c:1008: warning: passing argument 1 of 'vm_normal_page' from incompatible pointer type mm/memory.c:1008: error: too many arguments to function 'vm_normal_page' mm/memory.c:1014: error: 'FOLL_TOUCH' undeclared (first use in this function) mm/memory.c:1016: error: implicit declaration of function 'PageDirty' mm/memory.c:1018: error: implicit declaration of function 'mark_page_accessed' mm/memory.c:1027: error: implicit declaration of function 'ERR_PTR' mm/memory.c:1027: error: 'EFAULT' undeclared (first use in this function) mm/memory.c:1027: warning: return makes pointer from integer without a cast mm/memory.c:1039: error: 'FOLL_ANON' undeclared (first use in this function) mm/memory.c:1040: error: implicit declaration of function 'ZERO_PAGE' mm/memory.c:1040: warning: assignment makes pointer from integer without a cast mm/memory.c: At top level: mm/memory.c:1049: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'use_zero_page': mm/memory.c:1058: error: dereferencing pointer to incomplete type mm/memory.c:1058: error: 'VM_LOCKED' undeclared (first use in this function) mm/memory.c:1058: error: 'VM_SHARED' undeclared (first use in this function) mm/memory.c:1064: error: dereferencing pointer to incomplete type mm/memory.c:1065: error: dereferencing pointer to incomplete type mm/memory.c:1065: error: dereferencing pointer to incomplete type mm/memory.c: At top level: mm/memory.c:1070: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:1070: warning: 'struct mm_struct' declared inside parameter list mm/memory.c:1070: warning: 'struct task_struct' declared inside parameter list mm/memory.c: In function 'get_user_pages': mm/memory.c:1081: error: 'VM_WRITE' undeclared (first use in this function) mm/memory.c:1081: error: 'VM_MAYWRITE' undeclared (first use in this function) mm/memory.c:1081: error: 'VM_READ' undeclared (first use in this function) mm/memory.c:1081: error: 'VM_MAYREAD' undeclared (first use in this function) mm/memory.c:1089: error: implicit declaration of function 'find_extend_vma' mm/memory.c:1089: warning: assignment makes pointer from integer without a cast mm/memory.c:1090: error: implicit declaration of function 'in_gate_area' mm/memory.c:1091: error: 'PAGE_MASK' undeclared (first use in this function) mm/memory.c:1092: error: implicit declaration of function 'get_gate_vma' mm/memory.c:1092: warning: initialization makes pointer from integer without a cast mm/memory.c:1093: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:1093: error: 'pgd' undeclared (first use in this function) mm/memory.c:1094: error: 'pud_t' undeclared (first use in this function) mm/memory.c:1094: error: 'pud' undeclared (first use in this function) mm/memory.c:1095: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:1095: error: 'pmd' undeclared (first use in this function) mm/memory.c:1096: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1096: error: 'pte' undeclared (first use in this function) mm/memory.c:1098: error: 'EFAULT' undeclared (first use in this function) mm/memory.c:1099: error: 'TASK_SIZE' undeclared (first use in this function) mm/memory.c:1100: error: implicit declaration of function 'pgd_offset_k' mm/memory.c:1102: error: implicit declaration of function 'pgd_offset_gate' mm/memory.c:1109: error: implicit declaration of function 'pte_offset_map' mm/memory.c:1111: error: implicit declaration of function 'pte_unmap' mm/memory.c:1115: warning: passing argument 1 of 'vm_normal_page' from incompatible pointer type mm/memory.c:1115: error: too many arguments to function 'vm_normal_page' mm/memory.c:1124: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:1129: error: dereferencing pointer to incomplete type mm/memory.c:1129: error: 'VM_IO' undeclared (first use in this function) mm/memory.c:1129: error: 'VM_PFNMAP' undeclared (first use in this function) mm/memory.c:1130: error: dereferencing pointer to incomplete type mm/memory.c:1134: error: implicit declaration of function 'follow_hugetlb_page' mm/memory.c:1139: error: 'FOLL_TOUCH' undeclared (first use in this function) mm/memory.c:1141: error: 'FOLL_GET' undeclared (first use in this function) mm/memory.c:1142: warning: passing argument 1 of 'use_zero_page' from incompatible pointer type mm/memory.c:1143: error: 'FOLL_ANON' undeclared (first use in this function) mm/memory.c:1153: error: implicit declaration of function 'test_tsk_thread_flag' mm/memory.c:1153: error: 'TIF_MEMDIE' undeclared (first use in this function) mm/memory.c:1154: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1157: error: 'FOLL_WRITE' undeclared (first use in this function) mm/memory.c:1160: warning: passing argument 1 of 'follow_page' from incompatible pointer type mm/memory.c:1162: error: implicit declaration of function 'handle_mm_fault' mm/memory.c:1164: error: 'VM_FAULT_ERROR' undeclared (first use in this function) mm/memory.c:1165: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:1167: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/memory.c:1169: error: implicit declaration of function 'BUG' mm/memory.c:1171: error: 'VM_FAULT_MAJOR' undeclared (first use in this function) mm/memory.c:1172: error: dereferencing pointer to incomplete type mm/memory.c:1174: error: dereferencing pointer to incomplete type mm/memory.c:1183: error: 'VM_FAULT_WRITE' undeclared (first use in this function) mm/memory.c:1189: error: implicit declaration of function 'PTR_ERR' mm/memory.c:1193: error: implicit declaration of function 'flush_anon_page' mm/memory.c:1194: error: implicit declaration of function 'flush_dcache_page' mm/memory.c:1201: error: dereferencing pointer to incomplete type mm/memory.c: At top level: mm/memory.c:1205: warning: data definition has no type or storage class mm/memory.c:1205: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:1205: warning: parameter names (without types) in function declaration mm/memory.c:1207: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/memory.c:1228: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1228: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'insert_page': mm/memory.c:1230: error: dereferencing pointer to incomplete type mm/memory.c:1232: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1232: error: 'pte' undeclared (first use in this function) mm/memory.c:1233: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:1233: error: 'ptl' undeclared (first use in this function) mm/memory.c:1235: error: implicit declaration of function 'mem_cgroup_charge' mm/memory.c:1235: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:1239: error: 'EINVAL' undeclared (first use in this function) mm/memory.c:1242: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1244: error: implicit declaration of function 'get_locked_pte' mm/memory.c:1247: error: 'EBUSY' undeclared (first use in this function) mm/memory.c:1253: error: implicit declaration of function 'inc_mm_counter' mm/memory.c:1253: error: 'file_rss' undeclared (first use in this function) mm/memory.c:1254: error: implicit declaration of function 'page_add_file_rmap' mm/memory.c:1255: error: implicit declaration of function 'mk_pte' mm/memory.c:1255: error: 'prot' undeclared (first use in this function) mm/memory.c:1263: error: implicit declaration of function 'mem_cgroup_uncharge_page' mm/memory.c: At top level: mm/memory.c:1291: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'vm_insert_page': mm/memory.c:1293: error: dereferencing pointer to incomplete type mm/memory.c:1293: error: dereferencing pointer to incomplete type mm/memory.c:1294: error: 'EFAULT' undeclared (first use in this function) mm/memory.c:1295: error: implicit declaration of function 'page_count' mm/memory.c:1296: error: 'EINVAL' undeclared (first use in this function) mm/memory.c:1297: error: dereferencing pointer to incomplete type mm/memory.c:1297: error: 'VM_INSERTPAGE' undeclared (first use in this function) mm/memory.c:1298: error: dereferencing pointer to incomplete type mm/memory.c:1298: warning: passing argument 1 of 'insert_page' from incompatible pointer type mm/memory.c:1298: error: too many arguments to function 'insert_page' mm/memory.c: At top level: mm/memory.c:1300: warning: data definition has no type or storage class mm/memory.c:1300: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:1300: warning: parameter names (without types) in function declaration mm/memory.c:1303: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1303: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'insert_pfn': mm/memory.c:1305: error: dereferencing pointer to incomplete type mm/memory.c:1307: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1307: error: 'pte' undeclared (first use in this function) mm/memory.c:1307: error: 'entry' undeclared (first use in this function) mm/memory.c:1307: warning: left-hand operand of comma expression has no effect mm/memory.c:1308: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:1308: error: 'ptl' undeclared (first use in this function) mm/memory.c:1310: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1314: error: 'EBUSY' undeclared (first use in this function) mm/memory.c:1319: error: implicit declaration of function 'pte_mkspecial' mm/memory.c:1319: error: implicit declaration of function 'pfn_pte' mm/memory.c:1319: error: 'prot' undeclared (first use in this function) mm/memory.c:1321: error: implicit declaration of function 'update_mmu_cache' mm/memory.c: At top level: mm/memory.c:1343: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'vm_insert_pfn': mm/memory.c:1351: error: dereferencing pointer to incomplete type mm/memory.c:1351: error: 'VM_PFNMAP' undeclared (first use in this function) mm/memory.c:1351: error: 'VM_MIXEDMAP' undeclared (first use in this function) mm/memory.c:1352: error: dereferencing pointer to incomplete type mm/memory.c:1354: error: dereferencing pointer to incomplete type mm/memory.c:1354: error: dereferencing pointer to incomplete type mm/memory.c:1355: error: dereferencing pointer to incomplete type mm/memory.c:1357: error: dereferencing pointer to incomplete type mm/memory.c:1357: error: dereferencing pointer to incomplete type mm/memory.c:1358: error: 'EFAULT' undeclared (first use in this function) mm/memory.c:1359: error: dereferencing pointer to incomplete type mm/memory.c:1359: warning: passing argument 1 of 'insert_pfn' from incompatible pointer type mm/memory.c:1359: error: too many arguments to function 'insert_pfn' mm/memory.c: At top level: mm/memory.c:1361: warning: data definition has no type or storage class mm/memory.c:1361: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:1361: warning: parameter names (without types) in function declaration mm/memory.c:1364: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'vm_insert_mixed': mm/memory.c:1366: error: dereferencing pointer to incomplete type mm/memory.c:1366: error: 'VM_MIXEDMAP' undeclared (first use in this function) mm/memory.c:1368: error: dereferencing pointer to incomplete type mm/memory.c:1368: error: dereferencing pointer to incomplete type mm/memory.c:1369: error: 'EFAULT' undeclared (first use in this function) mm/memory.c:1380: warning: assignment makes pointer from integer without a cast mm/memory.c:1381: error: dereferencing pointer to incomplete type mm/memory.c:1381: warning: passing argument 1 of 'insert_page' from incompatible pointer type mm/memory.c:1381: error: too many arguments to function 'insert_page' mm/memory.c:1383: error: dereferencing pointer to incomplete type mm/memory.c:1383: warning: passing argument 1 of 'insert_pfn' from incompatible pointer type mm/memory.c:1383: error: too many arguments to function 'insert_pfn' mm/memory.c: At top level: mm/memory.c:1385: warning: data definition has no type or storage class mm/memory.c:1385: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:1385: warning: parameter names (without types) in function declaration mm/memory.c:1392: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:1394: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1394: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'remap_pte_range': mm/memory.c:1396: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1396: error: 'pte' undeclared (first use in this function) mm/memory.c:1397: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:1397: error: 'ptl' undeclared (first use in this function) mm/memory.c:1399: error: 'pmd' undeclared (first use in this function) mm/memory.c:1401: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1405: error: 'prot' undeclared (first use in this function) mm/memory.c:1407: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:1407: warning: left-hand operand of comma expression has no effect mm/memory.c:1407: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1413: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:1415: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1415: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'remap_pmd_range': mm/memory.c:1417: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:1417: error: 'pmd' undeclared (first use in this function) mm/memory.c:1418: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1420: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:1421: error: 'pud' undeclared (first use in this function) mm/memory.c:1423: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1427: error: 'prot' undeclared (first use in this function) mm/memory.c:1427: warning: passing argument 1 of 'remap_pte_range' from incompatible pointer type mm/memory.c:1427: error: too many arguments to function 'remap_pte_range' mm/memory.c:1429: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1433: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:1435: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1435: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'remap_pud_range': mm/memory.c:1437: error: 'pud_t' undeclared (first use in this function) mm/memory.c:1437: error: 'pud' undeclared (first use in this function) mm/memory.c:1438: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1440: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:1441: error: 'pgd' undeclared (first use in this function) mm/memory.c:1443: error: 'ENOMEM' undeclared (first use in this function) cc1: kernel/params.c: At top level:fs/inode.c:1337: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:95: error: dereferencing pointer to incomplete typefs/inode.c:1337: error: 'I_MUTEX_CHILD' undeclared (first use in this function) mm/memory.c:1447: error: 'prot' undeclared (first use in this function)error: fs/inode.c:1339: error: dereferencing pointer to incomplete type kernel/params.c:204: warning: 'struct kernel_param' declared inside parameter listinclude/linux/autoconf.h: No such file or directory fs/inode.c:1340: error: dereferencing pointer to incomplete type mm/memory.c:1447: warning: passing argument 1 of 'remap_pmd_range' from incompatible pointer type mm/memory.c:1447: error: too many arguments to function 'remap_pmd_range' fs/inode.c: At top level: fs/inode.c:1343: warning: data definition has no type or storage class fs/inode.c:1343: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1343: warning: parameter names (without types) in function declaration fs/inode.c: In function 'inode_double_unlock': fs/inode.c:1348: error: dereferencing pointer to incomplete type fs/inode.c:1351: error: dereferencing pointer to incomplete type fs/inode.c: At top level: fs/inode.c:1353: warning: data definition has no type or storage class fs/inode.c:1353: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1353: warning: parameter names (without types) in function declaration fs/inode.c:1355: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' fs/inode.c:1356: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_ihash_entries' arch/x86/kernel/cpu/proc.c:95: error: dereferencing pointer to incomplete type fs/inode.c:1363: error: expected declaration specifiers or '...' before string constant fs/inode.c:1363: error: expected declaration specifiers or '...' before 'set_ihash_entries' fs/inode.c:1363: warning: data definition has no type or storage class fs/inode.c:1363: warning: type defaults to 'int' in declaration of '__setup' kernel/params.c: In function 'param_get_ulong': kernel/params.c:204: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:206: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_charp': kernel/params.c:209: error: 'KERN_ERR' undeclared (first use in this function) kernel/params.c:209: error: expected ')' before string constant kernel/params.c:211: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:214: error: implicit declaration of function 'strlen' kernel/params.c:215: error: expected ')' before string constant kernel/params.c:217: error: 'ENOSPC' undeclared (first use in this function) kernel/params.c:220: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:224: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_charp': kernel/params.c:226: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:229: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_bool': kernel/params.c:237: error: dereferencing pointer to incomplete type mm/memory.c:1449: warning: left-hand operand of comma expression has no effectarch/x86/kernel/cpu/feature_names.c:7:28: arch/x86/kernel/cpu/proc.c:96: error: dereferencing pointer to incomplete type fs/inode.c:1363: warning: function declaration isn't a prototypearch/x86/kernel/cpu/proc.c:97: error: dereferencing pointer to incomplete type kernel/params.c:240: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:98: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:98: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:100: error: dereferencing pointer to incomplete type error: fs/inode.c:1368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inode_init_early' fs/inode.c:1392: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inode_init' fs/inode.c:1423: error: expected declaration specifiers or '...' before 'umode_t' mm/memory.c: At top level: kernel/params.c:243: error: 'EINVAL' undeclared (first use in this function)arch/x86/kernel/cpu/proc.c:100: error: dereferencing pointer to incomplete type fs/inode.c:1423: error: expected declaration specifiers or '...' before 'dev_t' arch/x86/kernel/cpu/proc.c:101: error: dereferencing pointer to incomplete typefs/inode.c: In function 'init_special_inode': asm/cpufeature.h: No such file or directorymm/memory.c:1464: error: expected declaration specifiers or '...' before 'pgprot_t' mm/memory.c:1464: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'remap_pfn_range':arch/x86/kernel/cpu/proc.c:105: error: implicit declaration of function 'cpu_has' fs/inode.c:1425: error: dereferencing pointer to incomplete typearch/x86/kernel/cpu/proc.c:105: error: 'X86_FEATURE_TSC' undeclared (first use in this function) mm/memory.c:1466: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:1466: error: 'pgd' undeclared (first use in this function) kernel/params.c: At top level: arch/x86/kernel/cpu/feature_names.c:17: error: 'NCAPINTS' undeclared here (not in a function) fs/inode.c:1425: error: 'mode' undeclared (first use in this function) fs/inode.c:1427: error: dereferencing pointer to incomplete type fs/inode.c:1427: error: 'def_chr_fops' undeclared (first use in this function) arch/x86/kernel/cpu/feature_names.c:20: error: 'NULL' undeclared here (not in a function)fs/inode.c:1428: error: dereferencing pointer to incomplete type kernel/params.c:246: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_bool': kernel/params.c:249: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:252: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_invbool': kernel/params.c:255: error: storage size of 'dummy' isn't known kernel/params.c:260: error: dereferencing pointer to incomplete type kernel/params.c:255: warning: unused variable 'dummy' kernel/params.c: At top level: kernel/params.c:264: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_invbool': kernel/params.c:266: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:274: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_array': kernel/params.c:278: error: storage size of 'kp' isn't known kernel/params.c:287: error: 'KERN_ERR' undeclared (first use in this function) kernel/params.c:287: error: expected ')' before string constant kernel/params.c:288: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:297: error: expected ')' before string constant kernel/params.c:301: error: implicit declaration of function 'strcspn' kernel/params.c:316: error: expected ')' before string constant kernel/params.c:278: warning: unused variable 'kp' kernel/params.c: At top level: kernel/params.c:323: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_array_set': kernel/params.c:325: error: dereferencing pointer to incomplete type kernel/params.c:328: error: dereferencing pointer to incomplete type kernel/params.c:328: error: dereferencing pointer to incomplete type kernel/params.c:328: error: dereferencing pointer to incomplete type kernel/params.c:329: error: dereferencing pointer to incomplete type kernel/params.c:329: error: dereferencing pointer to incomplete type kernel/params.c:329: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:332: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_array_get': kernel/params.c:335: error: dereferencing pointer to incomplete type kernel/params.c:336: error: storage size of 'p' isn't known kernel/params.c:338: error: dereferencing pointer to incomplete type kernel/params.c:339: error: dereferencing pointer to incomplete type kernel/params.c:339: error: dereferencing pointer to incomplete type kernel/params.c:339: error: dereferencing pointer to incomplete type kernel/params.c:342: error: dereferencing pointer to incomplete type kernel/params.c:342: error: dereferencing pointer to incomplete type kernel/params.c:343: error: dereferencing pointer to incomplete type kernel/params.c:336: warning: unused variable 'p' kernel/params.c: At top level: kernel/params.c:352: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_set_copystring': kernel/params.c:354: error: dereferencing pointer to incomplete type kernel/params.c:357: error: 'KERN_ERR' undeclared (first use in this function) kernel/params.c:357: error: expected ')' before string constant kernel/params.c:358: error: 'EINVAL' undeclared (first use in this function) kernel/params.c:360: error: dereferencing pointer to incomplete type kernel/params.c:361: error: expected ')' before string constant kernel/params.c:363: error: 'ENOSPC' undeclared (first use in this function) mm/memory.c:1467: warning: ISO C90 forbids mixed declarations and codekernel/params.c:365: error: implicit declaration of function 'strcpy' arch/x86/kernel/cpu/proc.c:105: error: (Each undeclared identifier is reported only once fs/inode.c:1428: error: 'rdev' undeclared (first use in this function) fs/inode.c:1430: error: dereferencing pointer to incomplete type mm/memory.c:1468: error: implicit declaration of function 'PAGE_ALIGN'kernel/params.c:365: error: dereferencing pointer to incomplete typearch/x86/kernel/cpu/proc.c:105: error: for each function it appears in.) fs/inode.c:1430: error: 'def_blk_fops' undeclared (first use in this function) fs/inode.c:1431: error: dereferencing pointer to incomplete typearch/x86/kernel/cpu/proc.c:106: error: implicit declaration of function 'cpufreq_quick_get' arch/x86/kernel/cpu/proc.c:109: error: 'cpu_khz' undeclared (first use in this function) fs/inode.c:1432: error: implicit declaration of function 'S_ISFIFO' fs/inode.c:1433: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:115: error: dereferencing pointer to incomplete type fs/inode.c:1433: error: 'def_fifo_fops' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:116: error: dereferencing pointer to incomplete type fs/inode.c:1434: error: implicit declaration of function 'S_ISSOCK' arch/x86/kernel/cpu/proc.c:118: warning: passing argument 1 of 'show_cpuinfo_core' from incompatible pointer type fs/inode.c:1435: error: dereferencing pointer to incomplete type fs/inode.c:1435: error: 'bad_sock_fops' undeclared (first use in this function) fs/inode.c:1437: error: implicit declaration of function 'printk' kernel/params.c: At top level:arch/x86/kernel/cpu/proc.c:118: warning: passing argument 2 of 'show_cpuinfo_core' from incompatible pointer typefs/inode.c:1437: error: 'KERN_DEBUG' undeclared (first use in this function) fs/inode.c:1437: error: expected ')' before string constant kernel/params.c:369: warning: 'struct kernel_param' declared inside parameter list kernel/params.c: In function 'param_get_string': kernel/params.c:371: error: dereferencing pointer to incomplete typefs/inode.c: At top level: fs/inode.c:1440: warning: data definition has no type or storage class fs/inode.c:1440: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/inode.c:1440: warning: parameter names (without types) in function declaration arch/x86/kernel/cpu/proc.c:119: warning: passing argument 1 of 'show_cpuinfo_misc' from incompatible pointer type arch/x86/kernel/cpu/proc.c:119: warning: passing argument 2 of 'show_cpuinfo_misc' from incompatible pointer type arch/x86/kernel/cpu/proc.c:122: error: 'NCAPINTS' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:123: error: 'x86_cap_flags' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:123: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:127: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:127: error: 'HZ' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:128: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:134: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:143: error: dereferencing pointer to incomplete type arch/x86/kernel/cpu/proc.c:144: error: implicit declaration of function 'ARRAY_SIZE' arch/x86/kernel/cpu/proc.c:144: error: 'x86_power_flags' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c: At top level: arch/x86/kernel/cpu/proc.c:159: error: expected declaration specifiers or '...' before 'loff_t' arch/x86/kernel/cpu/proc.c:159: warning: 'struct seq_file' declared inside parameter list kernel/params.c:372: error: implicit declaration of function 'strlcpy' kernel/params.c:372: error: dereferencing pointer to incomplete type kernel/params.c:372: error: dereferencing pointer to incomplete type kernel/params.c: At top level: kernel/params.c:377: error: array type has incomplete element type kernel/params.c:377: error: array type has incomplete element type kernel/params.c:381: error: field 'mattr' has incomplete type kernel/params.c:387: error: field 'grp' has incomplete type kernel/params.c:720: warning: data definition has no type or storage class kernel/params.c:720: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:720: warning: parameter names (without types) in function declaration kernel/params.c:721: warning: data definition has no type or storage class kernel/params.c:721: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:721: warning: parameter names (without types) in function declaration kernel/params.c:722: warning: data definition has no type or storage class kernel/params.c:722: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:722: warning: parameter names (without types) in function declaration kernel/params.c:723: warning: data definition has no type or storage class kernel/params.c:723: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:723: warning: parameter names (without types) in function declaration kernel/params.c:724: warning: data definition has no type or storage class kernel/params.c:724: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:724: warning: parameter names (without types) in function declaration kernel/params.c:725: warning: data definition has no type or storage class kernel/params.c:725: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:725: warning: parameter names (without types) in function declaration kernel/params.c:726: warning: data definition has no type or storage class kernel/params.c:726: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:726: warning: parameter names (without types) in function declaration kernel/params.c:727: warning: data definition has no type or storage class kernel/params.c:727: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:727: warning: parameter names (without types) in function declaration kernel/params.c:728: warning: data definition has no type or storage class kernel/params.c:728: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:728: warning: parameter names (without types) in function declaration kernel/params.c:729: warning: data definition has no type or storage class kernel/params.c:729: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:729: warning: parameter names (without types) in function declaration kernel/params.c:730: warning: data definition has no type or storage class kernel/params.c:730: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:730: warning: parameter names (without types) in function declaration kernel/params.c:731: warning: data definition has no type or storage class kernel/params.c:731: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:731: warning: parameter names (without types) in function declaration kernel/params.c:732: warning: data definition has no type or storage class kernel/params.c:732: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:732: warning: parameter names (without types) in function declaration kernel/params.c:733: warning: data definition has no type or storage class kernel/params.c:733: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:733: warning: parameter names (without types) in function declaration kernel/params.c:734: warning: data definition has no type or storage class kernel/params.c:734: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:734: warning: parameter names (without types) in function declaration kernel/params.c:735: warning: data definition has no type or storage class kernel/params.c:735: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:735: warning: parameter names (without types) in function declaration kernel/params.c:736: warning: data definition has no type or storage class kernel/params.c:736: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:736: warning: parameter names (without types) in function declaration kernel/params.c:737: warning: data definition has no type or storage class kernel/params.c:737: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:737: warning: parameter names (without types) in function declaration kernel/params.c:738: warning: data definition has no type or storage class kernel/params.c:738: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/params.c:738: warning: parameter names (without types) in function declaration kernel/params.c:739: warning: data definition has no type or storage classmm/memory.c:1469: error: dereferencing pointer to incomplete typearch/x86/kernel/cpu/proc.c: In function 'c_start': kernel/params.c:739: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/cpu/proc.c:161: error: 'pos' undeclared (first use in this function) kernel/params.c:739: warning: parameter names (without types) in function declaration kernel/params.c:740: warning: data definition has no type or storage class arch/x86/kernel/cpu/proc.c:162: error: implicit declaration of function 'first_cpu' kernel/params.c:740: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/cpu/proc.c:162: error: 'cpu_online_map' undeclared (first use in this function) kernel/params.c:740: warning: parameter names (without types) in function declaration kernel/params.c:741: warning: data definition has no type or storage classarch/x86/kernel/cpu/proc.c:163: error: 'nr_cpu_ids' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:163: error: implicit declaration of function 'cpu_online'kernel/params.c:741: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' make[1]: kernel/params.c:741: warning: parameter names (without types) in function declaration arch/x86/kernel/cpu/proc.c:164: error: implicit declaration of function 'cpu_data' *** [fs/inode.o] Error 1arch/x86/kernel/cpu/proc.c:164: error: invalid lvalue in unary '&' kernel/params.c:742: warning: data definition has no type or storage classarch/x86/kernel/cpu/proc.c:165: error: 'NULL' undeclared (first use in this function) kernel/params.c:742: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/cpu/proc.c: At top level: mm/memory.c:1490: error: dereferencing pointer to incomplete typemake[2]: *** [arch/x86/kernel/cpu/feature_names.o] Error 1 kernel/params.c:742: warning: parameter names (without types) in function declaration arch/x86/kernel/cpu/proc.c:168: error: expected declaration specifiers or '...' before 'loff_t' kernel/params.c:743: warning: data definition has no type or storage class kernel/params.c:743: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/cpu/proc.c:168: warning: 'struct seq_file' declared inside parameter list kernel/params.c:743: warning: parameter names (without types) in function declaration arch/x86/kernel/cpu/proc.c: In function 'c_next': arch/x86/kernel/cpu/proc.c:170: error: 'pos' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:170: error: implicit declaration of function 'next_cpu' arch/x86/kernel/cpu/proc.c:170: error: 'cpu_online_map' undeclared (first use in this function) arch/x86/kernel/cpu/proc.c:171: warning: passing argument 1 of 'c_start' from incompatible pointer type arch/x86/kernel/cpu/proc.c:171: error: too many arguments to function 'c_start' arch/x86/kernel/cpu/proc.c: At top level: arch/x86/kernel/cpu/proc.c:174: warning: 'struct seq_file' declared inside parameter list arch/x86/kernel/cpu/proc.c:178: error: variable 'cpuinfo_op' has initializer but incomplete type arch/x86/kernel/cpu/proc.c:179: error: unknown field 'start' specified in initializer arch/x86/kernel/cpu/proc.c:179: warning: excess elements in struct initializer arch/x86/kernel/cpu/proc.c:179: warning: (near initialization for 'cpuinfo_op') arch/x86/kernel/cpu/proc.c:180: error: unknown field 'next' specified in initializer arch/x86/kernel/cpu/proc.c:180: warning: excess elements in struct initializer arch/x86/kernel/cpu/proc.c:180: warning: (near initialization for 'cpuinfo_op') arch/x86/kernel/cpu/proc.c:181: error: unknown field 'stop' specified in initializer arch/x86/kernel/cpu/proc.c:181: warning: excess elements in struct initializer arch/x86/kernel/cpu/proc.c:181: warning: (near initialization for 'cpuinfo_op') arch/x86/kernel/cpu/proc.c:182: error: unknown field 'show' specified in initializer arch/x86/kernel/cpu/proc.c:182: warning: excess elements in struct initializer arch/x86/kernel/cpu/proc.c:182: warning: (near initialization for 'cpuinfo_op') mm/memory.c:1491: error: dereferencing pointer to incomplete type mm/memory.c:1491: error: dereferencing pointer to incomplete type mm/memory.c:1492: error: 'EINVAL' undeclared (first use in this function) mm/memory.c:1493: error: dereferencing pointer to incomplete type mm/memory.c:1496: error: dereferencing pointer to incomplete type mm/memory.c:1496: error: 'VM_IO' undeclared (first use in this function) mm/memory.c:1496: error: 'VM_RESERVED' undeclared (first use in this function) mm/memory.c:1496: error: 'VM_PFNMAP' undeclared (first use in this function) mm/memory.c:1499: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:1501: error: implicit declaration of function 'flush_cache_range' mm/memory.c:1505: error: 'prot' undeclared (first use in this function) mm/memory.c:1505: warning: passing argument 1 of 'remap_pud_range' from incompatible pointer type mm/memory.c:1505: error: too many arguments to function 'remap_pud_range' mm/memory.c:1508: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1511: warning: data definition has no type or storage class mm/memory.c:1511: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:1511: warning: parameter names (without types) in function declaration mm/memory.c:1513: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:1515: error: expected declaration specifiers or '...' before 'pte_fn_t' mm/memory.c:1515: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'apply_to_pte_range': mm/memory.c:1517: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1517: error: 'pte' undeclared (first use in this function) mm/memory.c:1518: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1519: error: 'pgtable_t' undeclared (first use in this function) mm/memory.c:1519: error: expected ';' before 'token' mm/memory.c:1520: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:1520: error: implicit declaration of function 'uninitialized_var' mm/memory.c:1520: error: 'ptl' undeclared (first use in this function) mm/memory.c:1522: error: 'init_mm' undeclared (first use in this function) mm/memory.c:1523: error: implicit declaration of function 'pte_alloc_kernel' mm/memory.c:1523: error: 'pmd' undeclared (first use in this function) mm/memory.c:1526: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1530: error: 'token' undeclared (first use in this function) mm/memory.c:1530: error: implicit declaration of function 'pmd_pgtable' mm/memory.c:1533: error: implicit declaration of function 'fn' mm/memory.c:1536: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:1536: warning: left-hand operand of comma expression has no effect mm/memory.c:1536: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1543: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:1545: error: expected declaration specifiers or '...' before 'pte_fn_t' mm/memory.c:1545: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'apply_to_pmd_range': mm/memory.c:1547: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:1547: error: 'pmd' undeclared (first use in this function) mm/memory.c:1548: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1551: error: 'pud' undeclared (first use in this function) mm/memory.c:1553: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1556: error: 'fn' undeclared (first use in this function) mm/memory.c:1556: warning: passing argument 1 of 'apply_to_pte_range' from incompatible pointer type mm/memory.c:1556: warning: passing argument 4 of 'apply_to_pte_range' makes pointer from integer without a cast CC fs/attr.o mm/memory.c:1556: error: too many arguments to function 'apply_to_pte_range' mm/memory.c:1559: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1563: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:1565: error: expected declaration specifiers or '...' before 'pte_fn_t' mm/memory.c:1565: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'apply_to_pud_range': mm/memory.c:1567: error: 'pud_t' undeclared (first use in this function) mm/memory.c:1567: error: 'pud' undeclared (first use in this function) mm/memory.c:1568: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1571: error: 'pgd' undeclared (first use in this function) mm/memory.c:1573: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:1576: error: 'fn' undeclared (first use in this function) mm/memory.c:1576: warning: passing argument 1 of 'apply_to_pmd_range' from incompatible pointer type mm/memory.c:1576: warning: passing argument 4 of 'apply_to_pmd_range' makes pointer from integer without a cast mm/memory.c:1576: error: too many arguments to function 'apply_to_pmd_range' mm/memory.c:1579: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1588: error: expected declaration specifiers or '...' before 'pte_fn_t' mm/memory.c:1588: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'apply_to_page_range': mm/memory.c:1590: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:1590: error: 'pgd' undeclared (first use in this function) mm/memory.c:1591: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1599: error: 'fn' undeclared (first use in this function) mm/memory.c:1599: warning: passing argument 1 of 'apply_to_pud_range' from incompatible pointer type mm/memory.c:1599: warning: passing argument 4 of 'apply_to_pud_range' makes pointer from integer without a cast mm/memory.c:1599: error: too many arguments to function 'apply_to_pud_range' mm/memory.c:1602: warning: left-hand operand of comma expression has no effect mm/memory.c: At top level: mm/memory.c:1605: warning: data definition has no type or storage class mm/memory.c:1605: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/memory.c:1605: warning: parameter names (without types) in function declaration mm/memory.c:1616: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:1617: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:1617: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:1617: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'pte_unmap_same': mm/memory.c:1628: error: 'page_table' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:1638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'maybe_mkwrite' mm/memory.c:1645: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'cow_user_page': mm/memory.c:1654: error: implicit declaration of function 'kmap_atomic' mm/memory.c:1654: error: 'KM_USER0' undeclared (first use in this function) mm/memory.c:1654: warning: initialization makes pointer from integer without a cast mm/memory.c:1655: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/memory.c:1655: error: 'uaddr' undeclared (first use in this function) mm/memory.c:1655: error: expected ')' before '__user' make[1]: mm/memory.c:1655: error: 'PAGE_MASK' undeclared (first use in this function) *** [kernel/params.o] Error 1 mm/memory.c:1663: error: implicit declaration of function '__copy_from_user_inatomic' make[2]: *** [arch/x86/kernel/cpu/proc.o] Error 1 CC kernel/posix-timers.o mm/memory.c:1663: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:1664: error: implicit declaration of function 'memset' mm/memory.c:1665: error: implicit declaration of function 'kunmap_atomic' mm/memory.c:1668: error: implicit declaration of function 'copy_user_highpage' mm/memory.c: At top level: mm/memory.c:1690: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:1690: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:1691: error: expected declaration specifiers or '...' before 'spinlock_t' mm/memory.c:1691: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:1691: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:1691: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'do_wp_page': mm/memory.c:1694: error: 'pte_t' undeclared (first use in this function) mm/memory.c:1694: error: expected ';' before 'entry' mm/memory.c:1695: warning: ISO C90 forbids mixed declarations and code mm/memory.c:1697: error: 'NULL' undeclared (first use in this function) mm/memory.c:1699: error: 'orig_pte' undeclared (first use in this function) mm/memory.c:1699: warning: passing argument 1 of 'vm_normal_page' from incompatible pointer type mm/memory.c:1699: error: too many arguments to function 'vm_normal_page' mm/memory.c:1708: error: dereferencing pointer to incomplete type mm/memory.c:1708: error: 'VM_WRITE' undeclared (first use in this function) mm/memory.c:1708: error: 'VM_SHARED' undeclared (first use in this function) mm/memory.c:1719: error: implicit declaration of function 'TestSetPageLocked' mm/memory.c:1720: error: implicit declaration of function 'can_share_swap_page' mm/memory.c:1721: error: implicit declaration of function 'unlock_page' mm/memory.c:1723: error: dereferencing pointer to incomplete type mm/memory.c:1730: error: dereferencing pointer to incomplete type mm/memory.c:1730: error: dereferencing pointer to incomplete type mm/memory.c:1739: error: implicit declaration of function 'page_cache_get' mm/memory.c:1740: error: 'page_table' undeclared (first use in this function) mm/memory.c:1740: error: 'ptl' undeclared (first use in this function) mm/memory.c:1742: error: dereferencing pointer to incomplete type mm/memory.c:1751: error: 'pmd' undeclared (first use in this function) mm/memory.c:1753: error: implicit declaration of function 'page_cache_release' mm/memory.c:1754: error: implicit declaration of function 'pte_same' mm/memory.c:1766: error: implicit declaration of function 'flush_cache_page' mm/memory.c:1767: error: 'entry' undeclared (first use in this function) mm/memory.c:1767: error: implicit declaration of function 'pte_mkyoung' mm/memory.c:1768: error: implicit declaration of function 'maybe_mkwrite' mm/memory.c:1768: error: implicit declaration of function 'pte_mkdirty' mm/memory.c:1769: error: implicit declaration of function 'ptep_set_access_flags' mm/memory.c:1771: error: 'VM_FAULT_WRITE' undeclared (first use in this function) mm/memory.c:1782: error: implicit declaration of function 'anon_vma_prepare' mm/memory.c:1784: warning: comparison between pointer and integer mm/memory.c:1785: error: implicit declaration of function 'alloc_page_vma' mm/memory.c:1785: error: 'GFP_HIGHUSER_MOVABLE' undeclared (first use in this function) mm/memory.c:1785: warning: assignment makes pointer from integer without a cast mm/memory.c:1788: warning: passing argument 4 of 'cow_user_page' from incompatible pointer type mm/memory.c:1789: error: implicit declaration of function '__SetPageUptodate' mm/memory.c:1791: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:1801: error: implicit declaration of function 'dec_mm_counter' mm/memory.c:1801: error: 'file_rss' undeclared (first use in this function) mm/memory.c:1802: error: 'anon_rss' undeclared (first use in this function) mm/memory.c:1807: error: dereferencing pointer to incomplete type mm/memory.c:1815: error: implicit declaration of function 'ptep_clear_flush' mm/memory.c:1818: error: implicit declaration of function 'lru_cache_add_active' mm/memory.c:1819: error: implicit declaration of function 'page_add_new_anon_rmap' mm/memory.c:1860: error: dereferencing pointer to incomplete type mm/memory.c:1861: error: implicit declaration of function 'file_update_time' mm/memory.c:1861: error: dereferencing pointer to incomplete type mm/memory.c:1871: error: implicit declaration of function 'wait_on_page_locked' mm/memory.c:1872: error: implicit declaration of function 'set_page_dirty_balance' mm/memory.c:1873: error: implicit declaration of function 'put_page' mm/memory.c:1881: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:1885: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:1922: warning: 'struct address_space' declared inside parameter list mm/memory.c: In function 'reset_vma_truncate_counts': mm/memory.c:1925: error: storage size of 'iter' isn't known mm/memory.c:1927: error: implicit declaration of function 'vma_prio_tree_foreach' mm/memory.c:1927: error: dereferencing pointer to incomplete type mm/memory.c:1927: error: 'ULONG_MAX' undeclared (first use in this function) mm/memory.c:1928: error: expected ';' before 'vma' mm/memory.c:1929: error: implicit declaration of function 'list_for_each_entry' mm/memory.c:1929: error: dereferencing pointer to incomplete type mm/memory.c:1929: error: 'shared' undeclared (first use in this function) mm/memory.c:1930: error: expected ';' before 'vma' mm/memory.c:1925: warning: unused variable 'iter' mm/memory.c: At top level: mm/memory.c:1935: warning: 'struct zap_details' declared inside parameter list mm/memory.c:1935: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c: In function 'unmap_mapping_range_vma': mm/memory.c:1948: error: dereferencing pointer to incomplete type CC arch/x86/kernel/vsmp_64.o mm/memory.c:1949: error: 'PAGE_MASK' undeclared (first use in this function) mm/memory.c:1953: error: dereferencing pointer to incomplete type mm/memory.c:1953: error: dereferencing pointer to incomplete type mm/memory.c:1959: warning: passing argument 1 of 'zap_page_range' from incompatible pointer type mm/memory.c:1959: warning: passing argument 4 of 'zap_page_range' from incompatible pointer type mm/memory.c:1960: error: dereferencing pointer to incomplete type mm/memory.c:1964: error: dereferencing pointer to incomplete type mm/memory.c:1964: error: dereferencing pointer to incomplete type mm/memory.c:1969: error: dereferencing pointer to incomplete type mm/memory.c:1974: error: dereferencing pointer to incomplete type mm/memory.c:1976: error: dereferencing pointer to incomplete type mm/memory.c:1977: error: 'EINTR' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:1981: warning: 'struct zap_details' declared inside parameter list mm/memory.c:1981: warning: 'struct prio_tree_root' declared inside parameter list mm/memory.c: In function 'unmap_mapping_range_tree': mm/memory.c:1984: error: storage size of 'iter' isn't known mm/memory.c:1985: error: 'pgoff_t' undeclared (first use in this function) mm/memory.c:1985: error: expected ';' before 'vba' mm/memory.c:1989: error: dereferencing pointer to incomplete type mm/memory.c:1989: error: dereferencing pointer to incomplete type mm/memory.c:1989: error: expected ';' before '{' token mm/memory.c:1987: warning: label 'restart' defined but not used mm/memory.c:1984: warning: unused variable 'iter' mm/memory.c: At top level: mm/memory.c:2013: warning: 'struct zap_details' declared inside parameter list mm/memory.c:2013: warning: 'struct list_head' declared inside parameter list mm/memory.c: In function 'unmap_mapping_range_list': mm/memory.c:2024: error: 'shared' undeclared (first use in this function) mm/memory.c:2024: error: expected ';' before '{' token mm/memory.c:2023: warning: label 'restart' defined but not used mm/memory.c: At top level: mm/memory.c:2050: error: expected declaration specifiers or '...' before 'loff_t' mm/memory.c:2050: error: expected declaration specifiers or '...' before 'loff_t' mm/memory.c:2050: warning: 'struct address_space' declared inside parameter list mm/memory.c: In function 'unmap_mapping_range': mm/memory.c:2052: error: storage size of 'details' isn't known mm/memory.c:2053: error: 'pgoff_t' undeclared (first use in this function) mm/memory.c:2053: error: expected ';' before 'hba' mm/memory.c:2054: error: expected ';' before 'hlen' mm/memory.c:2057: error: 'holelen' undeclared (first use in this function) mm/memory.c:2057: error: 'hlen' undeclared (first use in this function) mm/memory.c:2059: error: 'holebegin' undeclared (first use in this function) mm/memory.c:2059: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:2059: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/memory.c:2060: error: 'ULONG_MAX' undeclared (first use in this function) mm/memory.c:2061: error: 'hba' undeclared (first use in this function) mm/memory.c:2064: error: 'NULL' undeclared (first use in this function) mm/memory.c:2070: error: dereferencing pointer to incomplete type mm/memory.c:2072: error: dereferencing pointer to incomplete type mm/memory.c:2075: error: dereferencing pointer to incomplete type mm/memory.c:2076: error: dereferencing pointer to incomplete type mm/memory.c:2076: error: 'PAGE_MASK' undeclared (first use in this function) mm/memory.c:2077: error: dereferencing pointer to incomplete type mm/memory.c:2078: warning: passing argument 1 of 'reset_vma_truncate_counts' from incompatible pointer type mm/memory.c:2079: error: dereferencing pointer to incomplete type mm/memory.c:2081: error: dereferencing pointer to incomplete type mm/memory.c:2083: error: implicit declaration of function 'prio_tree_empty' mm/memory.c:2083: error: dereferencing pointer to incomplete type mm/memory.c:2084: error: dereferencing pointer to incomplete type mm/memory.c:2085: error: dereferencing pointer to incomplete type mm/memory.c:2086: error: dereferencing pointer to incomplete type mm/memory.c:2087: error: dereferencing pointer to incomplete type mm/memory.c:2052: warning: unused variable 'details' mm/memory.c: At top level: mm/memory.c:2089: warning: data definition has no type or storage class mm/memory.c:2089: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:2089: warning: parameter names (without types) in function declaration mm/memory.c:2100: error: expected declaration specifiers or '...' before 'loff_t' mm/memory.c:2100: warning: 'struct inode' declared inside parameter list mm/memory.c: In function 'vmtruncate': mm/memory.c:2102: error: dereferencing pointer to incomplete type mm/memory.c:2102: error: 'offset' undeclared (first use in this function) mm/memory.c:2105: error: 'current' undeclared (first use in this function) mm/memory.c:2105: error: 'RLIMIT_FSIZE' undeclared (first use in this function) mm/memory.c:2106: error: 'RLIM_INFINITY' undeclared (first use in this function) mm/memory.c:2108: error: dereferencing pointer to incomplete type mm/memory.c:2110: error: implicit declaration of function 'i_size_write' mm/memory.c:2112: error: dereferencing pointer to incomplete type mm/memory.c:2119: error: implicit declaration of function 'IS_SWAPFILE' mm/memory.c:2120: error: 'ETXTBSY' undeclared (first use in this function) mm/memory.c:2132: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:2132: warning: passing argument 1 of 'unmap_mapping_range' from incompatible pointer type mm/memory.c:2132: error: too many arguments to function 'unmap_mapping_range' mm/memory.c:2133: error: implicit declaration of function 'truncate_inode_pages' mm/memory.c:2134: warning: passing argument 1 of 'unmap_mapping_range' from incompatible pointer type mm/memory.c:2134: error: too many arguments to function 'unmap_mapping_range' mm/memory.c:2137: error: dereferencing pointer to incomplete type mm/memory.c:2137: error: dereferencing pointer to incomplete type mm/memory.c:2138: error: dereferencing pointer to incomplete type mm/memory.c:2142: error: implicit declaration of function 'send_sig' mm/memory.c:2142: error: 'SIGXFSZ' undeclared (first use in this function) mm/memory.c:2144: error: 'EFBIG' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:2146: warning: data definition has no type or storage class mm/memory.c:2146: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/memory.c:2146: warning: parameter names (without types) in function declaration mm/memory.c:2148: error: expected declaration specifiers or '...' before 'loff_t' mm/memory.c:2148: error: expected declaration specifiers or '...' before 'loff_t' mm/memory.c:2148: warning: 'struct inode' declared inside parameter list mm/memory.c: In function 'vmtruncate_range': mm/memory.c:2150: error: dereferencing pointer to incomplete type mm/memory.c:2157: error: dereferencing pointer to incomplete type mm/memory.c:2157: error: dereferencing pointer to incomplete type mm/memory.c:2158: error: 'ENOSYS' undeclared (first use in this function) mm/memory.c:2160: error: implicit declaration of function 'mutex_lock' mm/memory.c:2160: error: dereferencing pointer to incomplete type mm/memory.c:2161: error: implicit declaration of function 'down_write' mm/memory.c:2161: error: dereferencing pointer to incomplete type mm/memory.c:2162: error: 'offset' undeclared (first use in this function) mm/memory.c:2162: error: 'end' undeclared (first use in this function) mm/memory.c:2162: warning: passing argument 1 of 'unmap_mapping_range' from incompatible pointer type mm/memory.c:2162: error: too many arguments to function 'unmap_mapping_range' mm/memory.c:2163: error: implicit declaration of function 'truncate_inode_pages_range'make[2]: Target `__build' not remade because of errors. mm/memory.c:2164: warning: passing argument 1 of 'unmap_mapping_range' from incompatible pointer type mm/memory.c:2164: error: too many arguments to function 'unmap_mapping_range'make[1]: *** [arch/x86/kernel/cpu] Error 2mm/memory.c:2165: error: dereferencing pointer to incomplete type mm/memory.c:2166: error: implicit declaration of function 'up_write' mm/memory.c:2166: error: dereferencing pointer to incomplete type mm/memory.c:2167: error: implicit declaration of function 'mutex_unlock' mm/memory.c:2167: error: dereferencing pointer to incomplete type mm/memory.c: At top level: mm/memory.c:2178: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2178: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2179: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2179: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2179: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'do_swap_page': mm/memory.c:2181: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:2181: error: 'ptl' undeclared (first use in this function) mm/memory.c:2182: warning: ISO C90 forbids mixed declarations and code mm/memory.c:2183: error: 'swp_entry_t' undeclared (first use in this function) mm/memory.c:2183: error: expected ';' before 'entry' mm/memory.c:2184: error: 'pte_t' undeclared (first use in this function) mm/memory.c:2184: error: expected ';' before 'pte' mm/memory.c:2185: warning: ISO C90 forbids mixed declarations and code mm/memory.c:2187: error: 'pmd' undeclared (first use in this function) mm/memory.c:2187: error: 'page_table' undeclared (first use in this function) mm/memory.c:2187: error: 'orig_pte' undeclared (first use in this function) mm/memory.c:2187: warning: passing argument 1 of 'pte_unmap_same' from incompatible pointer type mm/memory.c:2187: error: too many arguments to function 'pte_unmap_same' mm/memory.c:2190: error: 'entry' undeclared (first use in this function) mm/memory.c:2191: error: implicit declaration of function 'is_migration_entry' mm/memory.c:2192: error: implicit declaration of function 'migration_entry_wait' mm/memory.c:2195: error: implicit declaration of function 'delayacct_set_flag' mm/memory.c:2195: error: 'DELAYACCT_PF_SWAPIN' undeclared (first use in this function) mm/memory.c:2196: error: implicit declaration of function 'lookup_swap_cache' mm/memory.c:2196: warning: assignment makes pointer from integer without a cast mm/memory.c:2198: error: implicit declaration of function 'grab_swap_token' mm/memory.c:2199: error: implicit declaration of function 'swapin_readahead' mm/memory.c:2200: error: 'GFP_HIGHUSER_MOVABLE' undeclared (first use in this function) mm/memory.c:2200: warning: assignment makes pointer from integer without a cast mm/memory.c:2208: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:2209: error: implicit declaration of function 'delayacct_clear_flag' mm/memory.c:2214: error: 'VM_FAULT_MAJOR' undeclared (first use in this function) mm/memory.c:2215: error: implicit declaration of function 'count_vm_event' mm/memory.c:2215: error: 'PGMAJFAULT' undeclared (first use in this function) mm/memory.c:2218: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:2225: error: implicit declaration of function 'lock_page' mm/memory.c:2235: error: implicit declaration of function 'PageUptodate' mm/memory.c:2236: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/memory.c:2242: error: 'anon_rss' undeclared (first use in this function) mm/memory.c:2243: error: 'pte' undeclared (first use in this function) mm/memory.c:2243: error: dereferencing pointer to incomplete type mm/memory.c:2249: error: implicit declaration of function 'flush_icache_page' CC mm/mlock.o mm/memory.c:2251: error: implicit declaration of function 'page_add_anon_rmap' mm/memory.c:2253: error: implicit declaration of function 'swap_free' mm/memory.c:2254: error: implicit declaration of function 'vm_swap_full' mm/memory.c:2255: error: implicit declaration of function 'remove_exclusive_swap_page' mm/memory.c:2259: warning: passing argument 1 of 'do_wp_page' from incompatible pointer type mm/memory.c:2259: warning: passing argument 2 of 'do_wp_page' from incompatible pointer type mm/memory.c:2259: error: too many arguments to function 'do_wp_page' mm/memory.c:2260: error: 'VM_FAULT_ERROR' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:2285: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2285: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2286: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2286: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'do_anonymous_page': mm/memory.c:2289: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:2289: error: 'ptl' undeclared (first use in this function) mm/memory.c:2290: error: 'pte_t' undeclared (first use in this function) mm/memory.c:2290: error: expected ';' before 'entry' mm/memory.c:2293: error: 'page_table' undeclared (first use in this function) mm/memory.c:2297: error: implicit declaration of function 'alloc_zeroed_user_highpage_movable' mm/memory.c:2297: warning: assignment makes pointer from integer without a cast mm/memory.c:2302: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:2305: error: 'entry' undeclared (first use in this function) mm/memory.c:2305: error: dereferencing pointer to incomplete type mm/memory.c:2308: error: 'pmd' undeclared (first use in this function) mm/memory.c:2311: error: 'anon_rss' undeclared (first use in this function) mm/memory.c:2328: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:2345: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2346: error: expected declaration specifiers or '...' before 'pgoff_t' mm/memory.c:2346: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2346: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2346: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function '__do_fault': mm/memory.c:2348: error: 'pte_t' undeclared (first use in this function) mm/memory.c:2348: error: 'page_table' undeclared (first use in this function) mm/memory.c:2349: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:2349: error: 'ptl' undeclared (first use in this function) mm/memory.c:2350: warning: ISO C90 forbids mixed declarations and code mm/memory.c:2351: error: expected ';' before 'entry' mm/memory.c:2352: warning: ISO C90 forbids mixed declarations and code mm/memory.c:2353: error: 'NULL' undeclared (first use in this function) mm/memory.c:2354: error: storage size of 'vmf' isn't known mm/memory.c:2358: error: expected ')' before '__user' mm/memory.c:2358: error: 'PAGE_MASK' undeclared (first use in this function) mm/memory.c:2359: error: 'pgoff' undeclared (first use in this function) mm/memory.c:2363: error: dereferencing pointer to incomplete type mm/memory.c:2364: error: 'VM_FAULT_ERROR' undeclared (first use in this function) mm/memory.c:2364: error: 'VM_FAULT_NOPAGE' undeclared (first use in this function) mm/memory.c:2371: error: 'VM_FAULT_LOCKED' undeclared (first use in this function) mm/memory.c:2374: error: implicit declaration of function 'PageLocked' mm/memory.c:2380: error: 'FAULT_FLAG_WRITE' undeclared (first use in this function) mm/memory.c:2381: error: dereferencing pointer to incomplete type mm/memory.c:2381: error: 'VM_SHARED' undeclared (first use in this function) mm/memory.c:2384: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:2387: error: 'GFP_HIGHUSER_MOVABLE' undeclared (first use in this function) mm/memory.c:2388: warning: assignment makes pointer from integer without a cast mm/memory.c:2401: error: dereferencing pointer to incomplete type mm/memory.c:2403: error: dereferencing pointer to incomplete type mm/memory.c:2404: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/memory.c:2416: error: dereferencing pointer to incomplete type mm/memory.c:2427: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:2432: error: 'pmd' undeclared (first use in this function) mm/memory.c:2445: error: 'orig_pte' undeclared (first use in this function) mm/memory.c:2447: error: 'entry' undeclared (first use in this function) mm/memory.c:2447: error: dereferencing pointer to incomplete type mm/memory.c:2452: error: 'anon_rss' undeclared (first use in this function) mm/memory.c:2456: error: 'file_rss' undeclared (first use in this function) mm/memory.c:2482: error: dereferencing pointer to incomplete type mm/memory.c:2483: error: dereferencing pointer to incomplete type mm/memory.c:2354: warning: unused variable 'vmf' mm/memory.c: At top level: mm/memory.c:2493: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2493: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2494: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2494: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2494: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'do_linear_fault': mm/memory.c:2496: error: 'pgoff_t' undeclared (first use in this function) mm/memory.c:2496: error: expected ';' before 'pgoff' mm/memory.c:2498: error: 'FAULT_FLAG_WRITE' undeclared (first use in this function) mm/memory.c:2498: warning: ISO C90 forbids mixed declarations and code mm/memory.c:2500: error: 'page_table' undeclared (first use in this function) mm/memory.c:2501: error: 'pmd' undeclared (first use in this function) mm/memory.c:2501: error: 'pgoff' undeclared (first use in this function) mm/memory.c:2501: error: 'orig_pte' undeclared (first use in this function) mm/memory.c:2501: warning: passing argument 1 of '__do_fault' from incompatible pointer type mm/memory.c:2501: warning: passing argument 2 of '__do_fault' from incompatible pointer type mm/memory.c:2501: error: too many arguments to function '__do_fault' mm/memory.c: At top level: mm/memory.c:2521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' mm/memory.c:2567: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2567: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2568: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2568: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2568: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'do_nonlinear_fault': mm/memory.c:2570: error: 'FAULT_FLAG_NONLINEAR' undeclared (first use in this function) mm/memory.c:2571: error: 'FAULT_FLAG_WRITE' undeclared (first use in this function) mm/memory.c:2572: error: 'pgoff_t' undeclared (first use in this function) mm/memory.c:2572: error: expected ';' before 'pgoff' mm/memory.c:2574: error: 'pmd' undeclared (first use in this function) mm/memory.c:2574: error: 'page_table' undeclared (first use in this function) mm/memory.c:2574: error: 'orig_pte' undeclared (first use in this function) mm/memory.c:2574: warning: passing argument 1 of 'pte_unmap_same' from incompatible pointer type mm/memory.c:2574: error: too many arguments to function 'pte_unmap_same' mm/memory.c:2577: error: dereferencing pointer to incomplete type mm/memory.c:2577: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/memory.c:2578: error: dereferencing pointer to incomplete type mm/memory.c:2578: error: 'VM_CAN_NONLINEAR' undeclared (first use in this function) mm/memory.c:2582: warning: passing argument 1 of 'print_bad_pte' from incompatible pointer type mm/memory.c:2582: error: too many arguments to function 'print_bad_pte' mm/memory.c:2583: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:2586: error: 'pgoff' undeclared (first use in this function) mm/memory.c:2586: error: implicit declaration of function 'pte_to_pgoff' mm/memory.c:2587: warning: passing argument 1 of '__do_fault' from incompatible pointer type mm/memory.c:2587: warning: passing argument 2 of '__do_fault' from incompatible pointer type mm/memory.c:2587: error: too many arguments to function '__do_fault' mm/memory.c: At top level: mm/memory.c:2605: error: expected declaration specifiers or '...' before 'pte_t' mm/memory.c:2605: error: expected declaration specifiers or '...' before 'pmd_t' mm/memory.c:2605: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2605: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'handle_pte_fault': mm/memory.c:2607: error: 'pte_t' undeclared (first use in this function) mm/memory.c:2607: error: expected ';' before 'entry' mm/memory.c:2608: error: 'spinlock_t' undeclared (first use in this function) mm/memory.c:2608: error: 'ptl' undeclared (first use in this function) mm/memory.c:2610: error: 'entry' undeclared (first use in this function) mm/memory.c:2610: error: 'pte' undeclared (first use in this function) mm/memory.c:2613: error: dereferencing pointer to incomplete type mm/memory.c:2614: error: dereferencing pointer to incomplete type mm/memory.c:2616: error: 'pmd' undeclared (first use in this function) mm/memory.c:2616: warning: passing argument 1 of 'do_linear_fault' from incompatible pointer type mm/memory.c:2616: warning: passing argument 2 of 'do_linear_fault' from incompatible pointer type mm/memory.c:2616: error: too many arguments to function 'do_linear_fault' mm/memory.c:2617: error: dereferencing pointer to incomplete type mm/memory.c:2618: error: implicit declaration of function 'do_no_pfn' mm/memory.c:2622: warning: passing argument 1 of 'do_anonymous_page' from incompatible pointer type mm/memory.c:2622: warning: passing argument 2 of 'do_anonymous_page' from incompatible pointer type mm/memory.c:2622: error: too many arguments to function 'do_anonymous_page' mm/memory.c:2626: warning: passing argument 1 of 'do_nonlinear_fault' from incompatible pointer type mm/memory.c:2626: warning: passing argument 2 of 'do_nonlinear_fault' from incompatible pointer type mm/memory.c:2626: error: too many arguments to function 'do_nonlinear_fault' mm/memory.c:2628: warning: passing argument 1 of 'do_swap_page' from incompatible pointer type mm/memory.c:2628: warning: passing argument 2 of 'do_swap_page' from incompatible pointer type mm/memory.c:2628: error: too many arguments to function 'do_swap_page' mm/memory.c:2638: warning: passing argument 1 of 'do_wp_page' from incompatible pointer type mm/memory.c:2638: warning: passing argument 2 of 'do_wp_page' from incompatible pointer type mm/memory.c:2638: error: too many arguments to function 'do_wp_page' mm/memory.c:2652: error: implicit declaration of function 'flush_tlb_page' mm/memory.c: At top level: mm/memory.c:2663: warning: 'struct vm_area_struct' declared inside parameter list mm/memory.c:2663: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function 'handle_mm_fault': mm/memory.c:2665: error: 'pgd_t' undeclared (first use in this function) mm/memory.c:2665: error: 'pgd' undeclared (first use in this function) mm/memory.c:2666: error: 'pud_t' undeclared (first use in this function) mm/memory.c:2666: error: 'pud' undeclared (first use in this function) mm/memory.c:2667: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:2667: error: 'pmd' undeclared (first use in this function) mm/memory.c:2668: error: 'pte_t' undeclared (first use in this function) mm/memory.c:2668: error: 'pte' undeclared (first use in this function) mm/memory.c:2670: error: implicit declaration of function '__set_current_state' mm/memory.c:2670: error: 'TASK_RUNNING' undeclared (first use in this function) mm/memory.c:2672: error: 'PGFAULT' undeclared (first use in this function) mm/memory.c:2675: error: implicit declaration of function 'hugetlb_fault' mm/memory.c:2680: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/memory.c:2684: error: implicit declaration of function 'pte_alloc_map' mm/memory.c:2688: warning: passing argument 1 of 'handle_pte_fault' from incompatible pointer type mm/memory.c:2688: warning: passing argument 2 of 'handle_pte_fault' from incompatible pointer type mm/memory.c:2688: error: too many arguments to function 'handle_pte_fault' mm/memory.c: At top level: mm/memory.c:2696: error: expected declaration specifiers or '...' before 'pgd_t' mm/memory.c:2696: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function '__pud_alloc': mm/memory.c:2698: error: 'pud_t' undeclared (first use in this function) mm/memory.c:2698: error: 'new' undeclared (first use in this function) mm/memory.c:2698: error: implicit declaration of function 'pud_alloc_one' mm/memory.c:2700: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:2704: error: dereferencing pointer to incomplete type mm/memory.c:2705: error: implicit declaration of function 'pgd_present' mm/memory.c:2705: error: 'pgd' undeclared (first use in this function) mm/memory.c:2706: error: implicit declaration of function 'pud_free' mm/memory.c:2708: error: implicit declaration of function 'pgd_populate' mm/memory.c:2709: error: dereferencing pointer to incomplete type cc1: mm/memory.c: At top level: mm/memory.c:2719: error: expected declaration specifiers or '...' before 'pud_t' mm/memory.c:2719: warning: 'struct mm_struct' declared inside parameter list mm/memory.c: In function '__pmd_alloc': mm/memory.c:2721: error: 'pmd_t' undeclared (first use in this function) mm/memory.c:2721: error: 'new' undeclared (first use in this function) mm/memory.c:2721: error: implicit declaration of function 'pmd_alloc_one' mm/memory.c:2723: error: 'ENOMEM' undeclared (first use in this function) mm/memory.c:2727: error: dereferencing pointer to incomplete type error: mm/memory.c:2729: error: implicit declaration of function 'pud_present' mm/memory.c:2729: error: 'pud' undeclared (first use in this function) mm/memory.c:2730: error: implicit declaration of function 'pmd_free' mm/memory.c:2732: error: implicit declaration of function 'pud_populate' mm/memory.c:2739: error: dereferencing pointer to incomplete type mm/memory.c: In function 'make_pages_present': mm/memory.c:2749: error: implicit declaration of function 'find_vma' mm/memory.c:2749: error: 'current' undeclared (first use in this function) mm/memory.c:2749: warning: assignment makes pointer from integer without a cast mm/memory.c:2752: error: dereferencing pointer to incomplete type mm/memory.c:2752: error: 'VM_WRITE' undeclared (first use in this function) mm/memory.c:2754: error: dereferencing pointer to incomplete type mm/memory.c:2755: error: implicit declaration of function 'DIV_ROUND_UP' mm/memory.c:2755: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:2757: error: 'NULL' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:2787: warning: 'struct task_struct' declared inside parameter list mm/memory.c:2788: error: conflicting types for 'get_gate_vma' mm/memory.c:1092: error: previous implicit declaration of 'get_gate_vma' was here mm/memory.c: In function 'get_gate_vma': mm/memory.c:2792: error: 'NULL' undeclared (first use in this function) mm/memory.c: At top level: mm/memory.c:2812: warning: 'struct task_struct' declared inside parameter list mm/memory.c: In function 'access_process_vm': mm/memory.c:2819: error: implicit declaration of function 'get_task_mm' mm/memory.c:2819: warning: assignment makes pointer from integer without a cast mm/memory.c:2823: error: implicit declaration of function 'down_read' mm/memory.c:2823: error: dereferencing pointer to incomplete type mm/memory.c:2830: warning: passing argument 1 of 'get_user_pages' from incompatible pointer type mm/memory.c:2830: warning: passing argument 2 of 'get_user_pages' from incompatible pointer type mm/memory.c:2830: warning: passing argument 8 of 'get_user_pages' from incompatible pointer type mm/memory.c:2835: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:2839: error: implicit declaration of function 'kmap' mm/memory.c:2839: warning: assignment makes pointer from integer without a cast mm/memory.c:2841: error: implicit declaration of function 'copy_to_user_page' mm/memory.c:2843: error: implicit declaration of function 'set_page_dirty_lock' mm/memory.c:2845: error: implicit declaration of function 'copy_from_user_page' mm/memory.c:2848: error: implicit declaration of function 'kunmap' mm/memory.c:2854: error: implicit declaration of function 'up_read' mm/memory.c:2854: error: dereferencing pointer to incomplete type mm/memory.c:2855: error: implicit declaration of function 'mmput' mm/memory.c: In function 'print_vma_addr': mm/memory.c:2865: error: 'current' undeclared (first use in this function) mm/memory.c:2872: error: implicit declaration of function 'preempt_count' mm/memory.c:2875: error: dereferencing pointer to incomplete type mm/memory.c:2876: warning: assignment makes pointer from integer without a cast mm/memory.c:2877: error: dereferencing pointer to incomplete type mm/memory.c:2878: error: dereferencing pointer to incomplete type mm/memory.c:2879: error: implicit declaration of function '__get_free_page' mm/memory.c:2879: error: 'GFP_KERNEL' undeclared (first use in this function) mm/memory.c:2883: error: implicit declaration of function 'd_path' mm/memory.c:2883: error: dereferencing pointer to incomplete type mm/memory.c:2883: error: 'PAGE_SIZE' undeclared (first use in this function) mm/memory.c:2883: warning: assignment makes pointer from integer without a cast mm/memory.c:2886: error: implicit declaration of function 'strrchr' mm/memory.c:2886: warning: assignment makes pointer from integer without a cast mm/memory.c:2890: error: dereferencing pointer to incomplete type mm/memory.c:2891: error: dereferencing pointer to incomplete type mm/memory.c:2891: error: dereferencing pointer to incomplete type mm/memory.c:2892: error: implicit declaration of function 'free_page' cc1: error: include/linux/autoconf.h: No such file or directory kernel/posix-timers.c:33:22: error: linux/mm.h: No such file or directory kernel/posix-timers.c:34:29: error: linux/interrupt.h: No such file or directory kernel/posix-timers.c:35:24: error: linux/slab.h: No such file or directory kernel/posix-timers.c:36:24: error: linux/time.h: No such file or directory kernel/posix-timers.c:37:25: error: linux/mutex.h: No such file or directory kernel/posix-timers.c:39:25: error: asm/uaccess.h: No such file or directory kernel/posix-timers.c:40:24: error: linux/list.h: No such file or directory kernel/posix-timers.c:41:24: error: linux/init.h: No such file or directory kernel/posix-timers.c:42:28: error: linux/compiler.h: No such file or directory kernel/posix-timers.c:43:23: error: linux/idr.h: No such file or directory kernel/posix-timers.c:44:32: error: linux/posix-timers.h: No such file or directory kernel/posix-timers.c:45:28: error: linux/syscalls.h: No such file or directory kernel/posix-timers.c:46:24: error: linux/wait.h: No such file or directory kernel/posix-timers.c:47:29: error: linux/workqueue.h: No such file or directory kernel/posix-timers.c:48:26: error: linux/module.h: No such file or directory kernel/posix-timers.c:73: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/posix-timers.c:73: warning: parameter names (without types) in function declaration kernel/posix-timers.c:79:5: warning: "SIGEV_THREAD_ID" is not defined kernel/posix-timers.c:79:25: warning: "SIGEV_THREAD_ID" is not defined kernel/posix-timers.c:80:26: warning: "SIGEV_SIGNAL" is not defined kernel/posix-timers.c:80:41: warning: "SIGEV_NONE" is not defined kernel/posix-timers.c:80:54: warning: "SIGEV_THREAD" is not defined kernel/posix-timers.c:134: error: 'MAX_CLOCKS' undeclared here (not in a function) kernel/posix-timers.c:139: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:140: error: expected ';', ',' or ')' before '*' token kernel/posix-timers.c:141: warning: 'struct itimerspec' declared inside parameter list kernel/posix-timers.c:141: warning: its scope is only this definition or declaration, which is probably not what you want kernel/posix-timers.c:141: warning: 'struct k_itimer' declared inside parameter list kernel/posix-timers.c:143: warning: 'struct itimerspec' declared inside parameter list kernel/posix-timers.c:143: warning: 'struct k_itimer' declared inside parameter list kernel/posix-timers.c:144: warning: 'struct k_itimer' declared inside parameter list kernel/posix-timers.c:146: warning: 'struct hrtimer' declared inside parameter list kernel/posix-timers.c:148: error: expected ')' before 'timer_id' kernel/posix-timers.c: In function 'unlock_timer': kernel/posix-timers.c:152: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/posix-timers.c:152: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:171: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:171: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-timers.c:182: error: expected ')' before 'which_clock' kernel/posix-timers.c:188: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:188: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-timers.c: In function 'common_timer_create': kernel/posix-timers.c:196: error: implicit declaration of function 'hrtimer_init' kernel/posix-timers.c:196: error: dereferencing pointer to incomplete type kernel/posix-timers.c:196: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:203: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:203: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-timers.c:219: error: expected ')' before 'which_clock' kernel/posix-timers.c:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/posix-timers.c:249: warning: data definition has no type or storage class kernel/posix-timers.c:249: warning: type defaults to 'int' in declaration of '__initcall' kernel/posix-timers.c:249: warning: parameter names (without types) in function declaration kernel/posix-timers.c: In function 'schedule_next_timer': kernel/posix-timers.c:253: error: dereferencing pointer to incomplete type kernel/posix-timers.c:255: error: dereferencing pointer to incomplete type kernel/posix-timers.c:258: error: dereferencing pointer to incomplete type kernel/posix-timers.c:258: error: implicit declaration of function 'hrtimer_forward' kernel/posix-timers.c:259: error: dereferencing pointer to incomplete type kernel/posix-timers.c:260: error: dereferencing pointer to incomplete type kernel/posix-timers.c:262: error: dereferencing pointer to incomplete type kernel/posix-timers.c:262: error: dereferencing pointer to incomplete type kernel/posix-timers.c:263: error: dereferencing pointer to incomplete type kernel/posix-timers.c:264: error: dereferencing pointer to incomplete type kernel/posix-timers.c:265: error: implicit declaration of function 'hrtimer_restart' kernel/posix-timers.c: At top level: kernel/posix-timers.c:279: warning: 'struct siginfo' declared inside parameter list kernel/posix-timers.c: In function 'do_schedule_next_timer': kernel/posix-timers.c:284: error: implicit declaration of function 'lock_timer' kernel/posix-timers.c:284: error: dereferencing pointer to incomplete type kernel/posix-timers.c:284: warning: assignment makes pointer from integer without a cast kernel/posix-timers.c:286: error: dereferencing pointer to incomplete type kernel/posix-timers.c:286: error: dereferencing pointer to incomplete type kernel/posix-timers.c:287: error: dereferencing pointer to incomplete type kernel/posix-timers.c:288: error: implicit declaration of function 'posix_cpu_timer_schedule' kernel/posix-timers.c:292: error: dereferencing pointer to incomplete type kernel/posix-timers.c:292: error: dereferencing pointer to incomplete type kernel/posix-timers.c: In function 'posix_timer_event': kernel/posix-timers.c:301: error: implicit declaration of function 'memset' kernel/posix-timers.c:301: error: dereferencing pointer to incomplete type kernel/posix-timers.c:301: error: 'siginfo_t' undeclared (first use in this function) kernel/posix-timers.c:301: error: (Each undeclared identifier is reported only once kernel/posix-timers.c:301: error: for each function it appears in.) kernel/posix-timers.c:302: error: dereferencing pointer to incomplete type kernel/posix-timers.c:305: error: dereferencing pointer to incomplete type kernel/posix-timers.c:305: error: dereferencing pointer to incomplete type kernel/posix-timers.c:306: error: dereferencing pointer to incomplete type kernel/posix-timers.c:307: error: dereferencing pointer to incomplete type kernel/posix-timers.c:307: error: 'SI_TIMER' undeclared (first use in this function) kernel/posix-timers.c:308: error: dereferencing pointer to incomplete type kernel/posix-timers.c:308: error: dereferencing pointer to incomplete type kernel/posix-timers.c:309: error: dereferencing pointer to incomplete type kernel/posix-timers.c:309: error: dereferencing pointer to incomplete type kernel/posix-timers.c:311: error: dereferencing pointer to incomplete type kernel/posix-timers.c:311: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-timers.c:313: error: implicit declaration of function 'send_sigqueue' kernel/posix-timers.c:313: error: dereferencing pointer to incomplete type kernel/posix-timers.c:313: error: dereferencing pointer to incomplete type kernel/posix-timers.c:315: error: implicit declaration of function 'likely' kernel/posix-timers.c:318: error: dereferencing pointer to incomplete type kernel/posix-timers.c:318: error: 'SIGEV_SIGNAL' undeclared (first use in this function) kernel/posix-timers.c:319: error: dereferencing pointer to incomplete type kernel/posix-timers.c:320: error: implicit declaration of function 'put_task_struct' kernel/posix-timers.c:320: error: dereferencing pointer to incomplete type kernel/posix-timers.c:321: error: dereferencing pointer to incomplete type kernel/posix-timers.c:324: error: dereferencing pointer to incomplete type kernel/posix-timers.c:324: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:326: warning: data definition has no type or storage class kernel/posix-timers.c:326: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/posix-timers.c:326: warning: parameter names (without types) in function declaration kernel/posix-timers.c:335: warning: 'struct hrtimer' declared inside parameter list kernel/posix-timers.c:336: error: return type is an incomplete type kernel/posix-timers.c:336: error: conflicting types for 'posix_timer_fn' kernel/posix-timers.c:146: error: previous declaration of 'posix_timer_fn' was here kernel/posix-timers.c: In function 'posix_timer_fn': kernel/posix-timers.c:340: error: variable 'ret' has initializer but incomplete type kernel/posix-timers.c:340: error: 'HRTIMER_NORESTART' undeclared (first use in this function) kernel/posix-timers.c:340: error: storage size of 'ret' isn't known kernel/posix-timers.c:342: error: implicit declaration of function 'container_of' kernel/posix-timers.c:342: error: expected expression before 'struct' kernel/posix-timers.c:342: warning: assignment makes pointer from integer without a cast kernel/posix-timers.c:343: error: implicit declaration of function 'spin_lock_irqsave' kernel/posix-timers.c:343: error: dereferencing pointer to incomplete type kernel/posix-timers.c:345: error: dereferencing pointer to incomplete type kernel/posix-timers.c:346: error: dereferencing pointer to incomplete type kernel/posix-timers.c:354: error: dereferencing pointer to incomplete type kernel/posix-timers.c:355: error: 'ktime_t' undeclared (first use in this function) kernel/posix-timers.c:355: error: expected ';' before 'now' kernel/posix-timers.c:387: error: dereferencing pointer to incomplete type kernel/posix-timers.c:388: error: 'now' undeclared (first use in this function) kernel/posix-timers.c:389: error: dereferencing pointer to incomplete type kernel/posix-timers.c:390: error: 'HRTIMER_RESTART' undeclared (first use in this function) kernel/posix-timers.c:391: error: dereferencing pointer to incomplete type kernel/posix-timers.c:396: warning: 'return' with a value, in function returning void kernel/posix-timers.c:340: warning: unused variable 'ret' kernel/posix-timers.c: At top level: kernel/posix-timers.c:399: error: expected ')' before '*' token kernel/posix-timers.c:416: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:416: error: expected ';', ',' or ')' before 'clock_id' kernel/posix-timers.c:426: warning: data definition has no type or storage class kernel/posix-timers.c:426: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/posix-timers.c:426: warning: parameter names (without types) in function declaration kernel/posix-timers.c: In function 'alloc_posix_timer': kernel/posix-timers.c:431: error: implicit declaration of function 'kmem_cache_zalloc' kernel/posix-timers.c:431: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/posix-timers.c:431: warning: assignment makes pointer from integer without a cast kernel/posix-timers.c:434: error: implicit declaration of function 'unlikely' kernel/posix-timers.c:434: error: dereferencing pointer to incomplete type kernel/posix-timers.c:434: error: implicit declaration of function 'sigqueue_alloc' kernel/posix-timers.c:435: error: implicit declaration of function 'kmem_cache_free' kernel/posix-timers.c:436: error: 'NULL' undeclared (first use in this function) kernel/posix-timers.c: In function 'release_posix_timer': kernel/posix-timers.c:447: error: 'idr_lock' undeclared (first use in this function) kernel/posix-timers.c:448: error: implicit declaration of function 'idr_remove' kernel/posix-timers.c:448: error: dereferencing pointer to incomplete type kernel/posix-timers.c:451: error: implicit declaration of function 'sigqueue_free' kernel/posix-timers.c:451: error: dereferencing pointer to incomplete type kernel/posix-timers.c:452: error: dereferencing pointer to incomplete type kernel/posix-timers.c:453: error: dereferencing pointer to incomplete type kernel/posix-timers.c:453: error: 'SIGEV_SIGNAL' undeclared (first use in this function) kernel/posix-timers.c:453: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-timers.c:454: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:460: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:594: error: expected ')' before 'timer_id' kernel/posix-timers.c:638: warning: 'struct itimerspec' declared inside parameter list kernel/posix-timers.c:639: error: conflicting types for 'common_timer_get' kernel/posix-timers.c:141: error: previous declaration of 'common_timer_get' was here kernel/posix-timers.c: In function 'common_timer_get': kernel/posix-timers.c:640: error: 'ktime_t' undeclared (first use in this function) kernel/posix-timers.c:640: error: expected ';' before 'now' kernel/posix-timers.c:641: error: dereferencing pointer to incomplete type kernel/posix-timers.c:641: warning: ISO C90 forbids mixed declarations and code kernel/posix-timers.c:643: error: invalid application of 'sizeof' to incomplete type 'struct itimerspec' kernel/posix-timers.c:645: error: 'iv' undeclared (first use in this function) kernel/posix-timers.c:645: error: dereferencing pointer to incomplete type kernel/posix-timers.c:649: error: dereferencing pointer to incomplete type kernel/posix-timers.c:649: error: implicit declaration of function 'ktime_to_timespec' kernel/posix-timers.c:650: error: implicit declaration of function 'hrtimer_active' kernel/posix-timers.c:651: error: dereferencing pointer to incomplete type kernel/posix-timers.c:651: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-timers.c:651: error: 'SIGEV_NONE' undeclared (first use in this function) kernel/posix-timers.c:654: error: 'now' undeclared (first use in this function) kernel/posix-timers.c:654: error: dereferencing pointer to incomplete type kernel/posix-timers.c:661: error: dereferencing pointer to incomplete type kernel/posix-timers.c:661: error: 'REQUEUE_PENDING' undeclared (first use in this function) kernel/posix-timers.c:662: error: dereferencing pointer to incomplete type kernel/posix-timers.c:663: error: dereferencing pointer to incomplete type kernel/posix-timers.c:665: error: 'remaining' undeclared (first use in this function) kernel/posix-timers.c:665: error: implicit declaration of function 'ktime_sub' kernel/posix-timers.c:665: error: dereferencing pointer to incomplete type kernel/posix-timers.c:672: error: dereferencing pointer to incomplete type kernel/posix-timers.c:673: error: dereferencing pointer to incomplete type kernel/posix-timers.c:675: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:679: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:709: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:730: warning: 'struct itimerspec' declared inside parameter list kernel/posix-timers.c:731: error: conflicting types for 'common_timer_set' kernel/posix-timers.c:143: error: previous declaration of 'common_timer_set' was here kernel/posix-timers.c: In function 'common_timer_set': kernel/posix-timers.c:732: error: dereferencing pointer to incomplete type kernel/posix-timers.c:733: error: storage size of 'mode' isn't known kernel/posix-timers.c:736: warning: passing argument 2 of 'common_timer_get' from incompatible pointer type kernel/posix-timers.c:739: error: dereferencing pointer to incomplete type kernel/posix-timers.c:744: error: implicit declaration of function 'hrtimer_try_to_cancel' kernel/posix-timers.c:745: error: 'TIMER_RETRY' undeclared (first use in this function) kernel/posix-timers.c:747: error: dereferencing pointer to incomplete type kernel/posix-timers.c:747: error: dereferencing pointer to incomplete type kernel/posix-timers.c:748: error: 'REQUEUE_PENDING' undeclared (first use in this function) kernel/posix-timers.c:749: error: dereferencing pointer to incomplete type kernel/posix-timers.c:752: error: dereferencing pointer to incomplete type kernel/posix-timers.c:752: error: dereferencing pointer to incomplete type kernel/posix-timers.c:755: error: 'TIMER_ABSTIME' undeclared (first use in this function) kernel/posix-timers.c:755: error: 'HRTIMER_MODE_ABS' undeclared (first use in this function) kernel/posix-timers.c:755: error: 'HRTIMER_MODE_REL' undeclared (first use in this function) kernel/posix-timers.c:756: error: dereferencing pointer to incomplete type kernel/posix-timers.c:756: error: dereferencing pointer to incomplete type kernel/posix-timers.c:757: error: dereferencing pointer to incomplete type kernel/posix-timers.c:759: error: dereferencing pointer to incomplete type kernel/posix-timers.c:759: error: implicit declaration of function 'timespec_to_ktime' kernel/posix-timers.c:759: error: dereferencing pointer to incomplete type kernel/posix-timers.c:762: error: dereferencing pointer to incomplete type kernel/posix-timers.c:762: error: dereferencing pointer to incomplete type kernel/posix-timers.c:765: error: dereferencing pointer to incomplete type kernel/posix-timers.c:765: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-timers.c:765: error: 'SIGEV_NONE' undeclared (first use in this function) kernel/posix-timers.c:768: error: dereferencing pointer to incomplete type kernel/posix-timers.c:769: error: implicit declaration of function 'ktime_add_safe' kernel/posix-timers.c:769: error: dereferencing pointer to incomplete type kernel/posix-timers.c:770: error: dereferencing pointer to incomplete type kernel/posix-timers.c:775: error: implicit declaration of function 'hrtimer_start' kernel/posix-timers.c:775: error: dereferencing pointer to incomplete type kernel/posix-timers.c:733: warning: unused variable 'mode' kernel/posix-timers.c: At top level: kernel/posix-timers.c:780: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:822: error: conflicting types for 'common_timer_del' kernel/posix-timers.c:144: error: previous declaration of 'common_timer_del' was here kernel/posix-timers.c: In function 'common_timer_del': kernel/posix-timers.c:823: error: dereferencing pointer to incomplete type kernel/posix-timers.c:825: error: dereferencing pointer to incomplete type kernel/posix-timers.c:826: error: 'TIMER_RETRY' undeclared (first use in this function) kernel/posix-timers.c: In function 'timer_delete_hook': kernel/posix-timers.c:832: error: dereferencing pointer to incomplete type kernel/posix-timers.c:832: error: implicit declaration of function 'posix_cpu_timer_del' kernel/posix-timers.c:832: error: dereferencing pointer to incomplete type kernel/posix-timers.c:832: error: 'NULL' undeclared (first use in this function) kernel/posix-timers.c:832: error: dereferencing pointer to incomplete type kernel/posix-timers.c: At top level: kernel/posix-timers.c:836: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c: In function 'itimer_delete': kernel/posix-timers.c:877: error: dereferencing pointer to incomplete type kernel/posix-timers.c:879: error: 'TIMER_RETRY' undeclared (first use in this function) kernel/posix-timers.c:883: error: implicit declaration of function 'list_del' kernel/posix-timers.c:883: error: dereferencing pointer to incomplete type kernel/posix-timers.c:888: error: dereferencing pointer to incomplete type kernel/posix-timers.c:889: error: dereferencing pointer to incomplete type kernel/posix-timers.c:889: error: 'SIGEV_SIGNAL' undeclared (first use in this function) kernel/posix-timers.c:889: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-timers.c:890: error: dereferencing pointer to incomplete type kernel/posix-timers.c:891: error: dereferencing pointer to incomplete type kernel/posix-timers.c:891: error: 'NULL' undeclared (first use in this function) kernel/posix-timers.c: At top level: kernel/posix-timers.c:901: warning: 'struct signal_struct' declared inside parameter list kernel/posix-timers.c: In function 'exit_itimers': kernel/posix-timers.c:905: error: implicit declaration of function 'list_empty' kernel/posix-timers.c:905: error: dereferencing pointer to incomplete type kernel/posix-timers.c:906: error: implicit declaration of function 'list_entry' kernel/posix-timers.c:906: error: dereferencing pointer to incomplete type kernel/posix-timers.c:906: error: expected expression before 'struct' kernel/posix-timers.c:906: warning: assignment makes pointer from integer without a cast kernel/posix-timers.c: At top level: kernel/posix-timers.c:912: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:912: error: expected ';', ',' or ')' before 'clockid' kernel/posix-timers.c:916: warning: data definition has no type or storage class kernel/posix-timers.c:916: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/posix-timers.c:916: warning: parameter names (without types) in function declaration kernel/posix-timers.c:918: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:918: error: expected ';', ',' or ')' before 'clock' kernel/posix-timers.c:927: warning: data definition has no type or storage class kernel/posix-timers.c:927: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/posix-timers.c:927: warning: parameter names (without types) in function declaration kernel/posix-timers.c:929: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:942: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:959: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:981: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-timers.c:981: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-timers.c:989: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/posix-timers.c:1012: warning: 'struct restart_block' declared inside parameter list kernel/posix-timers.c: In function 'common_nsleep_restart': kernel/posix-timers.c:1014: error: implicit declaration of function 'hrtimer_nanosleep_restart' kernel/posix-timers.c: At top level: kernel/posix-timers.c:1022: warning: 'struct restart_block' declared inside parameter list kernel/posix-timers.c: In function 'clock_nanosleep_restart': kernel/posix-timers.c:1024: error: 'clockid_t' undeclared (first use in this function) kernel/posix-timers.c:1024: error: expected ';' before 'which_clock' kernel/posix-timers.c:1026: error: 'which_clock' undeclared (first use in this function) kernel/posix-timers.c:1026: error: implicit declaration of function 'posix_cpu_nsleep_restart' kernel/posix-timers.c:1026: error: 'NULL' undeclared (first use in this function) kernel/posix-timers.c:1026: warning: passing argument 1 of 'common_nsleep_restart' from incompatible pointer type include/linux/autoconf.h: No such file or directory make[1]: *** [mm/memory.o] Error 1 fs/attr.c:8:26: error: linux/module.h: No such file or directory fs/attr.c:9:24: error: linux/time.h: No such file or directory fs/attr.c:10:22: error: linux/mm.h: No such file or directory fs/attr.c:11:26: error: linux/string.h: No such file or directory fs/attr.c:12:30: error: linux/capability.h: No such file or directory fs/attr.c:13:28: error: linux/fsnotify.h: No such file or directory fs/attr.c:14:25: error: linux/fcntl.h: No such file or directory fs/attr.c:15:28: error: linux/quotaops.h: No such file or directory fs/attr.c:16:28: error: linux/security.h: No such file or directory fs/attr.c:21: warning: 'struct iattr' declared inside parameter list fs/attr.c:21: warning: its scope is only this definition or declaration, which is probably not what you want fs/attr.c:21: warning: 'struct inode' declared inside parameter list fs/attr.c: In function 'inode_change_ok': fs/attr.c:23: error: 'EPERM' undeclared (first use in this function) fs/attr.c:23: error: (Each undeclared identifier is reported only once fs/attr.c:23: error: for each function it appears in.) fs/attr.c:24: error: dereferencing pointer to incomplete type fs/attr.c:27: error: 'ATTR_FORCE' undeclared (first use in this function) fs/attr.c:31: error: 'ATTR_UID' undeclared (first use in this function) fs/attr.c:32: error: 'current' undeclared (first use in this function) fs/attr.c:32: error: dereferencing pointer to incomplete type fs/attr.c:33: error: dereferencing pointer to incomplete type fs/attr.c:33: error: dereferencing pointer to incomplete type fs/attr.c:33: error: implicit declaration of function 'capable' fs/attr.c:33: error: 'CAP_CHOWN' undeclared (first use in this function) fs/attr.c:37: error: 'ATTR_GID' undeclared (first use in this function) fs/attr.c:38: error: dereferencing pointer to incomplete type fs/attr.c:39: error: implicit declaration of function 'in_group_p' fs/attr.c:39: error: dereferencing pointer to incomplete type fs/attr.c:39: error: dereferencing pointer to incomplete type fs/attr.c:39: error: dereferencing pointer to incomplete type fs/attr.c:44: error: 'ATTR_MODE' undeclared (first use in this function) fs/attr.c:45: error: implicit declaration of function 'is_owner_or_cap' fs/attr.c:48: error: dereferencing pointer to incomplete type fs/attr.c:49: error: dereferencing pointer to incomplete type fs/attr.c:49: error: 'CAP_FSETID' undeclared (first use in this function) fs/attr.c:50: error: dereferencing pointer to incomplete type fs/attr.c:50: error: 'S_ISGID' undeclared (first use in this function) fs/attr.c:54: error: 'ATTR_MTIME_SET' undeclared (first use in this function) fs/attr.c:54: error: 'ATTR_ATIME_SET' undeclared (first use in this function) fs/attr.c:54: error: 'ATTR_TIMES_SET' undeclared (first use in this function) fs/attr.c: At top level: fs/attr.c:64: warning: data definition has no type or storage class fs/attr.c:64: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/attr.c:64: warning: parameter names (without types) in function declaration fs/attr.c:66: warning: 'struct iattr' declared inside parameter list fs/attr.c:66: warning: 'struct inode' declared inside parameter list fs/attr.c: In function 'inode_setattr': fs/attr.c:68: error: dereferencing pointer to incomplete type fs/attr.c:70: error: 'ATTR_SIZE' undeclared (first use in this function) fs/attr.c:71: error: dereferencing pointer to incomplete type fs/attr.c:71: error: implicit declaration of function 'i_size_read' fs/attr.c:72: error: implicit declaration of function 'vmtruncate' fs/attr.c:72: error: dereferencing pointer to incomplete type fs/attr.c:77: error: 'ATTR_UID' undeclared (first use in this function) fs/attr.c:78: error: dereferencing pointer to incomplete type fs/attr.c:78: error: dereferencing pointer to incomplete type fs/attr.c:79: error: 'ATTR_GID' undeclared (first use in this function) fs/attr.c:80: error: dereferencing pointer to incomplete type fs/attr.c:80: error: dereferencing pointer to incomplete type fs/attr.c:81: error: 'ATTR_ATIME' undeclared (first use in this function) fs/attr.c:82: error: dereferencing pointer to incomplete type fs/attr.c:82: error: implicit declaration of function 'timespec_trunc' fs/attr.c:82: error: dereferencing pointer to incomplete type fs/attr.c:83: error: dereferencing pointer to incomplete type fs/attr.c:84: error: 'ATTR_MTIME' undeclared (first use in this function) fs/attr.c:85: error: dereferencing pointer to incomplete type fs/attr.c:85: error: dereferencing pointer to incomplete type fs/attr.c:86: error: dereferencing pointer to incomplete type fs/attr.c:87: error: 'ATTR_CTIME' undeclared (first use in this function) fs/attr.c:88: error: dereferencing pointer to incomplete type fs/attr.c:88: error: dereferencing pointer to incomplete type fs/attr.c:89: error: dereferencing pointer to incomplete type fs/attr.c:90: error: 'ATTR_MODE' undeclared (first use in this function) fs/attr.c:91: error: 'umode_t' undeclared (first use in this function) fs/attr.c:91: error: expected ';' before 'mode' fs/attr.c:93: error: dereferencing pointer to incomplete type fs/attr.c:93: error: 'CAP_FSETID' undeclared (first use in this function) fs/attr.c:94: error: 'mode' undeclared (first use in this function) fs/attr.c:94: error: 'S_ISGID' undeclared (first use in this function) fs/attr.c:95: error: dereferencing pointer to incomplete type fs/attr.c:97: error: implicit declaration of function 'mark_inode_dirty' cc1: error: include/linux/autoconf.h: No such file or directory mm/mlock.c:8:30: error: linux/capability.h: No such file or directory mm/mlock.c:9:24: error: linux/mman.h: No such file or directory mm/mlock.c:10:22: error: linux/mm.h: No such file or directory mm/mlock.c:11:29: error: linux/mempolicy.h: No such file or directory mm/mlock.c:12:28: error: linux/syscalls.h: No such file or directory mm/mlock.c:13:25: error: linux/sched.h: No such file or directory mm/mlock.c:14:26: error: linux/module.h: No such file or directory mm/mlock.c: In function 'can_do_mlock': mm/mlock.c:18: error: implicit declaration of function 'capable' mm/mlock.c:18: error: 'CAP_IPC_LOCK' undeclared (first use in this function) mm/mlock.c:18: error: (Each undeclared identifier is reported only once mm/mlock.c:18: error: for each function it appears in.) mm/mlock.c:20: error: 'current' undeclared (first use in this function) mm/mlock.c:20: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function) mm/mlock.c: At top level: mm/mlock.c:24: warning: data definition has no type or storage class mm/mlock.c:24: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mlock.c:24: warning: parameter names (without types) in function declaration mm/mlock.c:27: warning: 'struct vm_area_struct' declared inside parameter list mm/mlock.c:27: warning: its scope is only this definition or declaration, which is probably not what you want mm/mlock.c: In function 'mlock_fixup': mm/mlock.c:29: error: dereferencing pointer to incomplete type mm/mlock.c:30: error: 'pgoff_t' undeclared (first use in this function) mm/mlock.c:30: error: expected ';' before 'pgoff' mm/mlock.c:31: warning: ISO C90 forbids mixed declarations and code mm/mlock.c:34: error: dereferencing pointer to incomplete type mm/mlock.c:39: error: 'pgoff' undeclared (first use in this function) mm/mlock.c:39: error: dereferencing pointer to incomplete type mm/mlock.c:39: error: dereferencing pointer to incomplete type mm/mlock.c:39: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mlock.c:40: error: implicit declaration of function 'vma_merge' mm/mlock.c:40: error: dereferencing pointer to incomplete type mm/mlock.c:41: error: dereferencing pointer to incomplete type mm/mlock.c:41: error: implicit declaration of function 'vma_policy' mm/mlock.c:41: warning: assignment makes pointer from integer without a cast mm/mlock.c:49: error: dereferencing pointer to incomplete type mm/mlock.c:50: error: implicit declaration of function 'split_vma' mm/mlock.c:55: error: dereferencing pointer to incomplete type mm/mlock.c:67: error: dereferencing pointer to incomplete type mm/mlock.c:73: error: 'VM_LOCKED' undeclared (first use in this function) mm/mlock.c:75: error: 'VM_IO' undeclared (first use in this function) mm/mlock.c:76: error: implicit declaration of function 'make_pages_present' mm/mlock.c:79: error: dereferencing pointer to incomplete type mm/mlock.c:81: error: 'ENOMEM' undeclared (first use in this function) mm/mlock.c:82: error: 'EAGAIN' undeclared (first use in this function) CC arch/x86/kernel/doublefault_32.o mm/mlock.c: At top level: mm/mlock.c:86: error: expected declaration specifiers or '...' before 'size_t' mm/mlock.c: In function 'do_mlock': mm/mlock.c:92: error: 'len' undeclared (first use in this function) mm/mlock.c:92: error: implicit declaration of function 'PAGE_ALIGN' mm/mlock.c:95: error: 'EINVAL' undeclared (first use in this function) mm/mlock.c:98: error: implicit declaration of function 'find_vma_prev' mm/mlock.c:98: error: 'current' undeclared (first use in this function) mm/mlock.c:98: warning: assignment makes pointer from integer without a cast mm/mlock.c:99: error: dereferencing pointer to incomplete type mm/mlock.c:100: error: 'ENOMEM' undeclared (first use in this function) mm/mlock.c:102: error: dereferencing pointer to incomplete type mm/mlock.c:110: error: dereferencing pointer to incomplete type mm/mlock.c:110: error: 'VM_LOCKED' undeclared (first use in this function) mm/mlock.c:114: error: dereferencing pointer to incomplete type mm/mlock.c:117: warning: passing argument 1 of 'mlock_fixup' from incompatible pointer type mm/mlock.c:117: warning: passing argument 2 of 'mlock_fixup' from incompatible pointer type mm/mlock.c:121: error: dereferencing pointer to incomplete type mm/mlock.c:122: error: dereferencing pointer to incomplete type mm/mlock.c:126: error: dereferencing pointer to incomplete type mm/mlock.c:127: error: dereferencing pointer to incomplete type mm/mlock.c: At top level: mm/mlock.c:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/mlock.c:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/mlock.c: In function 'do_mlockall': mm/mlock.c:175: error: 'NULL' undeclared (first use in this function) mm/mlock.c:178: error: 'MCL_FUTURE' undeclared (first use in this function) mm/mlock.c:179: error: 'VM_LOCKED' undeclared (first use in this function) mm/mlock.c:180: error: 'current' undeclared (first use in this function) mm/mlock.c:184: error: dereferencing pointer to incomplete type mm/mlock.c:187: error: dereferencing pointer to incomplete type mm/mlock.c:188: error: 'MCL_CURRENT' undeclared (first use in this function) mm/mlock.c:192: error: dereferencing pointer to incomplete type mm/mlock.c:192: error: dereferencing pointer to incomplete type mm/mlock.c:192: warning: passing argument 1 of 'mlock_fixup' from incompatible pointer type mm/mlock.c:192: warning: passing argument 2 of 'mlock_fixup' from incompatible pointer type mm/mlock.c: At top level: mm/mlock.c:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/mlock.c:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/mlock.c:238: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' mm/mlock.c:238: warning: parameter names (without types) in function declaration mm/mlock.c:240: error: expected ')' before 'size' mm/mlock.c:262: error: expected ')' before 'size' make[1]: *** [kernel/posix-timers.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/vsmp_64.c:15:24: error: linux/init.h: No such file or directory arch/x86/kernel/vsmp_64.c:16:27: error: linux/pci_ids.h: No such file or directory CC kernel/kthread.o arch/x86/kernel/vsmp_64.c:17:28: error: linux/pci_regs.h: No such file or directory arch/x86/kernel/vsmp_64.c:19:22: error: asm/apic.h: No such file or directory arch/x86/kernel/vsmp_64.c:20:28: error: asm/pci-direct.h: No such file or directory arch/x86/kernel/vsmp_64.c:21:20: error: asm/io.h: No such file or directory arch/x86/kernel/vsmp_64.c:22:26: error: asm/paravirt.h: No such file or directory arch/x86/kernel/vsmp_64.c:23:23: error: asm/setup.h: No such file or directory arch/x86/kernel/vsmp_64.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_vsmp_pv_ops' arch/x86/kernel/vsmp_64.c:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'detect_vsmp_box' arch/x86/kernel/vsmp_64.c:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vsmp_init' fs/attr.c: At top level: fs/attr.c:101: warning: data definition has no type or storage class fs/attr.c:101: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/attr.c:101: warning: parameter names (without types) in function declaration fs/attr.c:103: warning: 'struct iattr' declared inside parameter list fs/attr.c:103: warning: 'struct dentry' declared inside parameter list fs/attr.c: In function 'notify_change': fs/attr.c:105: error: dereferencing pointer to incomplete type fs/attr.c:106: error: 'mode_t' undeclared (first use in this function) fs/attr.c:106: error: expected ';' before 'mode' fs/attr.c:107: warning: ISO C90 forbids mixed declarations and code fs/attr.c:108: error: storage size of 'now' isn't known fs/attr.c:109: error: dereferencing pointer to incomplete type fs/attr.c:111: error: 'ATTR_MODE' undeclared (first use in this function) fs/attr.c:111: error: 'ATTR_UID' undeclared (first use in this function) fs/attr.c:111: error: 'ATTR_GID' undeclared (first use in this function) fs/attr.c:111: error: 'ATTR_TIMES_SET' undeclared (first use in this function) fs/attr.c:112: error: implicit declaration of function 'IS_IMMUTABLE' fs/attr.c:112: error: implicit declaration of function 'IS_APPEND' fs/attr.c:113: error: 'EPERM' undeclared (first use in this function) fs/attr.c:116: error: implicit declaration of function 'current_fs_time' fs/attr.c:116: error: dereferencing pointer to incomplete type fs/attr.c:118: error: dereferencing pointer to incomplete type fs/attr.c:119: error: 'ATTR_ATIME_SET' undeclared (first use in this function) fs/attr.c:120: error: dereferencing pointer to incomplete type fs/attr.c:121: error: 'ATTR_MTIME_SET' undeclared (first use in this function) fs/attr.c:122: error: dereferencing pointer to incomplete type fs/attr.c:123: error: 'ATTR_KILL_PRIV' undeclared (first use in this function) fs/attr.c:124: error: dereferencing pointer to incomplete type fs/attr.c:126: error: implicit declaration of function 'security_inode_need_killpriv' fs/attr.c:128: error: implicit declaration of function 'security_inode_killpriv' fs/attr.c:140: error: 'ATTR_KILL_SUID' undeclared (first use in this function) fs/attr.c:140: error: 'ATTR_KILL_SGID' undeclared (first use in this function) fs/attr.c:142: error: implicit declaration of function 'BUG' fs/attr.c:145: error: 'mode' undeclared (first use in this function) fs/attr.c:145: error: 'S_ISUID' undeclared (first use in this function) fs/attr.c:146: error: dereferencing pointer to incomplete type fs/attr.c:147: error: dereferencing pointer to incomplete type fs/attr.c:147: error: dereferencing pointer to incomplete type fs/attr.c:151: error: 'S_ISGID' undeclared (first use in this function) fs/attr.c:151: error: 'S_IXGRP' undeclared (first use in this function) fs/attr.c:153: error: dereferencing pointer to incomplete type fs/attr.c:154: error: dereferencing pointer to incomplete type fs/attr.c:154: error: dereferencing pointer to incomplete type fs/attr.c:156: error: dereferencing pointer to incomplete type fs/attr.c:159: error: dereferencing pointer to incomplete type fs/attr.c:162: error: 'ATTR_SIZE' undeclared (first use in this function) make[1]: *** [mm/mlock.o] Error 1 CC mm/mmap.o fs/attr.c:163: error: implicit declaration of function 'down_write' fs/attr.c:163: error: dereferencing pointer to incomplete type fs/attr.c:165: error: dereferencing pointer to incomplete type fs/attr.c:165: error: dereferencing pointer to incomplete type fs/attr.c:166: error: implicit declaration of function 'security_inode_setattr' fs/attr.c:168: error: dereferencing pointer to incomplete type fs/attr.c:170: warning: passing argument 1 of 'inode_change_ok' from incompatible pointer type fs/attr.c:170: warning: passing argument 2 of 'inode_change_ok' from incompatible pointer type fs/attr.c:174: error: dereferencing pointer to incomplete type fs/attr.c:174: error: dereferencing pointer to incomplete type fs/attr.c:175: error: dereferencing pointer to incomplete type fs/attr.c:175: error: dereferencing pointer to incomplete type fs/attr.c:176: error: implicit declaration of function 'DQUOT_TRANSFER' fs/attr.c:176: error: 'EDQUOT' undeclared (first use in this function) fs/attr.c:178: warning: passing argument 1 of 'inode_setattr' from incompatible pointer type fs/attr.c:178: warning: passing argument 2 of 'inode_setattr' from incompatible pointer type fs/attr.c:183: error: implicit declaration of function 'up_write' fs/attr.c:183: error: dereferencing pointer to incomplete type fs/attr.c:186: error: implicit declaration of function 'fsnotify_change' fs/attr.c:108: warning: unused variable 'now' fs/attr.c: At top level: fs/attr.c:191: warning: data definition has no type or storage class fs/attr.c:191: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/attr.c:191: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory kernel/kthread.c:8:25: error: linux/sched.h: No such file or directory kernel/kthread.c:9:27: error: linux/kthread.h: No such file or directory kernel/kthread.c:10:30: error: linux/completion.h: No such file or directory kernel/kthread.c:11:23: error: linux/err.h: No such file or directory kernel/kthread.c:12:26: error: linux/unistd.h: No such file or directory kernel/kthread.c:13:24: error: linux/file.h: No such file or directory kernel/kthread.c:14:26: error: linux/module.h: No such file or directory kernel/kthread.c:15:25: error: linux/mutex.h: No such file or directory kernel/kthread.c:19: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/kthread.c:19: warning: parameter names (without types) in function declaration kernel/kthread.c:20: warning: type defaults to 'int' in declaration of 'LIST_HEAD' kernel/kthread.c:20: warning: parameter names (without types) in function declaration kernel/kthread.c:28: error: field 'started' has incomplete type make[1]: *** [arch/x86/kernel/vsmp_64.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/doublefault_32.c:1:22: error: linux/mm.h: No such file or directory arch/x86/kernel/doublefault_32.c:2:25: error: linux/sched.h: No such file or directory arch/x86/kernel/doublefault_32.c:3:24: error: linux/init.h: No such file or directory arch/x86/kernel/doublefault_32.c:4:29: error: linux/init_task.h: No such file or directory arch/x86/kernel/doublefault_32.c:5:22: error: linux/fs.h: No such file or directory arch/x86/kernel/doublefault_32.c:7:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/doublefault_32.c:8:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/doublefault_32.c:9:27: error: asm/processor.h: No such file or directory arch/x86/kernel/doublefault_32.c:10:22: error: asm/desc.h: No such file or directory CC arch/x86/kernel/vm86_32.o arch/x86/kernel/doublefault_32.c: In function 'doublefault_fn': arch/x86/kernel/doublefault_32.c:20: error: variable 'gdt_desc' has initializer but incomplete type arch/x86/kernel/doublefault_32.c:20: warning: excess elements in struct initializer arch/x86/kernel/doublefault_32.c:20: warning: (near initialization for 'gdt_desc') arch/x86/kernel/doublefault_32.c:20: warning: excess elements in struct initializer arch/x86/kernel/doublefault_32.c:20: warning: (near initialization for 'gdt_desc') arch/x86/kernel/doublefault_32.c:20: error: storage size of 'gdt_desc' isn't known arch/x86/kernel/doublefault_32.c:23: error: implicit declaration of function 'store_gdt' arch/x86/kernel/doublefault_32.c:26: error: implicit declaration of function 'printk' arch/x86/kernel/doublefault_32.c:26: error: 'KERN_EMERG' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:26: error: (Each undeclared identifier is reported only once arch/x86/kernel/doublefault_32.c:26: error: for each function it appears in.) arch/x86/kernel/doublefault_32.c:26: error: expected ')' before string constant arch/x86/kernel/doublefault_32.c:28: error: 'PAGE_OFFSET' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:28: error: 'MAXMEM' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:29: error: 'GDT_ENTRY_TSS' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:30: error: 'u16' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:30: error: expected expression before ')' token arch/x86/kernel/doublefault_32.c:31: error: 'u8' undeclared (first use in this function) arch/x86/kernel/doublefault_32.c:31: error: expected expression before ')' token arch/x86/kernel/doublefault_32.c:32: error: expected expression before ')' token arch/x86/kernel/doublefault_32.c:33: error: expected ')' before string constant arch/x86/kernel/doublefault_32.c:38: error: expected ')' before string constant arch/x86/kernel/doublefault_32.c:41: error: expected ')' before string constant arch/x86/kernel/doublefault_32.c:43: error: expected ')' before string constant arch/x86/kernel/doublefault_32.c:36: warning: unused variable 't' arch/x86/kernel/doublefault_32.c:49: error: implicit declaration of function 'cpu_relax' arch/x86/kernel/doublefault_32.c:20: warning: unused variable 'gdt_desc' arch/x86/kernel/doublefault_32.c: At top level: arch/x86/kernel/doublefault_32.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned' make[1]: *** [fs/attr.o] Error 1 CC fs/bad_inode.o make[1]: *** [arch/x86/kernel/doublefault_32.o] Error 1 kernel/kthread.c:32: error: field 'done' has incomplete type kernel/kthread.c:34: error: field 'list' has incomplete type kernel/kthread.c:41: error: field 'done' has incomplete type kernel/kthread.c:46: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' kernel/kthread.c:46: warning: parameter names (without types) in function declaration kernel/kthread.c: In function 'kthread_should_stop': kernel/kthread.c:58: error: 'current' undeclared (first use in this function) kernel/kthread.c:58: error: (Each undeclared identifier is reported only once kernel/kthread.c:58: error: for each function it appears in.) kernel/kthread.c: At top level: kernel/kthread.c:60: warning: data definition has no type or storage class kernel/kthread.c:60: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kthread.c:60: warning: parameter names (without types) in function declaration kernel/kthread.c: In function 'kthread': kernel/kthread.c:67: error: 'EINTR' undeclared (first use in this function) kernel/kthread.c:74: error: implicit declaration of function '__set_current_state' kernel/kthread.c:74: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) kernel/kthread.c:75: error: implicit declaration of function 'complete' kernel/kthread.c:76: error: implicit declaration of function 'schedule' kernel/kthread.c: In function 'create_kthread': kernel/kthread.c:94: error: implicit declaration of function 'kernel_thread' kernel/kthread.c:94: error: 'CLONE_FS' undeclared (first use in this function) kernel/kthread.c:94: error: 'CLONE_FILES' undeclared (first use in this function) kernel/kthread.c:94: error: 'SIGCHLD' undeclared (first use in this function) kernel/kthread.c:96: error: implicit declaration of function 'ERR_PTR' kernel/kthread.c:96: warning: assignment makes pointer from integer without a cast kernel/kthread.c:98: error: variable 'param' has initializer but incomplete type kernel/kthread.c:98: error: unknown field 'sched_priority' specified in initializer kernel/kthread.c:98: warning: excess elements in struct initializer kernel/kthread.c:98: warning: (near initialization for 'param') kernel/kthread.c:98: error: storage size of 'param' isn't known kernel/kthread.c:99: error: implicit declaration of function 'wait_for_completion' kernel/kthread.c:100: error: implicit declaration of function 'read_lock' kernel/kthread.c:100: error: 'tasklist_lock' undeclared (first use in this function) kernel/kthread.c:101: error: implicit declaration of function 'find_task_by_pid_ns' kernel/kthread.c:101: error: 'init_pid_ns' undeclared (first use in this function) kernel/kthread.c:101: warning: assignment makes pointer from integer without a cast kernel/kthread.c:102: error: implicit declaration of function 'read_unlock' kernel/kthread.c:107: error: implicit declaration of function 'sched_setscheduler' kernel/kthread.c:107: error: 'SCHED_NORMAL' undeclared (first use in this function) kernel/kthread.c:108: error: implicit declaration of function 'set_user_nice' kernel/kthread.c:109: error: implicit declaration of function 'set_cpus_allowed_ptr' kernel/kthread.c:109: error: 'CPU_MASK_ALL_PTR' undeclared (first use in this function) kernel/kthread.c:98: warning: unused variable 'param' kernel/kthread.c: In function '__kthread_create': kernel/kthread.c:123: error: implicit declaration of function 'init_completion' kernel/kthread.c:126: error: implicit declaration of function 'spin_lock' kernel/kthread.c:126: error: 'kthread_create_lock' undeclared (first use in this function) kernel/kthread.c:127: error: implicit declaration of function 'list_add_tail' kernel/kthread.c:127: error: 'kthread_create_list' undeclared (first use in this function) kernel/kthread.c:128: error: implicit declaration of function 'spin_unlock' kernel/kthread.c:130: error: implicit declaration of function 'wake_up_process' kernel/kthread.c:133: error: implicit declaration of function 'IS_ERR' kernel/kthread.c:134: error: 'va_list' undeclared (first use in this function) kernel/kthread.c:134: error: expected ';' before 'args' kernel/kthread.c:135: error: implicit declaration of function 'va_start' kernel/kthread.c:135: error: 'args' undeclared (first use in this function) kernel/kthread.c:136: error: implicit declaration of function 'vsnprintf' kernel/kthread.c:136: error: dereferencing pointer to incomplete type kernel/kthread.c:136: error: dereferencing pointer to incomplete type kernel/kthread.c:138: error: implicit declaration of function 'va_end' kernel/kthread.c: At top level: kernel/kthread.c:142: warning: data definition has no type or storage class kernel/kthread.c:142: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kthread.c:142: warning: parameter names (without types) in function declaration kernel/kthread.c: In function 'kthread_bind': kernel/kthread.c:155: error: dereferencing pointer to incomplete type CC fs/file.o cc1: error: include/linux/autoconf.h: No such file or directory mm/mmap.c:9:24: error: linux/slab.h: No such file or directory mm/mmap.c:10:31: error: linux/backing-dev.h: No such file or directory mm/mmap.c:11:22: error: linux/mm.h: No such file or directory mm/mmap.c:12:23: error: linux/shm.h: No such file or directory mm/mmap.c:13:24: error: linux/mman.h: No such file or directory mm/mmap.c:14:27: error: linux/pagemap.h: No such file or directory mm/mmap.c:15:24: error: linux/swap.h: No such file or directory mm/mmap.c:16:28: error: linux/syscalls.h: No such file or directory mm/mmap.c:17:30: error: linux/capability.h: No such file or directory mm/mmap.c:18:24: error: linux/init.h: No such file or directory mm/mmap.c:19:24: error: linux/file.h: No such file or directory mm/mmap.c:20:22: error: linux/fs.h: No such file or directory mm/mmap.c:21:31: error: linux/personality.h: No such file or directory mm/mmap.c:22:28: error: linux/security.h: No such file or directory mm/mmap.c:23:27: error: linux/hugetlb.h: No such file or directory mm/mmap.c:24:27: error: linux/profile.h: No such file or directory mm/mmap.c:25:26: error: linux/module.h: No such file or directory mm/mmap.c:26:25: error: linux/mount.h: No such file or directory mm/mmap.c:27:29: error: linux/mempolicy.h: No such file or directory mm/mmap.c:28:24: error: linux/rmap.h: No such file or directory mm/mmap.c:30:25: error: asm/uaccess.h: No such file or directory mm/mmap.c:31:28: error: asm/cacheflush.h: No such file or directory mm/mmap.c:32:21: error: asm/tlb.h: No such file or directory mm/mmap.c:33:29: error: asm/mmu_context.h: No such file or directory mm/mmap.c:45: warning: 'struct vm_area_struct' declared inside parameter list mm/mmap.c:45: warning: its scope is only this definition or declaration, which is probably not what you want mm/mmap.c:45: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'protection_map' mm/mmap.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_get_page_prot' mm/mmap.c:79: warning: data definition has no type or storage class mm/mmap.c:79: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mmap.c:79: warning: parameter names (without types) in function declaration mm/mmap.c:81: error: 'OVERCOMMIT_GUESS' undeclared here (not in a function) mm/mmap.c:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/mmap.c:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vm_committed_space' mm/mmap.c:102: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__vm_enough_memory': mm/mmap.c:106: error: implicit declaration of function 'vm_acct_memory' mm/mmap.c:111: error: 'OVERCOMMIT_ALWAYS' undeclared (first use in this function) mm/mmap.c:111: error: (Each undeclared identifier is reported only once mm/mmap.c:111: error: for each function it appears in.) mm/mmap.c:117: error: implicit declaration of function 'global_page_state' mm/mmap.c:117: error: 'NR_FILE_PAGES' undeclared (first use in this function) mm/mmap.c:118: error: 'nr_swap_pages' undeclared (first use in this function) mm/mmap.c:126: error: 'NR_SLAB_RECLAIMABLE' undeclared (first use in this function) mm/mmap.c:141: error: implicit declaration of function 'nr_free_pages' mm/mmap.c:146: error: 'totalreserve_pages' undeclared (first use in this function) mm/mmap.c:164: error: 'totalram_pages' undeclared (first use in this function) mm/mmap.c:164: error: implicit declaration of function 'hugetlb_total_pages' mm/mmap.c:171: error: 'total_swap_pages' undeclared (first use in this function) mm/mmap.c:175: error: dereferencing pointer to incomplete type mm/mmap.c:181: error: implicit declaration of function 'atomic_long_read' mm/mmap.c:181: error: 'vm_committed_space' undeclared (first use in this function) mm/mmap.c:184: error: implicit declaration of function 'vm_unacct_memory' mm/mmap.c:186: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:193: warning: 'struct address_space' declared inside parameter list mm/mmap.c:193: warning: 'struct file' declared inside parameter list mm/mmap.c:193: warning: 'struct vm_area_struct' declared inside parameter list mm/mmap.c: In function '__remove_shared_vm_struct': mm/mmap.c:195: error: dereferencing pointer to incomplete type mm/mmap.c:195: error: 'VM_DENYWRITE' undeclared (first use in this function) mm/mmap.c:196: error: implicit declaration of function 'atomic_inc' mm/mmap.c:196: error: dereferencing pointer to incomplete type mm/mmap.c:197: error: dereferencing pointer to incomplete type mm/mmap.c:197: error: 'VM_SHARED' undeclared (first use in this function) mm/mmap.c:198: error: dereferencing pointer to incomplete type mm/mmap.c:200: error: implicit declaration of function 'flush_dcache_mmap_lock' mm/mmap.c:201: error: implicit declaration of function 'unlikely' mm/mmap.c:201: error: dereferencing pointer to incomplete type mm/mmap.c:201: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/mmap.c:202: error: implicit declaration of function 'list_del_init' mm/mmap.c:202: error: dereferencing pointer to incomplete type mm/mmap.c:204: error: implicit declaration of function 'vma_prio_tree_remove' mm/mmap.c:204: error: dereferencing pointer to incomplete type mm/mmap.c:205: error: implicit declaration of function 'flush_dcache_mmap_unlock' mm/mmap.c: At top level: mm/mmap.c:212: warning: 'struct vm_area_struct' declared inside parameter list mm/mmap.c: In function 'unlink_file_vma': mm/mmap.c:214: error: dereferencing pointer to incomplete type mm/mmap.c:217: error: dereferencing pointer to incomplete type mm/mmap.c:218: error: implicit declaration of function 'spin_lock' mm/mmap.c:218: error: dereferencing pointer to incomplete type mm/mmap.c:219: warning: passing argument 1 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:219: warning: passing argument 2 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:219: warning: passing argument 3 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:220: error: implicit declaration of function 'spin_unlock' mm/mmap.c:220: error: dereferencing pointer to incomplete type mm/mmap.c: In function 'remove_vma': mm/mmap.c:229: error: dereferencing pointer to incomplete type mm/mmap.c:231: error: implicit declaration of function 'might_sleep' mm/mmap.c:232: error: dereferencing pointer to incomplete type mm/mmap.c:232: error: dereferencing pointer to incomplete type mm/mmap.c:233: error: dereferencing pointer to incomplete type mm/mmap.c:234: error: dereferencing pointer to incomplete type mm/mmap.c:235: error: implicit declaration of function 'fput' mm/mmap.c:235: error: dereferencing pointer to incomplete type mm/mmap.c:236: error: dereferencing pointer to incomplete type mm/mmap.c:236: error: 'VM_EXECUTABLE' undeclared (first use in this function) mm/mmap.c:237: error: implicit declaration of function 'removed_exe_file_vma' mm/mmap.c:237: error: dereferencing pointer to incomplete type mm/mmap.c:239: error: implicit declaration of function 'mpol_put' mm/mmap.c:239: error: implicit declaration of function 'vma_policy' mm/mmap.c:240: error: implicit declaration of function 'kmem_cache_free' mm/mmap.c:240: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' mm/mmap.c:352: warning: 'struct rb_node' declared inside parameter list mm/mmap.c:352: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'find_vma_prepare': mm/mmap.c:357: error: dereferencing pointer to incomplete type mm/mmap.c:358: error: 'NULL' undeclared (first use in this function) mm/mmap.c:365: error: implicit declaration of function 'rb_entry' mm/mmap.c:365: error: expected expression before 'struct' mm/mmap.c:365: warning: assignment makes pointer from integer without a cast mm/mmap.c:367: error: dereferencing pointer to incomplete type mm/mmap.c:369: error: dereferencing pointer to incomplete type mm/mmap.c:371: error: dereferencing pointer to incomplete type mm/mmap.c:374: error: dereferencing pointer to incomplete type mm/mmap.c:380: error: expected expression before 'struct' mm/mmap.c:380: warning: assignment makes pointer from integer without a cast mm/mmap.c: At top level: mm/mmap.c:388: warning: 'struct rb_node' declared inside parameter list mm/mmap.c:388: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__vma_link_list': mm/mmap.c:391: error: dereferencing pointer to incomplete type mm/mmap.c:391: error: dereferencing pointer to incomplete type mm/mmap.c:392: error: dereferencing pointer to incomplete type mm/mmap.c:394: error: dereferencing pointer to incomplete type mm/mmap.c:396: error: dereferencing pointer to incomplete type mm/mmap.c:397: error: expected expression before 'struct' mm/mmap.c:399: error: dereferencing pointer to incomplete type mm/mmap.c:399: error: 'NULL' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:404: warning: 'struct rb_node' declared inside parameter list mm/mmap.c:404: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__vma_link_rb': mm/mmap.c:406: error: implicit declaration of function 'rb_link_node' mm/mmap.c:406: error: dereferencing pointer to incomplete type mm/mmap.c:407: error: implicit declaration of function 'rb_insert_color' mm/mmap.c:407: error: dereferencing pointer to incomplete type mm/mmap.c:407: error: dereferencing pointer to incomplete type mm/mmap.c: In function '__vma_link_file': mm/mmap.c:414: error: dereferencing pointer to incomplete type mm/mmap.c:416: error: dereferencing pointer to incomplete type mm/mmap.c:418: error: dereferencing pointer to incomplete type mm/mmap.c:418: error: 'VM_DENYWRITE' undeclared (first use in this function) mm/mmap.c:419: error: implicit declaration of function 'atomic_dec' mm/mmap.c:419: error: dereferencing pointer to incomplete type mm/mmap.c:420: error: dereferencing pointer to incomplete type mm/mmap.c:420: error: 'VM_SHARED' undeclared (first use in this function) mm/mmap.c:421: error: dereferencing pointer to incomplete type mm/mmap.c:424: error: dereferencing pointer to incomplete type mm/mmap.c:424: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/mmap.c:425: error: implicit declaration of function 'vma_nonlinear_insert' mm/mmap.c:425: error: dereferencing pointer to incomplete type mm/mmap.c:427: error: implicit declaration of function 'vma_prio_tree_insert' mm/mmap.c:427: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:435: warning: 'struct rb_node' declared inside parameter list mm/mmap.c:435: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__vma_link': mm/mmap.c:437: warning: passing argument 1 of '__vma_link_list' from incompatible pointer type mm/mmap.c:437: warning: passing argument 4 of '__vma_link_list' from incompatible pointer type mm/mmap.c:438: warning: passing argument 1 of '__vma_link_rb' from incompatible pointer type mm/mmap.c:438: warning: passing argument 3 of '__vma_link_rb' from incompatible pointer type mm/mmap.c:438: warning: passing argument 4 of '__vma_link_rb' from incompatible pointer type mm/mmap.c:439: error: implicit declaration of function '__anon_vma_link' mm/mmap.c: At top level: mm/mmap.c:444: warning: 'struct rb_node' declared inside parameter list mm/mmap.c:444: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'vma_link': mm/mmap.c:446: error: 'NULL' undeclared (first use in this function) mm/mmap.c:448: error: dereferencing pointer to incomplete type mm/mmap.c:449: error: dereferencing pointer to incomplete type mm/mmap.c:452: error: dereferencing pointer to incomplete type mm/mmap.c:453: error: dereferencing pointer to incomplete type mm/mmap.c:453: error: dereferencing pointer to incomplete type mm/mmap.c:455: error: implicit declaration of function 'anon_vma_lock' mm/mmap.c:457: warning: passing argument 1 of '__vma_link' from incompatible pointer type mm/mmap.c:457: warning: passing argument 4 of '__vma_link' from incompatible pointer typecc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/vm86_32.c:31:30: error: linux/capability.h: No such file or directory arch/x86/kernel/vm86_32.c:32:25: error: linux/errno.h: No such file or directory arch/x86/kernel/vm86_32.c:33:29: error: linux/interrupt.h: No such file or directory arch/x86/kernel/vm86_32.c:34:25: error: linux/sched.h: No such file or directory arch/x86/kernel/vm86_32.c:35:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/vm86_32.c:36:26: error: linux/signal.h: No such file or directory arch/x86/kernel/vm86_32.c:37:26: error: linux/string.h: No such file or directory arch/x86/kernel/vm86_32.c:38:22: error: linux/mm.h: No such file or directory arch/x86/kernel/vm86_32.c:39:23: error: linux/smp.h: No such file or directory arch/x86/kernel/vm86_32.c:40:27: error: linux/highmem.h: No such file or directory arch/x86/kernel/vm86_32.c:41:26: error: linux/ptrace.h: No such file or directory arch/x86/kernel/vm86_32.c:42:25: error: linux/audit.h: No such file or directory arch/x86/kernel/vm86_32.c:43:26: error: linux/stddef.h: No such file or directory arch/x86/kernel/vm86_32.c:45:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/vm86_32.c:46:20: error: asm/io.h: No such file or directory arch/x86/kernel/vm86_32.c:47:26: error: asm/tlbflush.h: No such file or directory arch/x86/kernel/vm86_32.c:48:21: error: asm/irq.h: No such file or directory arch/x86/kernel/vm86_32.c:91: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/vm86_32.c:110: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/vm86_32.c:125: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c:125: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/vm86_32.c: In function 'save_v86_state': arch/x86/kernel/vm86_32.c:136: error: implicit declaration of function 'local_irq_enable' arch/x86/kernel/vm86_32.c:138: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:138: error: (Each undeclared identifier is reported only once arch/x86/kernel/vm86_32.c:138: error: for each function it appears in.) arch/x86/kernel/vm86_32.c:139: error: implicit declaration of function 'printk' arch/x86/kernel/vm86_32.c:140: error: implicit declaration of function 'do_exit' arch/x86/kernel/vm86_32.c:140: error: 'SIGSEGV' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:142: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:142: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:142: error: 'X86_EFLAGS_VIF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:143: error: implicit declaration of function 'copy_vm86_regs_to_user' arch/x86/kernel/vm86_32.c:144: error: implicit declaration of function 'put_user' arch/x86/kernel/vm86_32.c:150: error: implicit declaration of function 'per_cpu' arch/x86/kernel/vm86_32.c:150: error: 'init_tss' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:150: error: implicit declaration of function 'get_cpu' arch/x86/kernel/vm86_32.c:150: error: invalid lvalue in unary '&' arch/x86/kernel/vm86_32.c:152: error: '__KERNEL_CS' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:153: error: implicit declaration of function 'load_sp0' arch/x86/kernel/vm86_32.c:155: error: implicit declaration of function 'put_cpu' arch/x86/kernel/vm86_32.c:157: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:159: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:160: error: implicit declaration of function 'loadsegment' arch/x86/kernel/vm86_32.c:160: error: 'gs' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:165: warning: 'struct mm_struct' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'mark_screen_rdonly': arch/x86/kernel/vm86_32.c:167: error: 'pgd_t' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:167: error: 'pgd' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:168: error: 'pud_t' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:168: error: 'pud' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:169: error: 'pmd_t' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:169: error: 'pmd' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:170: error: 'pte_t' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:170: error: 'pte' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:171: error: 'spinlock_t' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:171: error: 'ptl' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:172: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/vm86_32.c:174: error: implicit declaration of function 'pgd_offset' arch/x86/kernel/vm86_32.c:175: error: implicit declaration of function 'pgd_none_or_clear_bad' arch/x86/kernel/vm86_32.c:177: error: implicit declaration of function 'pud_offset' arch/x86/kernel/vm86_32.c:178: error: implicit declaration of function 'pud_none_or_clear_bad' arch/x86/kernel/vm86_32.c:180: error: implicit declaration of function 'pmd_offset' arch/x86/kernel/vm86_32.c:181: error: implicit declaration of function 'pmd_none_or_clear_bad' arch/x86/kernel/vm86_32.c:183: error: implicit declaration of function 'pte_offset_map_lock' arch/x86/kernel/vm86_32.c:185: error: implicit declaration of function 'pte_present' arch/x86/kernel/vm86_32.c:186: error: implicit declaration of function 'set_pte' arch/x86/kernel/vm86_32.c:186: error: implicit declaration of function 'pte_wrprotect' arch/x86/kernel/vm86_32.c:189: error: implicit declaration of function 'pte_unmap_unlock' arch/x86/kernel/vm86_32.c:191: error: implicit declaration of function 'flush_tlb' arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:197: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/vm86_32.c:197: warning: 'struct kernel_vm86_struct' declared inside parameter list arch/x86/kernel/vm86_32.c:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/vm86_32.c:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/vm86_32.c:280: warning: 'struct task_struct' declared inside parameter list arch/x86/kernel/vm86_32.c:280: warning: 'struct kernel_vm86_struct' declared inside parameter list arch/x86/kernel/vm86_32.c:281: error: conflicting types for 'do_sys_vm86' arch/x86/kernel/vm86_32.c:197: error: previous declaration of 'do_sys_vm86' was here arch/x86/kernel/vm86_32.c: In function 'do_sys_vm86': arch/x86/kernel/vm86_32.c:286: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:287: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:288: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:299: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:299: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:300: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:301: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:301: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:302: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:302: error: 'X86_VM_MASK' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:304: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:305: error: 'CPU_286' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:306: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:308: error: 'CPU_386' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:309: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:309: error: 'X86_EFLAGS_NT' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:309: error: 'X86_EFLAGS_IOPL' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:311: error: 'CPU_486' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:312: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:312: error: 'X86_EFLAGS_AC' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:315: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:315: error: 'X86_EFLAGS_ID' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:322: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:323: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:323: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:324: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:324: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:325: error: implicit declaration of function 'savesegment' arch/x86/kernel/vm86_32.c:325: error: 'gs' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:325: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:327: error: 'init_tss' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:327: error: invalid lvalue in unary '&' arch/x86/kernel/vm86_32.c:328: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:328: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:329: error: 'cpu_has_sep' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:330: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:331: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:334: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:334: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:335: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:335: error: 'VM86_SCREEN_BITMAP' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:336: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:339: error: implicit declaration of function 'unlikely' arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function 'audit_syscall_exit' arch/x86/kernel/vm86_32.c:340: error: implicit declaration of function 'AUDITSC_RESULT' arch/x86/kernel/vm86_32.c:348: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:348: error: implicit declaration of function 'task_thread_info' arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:352: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'return_to_32bit': arch/x86/kernel/vm86_32.c:356: warning: passing argument 1 of 'save_v86_state' from incompatible pointer type arch/x86/kernel/vm86_32.c:357: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:361: error: implicit declaration of function 'current_thread_info' arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:364: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'set_IF': arch/x86/kernel/vm86_32.c:366: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:366: error: 'X86_EFLAGS_VIF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:367: error: 'X86_EFLAGS_VIP' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:368: error: 'VM86_STI' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:368: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:371: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'clear_IF': arch/x86/kernel/vm86_32.c:373: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:373: error: 'X86_EFLAGS_VIF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:376: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'clear_TF': arch/x86/kernel/vm86_32.c:378: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:378: error: 'X86_EFLAGS_TF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:381: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'clear_AC': arch/x86/kernel/vm86_32.c:383: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:383: error: 'X86_EFLAGS_AC' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:398: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'set_vflags_long': arch/x86/kernel/vm86_32.c:400: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:401: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:401: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:402: error: 'X86_EFLAGS_IF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:403: warning: passing argument 1 of 'set_IF' from incompatible pointer type arch/x86/kernel/vm86_32.c:405: warning: passing argument 1 of 'clear_IF' from incompatible pointer type arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:408: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'set_vflags_short': arch/x86/kernel/vm86_32.c:410: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:411: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:411: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:412: error: 'X86_EFLAGS_IF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:413: warning: passing argument 1 of 'set_IF' from incompatible pointer type arch/x86/kernel/vm86_32.c:415: warning: passing argument 1 of 'clear_IF' from incompatible pointer type arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:418: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'get_vflags': arch/x86/kernel/vm86_32.c:420: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:422: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:422: error: 'X86_EFLAGS_VIF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:423: error: 'X86_EFLAGS_IF' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:424: error: 'X86_EFLAGS_IOPL' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:428: warning: 'struct revectored_struct' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'is_revectored': arch/x86/kernel/vm86_32.c:432: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:430: error: memory input 1 is not directly addressable arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:519: error: expected ';', ',' or ')' before '*' token arch/x86/kernel/vm86_32.c:550: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'handle_vm86_trap': arch/x86/kernel/vm86_32.c:552: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:554: error: 'VM86_TRAP' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:554: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type arch/x86/kernel/vm86_32.c:555: error: implicit declaration of function 'do_int' arch/x86/kernel/vm86_32.c:555: error: expected ')' before '__user' arch/x86/kernel/vm86_32.c:555: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:555: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:560: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:562: error: implicit declaration of function 'force_sig' arch/x86/kernel/vm86_32.c:562: error: 'SIGTRAP' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:566: warning: 'struct kernel_vm86_regs' declared inside parameter list arch/x86/kernel/vm86_32.c: In function 'handle_vm86_fault': arch/x86/kernel/vm86_32.c:569: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token arch/x86/kernel/vm86_32.c:569: error: 'csp' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:570: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token arch/x86/kernel/vm86_32.c:570: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/vm86_32.c:570: error: 'ssp' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:571: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/vm86_32.c:584: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:586: error: expected ')' before '__user' arch/x86/kernel/vm86_32.c:586: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:587: error: expected ')' before '__user' arch/x86/kernel/vm86_32.c:587: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:588: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:589: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:594: error: '__u8' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:594: error: expected ';' before '__res' arch/x86/kernel/vm86_32.c:594: error: implicit declaration of function 'get_user' arch/x86/kernel/vm86_32.c:594: error: '__res' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:614: error: '__u32' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:614: error: expected ';' before '__val' arch/x86/kernel/vm86_32.c:614: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:614: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:614: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:614: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:615: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:617: error: '__u16' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:617: error: expected ';' before '__val' kernel/kthread.c:155: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) kernel/kthread.c:156: error: implicit declaration of function 'WARN_ON' kernel/kthread.c:160: error: implicit declaration of function 'wait_task_inactive' kernel/kthread.c:161: error: implicit declaration of function 'set_task_cpu' kernel/kthread.c:162: error: dereferencing pointer to incomplete type cc1: error: include/linux/autoconf.h: No such file or directory fs/file.c:9:22: error: linux/fs.h: No such file or directory fs/file.c:10:22: error: linux/mm.h: No such file or directory fs/file.c:11:24: error: linux/time.h: No such file or directory fs/file.c:12:24: error: linux/slab.h: No such file or directory fs/file.c:13:27: error: linux/vmalloc.h: No such file or directory fs/file.c:14:24: error: linux/file.h: No such file or directory fs/file.c:15:27: error: linux/fdtable.h: No such file or directory fs/file.c:16:26: error: linux/bitops.h: No such file or directory fs/file.c:17:29: error: linux/interrupt.h: No such file or directory fs/file.c:18:28: error: linux/spinlock.h: No such file or directory fs/file.c:19:28: error: linux/rcupdate.h: No such file or directory fs/file.c:20:29: error: linux/workqueue.h: No such file or directory fs/file.c:23: error: expected specifier-qualifier-list before 'spinlock_t' fs/file.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/file.c:29: error: 'BITS_PER_LONG' undeclared here (not in a function) fs/file.c:38: error: expected declaration specifiers or '...' before 'fdtable_defer_list' fs/file.c:38: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' fs/file.c: In function 'alloc_fdmem': fs/file.c:42: error: 'PAGE_SIZE' undeclared (first use in this function) fs/file.c:42: error: (Each undeclared identifier is reported only once fs/file.c:42: error: for each function it appears in.) fs/file.c:43: error: implicit declaration of function 'kmalloc' fs/file.c:43: error: 'GFP_KERNEL' undeclared (first use in this function) fs/file.c:43: warning: return makes pointer from integer without a cast fs/file.c:45: error: implicit declaration of function 'vmalloc' fs/file.c:45: warning: return makes pointer from integer without a cast mm/mmap.c:457: warning: passing argument 5 of '__vma_link' from incompatible pointer type mm/mmap.c:460: error: implicit declaration of function 'anon_vma_unlock' mm/mmap.c:462: error: dereferencing pointer to incomplete type mm/mmap.c:464: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:474: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__insert_vm_struct': mm/mmap.c:479: error: dereferencing pointer to incomplete type mm/mmap.c:479: warning: passing argument 1 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:479: warning: passing argument 4 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:479: warning: passing argument 5 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:480: error: implicit declaration of function 'BUG_ON' mm/mmap.c:480: error: dereferencing pointer to incomplete type mm/mmap.c:480: error: dereferencing pointer to incomplete type mm/mmap.c:481: warning: passing argument 1 of '__vma_link' from incompatible pointer type mm/mmap.c:481: warning: passing argument 4 of '__vma_link' from incompatible pointer type mm/mmap.c:481: warning: passing argument 5 of '__vma_link' from incompatible pointer type mm/mmap.c:482: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:487: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function '__vma_unlink': mm/mmap.c:489: error: dereferencing pointer to incomplete type mm/mmap.c:489: error: dereferencing pointer to incomplete type mm/mmap.c:490: error: implicit declaration of function 'rb_erase' mm/mmap.c:490: error: dereferencing pointer to incomplete type mm/mmap.c:490: error: dereferencing pointer to incomplete type mm/mmap.c:491: error: dereferencing pointer to incomplete type mm/mmap.c:492: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:503: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mmap.c: In function 'vma_adjust': mm/mmap.c:505: error: dereferencing pointer to incomplete type mm/mmap.c:506: error: dereferencing pointer to incomplete type mm/mmap.c:507: error: 'NULL' undeclared (first use in this function) mm/mmap.c:510: error: dereferencing pointer to incomplete type mm/mmap.c:516: error: dereferencing pointer to incomplete type mm/mmap.c:521: error: dereferencing pointer to incomplete type mm/mmap.c:522: error: dereferencing pointer to incomplete type mm/mmap.c:523: error: dereferencing pointer to incomplete type mm/mmap.c:525: error: dereferencing pointer to incomplete type mm/mmap.c:530: error: dereferencing pointer to incomplete type mm/mmap.c:530: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:531: error: dereferencing pointer to incomplete type mm/mmap.c:533: error: dereferencing pointer to incomplete type mm/mmap.c:539: error: dereferencing pointer to incomplete type mm/mmap.c:540: error: dereferencing pointer to incomplete type mm/mmap.c:546: error: dereferencing pointer to incomplete type mm/mmap.c:547: error: dereferencing pointer to incomplete type mm/mmap.c:547: error: 'VM_NONLINEAR' undeclared (first use in this function) mm/mmap.c:548: error: dereferencing pointer to incomplete type mm/mmap.c:549: error: dereferencing pointer to incomplete type mm/mmap.c:551: error: dereferencing pointer to incomplete type mm/mmap.c:551: error: dereferencing pointer to incomplete type mm/mmap.c:556: error: dereferencing pointer to incomplete type mm/mmap.c:559: error: dereferencing pointer to incomplete type mm/mmap.c:559: error: dereferencing pointer to incomplete type mm/mmap.c:574: error: dereferencing pointer to incomplete type mm/mmap.c:575: error: dereferencing pointer to incomplete type mm/mmap.c:577: error: dereferencing pointer to incomplete type mm/mmap.c:583: error: dereferencing pointer to incomplete type mm/mmap.c:584: error: dereferencing pointer to incomplete type mm/mmap.c:596: error: dereferencing pointer to incomplete type mm/mmap.c:597: error: dereferencing pointer to incomplete type mm/mmap.c:598: error: dereferencing pointer to incomplete type mm/mmap.c:598: error: 'pgoff' undeclared (first use in this function) mm/mmap.c:600: error: dereferencing pointer to incomplete type mm/mmap.c:601: error: dereferencing pointer to incomplete type mm/mmap.c:616: warning: passing argument 1 of '__vma_unlink' from incompatible pointer type mm/mmap.c:618: warning: passing argument 1 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:618: warning: passing argument 2 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:618: warning: passing argument 3 of '__remove_shared_vm_struct' from incompatible pointer type mm/mmap.c:619: error: dereferencing pointer to incomplete type mm/mmap.c:620: error: implicit declaration of function '__anon_vma_merge' mm/mmap.c:627: warning: passing argument 1 of '__insert_vm_struct' from incompatible pointer type mm/mmap.c:631: error: dereferencing pointer to incomplete type mm/mmap.c:633: error: dereferencing pointer to incomplete type mm/mmap.c:638: error: dereferencing pointer to incomplete type mm/mmap.c:638: error: 'VM_EXECUTABLE' undeclared (first use in this function) mm/mmap.c:641: error: dereferencing pointer to incomplete type mm/mmap.c:643: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:650: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:665: warning: 'struct file' declared inside parameter list mm/mmap.c: In function 'is_mergeable_vma': mm/mmap.c:667: error: dereferencing pointer to incomplete type mm/mmap.c:669: error: dereferencing pointer to incomplete type mm/mmap.c:671: error: dereferencing pointer to incomplete type mm/mmap.c:671: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:677: warning: 'struct anon_vma' declared inside parameter list mm/mmap.c:695: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mmap.c:695: warning: 'struct file' declared inside parameter list mm/mmap.c:695: warning: 'struct anon_vma' declared inside parameter list mm/mmap.c: In function 'can_vma_merge_before': mm/mmap.c:697: warning: passing argument 2 of 'is_mergeable_vma' from incompatible pointer type mm/mmap.c:698: error: dereferencing pointer to incomplete type mm/mmap.c:698: warning: passing argument 1 of 'is_mergeable_anon_vma' from incompatible pointer type mm/mmap.c:699: error: dereferencing pointer to incomplete type mm/mmap.c:699: error: 'vm_pgoff' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:714: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mmap.c:714: warning: 'struct file' declared inside parameter list mm/mmap.c:714: warning: 'struct anon_vma' declared inside parameter list mm/mmap.c: In function 'can_vma_merge_after': mm/mmap.c:716: warning: passing argument 2 of 'is_mergeable_vma' from incompatible pointer type mm/mmap.c:717: error: dereferencing pointer to incomplete type mm/mmap.c:717: warning: passing argument 1 of 'is_mergeable_anon_vma' from incompatible pointer type mm/mmap.c:718: error: 'pgoff_t' undeclared (first use in this function) mm/mmap.c:718: error: expected ';' before 'vm_pglen' mm/mmap.c:719: error: 'vm_pglen' undeclared (first use in this function) mm/mmap.c:719: error: dereferencing pointer to incomplete type mm/mmap.c:719: error: dereferencing pointer to incomplete type mm/mmap.c:719: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:720: error: dereferencing pointer to incomplete type mm/mmap.c:720: error: 'vm_pgoff' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:759: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mmap.c:759: warning: 'struct mempolicy' declared inside parameter list mm/mmap.c:759: warning: 'struct file' declared inside parameter list mm/mmap.c:759: warning: 'struct anon_vma' declared inside parameter list mm/mmap.c:759: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'vma_merge': mm/mmap.c:761: error: 'pgoff_t' undeclared (first use in this function) mm/mmap.c:761: error: expected ';' before 'pglen' mm/mmap.c:762: warning: ISO C90 forbids mixed declarations and code mm/mmap.c:768: error: 'VM_IO' undeclared (first use in this function) mm/mmap.c:768: error: 'VM_DONTEXPAND' undeclared (first use in this function) mm/mmap.c:768: error: 'VM_RESERVED' undeclared (first use in this function) mm/mmap.c:768: error: 'VM_PFNMAP' undeclared (first use in this function) mm/mmap.c:769: error: 'NULL' undeclared (first use in this function) mm/mmap.c:772: error: dereferencing pointer to incomplete type mm/mmap.c:774: error: dereferencing pointer to incomplete type mm/mmap.c:776: error: dereferencing pointer to incomplete type mm/mmap.c:777: error: dereferencing pointer to incomplete type mm/mmap.c:782: error: dereferencing pointer to incomplete type mm/mmap.c:783: error: implicit declaration of function 'mpol_equal' mm/mmap.c:785: error: 'pgoff' undeclared (first use in this function) mm/mmap.c:785: warning: passing argument 3 of 'can_vma_merge_after' from incompatible pointer type mm/mmap.c:785: warning: passing argument 4 of 'can_vma_merge_after' from incompatible pointer type mm/mmap.c:785: error: too many arguments to function 'can_vma_merge_after' mm/mmap.c:789: error: dereferencing pointer to incomplete type mm/mmap.c:792: error: 'pglen' undeclared (first use in this function) mm/mmap.c:792: warning: passing argument 3 of 'can_vma_merge_before' from incompatible pointer type mm/mmap.c:792: warning: passing argument 4 of 'can_vma_merge_before' from incompatible pointer type mm/mmap.c:792: error: too many arguments to function 'can_vma_merge_before' mm/mmap.c:793: error: dereferencing pointer to incomplete type mm/mmap.c:794: error: dereferencing pointer to incomplete type mm/mmap.c:796: error: dereferencing pointer to incomplete type mm/mmap.c:797: error: dereferencing pointer to incomplete type mm/mmap.c:797: error: dereferencing pointer to incomplete type mm/mmap.c:797: error: too many arguments to function 'vma_adjust' mm/mmap.c:799: error: dereferencing pointer to incomplete type mm/mmap.c:800: error: dereferencing pointer to incomplete type mm/mmap.c:800: error: too many arguments to function 'vma_adjust' mm/mmap.c:807: error: dereferencing pointer to incomplete type mm/mmap.c:810: warning: passing argument 3 of 'can_vma_merge_before' from incompatible pointer type mm/mmap.c:810: warning: passing argument 4 of 'can_vma_merge_before' from incompatible pointer type mm/mmap.c:810: error: too many arguments to function 'can_vma_merge_before' mm/mmap.c:811: error: dereferencing pointer to incomplete type mm/mmap.c:812: error: dereferencing pointer to incomplete type mm/mmap.c:813: error: dereferencing pointer to incomplete type mm/mmap.c:813: error: too many arguments to function 'vma_adjust' mm/mmap.c:815: error: dereferencing pointer to incomplete type mm/mmap.c:816: error: dereferencing pointer to incomplete type mm/mmap.c:816: error: too many arguments to function 'vma_adjust' mm/mmap.c: In function 'find_mergeable_anon_vma': mm/mmap.c:836: error: dereferencing pointer to incomplete type mm/mmap.c:846: error: dereferencing pointer to incomplete type mm/mmap.c:846: error: 'VM_READ' undeclared (first use in this function) mm/mmap.c:846: error: 'VM_WRITE' undeclared (first use in this function) mm/mmap.c:846: error: 'VM_EXEC' undeclared (first use in this function) mm/mmap.c:847: error: dereferencing pointer to incomplete type mm/mmap.c:849: error: dereferencing pointer to incomplete type mm/mmap.c:849: error: dereferencing pointer to incomplete type mm/mmap.c:849: error: dereferencing pointer to incomplete type mm/mmap.c:852: error: 'NULL' undeclared (first use in this function) mm/mmap.c:852: error: dereferencing pointer to incomplete type mm/mmap.c:852: error: dereferencing pointer to incomplete type mm/mmap.c:853: error: dereferencing pointer to incomplete type mm/mmap.c:853: error: dereferencing pointer to incomplete type mm/mmap.c:853: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:853: error: too many arguments to function 'can_vma_merge_before' mm/mmap.c:854: error: dereferencing pointer to incomplete type mm/mmap.c:863: error: implicit declaration of function 'find_vma_prev' mm/mmap.c:863: error: dereferencing pointer to incomplete type mm/mmap.c:863: error: dereferencing pointer to incomplete type mm/mmap.c:863: warning: comparison between pointer and integer mm/mmap.c:867: error: dereferencing pointer to incomplete type mm/mmap.c:868: error: dereferencing pointer to incomplete type mm/mmap.c:870: error: dereferencing pointer to incomplete type mm/mmap.c:870: error: dereferencing pointer to incomplete type mm/mmap.c:870: error: dereferencing pointer to incomplete type mm/mmap.c:873: error: dereferencing pointer to incomplete type mm/mmap.c:873: error: dereferencing pointer to incomplete type mm/mmap.c:873: error: too many arguments to function 'can_vma_merge_after' mm/mmap.c:874: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:617: error: expected expression before ')' token mm/mmap.c: At top level: mm/mmap.c:911: warning: 'struct file' declared inside parameter list mm/mmap.c: In function 'do_mmap_pgoff': mm/mmap.c:913: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:617: error: expected expression before ')' token mm/mmap.c:926: error: 'PROT_READ' undeclared (first use in this function) mm/mmap.c:926: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function)arch/x86/kernel/vm86_32.c:618: error: dereferencing pointer to incomplete type kernel/kthread.c:162: error: implicit declaration of function 'cpumask_of_cpu' cc1: fs/file.c: At top level: fs/file.c:48: warning: 'struct fdtable' declared inside parameter list mm/mmap.c:927: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:620: error: dereferencing pointer to incomplete typemm/mmap.c:927: error: 'MNT_NOEXEC' undeclared (first use in this function) error: include/linux/autoconf.h: No such file or directory kernel/kthread.c:163: error: dereferencing pointer to incomplete type fs/file.c:48: warning: its scope is only this definition or declaration, which is probably not what you wantkernel/kthread.c:164: error: dereferencing pointer to incomplete type kernel/kthread.c:164: error: 'PF_THREAD_BOUND' undeclared (first use in this function) kernel/kthread.c: At top level: kernel/kthread.c:166: warning: data definition has no type or storage class kernel/kthread.c:166: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kthread.c:166: warning: parameter names (without types) in function declaration kernel/kthread.c: In function 'kthread_stop': kernel/kthread.c:185: error: implicit declaration of function 'mutex_lock' kernel/kthread.c:185: error: 'kthread_stop_lock' undeclared (first use in this function) fs/bad_inode.c:11:22: arch/x86/kernel/vm86_32.c:621: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:621: error: 'current' undeclared (first use in this function) mm/mmap.c:928: error: 'PROT_EXEC' undeclared (first use in this function) mm/mmap.c:931: error: 'EINVAL' undeclared (first use in this function) mm/mmap.c:933: error: 'MAP_FIXED' undeclared (first use in this function) mm/mmap.c:934: error: implicit declaration of function 'round_hint_to_min' kernel/kthread.c:188: error: implicit declaration of function 'get_task_struct' error: linux/fs.h: No such file or directoryarch/x86/kernel/vm86_32.c:621: error: 'X86_EFLAGS_IF' undeclared (first use in this function)kernel/kthread.c:192: error: implicit declaration of function 'smp_wmb'fs/file.c: In function 'free_fdarr':mm/mmap.c:941: error: implicit declaration of function 'PAGE_ALIGN' kernel/kthread.c:197: error: implicit declaration of function 'put_task_struct' fs/bad_inode.c:12:26: mm/mmap.c:942: error: 'TASK_SIZE' undeclared (first use in this function) kernel/kthread.c:201: error: 'NULL' undeclared (first use in this function) mm/mmap.c:943: error: 'ENOMEM' undeclared (first use in this function) error: mm/mmap.c:946: error: 'PAGE_SHIFT' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:621: error: 'X86_EFLAGS_VIF' undeclared (first use in this function)mm/mmap.c:947: error: 'EOVERFLOW' undeclared (first use in this function) fs/file.c:50: error: dereferencing pointer to incomplete typemm/mmap.c:950: error: dereferencing pointer to incomplete type kernel/kthread.c:203: error: implicit declaration of function 'mutex_unlock' kernel/kthread.c: At top level: kernel/kthread.c:207: warning: data definition has no type or storage class kernel/kthread.c:207: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kthread.c:207: warning: parameter names (without types) in function declaration kernel/kthread.c: In function 'kthreadd': kernel/kthread.c:211: error: 'current' undeclared (first use in this function) kernel/kthread.c:214: error: implicit declaration of function 'set_task_comm' kernel/kthread.c:215: error: implicit declaration of function 'ignore_signals' kernel/kthread.c:217: error: 'CPU_MASK_ALL_PTR' undeclared (first use in this function) kernel/kthread.c:219: error: 'PF_NOFREEZE' undeclared (first use in this function) kernel/kthread.c:219: error: 'PF_FREEZER_NOSIG' undeclared (first use in this function) kernel/kthread.c:222: error: implicit declaration of function 'set_current_state' kernel/kthread.c:222: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) kernel/kthread.c:223: error: implicit declaration of function 'list_empty' kernel/kthread.c:223: error: 'kthread_create_list' undeclared (first use in this function) linux/module.h: No such file or directory mm/mmap.c:950: error: 'sysctl_max_map_count' undeclared (first use in this function)fs/file.c:50: error: 'PAGE_SIZE' undeclared (first use in this function) kernel/kthread.c:225: error: 'TASK_RUNNING' undeclared (first use in this function)arch/x86/kernel/vm86_32.c:621: error: 'VM86_PICRETURN' undeclared (first use in this function)fs/bad_inode.c:13:24: error: linux/stat.h: No such file or directory fs/file.c:51: error: implicit declaration of function 'kfree' fs/bad_inode.c:14:24:arch/x86/kernel/vm86_32.c:621: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type kernel/kthread.c:227: error: 'kthread_create_lock' undeclared (first use in this function) fs/file.c:51: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:621: error: 'X86_EFLAGS_TF' undeclared (first use in this function)fs/file.c:53: error: implicit declaration of function 'vfree' mm/mmap.c:956: error: implicit declaration of function 'get_unmapped_area'fs/file.c:53: error: dereferencing pointer to incomplete type error: kernel/kthread.c:231: error: implicit declaration of function 'list_entry' kernel/kthread.c:232: error: expected expression before 'struct' linux/time.h: No such file or directorykernel/kthread.c:232: warning: assignment makes pointer from integer without a castarch/x86/kernel/vm86_32.c:621: warning: passing argument 1 of 'handle_vm86_trap' from incompatible pointer type fs/file.c: At top level: fs/bad_inode.c:15:25: arch/x86/kernel/vm86_32.c:628: error: expected ';' before '__res' mm/mmap.c:957: error: 'PAGE_MASK' undeclared (first use in this function)arch/x86/kernel/vm86_32.c:628: error: expected expression before ')' token fs/file.c:56: warning: 'struct fdtable' declared inside parameter listkernel/kthread.c:233: error: implicit declaration of function 'list_del_init' error: linux/namei.h: No such file or directory fs/bad_inode.c:16:24: error: linux/poll.h: No such file or directory fs/bad_inode.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_llseek' fs/bad_inode.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_read' fs/bad_inode.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_write' fs/bad_inode.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_aio_read' fs/bad_inode.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_aio_write' fs/bad_inode.c:48: error: expected declaration specifiers or '...' before 'filldir_t' fs/file.c: In function 'free_fdset': fs/file.c:58: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:628: error: expected expression before ')' tokenfs/bad_inode.c:48: warning: 'struct file' declared inside parameter list fs/bad_inode.c:48: warning: its scope is only this definition or declaration, which is probably not what you want fs/bad_inode.c: In function 'bad_file_readdir': fs/bad_inode.c:50: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c:50: error: (Each undeclared identifier is reported only once fs/bad_inode.c:50: error: for each function it appears in.) fs/bad_inode.c: At top level: fs/bad_inode.c:53: error: expected declaration specifiers or '...' before 'poll_table' fs/bad_inode.c:53: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_poll': fs/bad_inode.c:55: error: 'POLLERR' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:59: warning: 'struct file' declared inside parameter list fs/bad_inode.c:59: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_file_ioctl': fs/bad_inode.c:61: error: 'EIO' undeclared (first use in this function)mm/mmap.c:964: error: implicit declaration of function 'calc_vm_prot_bits'fs/file.c:58: error: 'PAGE_SIZE' undeclared (first use in this function) fs/file.c:58: error: 'BITS_PER_BYTE' undeclared (first use in this function) fs/file.c:59: error: dereferencing pointer to incomplete type fs/file.c:61: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level: arch/x86/kernel/vm86_32.c:628: error: expected expression before ')' token fs/file.c: At top level: fs/file.c:64: warning: 'struct work_struct' declared inside parameter list fs/bad_inode.c:65: warning: 'struct file' declared inside parameter listfs/file.c: In function 'free_fdtable_work': mm/mmap.c:964: error: implicit declaration of function 'calc_vm_flag_bits' arch/x86/kernel/vm86_32.c:628: error: expected expression before ')' token fs/file.c:67: error: implicit declaration of function 'container_of' mm/mmap.c:965: error: dereferencing pointer to incomplete typefs/file.c:67: error: expected expression before 'struct' fs/file.c:67: warning: initialization makes pointer from integer without a cast fs/bad_inode.c: In function 'bad_file_unlocked_ioctl': fs/file.c:70: error: implicit declaration of function 'spin_lock_bh'arch/x86/kernel/vm86_32.c:629: error: dereferencing pointer to incomplete type fs/bad_inode.c:67: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:631: error: expected ';' before '__res' fs/file.c:70: error: 'struct fdtable_defer' has no member named 'lock' arch/x86/kernel/vm86_32.c:631: error: expected expression before ')' tokenfs/file.c:71: error: 'struct fdtable_defer' has no member named 'next'mm/mmap.c:965: error: 'VM_MAYREAD' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:71: warning: 'struct file' declared inside parameter list arch/x86/kernel/vm86_32.c:631: error: expected expression before ')' token fs/bad_inode.c: In function 'bad_file_compat_ioctl': fs/bad_inode.c:73: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:76: warning: 'struct vm_area_struct' declared inside parameter list fs/bad_inode.c:76: warning: 'struct file' declared inside parameter list fs/file.c:72: error: 'struct fdtable_defer' has no member named 'next' fs/file.c:72: error: 'NULL' undeclared (first use in this function) fs/file.c:73: error: implicit declaration of function 'spin_unlock_bh' fs/file.c:73: error: 'struct fdtable_defer' has no member named 'lock' mm/mmap.c:965: error: 'VM_MAYWRITE' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:632: error: dereferencing pointer to incomplete type fs/bad_inode.c: In function 'bad_file_mmap': fs/bad_inode.c:78: error: 'EIO' undeclared (first use in this function) mm/mmap.c:965: error: 'VM_MAYEXEC' undeclared (first use in this function) fs/file.c:75: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:634: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level: arch/x86/kernel/vm86_32.c:635: error: dereferencing pointer to incomplete type fs/file.c:76: error: dereferencing pointer to incomplete type mm/mmap.c:967: error: 'MAP_LOCKED' undeclared (first use in this function)fs/bad_inode.c:81: warning: 'struct file' declared inside parameter list arch/x86/kernel/vm86_32.c:635: error: dereferencing pointer to incomplete typefs/file.c:77: warning: passing argument 1 of 'free_fdset' from incompatible pointer type fs/bad_inode.c:81: warning: 'struct inode' declared inside parameter list make[1]: arch/x86/kernel/vm86_32.c:637: warning: passing argument 2 of 'set_vflags_long' from incompatible pointer type arch/x86/kernel/vm86_32.c:639: warning: passing argument 2 of 'set_vflags_short' from incompatible pointer type fs/file.c: At top level:arch/x86/kernel/vm86_32.c:641: error: dereferencing pointer to incomplete typemm/mmap.c:968: error: implicit declaration of function 'can_do_mlock'*** [kernel/kthread.o] Error 1fs/bad_inode.c: In function 'bad_file_open': fs/bad_inode.c:83: error: 'EIO' undeclared (first use in this function) fs/file.c:83: warning: 'struct rcu_head' declared inside parameter list fs/bad_inode.c: At top level: fs/bad_inode.c:86: error: expected declaration specifiers or '...' before 'fl_owner_t' mm/mmap.c:969: error: 'EPERM' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:641: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer typemm/mmap.c:970: error: 'VM_LOCKED' undeclared (first use in this function) fs/file.c: In function 'free_fdtable_rcu': fs/bad_inode.c:86: warning: 'struct file' declared inside parameter list fs/file.c:85: error: expected expression before 'struct' arch/x86/kernel/vm86_32.c:641: warning: passing argument 1 of 'handle_vm86_trap' from incompatible pointer type mm/mmap.c:976: error: dereferencing pointer to incomplete typefs/bad_inode.c: In function 'bad_file_flush': fs/file.c:85: warning: initialization makes pointer from integer without a castarch/x86/kernel/vm86_32.c:646: error: expected ';' before '__res' fs/bad_inode.c:88: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:647: error: dereferencing pointer to incomplete type fs/file.c:88: error: implicit declaration of function 'BUG_ON' arch/x86/kernel/vm86_32.c:648: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level:fs/file.c:90: error: dereferencing pointer to incomplete typearch/x86/kernel/vm86_32.c:649: error: dereferencing pointer to incomplete type mm/mmap.c:977: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:650: error: 'VM86_INTx' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:650: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type arch/x86/kernel/vm86_32.c:663: error: expected ';' before '__res' arch/x86/kernel/vm86_32.c:663: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:663: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:663: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:663: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:664: error: expected ';' before '__res' arch/x86/kernel/vm86_32.c:664: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:664: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:664: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:664: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:665: error: expected ';' before '__res' arch/x86/kernel/vm86_32.c:665: error: expected expression before ')' token arch/x86/kernel/vm86_32.c:665: error: expected expression before ')' token fs/file.c:90: error: 'NR_OPEN_DEFAULT' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:665: error: expected expression before ')' token fs/file.c:95: error: implicit declaration of function 'kmem_cache_free' arch/x86/kernel/vm86_32.c:665: error: expected expression before ')' token mm/mmap.c:979: error: implicit declaration of function 'capable'fs/bad_inode.c:91: warning: 'struct file' declared inside parameter list fs/file.c:95: error: 'files_cachep' undeclared (first use in this function)fs/bad_inode.c:91: warning: 'struct inode' declared inside parameter list arch/x86/kernel/vm86_32.c:666: error: dereferencing pointer to incomplete typefs/bad_inode.c: In function 'bad_file_release': fs/bad_inode.c:93: error: 'EIO' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:668: error: expected ';' before '__res' fs/file.c:96: error: expected expression before 'struct'arch/x86/kernel/vm86_32.c:668: error: expected expression before ')' token mm/mmap.c:979: error: 'CAP_IPC_LOCK' undeclared (first use in this function) fs/bad_inode.c: At top level: arch/x86/kernel/vm86_32.c:668: error: expected expression before ')' token fs/file.c:99: error: dereferencing pointer to incomplete type mm/mmap.c:980: error: 'EAGAIN' undeclared (first use in this function)fs/bad_inode.c:97: warning: 'struct dentry' declared inside parameter list arch/x86/kernel/vm86_32.c:669: error: expected ';' before '__res' fs/file.c:99: error: 'PAGE_SIZE' undeclared (first use in this function) mm/mmap.c:983: error: dereferencing pointer to incomplete type fs/bad_inode.c:97: warning: 'struct file' declared inside parameter listmm/mmap.c:983: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:669: error: expected expression before ')' token mm/mmap.c:986: error: 'MAP_TYPE' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:669: error: expected expression before ')' tokenfs/file.c:100: error: dereferencing pointer to incomplete type mm/mmap.c:987: error: 'MAP_SHARED' undeclared (first use in this function) fs/bad_inode.c: In function 'bad_file_fsync': fs/bad_inode.c:99: error: 'EIO' undeclared (first use in this function) fs/file.c:101: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:670: error: expected ';' before '__res' arch/x86/kernel/vm86_32.c:670: error: expected expression before ')' token mm/mmap.c:988: error: 'PROT_WRITE' undeclared (first use in this function) fs/bad_inode.c: At top level:mm/mmap.c:988: error: dereferencing pointer to incomplete type fs/file.c:104: error: implicit declaration of function 'get_cpu_var'arch/x86/kernel/vm86_32.c:670: error: expected expression before ')' token mm/mmap.c:988: error: 'FMODE_WRITE' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:671: error: dereferencing pointer to incomplete typemm/mmap.c:989: error: 'EACCES' undeclared (first use in this function) mm/mmap.c:995: error: implicit declaration of function 'IS_APPEND' fs/file.c:104: error: 'fdtable_defer_list' undeclared (first use in this function)mm/mmap.c:995: error: dereferencing pointer to incomplete type fs/bad_inode.c:102: warning: 'struct kiocb' declared inside parameter listmm/mmap.c:1001: error: implicit declaration of function 'locks_verify_locked' arch/x86/kernel/vm86_32.c:673: error: dereferencing pointer to incomplete type arch/x86/kernel/vm86_32.c:674: error: dereferencing pointer to incomplete type mm/mmap.c:1004: error: 'VM_SHARED' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:675: error: dereferencing pointer to incomplete typemm/mmap.c:1004: error: 'VM_MAYSHARE' undeclared (first use in this function) fs/file.c:104: error: invalid lvalue in unary '&' fs/bad_inode.c: In function 'bad_file_aio_fsync': mm/mmap.c:1005: error: dereferencing pointer to incomplete typearch/x86/kernel/vm86_32.c:675: error: dereferencing pointer to incomplete type CC kernel/wait.o fs/file.c:105: error: implicit declaration of function 'spin_lock' fs/file.c:105: error: 'struct fdtable_defer' has no member named 'lock' arch/x86/kernel/vm86_32.c:677: warning: passing argument 2 of 'set_vflags_long' from incompatible pointer typefs/file.c:106: error: dereferencing pointer to incomplete type fs/bad_inode.c:104: error: 'EIO' undeclared (first use in this function) fs/file.c:106: error: 'struct fdtable_defer' has no member named 'next' fs/file.c:107: error: 'struct fdtable_defer' has no member named 'next' arch/x86/kernel/vm86_32.c:679: warning: passing argument 2 of 'set_vflags_short' from incompatible pointer typefs/file.c:109: error: implicit declaration of function 'schedule_work' fs/file.c:109: error: 'struct fdtable_defer' has no member named 'wq' arch/x86/kernel/vm86_32.c:681: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level: fs/file.c:110: error: implicit declaration of function 'spin_unlock' fs/file.c:110: error: 'struct fdtable_defer' has no member named 'lock' fs/file.c:111: error: implicit declaration of function 'put_cpu_var' fs/file.c: At top level: fs/file.c:119: warning: 'struct fdtable' declared inside parameter list fs/file.c: In function 'copy_fdtable': fs/file.c:123: error: dereferencing pointer to incomplete type fs/file.c:123: error: dereferencing pointer to incomplete type fs/file.c:125: error: dereferencing pointer to incomplete type fs/file.c:126: error: dereferencing pointer to incomplete type fs/file.c:126: error: dereferencing pointer to incomplete type fs/file.c:127: error: implicit declaration of function 'memcpy' fs/file.c:127: error: dereferencing pointer to incomplete type fs/file.c:127: error: dereferencing pointer to incomplete type fs/file.c:128: error: implicit declaration of function 'memset' fs/file.c:128: error: dereferencing pointer to incomplete type fs/file.c:130: error: dereferencing pointer to incomplete type fs/file.c:130: error: 'BITS_PER_BYTE' undeclared (first use in this function) fs/file.c:131: error: dereferencing pointer to incomplete type fs/file.c:131: error: dereferencing pointer to incomplete type fs/file.c:132: error: dereferencing pointer to incomplete type fs/file.c:132: error: dereferencing pointer to incomplete type fs/file.c:133: error: dereferencing pointer to incomplete type fs/file.c:134: error: dereferencing pointer to incomplete type fs/file.c:134: error: dereferencing pointer to incomplete type fs/file.c:135: error: dereferencing pointer to incomplete type fs/file.c: In function 'alloc_fdtable': fs/file.c:151: error: implicit declaration of function 'roundup_pow_of_two' fs/file.c:161: error: implicit declaration of function 'unlikely' fs/file.c:161: error: 'sysctl_nr_open' undeclared (first use in this function) fs/file.c:164: error: invalid application of 'sizeof' to incomplete type 'struct fdtable' fs/file.c:164: error: 'GFP_KERNEL' undeclared (first use in this function) fs/file.c:164: warning: assignment makes pointer from integer without a cast fs/file.c:167: error: dereferencing pointer to incomplete type fs/file.c:171: error: dereferencing pointer to incomplete type fs/file.c:172: error: implicit declaration of function 'max_t' fs/file.c:172: error: expected expression before 'unsigned' fs/file.c:176: error: dereferencing pointer to incomplete type fs/file.c:176: error: 'fd_set' undeclared (first use in this function) fs/file.c:176: error: expected expression before ')' token fs/file.c:177: error: 'BITS_PER_BYTE' undeclared (first use in this function) fs/file.c:178: error: dereferencing pointer to incomplete type fs/file.c:178: error: expected expression before ')' token fs/file.c:179: error: implicit declaration of function 'INIT_RCU_HEAD' fs/file.c:179: error: dereferencing pointer to incomplete type fs/file.c:180: error: dereferencing pointer to incomplete type fs/file.c:180: error: 'NULL' undeclared (first use in this function) fs/file.c:185: warning: passing argument 1 of 'free_fdarr' from incompatible pointer type fs/file.c: At top level: fs/file.c:199: warning: 'struct files_struct' declared inside parameter list fs/file.c: In function 'expand_fdtable': fs/file.c:200: error: expected declaration specifiers before '__releases' fs/file.c:248: warning: 'struct files_struct' declared inside parameter list fs/file.c:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/file.c:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/file.c:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token fs/file.c:397: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fdtable_defer_list_init' fs/file.c:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'files_defer_init' fs/file.c:414: error: parameter 'init_files' is initialized fs/file.c:415: error: unknown field 'count' specified in initializer fs/file.c:415: error: implicit declaration of function 'ATOMIC_INIT' fs/file.c:415: warning: excess elements in struct initializer fs/file.c:415: warning: (near initialization for 'init_files') fs/file.c:416: error: unknown field 'fdt' specified in initializer fs/file.c:416: error: invalid use of undefined type 'struct files_struct' fs/file.c:416: warning: excess elements in struct initializer fs/file.c:416: warning: (near initialization for 'init_files') fs/file.c:417: error: unknown field 'fdtab' specified in initializer fs/file.c:417: error: extra brace group at end of initializer fs/file.c:417: error: (near initialization for 'init_files') fs/file.c:418: error: 'NR_OPEN_DEFAULT' undeclared (first use in this function) fs/file.c:419: error: invalid use of undefined type 'struct files_struct' fs/file.c:420: error: 'fd_set' undeclared (first use in this function) fs/file.c:420: error: expected expression before ')' token fs/file.c:424: error: implicit declaration of function '__SPIN_LOCK_UNLOCKED' fs/file.c:424: error: 'init_task' undeclared (first use in this function) fs/file.c:425: error: old-style parameter declarations in prototyped function definition fs/file.c:425: error: expected '{' at end of input mm/mmap.c:1009: error: 'MAP_PRIVATE' undeclared (first use in this function)arch/x86/kernel/vm86_32.c:681: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type fs/bad_inode.c:107: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_fasync': fs/bad_inode.c:109: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:112: warning: 'struct file_lock' declared inside parameter list fs/bad_inode.c:112: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_lock': fs/bad_inode.c:114: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_sendpage' fs/bad_inode.c:125: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_get_unmapped_area': fs/bad_inode.c:127: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: In function 'bad_file_check_flags': fs/bad_inode.c:132: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:135: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_dir_notify': fs/bad_inode.c:137: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:140: warning: 'struct file_lock' declared inside parameter list fs/bad_inode.c:140: warning: 'struct file' declared inside parameter list fs/bad_inode.c: In function 'bad_file_flock': fs/bad_inode.c:142: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_splice_write' fs/bad_inode.c:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_file_splice_read' fs/bad_inode.c:159: error: variable 'bad_file_ops' has initializer but incomplete type fs/bad_inode.c:161: error: unknown field 'llseek' specified in initializer fs/bad_inode.c:161: error: 'bad_file_llseek' undeclared here (not in a function) fs/bad_inode.c:161: warning: excess elements in struct initializer fs/bad_inode.c:161: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:162: error: unknown field 'read' specified in initializer fs/bad_inode.c:162: error: 'bad_file_read' undeclared here (not in a function) fs/bad_inode.c:162: warning: excess elements in struct initializer fs/bad_inode.c:162: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:163: error: unknown field 'write' specified in initializer fs/bad_inode.c:163: error: 'bad_file_write' undeclared here (not in a function) fs/bad_inode.c:163: warning: excess elements in struct initializer fs/bad_inode.c:163: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:164: error: unknown field 'aio_read' specified in initializer fs/bad_inode.c:164: error: 'bad_file_aio_read' undeclared here (not in a function) fs/bad_inode.c:164: warning: excess elements in struct initializer fs/bad_inode.c:164: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:165: error: unknown field 'aio_write' specified in initializer fs/bad_inode.c:165: error: 'bad_file_aio_write' undeclared here (not in a function) fs/bad_inode.c:165: warning: excess elements in struct initializer fs/bad_inode.c:165: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:166: error: unknown field 'readdir' specified in initializer fs/bad_inode.c:166: warning: excess elements in struct initializer fs/bad_inode.c:166: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:167: error: unknown field 'poll' specified in initializer fs/bad_inode.c:167: warning: excess elements in struct initializer fs/bad_inode.c:167: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:168: error: unknown field 'ioctl' specified in initializer fs/bad_inode.c:168: warning: excess elements in struct initializer mm/mmap.c:1010: error: dereferencing pointer to incomplete type mm/mmap.c:1010: error: 'FMODE_READ' undeclared (first use in this function) mm/mmap.c:1012: error: dereferencing pointer to incomplete type mm/mmap.c:1013: error: 'VM_EXEC' undeclared (first use in this function) mm/mmap.c:1017: error: implicit declaration of function 'is_file_hugepages' make[1]: *** [fs/file.o] Error 1 mm/mmap.c:1020: error: dereferencing pointer to incomplete type mm/mmap.c:1020: error: dereferencing pointer to incomplete type mm/mmap.c:1021: error: 'ENODEV' undeclared (first use in this function) mm/mmap.c:1043: error: implicit declaration of function 'security_file_mmap' mm/mmap.c:1047: error: implicit declaration of function 'mmap_region' CC kernel/kfifo.o arch/x86/kernel/vm86_32.c:681: warning: passing argument 1 of 'handle_vm86_trap' from incompatible pointer type fs/bad_inode.c:168: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:169: error: unknown field 'unlocked_ioctl' specified in initializer fs/bad_inode.c:169: warning: excess elements in struct initializer fs/bad_inode.c:169: warning: (near initialization for 'bad_file_ops') arch/x86/kernel/vm86_32.c:686: error: dereferencing pointer to incomplete type fs/bad_inode.c:170: error: unknown field 'compat_ioctl' specified in initializer fs/bad_inode.c:170: warning: excess elements in struct initializer arch/x86/kernel/vm86_32.c:687: warning: passing argument 1 of 'clear_IF' from incompatible pointer type fs/bad_inode.c:170: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:171: error: unknown field 'mmap' specified in initializer arch/x86/kernel/vm86_32.c:688: error: dereferencing pointer to incomplete type fs/bad_inode.c:171: warning: excess elements in struct initializer arch/x86/kernel/vm86_32.c:688: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type fs/bad_inode.c:171: warning: (near initialization for 'bad_file_ops') arch/x86/kernel/vm86_32.c:688: warning: passing argument 1 of 'handle_vm86_trap' from incompatible pointer type fs/bad_inode.c:172: error: unknown field 'open' specified in initializer fs/bad_inode.c:172: warning: excess elements in struct initializer arch/x86/kernel/vm86_32.c:698: error: dereferencing pointer to incomplete type fs/bad_inode.c:172: warning: (near initialization for 'bad_file_ops') arch/x86/kernel/vm86_32.c:699: warning: passing argument 1 of 'set_IF' from incompatible pointer type fs/bad_inode.c:173: error: unknown field 'flush' specified in initializer arch/x86/kernel/vm86_32.c:700: error: dereferencing pointer to incomplete typefs/bad_inode.c:173: warning: excess elements in struct initializer fs/bad_inode.c:173: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:174: error: unknown field 'release' specified in initializer fs/bad_inode.c:174: warning: excess elements in struct initializer fs/bad_inode.c:174: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:175: error: unknown field 'fsync' specified in initializer fs/bad_inode.c:175: warning: excess elements in struct initializer fs/bad_inode.c:175: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:176: error: unknown field 'aio_fsync' specified in initializer fs/bad_inode.c:176: warning: excess elements in struct initializer fs/bad_inode.c:176: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:177: error: unknown field 'fasync' specified in initializer fs/bad_inode.c:177: warning: excess elements in struct initializer fs/bad_inode.c:177: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:178: error: unknown field 'lock' specified in initializer fs/bad_inode.c:178: warning: excess elements in struct initializer fs/bad_inode.c:178: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:179: error: unknown field 'sendpage' specified in initializer fs/bad_inode.c:179: error: 'bad_file_sendpage' undeclared here (not in a function) fs/bad_inode.c:179: warning: excess elements in struct initializer fs/bad_inode.c:179: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:180: error: unknown field 'get_unmapped_area' specified in initializer mm/mmap.c: At top level: mm/mmap.c:1050: warning: data definition has no type or storage class mm/mmap.c:1050: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mmap.c:1050: warning: parameter names (without types) in function declaration mm/mmap.c: In function 'vma_wants_writenotify': mm/mmap.c:1060: error: dereferencing pointer to incomplete type mm/mmap.c:1063: error: 'VM_WRITE' undeclared (first use in this function) mm/mmap.c:1063: error: 'VM_SHARED' undeclared (first use in this function) mm/mmap.c:1067: error: dereferencing pointer to incomplete type mm/mmap.c:1067: error: dereferencing pointer to incomplete type mm/mmap.c:1071: error: implicit declaration of function 'pgprot_val' mm/mmap.c:1071: error: dereferencing pointer to incomplete type mm/mmap.c:1072: error: implicit declaration of function 'vm_get_page_prot' mm/mmap.c:1076: error: 'VM_PFNMAP' undeclared (first use in this function) mm/mmap.c:1076: error: 'VM_INSERTPAGE' undeclared (first use in this function) mm/mmap.c:1080: error: dereferencing pointer to incomplete type mm/mmap.c:1080: error: dereferencing pointer to incomplete type mm/mmap.c:1081: error: implicit declaration of function 'mapping_cap_account_dirty' mm/mmap.c:1081: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1087: warning: 'struct file' declared inside parameter list mm/mmap.c:1088: error: conflicting types for 'mmap_region' mm/mmap.c:1047: error: previous implicit declaration of 'mmap_region' was here mm/mmap.c: In function 'mmap_region': mm/mmap.c:1089: error: 'current' undeclared (first use in this function) mm/mmap.c:1095: error: dereferencing pointer to incomplete type mm/mmap.c:1095: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1098: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1100: warning: passing argument 1 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:1100: warning: passing argument 4 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:1100: warning: passing argument 5 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:1101: error: dereferencing pointer to incomplete type mm/mmap.c:1102: error: implicit declaration of function 'do_munmap' mm/mmap.c:1108: error: implicit declaration of function 'may_expand_vm' mm/mmap.c:1108: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:1111: error: 'MAP_NORESERVE' undeclared (first use in this function) mm/mmap.c:1112: error: 'OVERCOMMIT_NEVER' undeclared (first use in this function) mm/mmap.c:1113: error: 'VM_SHARED' undeclared (first use in this function) mm/mmap.c:1115: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mmap.c:1116: error: 'VM_WRITE' undeclared (first use in this function) mm/mmap.c:1121: error: implicit declaration of function 'security_vm_enough_memory' mm/mmap.c:1134: warning: passing argument 1 of 'vma_merge' from incompatible pointer type mm/mmap.c:1134: warning: passing argument 8 of 'vma_merge' makes pointer from integer without a cast mm/mmap.c:1134: error: too many arguments to function 'vma_merge' mm/mmap.c:1142: error: implicit declaration of function 'kmem_cache_zalloc' mm/mmap.c:1142: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:1142: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mmap.c:1142: warning: assignment makes pointer from integer without a cast mm/mmap.c:1148: error: dereferencing pointer to incomplete type mm/mmap.c:1149: error: dereferencing pointer to incomplete type mm/mmap.c:1150: error: dereferencing pointer to incomplete type mm/mmap.c:1151: error: dereferencing pointer to incomplete type mm/mmap.c:1152: error: dereferencing pointer to incomplete type mm/mmap.c:1153: error: dereferencing pointer to incomplete type mm/mmap.c:1156: error: 'EINVAL' undeclared (first use in this function) mm/mmap.c:1157: error: 'VM_GROWSDOWN' undeclared (first use in this function) mm/mmap.c:1157: error: 'VM_GROWSUP' undeclared (first use in this function) mm/mmap.c:1159: error: 'VM_DENYWRITE' undeclared (first use in this function) mm/mmap.c:1160: error: implicit declaration of function 'deny_write_access' mm/mmap.c:1165: error: dereferencing pointer to incomplete type mm/mmap.c:1166: error: implicit declaration of function 'get_file' mm/mmap.c:1167: error: dereferencing pointer to incomplete type mm/mmap.c:1170: error: 'VM_EXECUTABLE' undeclared (first use in this function) mm/mmap.c:1171: error: implicit declaration of function 'added_exe_file_vma' mm/mmap.c:1173: error: implicit declaration of function 'shmem_zero_setup' mm/mmap.c:1184: error: dereferencing pointer to incomplete type mm/mmap.c:1191: error: dereferencing pointer to incomplete type mm/mmap.c:1192: error: dereferencing pointer to incomplete type mm/mmap.c:1193: error: dereferencing pointer to incomplete type mm/mmap.c:1196: error: dereferencing pointer to incomplete type mm/mmap.c:1198: error: dereferencing pointer to incomplete type mm/mmap.c:1199: error: dereferencing pointer to incomplete type mm/mmap.c:1199: warning: passing argument 1 of 'vma_merge' from incompatible pointer type mm/mmap.c:1199: warning: passing argument 7 of 'vma_merge' from incompatible pointer type mm/mmap.c:1199: warning: passing argument 8 of 'vma_merge' makes pointer from integer without a cast mm/mmap.c:1199: error: too many arguments to function 'vma_merge' mm/mmap.c:1206: warning: passing argument 1 of 'vma_link' from incompatible pointer type mm/mmap.c:1206: warning: passing argument 4 of 'vma_link' from incompatible pointer type mm/mmap.c:1206: warning: passing argument 5 of 'vma_link' from incompatible pointer type mm/mmap.c:1207: error: dereferencing pointer to incomplete type mm/mmap.c:1212: error: dereferencing pointer to incomplete type mm/mmap.c:1214: error: dereferencing pointer to incomplete type mm/mmap.c:1215: error: implicit declaration of function 'vm_stat_account' mm/mmap.c:1216: error: 'VM_LOCKED' undeclared (first use in this function) mm/mmap.c:1217: error: dereferencing pointer to incomplete type mm/mmap.c:1218: error: implicit declaration of function 'make_pages_present' mm/mmap.c:1220: error: 'MAP_POPULATE' undeclared (first use in this function) mm/mmap.c:1220: error: 'MAP_NONBLOCK' undeclared (first use in this function) mm/mmap.c:1226: error: dereferencing pointer to incomplete type mm/mmap.c:1227: error: dereferencing pointer to incomplete type mm/mmap.c:1231: error: dereferencing pointer to incomplete type mm/mmap.c:1231: error: dereferencing pointer to incomplete type mm/mmap.c:1231: warning: passing argument 1 of 'unmap_region' from incompatible pointer type mm/mmap.c:1231: warning: passing argument 2 of 'unmap_region' from incompatible pointer type mm/mmap.c:1231: warning: passing argument 3 of 'unmap_region' from incompatible pointer type mm/mmap.c: At top level: mm/mmap.c:1255: warning: 'struct file' declared inside parameter list mm/mmap.c: In function 'arch_get_unmapped_area': mm/mmap.c:1257: error: 'current' undeclared (first use in this function) mm/mmap.c:1261: error: 'TASK_SIZE' undeclared (first use in this function) mm/mmap.c:1262: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1264: error: 'MAP_FIXED' undeclared (first use in this function) mm/mmap.c:1269: error: implicit declaration of function 'find_vma' mm/mmap.c:1269: warning: assignment makes pointer from integer without a cast mm/mmap.c:1271: error: dereferencing pointer to incomplete type mm/mmap.c:1274: error: dereferencing pointer to incomplete type mm/mmap.c:1275: error: dereferencing pointer to incomplete type mm/mmap.c:1277: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) mm/mmap.c:1278: error: dereferencing pointer to incomplete type mm/mmap.c:1282: warning: assignment makes pointer from integer without a cast mm/mmap.c:1282: error: dereferencing pointer to incomplete type mm/mmap.c:1292: error: dereferencing pointer to incomplete type mm/mmap.c:1297: error: dereferencing pointer to incomplete type mm/mmap.c:1301: error: dereferencing pointer to incomplete type mm/mmap.c:1304: error: dereferencing pointer to incomplete type mm/mmap.c:1304: error: dereferencing pointer to incomplete type mm/mmap.c:1305: error: dereferencing pointer to incomplete type mm/mmap.c:1305: error: dereferencing pointer to incomplete type mm/mmap.c:1306: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1311: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'arch_unmap_area': mm/mmap.c:1316: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) mm/mmap.c:1316: error: dereferencing pointer to incomplete type mm/mmap.c:1317: error: dereferencing pointer to incomplete type mm/mmap.c:1318: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1330: warning: 'struct file' declared inside parameter list mm/mmap.c: In function 'arch_get_unmapped_area_topdown': mm/mmap.c:1333: error: 'current' undeclared (first use in this function) mm/mmap.c:1337: error: 'TASK_SIZE' undeclared (first use in this function) mm/mmap.c:1338: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1340: error: 'MAP_FIXED' undeclared (first use in this function) mm/mmap.c:1346: warning: assignment makes pointer from integer without a cast mm/mmap.c:1348: error: dereferencing pointer to incomplete type mm/mmap.c:1353: error: dereferencing pointer to incomplete type mm/mmap.c:1354: error: dereferencing pointer to incomplete type mm/mmap.c:1355: error: dereferencing pointer to incomplete type mm/mmap.c:1355: error: dereferencing pointer to incomplete type mm/mmap.c:1359: error: dereferencing pointer to incomplete type mm/mmap.c:1363: warning: assignment makes pointer from integer without a cast mm/mmap.c:1364: error: dereferencing pointer to incomplete type mm/mmap.c:1366: error: dereferencing pointer to incomplete type mm/mmap.c:1369: error: dereferencing pointer to incomplete type mm/mmap.c:1372: error: dereferencing pointer to incomplete type mm/mmap.c:1380: warning: assignment makes pointer from integer without a cast mm/mmap.c:1381: error: dereferencing pointer to incomplete type mm/mmap.c:1383: error: dereferencing pointer to incomplete type mm/mmap.c:1386: error: dereferencing pointer to incomplete type mm/mmap.c:1386: error: dereferencing pointer to incomplete type mm/mmap.c:1387: error: dereferencing pointer to incomplete type mm/mmap.c:1387: error: dereferencing pointer to incomplete type mm/mmap.c:1390: error: dereferencing pointer to incomplete type mm/mmap.c:1391: error: dereferencing pointer to incomplete type mm/mmap.c:1400: error: dereferencing pointer to incomplete type mm/mmap.c:1401: error: dereferencing pointer to incomplete type mm/mmap.c:1401: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) mm/mmap.c:1402: warning: passing argument 1 of 'arch_get_unmapped_area' from incompatible pointer type mm/mmap.c:1406: error: dereferencing pointer to incomplete type mm/mmap.c:1406: error: dereferencing pointer to incomplete type mm/mmap.c:1407: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1413: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'arch_unmap_area_topdown': mm/mmap.c:1418: error: dereferencing pointer to incomplete type mm/mmap.c:1419: error: dereferencing pointer to incomplete type mm/mmap.c:1422: error: dereferencing pointer to incomplete type mm/mmap.c:1422: error: dereferencing pointer to incomplete type mm/mmap.c:1423: error: dereferencing pointer to incomplete type mm/mmap.c:1423: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1428: warning: 'struct file' declared inside parameter list mm/mmap.c:1429: error: conflicting types for 'get_unmapped_area' mm/mmap.c:956: error: previous implicit declaration of 'get_unmapped_area' was here mm/mmap.c: In function 'get_unmapped_area': mm/mmap.c:1433: error: 'current' undeclared (first use in this function) mm/mmap.c:1434: error: dereferencing pointer to incomplete type mm/mmap.c:1434: error: dereferencing pointer to incomplete type mm/mmap.c:1435: error: dereferencing pointer to incomplete type mm/mmap.c:1437: error: implicit declaration of function 'IS_ERR_VALUE' mm/mmap.c:1440: error: 'TASK_SIZE' undeclared (first use in this function) fs/bad_inode.c:180: warning: excess elements in struct initializer fs/bad_inode.c:180: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:181: error: unknown field 'check_flags' specified in initializer fs/bad_inode.c:181: warning: excess elements in struct initializer fs/bad_inode.c:181: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:182: error: unknown field 'dir_notify' specified in initializer fs/bad_inode.c:182: warning: excess elements in struct initializer fs/bad_inode.c:182: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:183: error: unknown field 'flock' specified in initializer fs/bad_inode.c:183: warning: excess elements in struct initializer fs/bad_inode.c:183: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:184: error: unknown field 'splice_write' specified in initializer fs/bad_inode.c:184: error: 'bad_file_splice_write' undeclared here (not in a function) fs/bad_inode.c:184: warning: excess elements in struct initializer fs/bad_inode.c:184: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:185: error: unknown field 'splice_read' specified in initializer fs/bad_inode.c:185: error: 'bad_file_splice_read' undeclared here (not in a function) fs/bad_inode.c:185: warning: excess elements in struct initializer fs/bad_inode.c:185: warning: (near initialization for 'bad_file_ops') fs/bad_inode.c:189: warning: 'struct nameidata' declared inside parameter list fs/bad_inode.c:189: warning: 'struct dentry' declared inside parameter list fs/bad_inode.c:189: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_create': fs/bad_inode.c:191: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:195: warning: 'struct nameidata' declared inside parameter list fs/bad_inode.c:195: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_lookup': fs/bad_inode.c:197: error: implicit declaration of function 'ERR_PTR' fs/bad_inode.c:197: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c:197: warning: return makes pointer from integer without a cast fs/bad_inode.c: At top level: fs/bad_inode.c:201: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_link': fs/bad_inode.c:203: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:206: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_unlink': fs/bad_inode.c:208: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:212: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_symlink': fs/bad_inode.c:214: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:218: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_mkdir': fs/bad_inode.c:220: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:223: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_rmdir': fs/bad_inode.c:225: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:229: error: expected declaration specifiers or '...' before 'dev_t' fs/bad_inode.c:229: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_mknod': fs/bad_inode.c:231: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:235: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_rename': fs/bad_inode.c:237: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:240: error: expected ';', ',' or ')' before '*' token fs/bad_inode.c:246: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_permission': fs/bad_inode.c:248: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:252: warning: 'struct kstat' declared inside parameter list fs/bad_inode.c:252: warning: 'struct vfsmount' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_getattr': fs/bad_inode.c:254: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:257: warning: 'struct iattr' declared inside parameter list fs/bad_inode.c: In function 'bad_inode_setattr': fs/bad_inode.c:259: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:263: error: expected declaration specifiers or '...' before 'size_t' fs/bad_inode.c: In function 'bad_inode_setxattr': fs/bad_inode.c:265: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:268: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_inode_getxattr' fs/bad_inode.c:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bad_inode_listxattr' fs/bad_inode.c: In function 'bad_inode_removexattr': fs/bad_inode.c:282: error: 'EIO' undeclared (first use in this function) fs/bad_inode.c: At top level: fs/bad_inode.c:285: error: variable 'bad_inode_ops' has initializer but incomplete type fs/bad_inode.c:287: error: unknown field 'create' specified in initializer fs/bad_inode.c:287: warning: excess elements in struct initializer fs/bad_inode.c:287: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:288: error: unknown field 'lookup' specified in initializer fs/bad_inode.c:288: warning: excess elements in struct initializer fs/bad_inode.c:288: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:289: error: unknown field 'link' specified in initializer fs/bad_inode.c:289: warning: excess elements in struct initializer fs/bad_inode.c:289: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:290: error: unknown field 'unlink' specified in initializer fs/bad_inode.c:290: warning: excess elements in struct initializer fs/bad_inode.c:290: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:291: error: unknown field 'symlink' specified in initializer fs/bad_inode.c:291: warning: excess elements in struct initializer fs/bad_inode.c:291: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:292: error: unknown field 'mkdir' specified in initializer fs/bad_inode.c:292: warning: excess elements in struct initializer fs/bad_inode.c:292: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:293: error: unknown field 'rmdir' specified in initializer fs/bad_inode.c:293: warning: excess elements in struct initializer fs/bad_inode.c:293: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:294: error: unknown field 'mknod' specified in initializer fs/bad_inode.c:294: warning: excess elements in struct initializer fs/bad_inode.c:294: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:295: error: unknown field 'rename' specified in initializer fs/bad_inode.c:295: warning: excess elements in struct initializer fs/bad_inode.c:295: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:296: error: unknown field 'readlink' specified in initializer fs/bad_inode.c:296: error: 'bad_inode_readlink' undeclared here (not in a function) fs/bad_inode.c:296: warning: excess elements in struct initializer fs/bad_inode.c:296: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:301: error: unknown field 'permission' specified in initializer fs/bad_inode.c:301: warning: excess elements in struct initializer fs/bad_inode.c:301: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:302: error: unknown field 'getattr' specified in initializer fs/bad_inode.c:302: warning: excess elements in struct initializer fs/bad_inode.c:302: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:303: error: unknown field 'setattr' specified in initializer fs/bad_inode.c:303: warning: excess elements in struct initializer fs/bad_inode.c:303: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:304: error: unknown field 'setxattr' specified in initializer fs/bad_inode.c:304: warning: excess elements in struct initializer fs/bad_inode.c:304: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:305: error: unknown field 'getxattr' specified in initializer fs/bad_inode.c:305: error: 'bad_inode_getxattr' undeclared here (not in a function) fs/bad_inode.c:305: warning: excess elements in struct initializer fs/bad_inode.c:305: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:306: error: unknown field 'listxattr' specified in initializer fs/bad_inode.c:306: error: 'bad_inode_listxattr' undeclared here (not in a function) fs/bad_inode.c:306: warning: excess elements in struct initializer fs/bad_inode.c:306: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:307: error: unknown field 'removexattr' specified in initializer fs/bad_inode.c:307: warning: excess elements in struct initializer fs/bad_inode.c:307: warning: (near initialization for 'bad_inode_ops') fs/bad_inode.c:330: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'make_bad_inode': fs/bad_inode.c:332: error: implicit declaration of function 'remove_inode_hash' fs/bad_inode.c:334: error: dereferencing pointer to incomplete type fs/bad_inode.c:334: error: 'S_IFREG' undeclared (first use in this function) fs/bad_inode.c:335: error: dereferencing pointer to incomplete type fs/bad_inode.c:335: error: dereferencing pointer to incomplete type fs/bad_inode.c:335: error: dereferencing pointer to incomplete type fs/bad_inode.c:336: error: implicit declaration of function 'current_fs_time' fs/bad_inode.c:336: error: dereferencing pointer to incomplete type fs/bad_inode.c:337: error: dereferencing pointer to incomplete type fs/bad_inode.c:338: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level: fs/bad_inode.c:340: warning: data definition has no type or storage class fs/bad_inode.c:340: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/bad_inode.c:340: warning: parameter names (without types) in function declaration fs/bad_inode.c:355: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'is_bad_inode': fs/bad_inode.c:357: error: dereferencing pointer to incomplete type fs/bad_inode.c: At top level: fs/bad_inode.c:360: warning: data definition has no type or storage class fs/bad_inode.c:360: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/bad_inode.c:360: warning: parameter names (without types) in function declaration fs/bad_inode.c:368: warning: 'struct inode' declared inside parameter list fs/bad_inode.c: In function 'iget_failed': fs/bad_inode.c:370: warning: passing argument 1 of 'make_bad_inode' from incompatible pointer type fs/bad_inode.c:371: error: implicit declaration of function 'unlock_new_inode' fs/bad_inode.c:372: error: implicit declaration of function 'iput' fs/bad_inode.c: At top level: fs/bad_inode.c:374: warning: data definition has no type or storage class fs/bad_inode.c:374: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/bad_inode.c:374: warning: parameter names (without types) in function declaration arch/x86/kernel/vm86_32.c:700: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type arch/x86/kernel/vm86_32.c:700: warning: passing argument 1 of 'handle_vm86_trap' from incompatible pointer type arch/x86/kernel/vm86_32.c:703: error: 'VM86_UNKNOWN' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:703: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type arch/x86/kernel/vm86_32.c:719: warning: passing argument 1 of 'return_to_32bit' from incompatible pointer type cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/vm86_32.c: At top level: arch/x86/kernel/vm86_32.c:731: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' arch/x86/kernel/vm86_32.c:731: warning: parameter names (without types) in function declaration arch/x86/kernel/vm86_32.c:738: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'irq_handler' kernel/wait.c:6:24: error: linux/init.h: No such file or directory arch/x86/kernel/vm86_32.c: In function 'free_vm86_irq':mm/mmap.c:1441: error: 'ENOMEM' undeclared (first use in this function)kernel/wait.c:7:26: error: linux/module.h: No such file or directory kernel/wait.c:8:25: error: linux/sched.h: No such file or directory kernel/wait.c:9:22: error: linux/mm.h: No such file or directory kernel/wait.c:10:24: error: linux/wait.h: No such file or directory kernel/wait.c:11:24: error: linux/hash.h: No such file or directory kernel/wait.c:13: error: expected ')' before '*' token kernel/wait.c:19: warning: data definition has no type or storage class kernel/wait.c:19: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:19: warning: parameter names (without types) in function declaration kernel/wait.c:21: error: expected ')' before '*' token kernel/wait.c:30: warning: data definition has no type or storage class kernel/wait.c:30: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:30: warning: parameter names (without types) in function declaration kernel/wait.c:32: error: expected ')' before '*' token kernel/wait.c:41: warning: data definition has no type or storage class kernel/wait.c:41: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:41: warning: parameter names (without types) in function declaration kernel/wait.c:43: error: expected ')' before '*' token kernel/wait.c:51: warning: data definition has no type or storage class kernel/wait.c:51: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:51: warning: parameter names (without types) in function declaration kernel/wait.c:67: error: expected ')' before '*' token cc1: error: arch/x86/kernel/vm86_32.c:767: error: implicit declaration of function 'free_irq' arch/x86/kernel/vm86_32.c:767: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:770: error: implicit declaration of function 'spin_lock_irqsave' arch/x86/kernel/vm86_32.c:770: error: 'irqbits_lock' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:772: error: implicit declaration of function 'spin_unlock_irqrestore' arch/x86/kernel/vm86_32.c: In function 'release_vm86_irqs': arch/x86/kernel/vm86_32.c:778: error: 'FIRST_VM86_IRQ' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:778: error: 'LAST_VM86_IRQ' undeclared (first use in this function) arch/x86/kernel/vm86_32.c: In function 'get_and_reset_irq': arch/x86/kernel/vm86_32.c:789: error: implicit declaration of function 'invalid_vm86_irq' arch/x86/kernel/vm86_32.c:790: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:791: error: 'irqbits_lock' undeclared (first use in this function) kernel/wait.c:83: warning: data definition has no type or storage classarch/x86/kernel/vm86_32.c:795: error: implicit declaration of function 'enable_irq' arch/x86/kernel/vm86_32.c: In function 'do_vm86_irq_handling': arch/x86/kernel/vm86_32.c:808: error: 'VM86_GET_AND_RESET_IRQ' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:811: error: 'VM86_GET_IRQ_BITS' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:814: error: 'VM86_REQUEST_IRQ' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:817: error: implicit declaration of function 'capable' arch/x86/kernel/vm86_32.c:817: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:817: error: 'EPERM' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:818: error: 'SIGUSR1' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:818: error: 'SIGUSR2' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:818: error: 'SIGIO' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:818: error: 'SIGURG' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:818: error: 'SIGUNUSED' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:821: error: implicit declaration of function 'request_irq' arch/x86/kernel/vm86_32.c:821: error: 'irq_handler' undeclared (first use in this function) make[1]: *** [fs/bad_inode.o] Error 1 include/linux/autoconf.h: No such file or directory mm/mmap.c:1442: error: 'PAGE_MASK' undeclared (first use in this function) mm/mmap.c:1443: error: 'EINVAL' undeclared (first use in this function) kernel/wait.c:83: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:83: warning: parameter names (without types) in function declaration mm/mmap.c: At top level: mm/mmap.c:1448: warning: data definition has no type or storage class mm/mmap.c:1448: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:86: error: expected ')' before '*' token arch/x86/kernel/vm86_32.c:821: error: 'NULL' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:824: error: 'current' undeclared (first use in this function) arch/x86/kernel/vm86_32.c:827: error: 'VM86_FREE_IRQ' undeclared (first use in this function) kernel/kfifo.c:22:26: error: linux/kernel.h: No such file or directory kernel/kfifo.c:23:26: error: linux/module.h: No such file or directory kernel/wait.c:102: warning: data definition has no type or storage classmm/mmap.c:1448: warning: parameter names (without types) in function declarationarch/x86/kernel/vm86_32.c:835: error: 'EINVAL' undeclared (first use in this function) kernel/kfifo.c:24:24: error: linux/slab.h: No such file or directory kernel/kfifo.c:25:23: error: linux/err.h: No such file or directory kernel/kfifo.c:26:25: error: linux/kfifo.h: No such file or directory kernel/kfifo.c:27:24: error: linux/log2.h: No such file or directory kernel/kfifo.c:40: error: expected declaration specifiers or '...' before 'gfp_t' kernel/kfifo.c:40: error: expected declaration specifiers or '...' before 'spinlock_t' kernel/kfifo.c: In function 'kfifo_init': kernel/kfifo.c:45: error: implicit declaration of function 'BUG_ON' kernel/kfifo.c:45: error: implicit declaration of function 'is_power_of_2' kernel/kfifo.c:47: error: implicit declaration of function 'kmalloc' kernel/kfifo.c:47: error: invalid application of 'sizeof' to incomplete type 'struct kfifo' kernel/kfifo.c:47: error: 'gfp_mask' undeclared (first use in this function) kernel/kfifo.c:47: error: (Each undeclared identifier is reported only once kernel/kfifo.c:47: error: for each function it appears in.) kernel/kfifo.c:47: warning: assignment makes pointer from integer without a cast kernel/kfifo.c:49: error: implicit declaration of function 'ERR_PTR' kernel/kfifo.c:49: error: 'ENOMEM' undeclared (first use in this function) kernel/kfifo.c:49: warning: return makes pointer from integer without a cast kernel/kfifo.c:51: error: dereferencing pointer to incomplete type kernel/kfifo.c:52: error: dereferencing pointer to incomplete type kernel/kfifo.c:53: error: dereferencing pointer to incomplete type kernel/kfifo.c:53: error: dereferencing pointer to incomplete type kernel/kfifo.c:54: error: dereferencing pointer to incomplete type kernel/kfifo.c:54: error: 'lock' undeclared (first use in this function) kernel/kfifo.c: At top level: kernel/kfifo.c:58: warning: data definition has no type or storage class kernel/kfifo.c:58: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kfifo.c:58: warning: parameter names (without types) in function declaration kernel/kfifo.c:68: error: expected declaration specifiers or '...' before 'gfp_t' kernel/kfifo.c:68: error: expected declaration specifiers or '...' before 'spinlock_t' kernel/kfifo.c: In function 'kfifo_alloc': kernel/kfifo.c:79: error: implicit declaration of function 'roundup_pow_of_two' kernel/kfifo.c:82: error: 'gfp_mask' undeclared (first use in this function) kernel/kfifo.c:82: warning: assignment makes pointer from integer without a cast kernel/kfifo.c:84: error: 'ENOMEM' undeclared (first use in this function) kernel/kfifo.c:84: warning: return makes pointer from integer without a cast kernel/kfifo.c:86: error: 'lock' undeclared (first use in this function) kernel/kfifo.c:86: error: too many arguments to function 'kfifo_init' kernel/kfifo.c:88: error: implicit declaration of function 'IS_ERR' kernel/kfifo.c:89: error: implicit declaration of function 'kfree' kernel/kfifo.c: At top level: kernel/kfifo.c:93: warning: data definition has no type or storage class kernel/kfifo.c:93: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kfifo.c:93: warning: parameter names (without types) in function declaration kernel/kfifo.c: In function 'kfifo_free': kernel/kfifo.c:101: error: dereferencing pointer to incomplete type kernel/kfifo.c: At top level: kernel/kfifo.c:104: warning: data definition has no type or storage class kernel/kfifo.c:104: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kfifo.c:104: warning: parameter names (without types) in function declaration kernel/kfifo.c: In function '__kfifo_put': kernel/kfifo.c:124: error: implicit declaration of function 'min' kernel/kfifo.c:124: error: dereferencing pointer to incomplete type kernel/kfifo.c:124: error: dereferencing pointer to incomplete type kernel/kfifo.c:124: error: dereferencing pointer to incomplete type kernel/kfifo.c:131: error: implicit declaration of function 'smp_mb' kernel/kfifo.c:134: error: dereferencing pointer to incomplete type kernel/kfifo.c:134: error: dereferencing pointer to incomplete type kernel/kfifo.c:134: error: dereferencing pointer to incomplete type kernel/kfifo.c:135: error: implicit declaration of function 'memcpy' kernel/kfifo.c:135: error: dereferencing pointer to incomplete type kernel/kfifo.c:135: error: dereferencing pointer to incomplete type kernel/kfifo.c:135: error: dereferencing pointer to incomplete type kernel/kfifo.c:138: error: dereferencing pointer to incomplete type kernel/kfifo.c:145: error: implicit declaration of function 'smp_wmb' kernel/kfifo.c:147: error: dereferencing pointer to incomplete type kernel/kfifo.c: At top level: kernel/kfifo.c:151: warning: data definition has no type or storage class kernel/kfifo.c:151: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kfifo.c:151: warning: parameter names (without types) in function declaration kernel/kfifo.c: In function '__kfifo_get': kernel/kfifo.c:170: error: dereferencing pointer to incomplete type kernel/kfifo.c:170: error: dereferencing pointer to incomplete type kernel/kfifo.c:177: error: implicit declaration of function 'smp_rmb' kernel/kfifo.c:180: error: dereferencing pointer to incomplete type kernel/kfifo.c:180: error: dereferencing pointer to incomplete type kernel/kfifo.c:180: error: dereferencing pointer to incomplete type kernel/kfifo.c:181: error: dereferencing pointer to incomplete type kernel/kfifo.c:181: error: dereferencing pointer to incomplete type kernel/kfifo.c:181: error: dereferencing pointer to incomplete type kernel/kfifo.c:184: error: dereferencing pointer to incomplete type CC fs/filesystems.o mm/mmap.c:1451: warning: 'struct mm_struct' declared inside parameter list kernel/wait.c:102: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:102: warning: parameter names (without types) in function declaration kernel/wait.c:104: error: expected ')' before '*' token kernel/wait.c:128: warning: data definition has no type or storage class kernel/wait.c:128: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:128: warning: parameter names (without types) in function declaration kernel/wait.c:130: error: expected ')' before '*' token kernel/wait.c:138: warning: data definition has no type or storage class kernel/wait.c:138: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:138: warning: parameter names (without types) in function declaration kernel/wait.c:140: error: expected ')' before '*' token make[1]: kernel/wait.c:153: warning: data definition has no type or storage class kernel/wait.c:153: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:153: warning: parameter names (without types) in function declaration kernel/wait.c:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wait_on_bit' kernel/kfifo.c:193: error: dereferencing pointer to incomplete type kernel/kfifo.c: At top level: kernel/kfifo.c:197: warning: data definition has no type or storage class kernel/kfifo.c:197: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/kfifo.c:197: warning: parameter names (without types) in function declaration mm/mmap.c:1452: error: conflicting types for 'find_vma' mm/mmap.c:1269: error: previous implicit declaration of 'find_vma' was here mm/mmap.c: In function 'find_vma': mm/mmap.c:1453: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1458: error: dereferencing pointer to incomplete type mm/mmap.c:1459: error: dereferencing pointer to incomplete type mm/mmap.c:1459: error: dereferencing pointer to incomplete type *** [arch/x86/kernel/vm86_32.o] Error 1kernel/wait.c:174: warning: data definition has no type or storage class kernel/wait.c:174: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:174: warning: parameter names (without types) in function declaration kernel/wait.c:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'out_of_line_wait_on_bit' kernel/wait.c:184: warning: data definition has no type or storage class kernel/wait.c:184: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:184: warning: parameter names (without types) in function declaration kernel/wait.c:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wait_on_bit_lock' kernel/wait.c:202: warning: data definition has no type or storage class kernel/wait.c:202: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:202: warning: parameter names (without types) in function declaration kernel/wait.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'out_of_line_wait_on_bit_lock' kernel/wait.c:212: warning: data definition has no type or storage class kernel/wait.c:212: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:212: warning: parameter names (without types) in function declaration kernel/wait.c:214: error: expected ')' before '*' token kernel/wait.c:220: warning: data definition has no type or storage class kernel/wait.c:220: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:220: warning: parameter names (without types) in function declaration mm/mmap.c:1462: error: dereferencing pointer to incomplete type mm/mmap.c:1469: error: expected expression before 'struct' mm/mmap.c:1469: warning: assignment makes pointer from integer without a cast mm/mmap.c:1471: error: dereferencing pointer to incomplete type mm/mmap.c:1473: error: dereferencing pointer to incomplete type mm/mmap.c:1475: error: dereferencing pointer to incomplete type mm/mmap.c:1477: error: dereferencing pointer to incomplete type mm/mmap.c:1480: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1486: warning: data definition has no type or storage class mm/mmap.c:1486: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mmap.c:1486: warning: parameter names (without types) in function declaration mm/mmap.c:1491: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c:1492: error: conflicting types for 'find_vma_prev' mm/mmap.c:863: error: previous implicit declaration of 'find_vma_prev' was here mm/mmap.c: In function 'find_vma_prev': mm/mmap.c:1493: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1499: error: dereferencing pointer to incomplete type mm/mmap.c:1502: error: dereferencing pointer to incomplete type mm/mmap.c:1506: error: expected expression before 'struct' mm/mmap.c:1506: warning: assignment makes pointer from integer without a cast mm/mmap.c:1508: error: dereferencing pointer to incomplete type mm/mmap.c:1509: error: dereferencing pointer to incomplete type mm/mmap.c:1512: error: dereferencing pointer to incomplete type mm/mmap.c:1512: error: dereferencing pointer to incomplete type mm/mmap.c:1514: error: dereferencing pointer to incomplete type kernel/wait.c: In function 'wake_up_bit': kernel/wait.c:241: error: implicit declaration of function '__wake_up_bit' kernel/wait.c:241: error: implicit declaration of function 'bit_waitqueue' mm/mmap.c:1520: error: dereferencing pointer to incomplete type mm/mmap.c: In function 'acct_stack_growth': mm/mmap.c:1530: error: dereferencing pointer to incomplete type mm/mmap.c:1531: error: 'current' undeclared (first use in this function) mm/mmap.c:1536: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1539: error: 'RLIMIT_STACK' undeclared (first use in this function) mm/mmap.c:1543: error: dereferencing pointer to incomplete type mm/mmap.c:1543: error: 'VM_LOCKED' undeclared (first use in this function) mm/mmap.c:1546: error: dereferencing pointer to incomplete type mm/mmap.c:1547: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function) mm/mmap.c:1547: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:1548: error: 'CAP_IPC_LOCK' undeclared (first use in this function) mm/mmap.c:1553: error: dereferencing pointer to incomplete type mm/mmap.c:1553: error: 'VM_GROWSUP' undeclared (first use in this function) make[1]: *** [kernel/kfifo.o] Error 1kernel/wait.c: At top level:mm/mmap.c:1553: error: dereferencing pointer to incomplete type kernel/wait.c:243: warning: data definition has no type or storage class kernel/wait.c:243: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:243: warning: parameter names (without types) in function declaration kernel/wait.c:245: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/wait.c:253: warning: data definition has no type or storage class kernel/wait.c:253: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/wait.c:253: warning: parameter names (without types) in function declaration CC arch/x86/kernel/early_printk.o mm/mmap.c:1554: error: dereferencing pointer to incomplete type mm/mmap.c:1555: error: implicit declaration of function 'is_hugepage_only_range' mm/mmap.c:1555: error: dereferencing pointer to incomplete type mm/mmap.c:1556: error: 'EFAULT' undeclared (first use in this function) mm/mmap.c:1566: error: dereferencing pointer to incomplete type mm/mmap.c:1567: error: dereferencing pointer to incomplete type mm/mmap.c:1568: error: dereferencing pointer to incomplete type mm/mmap.c:1569: error: dereferencing pointer to incomplete type mm/mmap.c:1569: error: dereferencing pointer to incomplete type mm/mmap.c: In function 'expand_downwards': mm/mmap.c:1638: error: implicit declaration of function 'anon_vma_prepare' mm/mmap.c:1639: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1641: error: 'PAGE_MASK' undeclared (first use in this function) mm/mmap.c:1642: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1655: error: dereferencing pointer to incomplete type mm/mmap.c:1658: error: dereferencing pointer to incomplete type mm/mmap.c:1659: error: dereferencing pointer to incomplete type mm/mmap.c:1659: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:1663: error: dereferencing pointer to incomplete type mm/mmap.c:1664: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1704: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'find_extend_vma': mm/mmap.c:1709: error: 'PAGE_MASK' undeclared (first use in this function) mm/mmap.c:1710: warning: passing argument 1 of 'find_vma' from incompatible pointer type mm/mmap.c:1712: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1713: error: dereferencing pointer to incomplete type mm/mmap.c:1715: error: dereferencing pointer to incomplete type mm/mmap.c:1715: error: 'VM_GROWSDOWN' undeclared (first use in this function) mm/mmap.c:1717: error: dereferencing pointer to incomplete type mm/mmap.c:1720: error: dereferencing pointer to incomplete type mm/mmap.c:1720: error: 'VM_LOCKED' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:1732: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'remove_vma_list': mm/mmap.c:1735: error: implicit declaration of function 'update_hiwater_vm' mm/mmap.c:1737: error: implicit declaration of function 'vma_pages' CC arch/x86/kernel/pcspeaker.o mm/mmap.c:1739: error: dereferencing pointer to incomplete type mm/mmap.c:1740: error: dereferencing pointer to incomplete type mm/mmap.c:1740: error: 'VM_LOCKED' undeclared (first use in this function) mm/mmap.c:1741: error: dereferencing pointer to incomplete type mm/mmap.c:1742: error: dereferencing pointer to incomplete type mm/mmap.c:1742: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1755: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c:1756: error: conflicting types for 'unmap_region' mm/mmap.c:45: error: previous declaration of 'unmap_region' was here mm/mmap.c: In function 'unmap_region': mm/mmap.c:1757: error: dereferencing pointer to incomplete type mm/mmap.c:1757: error: dereferencing pointer to incomplete type mm/mmap.c:1761: error: implicit declaration of function 'lru_add_drain' mm/mmap.c:1762: error: implicit declaration of function 'tlb_gather_mmu' mm/mmap.c:1762: warning: assignment makes pointer from integer without a cast mm/mmap.c:1763: error: implicit declaration of function 'update_hiwater_rss' mm/mmap.c:1764: error: implicit declaration of function 'unmap_vmas' mm/mmap.c:1764: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1766: error: implicit declaration of function 'free_pgtables' mm/mmap.c:1766: error: dereferencing pointer to incomplete type mm/mmap.c:1766: error: 'FIRST_USER_ADDRESS' undeclared (first use in this function) mm/mmap.c:1767: error: dereferencing pointer to incomplete type mm/mmap.c:1768: error: implicit declaration of function 'tlb_finish_mmu' mm/mmap.c: At top level: mm/mmap.c:1777: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'detach_vmas_to_be_unmapped': mm/mmap.c:1780: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1783: error: dereferencing pointer to incomplete type mm/mmap.c:1783: error: dereferencing pointer to incomplete type mm/mmap.c:1785: error: dereferencing pointer to incomplete type mm/mmap.c:1785: error: dereferencing pointer to incomplete type mm/mmap.c:1786: error: dereferencing pointer to incomplete type mm/mmap.c:1788: error: dereferencing pointer to incomplete type mm/mmap.c:1789: error: dereferencing pointer to incomplete type mm/mmap.c:1791: error: dereferencing pointer to incomplete type mm/mmap.c:1792: error: dereferencing pointer to incomplete type mm/mmap.c:1793: error: dereferencing pointer to incomplete type mm/mmap.c:1793: error: dereferencing pointer to incomplete type mm/mmap.c:1795: error: dereferencing pointer to incomplete type mm/mmap.c:1795: error: dereferencing pointer to incomplete type mm/mmap.c:1796: error: dereferencing pointer to incomplete type mm/mmap.c:1797: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:1805: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'split_vma': mm/mmap.c:1810: error: implicit declaration of function 'is_vm_hugetlb_page' mm/mmap.c:1810: error: 'HPAGE_MASK' undeclared (first use in this function) mm/mmap.c:1811: error: 'EINVAL' undeclared (first use in this function) mm/mmap.c:1813: error: dereferencing pointer to incomplete type mm/mmap.c:1813: error: 'sysctl_max_map_count' undeclared (first use in this function) mm/mmap.c:1814: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:1816: error: implicit declaration of function 'kmem_cache_alloc' mm/mmap.c:1816: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:1816: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mmap.c:1816: warning: assignment makes pointer from integer without a cast mm/mmap.c:1821: error: dereferencing pointer to incomplete type mm/mmap.c:1821: error: dereferencing pointer to incomplete type mm/mmap.c:1824: error: dereferencing pointer to incomplete type mm/mmap.c:1826: error: dereferencing pointer to incomplete type mm/mmap.c:1827: error: dereferencing pointer to incomplete type mm/mmap.c:1827: error: dereferencing pointer to incomplete type mm/mmap.c:1827: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:1830: error: implicit declaration of function 'mpol_dup' mm/mmap.c:1830: warning: assignment makes pointer from integer without a cast mm/mmap.c:1831: error: implicit declaration of function 'IS_ERR' mm/mmap.c:1833: error: implicit declaration of function 'PTR_ERR' mm/mmap.c:1835: error: implicit declaration of function 'vma_set_policy' mm/mmap.c:1837: error: dereferencing pointer to incomplete type mm/mmap.c:1838: error: dereferencing pointer to incomplete type mm/mmap.c:1839: error: dereferencing pointer to incomplete type mm/mmap.c:1839: error: 'VM_EXECUTABLE' undeclared (first use in this function) mm/mmap.c:1843: error: dereferencing pointer to incomplete type mm/mmap.c:1843: error: dereferencing pointer to incomplete type mm/mmap.c:1844: error: dereferencing pointer to incomplete type mm/mmap.c:1847: error: dereferencing pointer to incomplete type mm/mmap.c:1847: error: dereferencing pointer to incomplete type mm/mmap.c:1848: error: dereferencing pointer to incomplete type mm/mmap.c:1848: error: too many arguments to function 'vma_adjust' mm/mmap.c:1850: error: dereferencing pointer to incomplete type mm/mmap.c:1850: error: dereferencing pointer to incomplete type mm/mmap.c:1850: error: too many arguments to function 'vma_adjust' mm/mmap.c: At top level: mm/mmap.c:1860: error: expected declaration specifiers or '...' before 'size_t' mm/mmap.c:1860: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'do_munmap': mm/mmap.c:1865: error: 'PAGE_MASK' undeclared (first use in this function) mm/mmap.c:1865: error: 'TASK_SIZE' undeclared (first use in this function) mm/mmap.c:1865: error: 'len' undeclared (first use in this function) mm/mmap.c:1866: error: 'EINVAL' undeclared (first use in this function) mm/mmap.c:1872: warning: passing argument 1 of 'find_vma_prev' from incompatible pointer type mm/mmap.c:1879: error: dereferencing pointer to incomplete type mm/mmap.c:1889: error: dereferencing pointer to incomplete type mm/mmap.c:1890: warning: passing argument 1 of 'split_vma' from incompatible pointer type mm/mmap.c:1897: warning: passing argument 1 of 'find_vma' from incompatible pointer type mm/mmap.c:1898: error: dereferencing pointer to incomplete type mm/mmap.c:1899: warning: passing argument 1 of 'split_vma' from incompatible pointer type mm/mmap.c:1903: error: dereferencing pointer to incomplete type mm/mmap.c:1903: error: dereferencing pointer to incomplete type mm/mmap.c:1908: warning: passing argument 1 of 'detach_vmas_to_be_unmapped' from incompatible pointer type mm/mmap.c:1909: warning: passing argument 1 of 'unmap_region' from incompatible pointer type mm/mmap.c:1912: warning: passing argument 1 of 'remove_vma_list' from incompatible pointer type mm/mmap.c: At top level: mm/mmap.c:1917: warning: data definition has no type or storage class mm/mmap.c:1917: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mmap.c:1917: warning: parameter names (without types) in function declaration mm/mmap.c:1919: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' mm/mmap.c:1932: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'do_brk': mm/mmap.c:1949: error: 'current' undeclared (first use in this function) mm/mmap.c:1953: error: 'pgoff_t' undeclared (first use in this function) mm/mmap.c:1953: error: expected ';' before 'pgoff' mm/mmap.c:1954: warning: ISO C90 forbids mixed declarations and code mm/mmap.c:1960: error: 'TASK_SIZE' undeclared (first use in this function) mm/mmap.c:1961: error: 'EINVAL' undeclared (first use in this function) mm/mmap.c:1966: error: 'NULL' undeclared (first use in this function) mm/mmap.c:1970: error: 'VM_DATA_DEFAULT_FLAGS' undeclared (first use in this function) mm/mmap.c:1970: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mmap.c:1970: error: dereferencing pointer to incomplete type mm/mmap.c:1979: error: dereferencing pointer to incomplete type mm/mmap.c:1979: error: 'VM_LOCKED' undeclared (first use in this function) mm/mmap.c:1981: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:1982: error: dereferencing pointer to incomplete type mm/mmap.c:1983: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function) mm/mmap.c:1985: error: 'CAP_IPC_LOCK' undeclared (first use in this function) mm/mmap.c:1986: error: 'EAGAIN' undeclared (first use in this function) mm/mmap.c:1993: warning: passing argument 1 of 'verify_mm_writelocked' from incompatible pointer type mm/mmap.c:1999: warning: passing argument 1 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:1999: warning: passing argument 4 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:1999: warning: passing argument 5 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2000: error: dereferencing pointer to incomplete type mm/mmap.c:2001: warning: passing argument 1 of 'do_munmap' from incompatible pointer type mm/mmap.c:2001: error: too many arguments to function 'do_munmap' mm/mmap.c:2002: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:2010: error: dereferencing pointer to incomplete type mm/mmap.c:2010: error: 'sysctl_max_map_count' undeclared (first use in this function) mm/mmap.c:2018: error: 'pgoff' undeclared (first use in this function) mm/mmap.c:2018: warning: passing argument 1 of 'vma_merge' from incompatible pointer type mm/mmap.c:2018: error: too many arguments to function 'vma_merge' mm/mmap.c:2024: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:2024: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mmap.c:2024: warning: assignment makes pointer from integer without a cast mm/mmap.c:2030: error: dereferencing pointer to incomplete type mm/mmap.c:2031: error: dereferencing pointer to incomplete type mm/mmap.c:2032: error: dereferencing pointer to incomplete type mm/mmap.c:2033: error: dereferencing pointer to incomplete type mm/mmap.c:2034: error: dereferencing pointer to incomplete type mm/mmap.c:2035: error: dereferencing pointer to incomplete type mm/mmap.c:2036: warning: passing argument 1 of 'vma_link' from incompatible pointer type mm/mmap.c:2036: warning: passing argument 4 of 'vma_link' from incompatible pointer type mm/mmap.c:2036: warning: passing argument 5 of 'vma_link' from incompatible pointer type mm/mmap.c:2038: error: dereferencing pointer to incomplete type mm/mmap.c:2040: error: dereferencing pointer to incomplete type mm/mmap.c: At top level: mm/mmap.c:2046: warning: data definition has no type or storage class mm/mmap.c:2046: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mmap.c:2046: warning: parameter names (without types) in function declaration mm/mmap.c:2049: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'exit_mmap': mm/mmap.c:2052: error: dereferencing pointer to incomplete type mm/mmap.c:2057: error: implicit declaration of function 'arch_exit_mmap' mm/mmap.c:2060: error: implicit declaration of function 'flush_cache_mm' mm/mmap.c:2061: warning: assignment makes pointer from integer without a cast mm/mmap.c:2064: error: 'NULL' undeclared (first use in this function) mm/mmap.c:2066: error: 'FIRST_USER_ADDRESS' undeclared (first use in this function) mm/mmap.c:2076: error: dereferencing pointer to incomplete type mm/mmap.c:2076: error: 'PMD_SIZE' undeclared (first use in this function) mm/mmap.c:2076: error: 'PMD_SHIFT' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:2083: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'insert_vm_struct': mm/mmap.c:2100: error: dereferencing pointer to incomplete type mm/mmap.c:2101: error: dereferencing pointer to incomplete type mm/mmap.c:2102: error: dereferencing pointer to incomplete type mm/mmap.c:2102: error: dereferencing pointer to incomplete type mm/mmap.c:2102: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:2104: error: dereferencing pointer to incomplete type mm/mmap.c:2104: warning: passing argument 1 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2104: warning: passing argument 4 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2104: warning: passing argument 5 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2105: error: dereferencing pointer to incomplete type mm/mmap.c:2105: error: dereferencing pointer to incomplete type mm/mmap.c:2106: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:2107: error: dereferencing pointer to incomplete type mm/mmap.c:2107: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mmap.c:2108: error: implicit declaration of function 'security_vm_enough_memory_mm' mm/mmap.c:2110: warning: passing argument 1 of 'vma_link' from incompatible pointer type mm/mmap.c:2110: warning: passing argument 4 of 'vma_link' from incompatible pointer type mm/mmap.c:2110: warning: passing argument 5 of 'vma_link' from incompatible pointer type mm/mmap.c: At top level: mm/mmap.c:2119: error: expected declaration specifiers or '...' before 'pgoff_t' mm/mmap.c: In function 'copy_vma': mm/mmap.c:2122: error: dereferencing pointer to incomplete type mm/mmap.c:2123: error: dereferencing pointer to incomplete type mm/mmap.c:2132: error: dereferencing pointer to incomplete type mm/mmap.c:2132: error: dereferencing pointer to incomplete type mm/mmap.c:2133: error: 'pgoff' undeclared (first use in this function) mm/mmap.c:2133: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c:2135: warning: passing argument 1 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2135: warning: passing argument 4 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2135: warning: passing argument 5 of 'find_vma_prepare' from incompatible pointer type mm/mmap.c:2136: error: dereferencing pointer to incomplete type mm/mmap.c:2137: error: dereferencing pointer to incomplete type mm/mmap.c:2137: error: dereferencing pointer to incomplete type mm/mmap.c:2137: warning: passing argument 1 of 'vma_merge' from incompatible pointer type mm/mmap.c:2137: error: too many arguments to function 'vma_merge' mm/mmap.c:2142: error: dereferencing pointer to incomplete type mm/mmap.c:2143: error: dereferencing pointer to incomplete type mm/mmap.c:2146: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:2146: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mmap.c:2146: warning: assignment makes pointer from integer without a cast mm/mmap.c:2148: error: dereferencing pointer to incomplete type mm/mmap.c:2148: error: dereferencing pointer to incomplete type mm/mmap.c:2149: warning: assignment makes pointer from integer without a cast mm/mmap.c:2152: error: 'NULL' undeclared (first use in this function) mm/mmap.c:2155: error: dereferencing pointer to incomplete type mm/mmap.c:2156: error: dereferencing pointer to incomplete type mm/mmap.c:2157: error: dereferencing pointer to incomplete type mm/mmap.c:2158: error: dereferencing pointer to incomplete type mm/mmap.c:2159: error: dereferencing pointer to incomplete type mm/mmap.c:2160: error: dereferencing pointer to incomplete type mm/mmap.c:2160: error: 'VM_EXECUTABLE' undeclared (first use in this function) mm/mmap.c:2163: error: dereferencing pointer to incomplete type mm/mmap.c:2163: error: dereferencing pointer to incomplete type mm/mmap.c:2164: error: dereferencing pointer to incomplete type mm/mmap.c:2165: warning: passing argument 1 of 'vma_link' from incompatible pointer type mm/mmap.c:2165: warning: passing argument 4 of 'vma_link' from incompatible pointer type mm/mmap.c:2165: warning: passing argument 5 of 'vma_link' from incompatible pointer type mm/mmap.c: At top level: mm/mmap.c:2175: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'may_expand_vm': mm/mmap.c:2177: error: dereferencing pointer to incomplete type mm/mmap.c:2180: error: 'current' undeclared (first use in this function) mm/mmap.c:2180: error: 'RLIMIT_AS' undeclared (first use in this function) mm/mmap.c:2180: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:2189: warning: 'struct vm_fault' declared inside parameter list mm/mmap.c: In function 'special_mapping_fault': mm/mmap.c:2191: error: 'pgoff_t' undeclared (first use in this function) mm/mmap.c:2191: error: expected ';' before 'pgoff' mm/mmap.c:2192: warning: ISO C90 forbids mixed declarations and code mm/mmap.c:2200: error: 'pgoff' undeclared (first use in this function) mm/mmap.c:2200: error: dereferencing pointer to incomplete type mm/mmap.c:2200: error: dereferencing pointer to incomplete type mm/mmap.c:2202: error: dereferencing pointer to incomplete type mm/mmap.c:2207: error: implicit declaration of function 'get_page' mm/mmap.c:2208: error: dereferencing pointer to incomplete type mm/mmap.c:2212: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/mmap.c: At top level: mm/mmap.c:2222: error: variable 'special_mapping_vmops' has initializer but incomplete type mm/mmap.c:2223: error: unknown field 'close' specified in initializer mm/mmap.c:2223: warning: excess elements in struct initializer mm/mmap.c:2223: warning: (near initialization for 'special_mapping_vmops') mm/mmap.c:2224: error: unknown field 'fault' specified in initializer mm/mmap.c:2224: warning: excess elements in struct initializer mm/mmap.c:2224: warning: (near initialization for 'special_mapping_vmops') mm/mmap.c:2238: warning: 'struct page' declared inside parameter list mm/mmap.c:2238: warning: 'struct mm_struct' declared inside parameter list mm/mmap.c: In function 'install_special_mapping': mm/mmap.c:2242: error: 'vm_area_cachep' undeclared (first use in this function) mm/mmap.c:2242: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mmap.c:2242: warning: assignment makes pointer from integer without a cast mm/mmap.c:2243: error: 'NULL' undeclared (first use in this function) mm/mmap.c:2244: error: 'ENOMEM' undeclared (first use in this function) mm/mmap.c:2246: error: dereferencing pointer to incomplete type mm/mmap.c:2247: error: dereferencing pointer to incomplete type mm/mmap.c:2248: error: dereferencing pointer to incomplete type mm/mmap.c:2250: error: dereferencing pointer to incomplete type mm/mmap.c:2250: error: dereferencing pointer to incomplete type mm/mmap.c:2250: error: 'VM_DONTEXPAND' undeclared (first use in this function) mm/mmap.c:2251: error: dereferencing pointer to incomplete type mm/mmap.c:2251: error: dereferencing pointer to incomplete type mm/mmap.c:2253: error: dereferencing pointer to incomplete type mm/mmap.c:2254: error: dereferencing pointer to incomplete type mm/mmap.c:2256: warning: passing argument 1 of 'insert_vm_struct' from incompatible pointer type mm/mmap.c:2261: error: dereferencing pointer to incomplete type mm/mmap.c:2261: error: 'PAGE_SHIFT' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory fs/filesystems.c:9:28: error: linux/syscalls.h: No such file or directory fs/filesystems.c:10:22: error: linux/fs.h: No such file or directory fs/filesystems.c:11:24: error: linux/slab.h: No such file or directory fs/filesystems.c:12:24: error: linux/kmod.h: No such file or directory fs/filesystems.c:13:24: error: linux/init.h: No such file or directory fs/filesystems.c:14:26: error: linux/module.h: No such file or directory fs/filesystems.c:15:25: error: asm/uaccess.h: No such file or directory fs/filesystems.c:31: warning: type defaults to 'int' in declaration of 'DEFINE_RWLOCK' fs/filesystems.c:31: warning: parameter names (without types) in function declaration fs/filesystems.c: In function 'get_filesystem': fs/filesystems.c:36: error: implicit declaration of function '__module_get' fs/filesystems.c:36: error: dereferencing pointer to incomplete type fs/filesystems.c: In function 'put_filesystem': fs/filesystems.c:41: error: implicit declaration of function 'module_put' fs/filesystems.c:41: error: dereferencing pointer to incomplete type fs/filesystems.c: In function 'find_filesystem': fs/filesystems.c:47: error: dereferencing pointer to incomplete type fs/filesystems.c:48: error: implicit declaration of function 'strlen' fs/filesystems.c:48: error: dereferencing pointer to incomplete type fs/filesystems.c:49: error: implicit declaration of function 'strncmp' fs/filesystems.c:49: error: dereferencing pointer to incomplete type fs/filesystems.c: In function 'register_filesystem': fs/filesystems.c:72: error: implicit declaration of function 'BUG_ON' fs/filesystems.c:72: error: implicit declaration of function 'strchr' fs/filesystems.c:72: error: dereferencing pointer to incomplete type fs/filesystems.c:73: error: dereferencing pointer to incomplete type fs/filesystems.c:74: error: 'EBUSY' undeclared (first use in this function) fs/filesystems.c:74: error: (Each undeclared identifier is reported only once fs/filesystems.c:74: error: for each function it appears in.) fs/filesystems.c:75: error: implicit declaration of function 'INIT_LIST_HEAD' fs/filesystems.c:75: error: dereferencing pointer to incomplete type fs/filesystems.c:76: error: implicit declaration of function 'write_lock'cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/early_printk.c:1:27: error: linux/console.h: No such file or directory arch/x86/kernel/early_printk.c:2:26: error: linux/kernel.h: No such file or directory arch/x86/kernel/early_printk.c:3:24: error: linux/init.h: No such file or directory arch/x86/kernel/early_printk.c:4:26: error: linux/string.h: No such file or directory arch/x86/kernel/early_printk.c:5:31: error: linux/screen_info.h: No such file or directory arch/x86/kernel/early_printk.c:6:20: error: asm/io.h: No such file or directory arch/x86/kernel/early_printk.c:7:27: error: asm/processor.h: No such file or directory arch/x86/kernel/early_printk.c:8:23: error: asm/fcntl.h: No such file or directory arch/x86/kernel/early_printk.c:9:23: error: asm/setup.h: No such file or directory arch/x86/kernel/early_printk.c:10:29: error: xen/hvc-console.h: No such file or directory arch/x86/kernel/early_printk.c:18: warning: 'struct console' declared inside parameter list arch/x86/kernel/early_printk.c:18: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/early_printk.c: In function 'early_vga_write': arch/x86/kernel/early_printk.c:28: error: implicit declaration of function 'writew' arch/x86/kernel/early_printk.c:28: error: implicit declaration of function 'readw' arch/x86/kernel/early_printk.c:28: error: '__ISA_IO_base' undeclared (first use in this function) arch/x86/kernel/early_printk.c:28: error: (Each undeclared identifier is reported only once arch/x86/kernel/early_printk.c:28: error: for each function it appears in.) arch/x86/kernel/early_printk.c: At top level: arch/x86/kernel/early_printk.c:51: error: variable 'early_vga_console' has initializer but incomplete type arch/x86/kernel/early_printk.c:52: error: unknown field 'name' specified in initializer arch/x86/kernel/early_printk.c:52: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:52: warning: (near initialization for 'early_vga_console') arch/x86/kernel/early_printk.c:53: error: unknown field 'write' specified in initializer arch/x86/kernel/early_printk.c:53: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:53: warning: (near initialization for 'early_vga_console') arch/x86/kernel/early_printk.c:54: error: unknown field 'flags' specified in initializer arch/x86/kernel/early_printk.c:54: error: 'CON_PRINTBUFFER' undeclared here (not in a function) arch/x86/kernel/early_printk.c:54: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:54: warning: (near initialization for 'early_vga_console') arch/x86/kernel/early_printk.c:55: error: unknown field 'index' specified in initializer arch/x86/kernel/early_printk.c:55: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:55: warning: (near initialization for 'early_vga_console') arch/x86/kernel/early_printk.c: In function 'early_serial_putc': arch/x86/kernel/early_printk.c:81: error: implicit declaration of function 'inb' arch/x86/kernel/early_printk.c:82: error: implicit declaration of function 'cpu_relax' arch/x86/kernel/early_printk.c:83: error: implicit declaration of function 'outb' arch/x86/kernel/early_printk.c: At top level: arch/x86/kernel/early_printk.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/early_printk.c:147: error: variable 'early_serial_console' has initializer but incomplete type arch/x86/kernel/early_printk.c:148: error: unknown field 'name' specified in initializer arch/x86/kernel/early_printk.c:148: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:148: warning: (near initialization for 'early_serial_console') arch/x86/kernel/early_printk.c:149: error: unknown field 'write' specified in initializer arch/x86/kernel/early_printk.c:149: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:149: warning: (near initialization for 'early_serial_console') arch/x86/kernel/early_printk.c:150: error: unknown field 'flags' specified in initializer arch/x86/kernel/early_printk.c:150: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:150: warning: (near initialization for 'early_serial_console') arch/x86/kernel/early_printk.c:151: error: unknown field 'index' specified in initializer arch/x86/kernel/early_printk.c:151: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:151: warning: (near initialization for 'early_serial_console') arch/x86/kernel/early_printk.c:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' arch/x86/kernel/pcspeaker.c:1:35: error: linux/platform_device.h: No such file or directory arch/x86/kernel/pcspeaker.c:2:25: error: linux/errno.h: No such file or directory arch/x86/kernel/pcspeaker.c:3:24: error: linux/init.h: No such file or directory arch/x86/kernel/pcspeaker.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' arch/x86/kernel/pcspeaker.c:20: warning: data definition has no type or storage class arch/x86/kernel/pcspeaker.c:20: warning: type defaults to 'int' in declaration of 'device_initcall' arch/x86/kernel/pcspeaker.c:20: warning: parameter names (without types) in function declaration make[1]: *** [kernel/wait.o] Error 1 make[1]: *** [mm/mmap.o] Error 1 CC kernel/sys_ni.o fs/filesystems.c:76: error: 'file_systems_lock' undeclared (first use in this function) fs/filesystems.c:77: error: dereferencing pointer to incomplete type fs/filesystems.c:77: error: dereferencing pointer to incomplete type fs/filesystems.c:82: error: implicit declaration of function 'write_unlock' fs/filesystems.c: At top level: fs/filesystems.c:86: warning: data definition has no type or storage class fs/filesystems.c:86: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/filesystems.c:86: warning: parameter names (without types) in function declaration fs/filesystems.c: In function 'unregister_filesystem': fs/filesystems.c:104: error: 'file_systems_lock' undeclared (first use in this function) fs/filesystems.c:108: error: dereferencing pointer to incomplete type fs/filesystems.c:109: error: dereferencing pointer to incomplete type fs/filesystems.c:109: error: 'NULL' undeclared (first use in this function) fs/filesystems.c:113: error: dereferencing pointer to incomplete type fs/filesystems.c:116: error: 'EINVAL' undeclared (first use in this function) fs/filesystems.c: At top level: fs/filesystems.c:119: warning: data definition has no type or storage class fs/filesystems.c:119: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/filesystems.c:119: warning: parameter names (without types) in function declaration fs/filesystems.c:121: error: expected ';', ',' or ')' before '*' token fs/filesystems.c:145: error: expected ';', ',' or ')' before '*' token fs/filesystems.c: In function 'fs_maxindex': fs/filesystems.c:170: error: implicit declaration of function 'read_lock' fs/filesystems.c:170: error: 'file_systems_lock' undeclared (first use in this function) fs/filesystems.c:171: error: dereferencing pointer to incomplete type fs/filesystems.c:171: warning: left-hand operand of comma expression has no effect fs/filesystems.c:171: warning: value computed is not used fs/filesystems.c:173: error: implicit declaration of function 'read_unlock' fs/filesystems.c: At top level: fs/filesystems.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/filesystems.c: In function 'get_filesystem_list': fs/filesystems.c:205: error: 'file_systems_lock' undeclared (first use in this function) fs/filesystems.c:207: error: 'PAGE_SIZE' undeclared (first use in this function) fs/filesystems.c:208: error: implicit declaration of function 'sprintf' fs/filesystems.c:209: error: dereferencing pointer to incomplete type fs/filesystems.c:209: error: 'FS_REQUIRES_DEV' undeclared (first use in this function) fs/filesystems.c:210: error: dereferencing pointer to incomplete type fs/filesystems.c:211: error: dereferencing pointer to incomplete type fs/filesystems.c: In function 'get_fs_type': fs/filesystems.c:220: warning: initialization makes pointer from integer without a cast fs/filesystems.c:223: error: 'file_systems_lock' undeclared (first use in this function) fs/filesystems.c:225: error: implicit declaration of function 'try_module_get' fs/filesystems.c:225: error: dereferencing pointer to incomplete type fs/filesystems.c:226: error: 'NULL' undeclared (first use in this function) fs/filesystems.c:228: error: implicit declaration of function 'request_module' fs/filesystems.c:231: error: dereferencing pointer to incomplete type fs/filesystems.c:236: error: dereferencing pointer to incomplete type fs/filesystems.c:236: error: 'FS_HAS_SUBTYPE' undeclared (first use in this function) fs/filesystems.c: At top level: fs/filesystems.c:243: warning: data definition has no type or storage class fs/filesystems.c:243: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/filesystems.c:243: warning: parameter names (without types) in function declaration CC mm/mprotect.o arch/x86/kernel/early_printk.c:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simnow_init' arch/x86/kernel/early_printk.c: In function 'simnow_write': arch/x86/kernel/early_printk.c:185: error: implicit declaration of function 'simnow' arch/x86/kernel/early_printk.c: At top level: arch/x86/kernel/early_printk.c:188: error: variable 'simnow_console' has initializer but incomplete type arch/x86/kernel/early_printk.c:189: error: unknown field 'name' specified in initializer arch/x86/kernel/early_printk.c:189: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:189: warning: (near initialization for 'simnow_console') arch/x86/kernel/early_printk.c:190: error: unknown field 'write' specified in initializer arch/x86/kernel/early_printk.c:190: warning: excess elements in struct initializer make[1]: *** [fs/filesystems.o] Error 1 CC fs/namespace.o arch/x86/kernel/early_printk.c:190: warning: (near initialization for 'simnow_console') arch/x86/kernel/early_printk.c:191: error: unknown field 'flags' specified in initializer arch/x86/kernel/early_printk.c:191: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:191: warning: (near initialization for 'simnow_console') arch/x86/kernel/early_printk.c:192: error: unknown field 'index' specified in initializer arch/x86/kernel/early_printk.c:192: warning: excess elements in struct initializer arch/x86/kernel/early_printk.c:192: warning: (near initialization for 'simnow_console') arch/x86/kernel/early_printk.c:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' arch/x86/kernel/early_printk.c:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keep_early' arch/x86/kernel/early_printk.c:213: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_early_printk' arch/x86/kernel/early_printk.c:254: error: expected declaration specifiers or '...' before string constant arch/x86/kernel/early_printk.c:254: error: expected declaration specifiers or '...' before 'setup_early_printk' arch/x86/kernel/early_printk.c:254: warning: data definition has no type or storage class arch/x86/kernel/early_printk.c:254: warning: type defaults to 'int' in declaration of 'early_param' arch/x86/kernel/early_printk.c:254: warning: function declaration isn't a prototype make[1]: *** [arch/x86/kernel/pcspeaker.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory kernel/sys_ni.c:2:27: error: linux/linkage.h: No such file or directory kernel/sys_ni.c:3:25: error: linux/errno.h: No such file or directory kernel/sys_ni.c:5:24: error: asm/unistd.h: No such file or directory kernel/sys_ni.c:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys_ni.c:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/sys_ni.c:19: warning: data definition has no type or storage class kernel/sys_ni.c:19: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:19: warning: parameter names (without types) in function declaration kernel/sys_ni.c:20: warning: data definition has no type or storage class kernel/sys_ni.c:20: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:20: warning: parameter names (without types) in function declaration kernel/sys_ni.c:21: warning: data definition has no type or storage class kernel/sys_ni.c:21: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:21: warning: parameter names (without types) in function declaration kernel/sys_ni.c:22: warning: data definition has no type or storage class kernel/sys_ni.c:22: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:22: warning: parameter names (without types) in function declaration kernel/sys_ni.c:23: warning: data definition has no type or storage class kernel/sys_ni.c:23: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:23: warning: parameter names (without types) in function declaration kernel/sys_ni.c:24: warning: data definition has no type or storage class kernel/sys_ni.c:24: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:24: warning: parameter names (without types) in function declaration kernel/sys_ni.c:25: warning: data definition has no type or storage class kernel/sys_ni.c:25: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:25: warning: parameter names (without types) in function declaration kernel/sys_ni.c:26: warning: data definition has no type or storage class kernel/sys_ni.c:26: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:26: warning: parameter names (without types) in function declaration kernel/sys_ni.c:27: warning: data definition has no type or storage class kernel/sys_ni.c:27: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:27: warning: parameter names (without types) in function declaration kernel/sys_ni.c:28: warning: data definition has no type or storage class kernel/sys_ni.c:28: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:28: warning: parameter names (without types) in function declaration kernel/sys_ni.c:29: warning: data definition has no type or storage class kernel/sys_ni.c:29: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:29: warning: parameter names (without types) in function declaration kernel/sys_ni.c:30: warning: data definition has no type or storage class kernel/sys_ni.c:30: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:30: warning: parameter names (without types) in function declaration kernel/sys_ni.c:31: warning: data definition has no type or storage class kernel/sys_ni.c:31: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:31: warning: parameter names (without types) in function declaration kernel/sys_ni.c:32: warning: data definition has no type or storage class kernel/sys_ni.c:32: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:32: warning: parameter names (without types) in function declaration kernel/sys_ni.c:33: warning: data definition has no type or storage class kernel/sys_ni.c:33: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:33: warning: parameter names (without types) in function declaration kernel/sys_ni.c:34: warning: data definition has no type or storage class kernel/sys_ni.c:34: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:34: warning: parameter names (without types) in function declaration kernel/sys_ni.c:35: warning: data definition has no type or storage class kernel/sys_ni.c:35: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:35: warning: parameter names (without types) in function declaration kernel/sys_ni.c:36: warning: data definition has no type or storage class kernel/sys_ni.c:36: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:36: warning: parameter names (without types) in function declaration kernel/sys_ni.c:37: warning: data definition has no type or storage class kernel/sys_ni.c:37: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:37: warning: parameter names (without types) in function declaration kernel/sys_ni.c:38: warning: data definition has no type or storage class kernel/sys_ni.c:38: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:38: warning: parameter names (without types) in function declaration kernel/sys_ni.c:39: warning: data definition has no type or storage class kernel/sys_ni.c:39: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:39: warning: parameter names (without types) in function declaration kernel/sys_ni.c:40: warning: data definition has no type or storage class kernel/sys_ni.c:40: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:40: warning: parameter names (without types) in function declaration kernel/sys_ni.c:41: warning: data definition has no type or storage class kernel/sys_ni.c:41: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:41: warning: parameter names (without types) in function declaration kernel/sys_ni.c:42: warning: data definition has no type or storage class kernel/sys_ni.c:42: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:42: warning: parameter names (without types) in function declaration kernel/sys_ni.c:43: warning: data definition has no type or storage class kernel/sys_ni.c:43: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:43: warning: parameter names (without types) in function declaration kernel/sys_ni.c:44: warning: data definition has no type or storage class kernel/sys_ni.c:44: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:44: warning: parameter names (without types) in function declaration kernel/sys_ni.c:45: warning: data definition has no type or storage class kernel/sys_ni.c:45: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:45: warning: parameter names (without types) in function declaration kernel/sys_ni.c:46: warning: data definition has no type or storage class kernel/sys_ni.c:46: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:46: warning: parameter names (without types) in function declaration kernel/sys_ni.c:47: warning: data definition has no type or storage class kernel/sys_ni.c:47: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:47: warning: parameter names (without types) in function declaration kernel/sys_ni.c:48: warning: data definition has no type or storage class kernel/sys_ni.c:48: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:48: warning: parameter names (without types) in function declaration kernel/sys_ni.c:49: warning: data definition has no type or storage class kernel/sys_ni.c:49: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:49: warning: parameter names (without types) in function declaration kernel/sys_ni.c:50: warning: data definition has no type or storage class kernel/sys_ni.c:50: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:50: warning: parameter names (without types) in function declaration kernel/sys_ni.c:51: warning: data definition has no type or storage class kernel/sys_ni.c:51: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:51: warning: parameter names (without types) in function declaration kernel/sys_ni.c:52: warning: data definition has no type or storage class kernel/sys_ni.c:52: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:52: warning: parameter names (without types) in function declaration kernel/sys_ni.c:53: warning: data definition has no type or storage class kernel/sys_ni.c:53: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:53: warning: parameter names (without types) in function declaration kernel/sys_ni.c:54: warning: data definition has no type or storage class kernel/sys_ni.c:54: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:54: warning: parameter names (without types) in function declaration kernel/sys_ni.c:55: warning: data definition has no type or storage class kernel/sys_ni.c:55: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:55: warning: parameter names (without types) in function declaration kernel/sys_ni.c:56: warning: data definition has no type or storage class kernel/sys_ni.c:56: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:56: warning: parameter names (without types) in function declaration kernel/sys_ni.c:57: warning: data definition has no type or storage class kernel/sys_ni.c:57: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:57: warning: parameter names (without types) in function declaration kernel/sys_ni.c:58: warning: data definition has no type or storage class kernel/sys_ni.c:58: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:58: warning: parameter names (without types) in function declaration kernel/sys_ni.c:59: warning: data definition has no type or storage class kernel/sys_ni.c:59: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:59: warning: parameter names (without types) in function declaration kernel/sys_ni.c:60: warning: data definition has no type or storage class kernel/sys_ni.c:60: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:60: warning: parameter names (without types) in function declaration kernel/sys_ni.c:61: warning: data definition has no type or storage class kernel/sys_ni.c:61: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:61: warning: parameter names (without types) in function declaration kernel/sys_ni.c:62: warning: data definition has no type or storage class kernel/sys_ni.c:62: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:62: warning: parameter names (without types) in function declaration kernel/sys_ni.c:63: warning: data definition has no type or storage class kernel/sys_ni.c:63: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:63: warning: parameter names (without types) in function declaration kernel/sys_ni.c:64: warning: data definition has no type or storage class kernel/sys_ni.c:64: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:64: warning: parameter names (without types) in function declaration kernel/sys_ni.c:65: warning: data definition has no type or storage class kernel/sys_ni.c:65: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:65: warning: parameter names (without types) in function declaration kernel/sys_ni.c:66: warning: data definition has no type or storage class kernel/sys_ni.c:66: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:66: warning: parameter names (without types) in function declaration kernel/sys_ni.c:67: warning: data definition has no type or storage class kernel/sys_ni.c:67: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:67: warning: parameter names (without types) in function declaration kernel/sys_ni.c:68: warning: data definition has no type or storage class kernel/sys_ni.c:68: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:68: warning: parameter names (without types) in function declaration kernel/sys_ni.c:69: warning: data definition has no type or storage class kernel/sys_ni.c:69: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:69: warning: parameter names (without types) in function declaration kernel/sys_ni.c:70: warning: data definition has no type or storage class kernel/sys_ni.c:70: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:70: warning: parameter names (without types) in function declaration kernel/sys_ni.c:71: warning: data definition has no type or storage class kernel/sys_ni.c:71: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:71: warning: parameter names (without types) in function declaration kernel/sys_ni.c:72: warning: data definition has no type or storage class kernel/sys_ni.c:72: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:72: warning: parameter names (without types) in function declaration kernel/sys_ni.c:73: warning: data definition has no type or storage class kernel/sys_ni.c:73: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:73: warning: parameter names (without types) in function declaration kernel/sys_ni.c:74: warning: data definition has no type or storage class kernel/sys_ni.c:74: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:74: warning: parameter names (without types) in function declaration kernel/sys_ni.c:75: warning: data definition has no type or storage class kernel/sys_ni.c:75: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:75: warning: parameter names (without types) in function declaration kernel/sys_ni.c:76: warning: data definition has no type or storage class kernel/sys_ni.c:76: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:76: warning: parameter names (without types) in function declaration kernel/sys_ni.c:77: warning: data definition has no type or storage class kernel/sys_ni.c:77: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:77: warning: parameter names (without types) in function declaration kernel/sys_ni.c:78: warning: data definition has no type or storage class kernel/sys_ni.c:78: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:78: warning: parameter names (without types) in function declaration kernel/sys_ni.c:79: warning: data definition has no type or storage class kernel/sys_ni.c:79: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:79: warning: parameter names (without types) in function declaration kernel/sys_ni.c:80: warning: data definition has no type or storage class kernel/sys_ni.c:80: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:80: warning: parameter names (without types) in function declaration kernel/sys_ni.c:81: warning: data definition has no type or storage class kernel/sys_ni.c:81: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:81: warning: parameter names (without types) in function declaration kernel/sys_ni.c:82: warning: data definition has no type or storage class kernel/sys_ni.c:82: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:82: warning: parameter names (without types) in function declaration kernel/sys_ni.c:83: warning: data definition has no type or storage class kernel/sys_ni.c:83: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:83: warning: parameter names (without types) in function declaration kernel/sys_ni.c:84: warning: data definition has no type or storage class kernel/sys_ni.c:84: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:84: warning: parameter names (without types) in function declaration kernel/sys_ni.c:85: warning: data definition has no type or storage class kernel/sys_ni.c:85: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:85: warning: parameter names (without types) in function declaration kernel/sys_ni.c:86: warning: data definition has no type or storage class kernel/sys_ni.c:86: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:86: warning: parameter names (without types) in function declaration kernel/sys_ni.c:87: warning: data definition has no type or storage class kernel/sys_ni.c:87: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:87: warning: parameter names (without types) in function declaration kernel/sys_ni.c:88: warning: data definition has no type or storage class kernel/sys_ni.c:88: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:88: warning: parameter names (without types) in function declaration kernel/sys_ni.c:89: warning: data definition has no type or storage class kernel/sys_ni.c:89: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:89: warning: parameter names (without types) in function declaration kernel/sys_ni.c:90: warning: data definition has no type or storage class kernel/sys_ni.c:90: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:90: warning: parameter names (without types) in function declaration kernel/sys_ni.c:91: warning: data definition has no type or storage class kernel/sys_ni.c:91: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:91: warning: parameter names (without types) in function declaration kernel/sys_ni.c:92: warning: data definition has no type or storage class kernel/sys_ni.c:92: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:92: warning: parameter names (without types) in function declaration kernel/sys_ni.c:93: warning: data definition has no type or storage class kernel/sys_ni.c:93: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:93: warning: parameter names (without types) in function declaration kernel/sys_ni.c:94: warning: data definition has no type or storage class kernel/sys_ni.c:94: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:94: warning: parameter names (without types) in function declaration kernel/sys_ni.c:95: warning: data definition has no type or storage class kernel/sys_ni.c:95: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:95: warning: parameter names (without types) in function declaration kernel/sys_ni.c:96: warning: data definition has no type or storage class kernel/sys_ni.c:96: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:96: warning: parameter names (without types) in function declaration kernel/sys_ni.c:97: warning: data definition has no type or storage class kernel/sys_ni.c:97: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:97: warning: parameter names (without types) in function declaration kernel/sys_ni.c:98: warning: data definition has no type or storage class kernel/sys_ni.c:98: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:98: warning: parameter names (without types) in function declaration kernel/sys_ni.c:99: warning: data definition has no type or storage class kernel/sys_ni.c:99: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:99: warning: parameter names (without types) in function declaration kernel/sys_ni.c:100: warning: data definition has no type or storage class kernel/sys_ni.c:100: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:100: warning: parameter names (without types) in function declaration kernel/sys_ni.c:101: warning: data definition has no type or storage class kernel/sys_ni.c:101: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:101: warning: parameter names (without types) in function declaration kernel/sys_ni.c:102: warning: data definition has no type or storage class kernel/sys_ni.c:102: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:102: warning: parameter names (without types) in function declaration kernel/sys_ni.c:103: warning: data definition has no type or storage class kernel/sys_ni.c:103: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:103: warning: parameter names (without types) in function declaration kernel/sys_ni.c:104: warning: data definition has no type or storage class kernel/sys_ni.c:104: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:104: warning: parameter names (without types) in function declaration kernel/sys_ni.c:105: warning: data definition has no type or storage class kernel/sys_ni.c:105: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:105: warning: parameter names (without types) in function declaration kernel/sys_ni.c:106: warning: data definition has no type or storage class kernel/sys_ni.c:106: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:106: warning: parameter names (without types) in function declaration kernel/sys_ni.c:107: warning: data definition has no type or storage class kernel/sys_ni.c:107: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:107: warning: parameter names (without types) in function declaration kernel/sys_ni.c:108: warning: data definition has no type or storage class kernel/sys_ni.c:108: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:108: warning: parameter names (without types) in function declaration kernel/sys_ni.c:109: warning: data definition has no type or storage class kernel/sys_ni.c:109: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:109: warning: parameter names (without types) in function declaration kernel/sys_ni.c:110: warning: data definition has no type or storage class kernel/sys_ni.c:110: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:110: warning: parameter names (without types) in function declaration kernel/sys_ni.c:111: warning: data definition has no type or storage class kernel/sys_ni.c:111: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:111: warning: parameter names (without types) in function declaration kernel/sys_ni.c:112: warning: data definition has no type or storage class kernel/sys_ni.c:112: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:112: warning: parameter names (without types) in function declaration kernel/sys_ni.c:113: warning: data definition has no type or storage class kernel/sys_ni.c:113: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:113: warning: parameter names (without types) in function declaration kernel/sys_ni.c:114: warning: data definition has no type or storage class kernel/sys_ni.c:114: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:114: warning: parameter names (without types) in function declaration kernel/sys_ni.c:115: warning: data definition has no type or storage class kernel/sys_ni.c:115: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:115: warning: parameter names (without types) in function declaration kernel/sys_ni.c:116: warning: data definition has no type or storage class kernel/sys_ni.c:116: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:116: warning: parameter names (without types) in function declaration kernel/sys_ni.c:117: warning: data definition has no type or storage class kernel/sys_ni.c:117: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:117: warning: parameter names (without types) in function declaration kernel/sys_ni.c:118: warning: data definition has no type or storage class kernel/sys_ni.c:118: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:118: warning: parameter names (without types) in function declaration kernel/sys_ni.c:119: warning: data definition has no type or storage class kernel/sys_ni.c:119: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:119: warning: parameter names (without types) in function declaration kernel/sys_ni.c:120: warning: data definition has no type or storage class kernel/sys_ni.c:120: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:120: warning: parameter names (without types) in function declaration kernel/sys_ni.c:121: warning: data definition has no type or storage class kernel/sys_ni.c:121: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:121: warning: parameter names (without types) in function declaration kernel/sys_ni.c:122: warning: data definition has no type or storage class kernel/sys_ni.c:122: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:122: warning: parameter names (without types) in function declaration kernel/sys_ni.c:123: warning: data definition has no type or storage class kernel/sys_ni.c:123: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:123: warning: parameter names (without types) in function declaration kernel/sys_ni.c:126: warning: data definition has no type or storage class kernel/sys_ni.c:126: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:126: warning: parameter names (without types) in function declaration kernel/sys_ni.c:127: warning: data definition has no type or storage class kernel/sys_ni.c:127: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:127: warning: parameter names (without types) in function declaration kernel/sys_ni.c:128: warning: data definition has no type or storage class kernel/sys_ni.c:128: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:128: warning: parameter names (without types) in function declaration kernel/sys_ni.c:129: warning: data definition has no type or storage class kernel/sys_ni.c:129: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:129: warning: parameter names (without types) in function declaration kernel/sys_ni.c:130: warning: data definition has no type or storage class kernel/sys_ni.c:130: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:130: warning: parameter names (without types) in function declaration kernel/sys_ni.c:131: warning: data definition has no type or storage class kernel/sys_ni.c:131: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:131: warning: parameter names (without types) in function declaration kernel/sys_ni.c:132: warning: data definition has no type or storage class kernel/sys_ni.c:132: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:132: warning: parameter names (without types) in function declaration kernel/sys_ni.c:133: warning: data definition has no type or storage class kernel/sys_ni.c:133: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:133: warning: parameter names (without types) in function declaration kernel/sys_ni.c:134: warning: data definition has no type or storage class kernel/sys_ni.c:134: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:134: warning: parameter names (without types) in function declaration kernel/sys_ni.c:137: warning: data definition has no type or storage class kernel/sys_ni.c:137: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:137: warning: parameter names (without types) in function declaration kernel/sys_ni.c:138: warning: data definition has no type or storage class kernel/sys_ni.c:138: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:138: warning: parameter names (without types) in function declaration kernel/sys_ni.c:139: warning: data definition has no type or storage class kernel/sys_ni.c:139: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:139: warning: parameter names (without types) in function declaration kernel/sys_ni.c:140: warning: data definition has no type or storage class kernel/sys_ni.c:140: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:140: warning: parameter names (without types) in function declaration kernel/sys_ni.c:141: warning: data definition has no type or storage class kernel/sys_ni.c:141: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:141: warning: parameter names (without types) in function declaration kernel/sys_ni.c:142: warning: data definition has no type or storage class kernel/sys_ni.c:142: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:142: warning: parameter names (without types) in function declaration kernel/sys_ni.c:143: warning: data definition has no type or storage class kernel/sys_ni.c:143: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:143: warning: parameter names (without types) in function declaration kernel/sys_ni.c:144: warning: data definition has no type or storage class kernel/sys_ni.c:144: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:144: warning: parameter names (without types) in function declaration kernel/sys_ni.c:145: warning: data definition has no type or storage class kernel/sys_ni.c:145: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:145: warning: parameter names (without types) in function declaration kernel/sys_ni.c:146: warning: data definition has no type or storage class kernel/sys_ni.c:146: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:146: warning: parameter names (without types) in function declaration kernel/sys_ni.c:147: warning: data definition has no type or storage class kernel/sys_ni.c:147: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:147: warning: parameter names (without types) in function declaration kernel/sys_ni.c:148: warning: data definition has no type or storage class kernel/sys_ni.c:148: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:148: warning: parameter names (without types) in function declaration kernel/sys_ni.c:151: warning: data definition has no type or storage class kernel/sys_ni.c:151: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:151: warning: parameter names (without types) in function declaration kernel/sys_ni.c:152: warning: data definition has no type or storage class kernel/sys_ni.c:152: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:152: warning: parameter names (without types) in function declaration kernel/sys_ni.c:153: warning: data definition has no type or storage class kernel/sys_ni.c:153: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:153: warning: parameter names (without types) in function declaration kernel/sys_ni.c:156: warning: data definition has no type or storage class kernel/sys_ni.c:156: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:156: warning: parameter names (without types) in function declaration kernel/sys_ni.c:157: warning: data definition has no type or storage class kernel/sys_ni.c:157: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:157: warning: parameter names (without types) in function declaration kernel/sys_ni.c:158: warning: data definition has no type or storage class kernel/sys_ni.c:158: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:158: warning: parameter names (without types) in function declaration kernel/sys_ni.c:159: warning: data definition has no type or storage class kernel/sys_ni.c:159: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:159: warning: parameter names (without types) in function declaration kernel/sys_ni.c:160: warning: data definition has no type or storage class kernel/sys_ni.c:160: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:160: warning: parameter names (without types) in function declaration kernel/sys_ni.c:161: warning: data definition has no type or storage class kernel/sys_ni.c:161: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:161: warning: parameter names (without types) in function declaration kernel/sys_ni.c:162: warning: data definition has no type or storage class kernel/sys_ni.c:162: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:162: warning: parameter names (without types) in function declaration kernel/sys_ni.c:163: warning: data definition has no type or storage class kernel/sys_ni.c:163: warning: type defaults to 'int' in declaration of 'cond_syscall' kernel/sys_ni.c:163: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory make[1]: *** [arch/x86/kernel/early_printk.o] Error 1 mm/mprotect.c:11:22: error: linux/mm.h: No such file or directory mm/mprotect.c:12:27: error: linux/hugetlb.h: No such file or directory mm/mprotect.c:13:24: error: linux/slab.h: No such file or directory mm/mprotect.c:14:23: error: linux/shm.h: No such file or directory mm/mprotect.c:15:24: error: linux/mman.h: No such file or directory mm/mprotect.c:16:22: error: linux/fs.h: No such file or directory mm/mprotect.c:17:27: error: linux/highmem.h: No such file or directory mm/mprotect.c:18:28: error: linux/security.h: No such file or directory mm/mprotect.c:19:29: error: linux/mempolicy.h: No such file or directory CC fs/aio.o AS arch/x86/kernel/head_32.o cc1: error: include/linux/autoconf.h: No such file or directory fs/namespace.c:11:28: error: linux/syscalls.h: No such file or directory fs/namespace.c:12:24: error: linux/slab.h: No such file or directory fs/namespace.c:13:25: error: linux/sched.h: No such file or directory fs/namespace.c:14:28: error: linux/smp_lock.h: No such file or directory fs/namespace.c:15:24: error: linux/init.h: No such file or directory fs/namespace.c:16:26: error: linux/kernel.h: No such file or directory fs/namespace.c:17:24: error: linux/acct.h: No such file or directory fs/namespace.c:18:30: error: linux/capability.h: No such file or directory fs/namespace.c:19:27: error: linux/cpumask.h: No such file or directory fs/namespace.c:20:26: error: linux/module.h: No such file or directory fs/namespace.c:21:25: error: linux/sysfs.h: No such file or directory fs/namespace.c:22:28: error: linux/seq_file.h: No such file or directory fs/namespace.c:23:33: error: linux/mnt_namespace.h: No such file or directory fs/namespace.c:24:25: error: linux/namei.h: No such file or directory fs/namespace.c:25:28: error: linux/security.h: No such file or directory fs/namespace.c:26:25: error: linux/mount.h: No such file or directory fs/namespace.c:27:25: error: linux/ramfs.h: No such file or directory fs/namespace.c:28:24: error: linux/log2.h: No such file or directory fs/namespace.c:29:23: error: linux/idr.h: No such file or directory fs/namespace.c:30:25: error: asm/uaccess.h: No such file or directory fs/namespace.c:31:24: error: asm/unistd.h: No such file or directory In file included from fs/namespace.c:32: fs/pnode.h:11:24: error: linux/list.h: No such file or directory In file included from fs/namespace.c:32: fs/pnode.h:27: warning: 'struct vfsmount' declared inside parameter list fs/pnode.h:27: warning: its scope is only this definition or declaration, which is probably not what you want fs/pnode.h: In function 'set_mnt_shared': fs/pnode.h:29: error: dereferencing pointer to incomplete type fs/pnode.h:29: error: 'MNT_PNODE_MASK' undeclared (first use in this function) fs/pnode.h:29: error: (Each undeclared identifier is reported only once fs/pnode.h:29: error: for each function it appears in.) fs/pnode.h:30: error: dereferencing pointer to incomplete type fs/pnode.h:30: error: 'MNT_SHARED' undeclared (first use in this function) fs/pnode.h: At top level: fs/pnode.h:33: warning: 'struct vfsmount' declared inside parameter list fs/pnode.h:35: warning: 'struct list_head' declared inside parameter list fs/pnode.h:35: warning: 'struct dentry' declared inside parameter list fs/pnode.h:35: warning: 'struct vfsmount' declared inside parameter list fs/pnode.h:36: warning: 'struct list_head' declared inside parameter list fs/pnode.h:37: warning: 'struct vfsmount' declared inside parameter list fs/pnode.h:38: warning: 'struct vfsmount' declared inside parameter list fs/pnode.h:39: warning: 'struct path' declared inside parameter list fs/pnode.h:39: warning: 'struct vfsmount' declared inside parameter list In file included from fs/namespace.c:33: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/internal.h:45: error: expected ';', ',' or ')' before '*' token fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter list fs/internal.h:49: warning: 'struct dentry' declared inside parameter list fs/internal.h:51: warning: 'struct dentry' declared inside parameter list fs/internal.h:52: warning: 'struct list_head' declared inside parameter list fs/internal.h:53: warning: 'struct list_head' declared inside parameter list fs/internal.h:54: warning: 'struct dentry' declared inside parameter list fs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' fs/namespace.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SPINLOCK' fs/namespace.c:42: warning: type defaults to 'int' in declaration of 'DEFINE_IDA' fs/namespace.c:42: warning: parameter names (without types) in function declaration fs/namespace.c:43: warning: type defaults to 'int' in declaration of 'DEFINE_IDA' fs/namespace.c:43: warning: parameter names (without types) in function declaration fs/namespace.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/namespace.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' fs/namespace.c:51: warning: data definition has no type or storage class fs/namespace.c:51: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:51: warning: parameter names (without types) in function declaration fs/namespace.c:53: warning: 'struct dentry' declared inside parameter list fs/namespace.c: In function 'hash': fs/namespace.c:55: error: 'L1_CACHE_BYTES' undeclared (first use in this function) fs/namespace.c:57: error: implicit declaration of function 'ilog2' fs/namespace.c:57: error: 'PAGE_SIZE' undeclared (first use in this function) fs/namespace.c:57: error: invalid application of 'sizeof' to incomplete type 'struct list_head' fs/namespace.c:58: error: invalid application of 'sizeof' to incomplete type 'struct list_head' fs/namespace.c: In function 'mnt_alloc_id': fs/namespace.c:69: error: implicit declaration of function 'ida_pre_get' fs/namespace.c:69: error: 'mnt_id_ida' undeclared (first use in this function) fs/namespace.c:69: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namespace.c:70: error: implicit declaration of function 'spin_lock' fs/namespace.c:70: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:71: error: implicit declaration of function 'ida_get_new' fs/namespace.c:71: error: dereferencing pointer to incomplete type fs/namespace.c:72: error: implicit declaration of function 'spin_unlock' fs/namespace.c:73: error: 'EAGAIN' undeclared (first use in this function) fs/namespace.c: In function 'mnt_free_id': fs/namespace.c:81: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:82: error: implicit declaration of function 'ida_remove' fs/namespace.c:82: error: 'mnt_id_ida' undeclared (first use in this function) fs/namespace.c:82: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'mnt_alloc_group_id': fs/namespace.c:93: error: 'mnt_group_ida' undeclared (first use in this function) fs/namespace.c:93: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namespace.c:94: error: 'ENOMEM' undeclared (first use in this function) fs/namespace.c:96: error: implicit declaration of function 'ida_get_new_above' fs/namespace.c:96: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:103: error: conflicting types for 'mnt_release_group_id' fs/pnode.h:38: error: previous declaration of 'mnt_release_group_id' was here fs/namespace.c: In function 'mnt_release_group_id': fs/namespace.c:104: error: 'mnt_group_ida' undeclared (first use in this function) fs/namespace.c:104: error: dereferencing pointer to incomplete type fs/namespace.c:105: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'alloc_vfsmnt': fs/namespace.c:110: error: implicit declaration of function 'kmem_cache_zalloc' fs/namespace.c:110: error: 'mnt_cache' undeclared (first use in this function) fs/namespace.c:110: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namespace.c:110: warning: initialization makes pointer from integer without a cast fs/namespace.c:119: error: dereferencing pointer to incomplete type fs/namespace.c:119: error: implicit declaration of function 'kstrdup' fs/namespace.c:120: error: dereferencing pointer to incomplete type fs/namespace.c:124: error: implicit declaration of function 'atomic_set' fs/namespace.c:124: error: dereferencing pointer to incomplete type fs/namespace.c:125: error: implicit declaration of function 'INIT_LIST_HEAD' fs/namespace.c:125: error: dereferencing pointer to incomplete type fs/namespace.c:126: error: dereferencing pointer to incomplete type fs/namespace.c:127: error: dereferencing pointer to incomplete type fs/namespace.c:128: error: dereferencing pointer to incomplete type fs/namespace.c:129: error: dereferencing pointer to incomplete type fs/namespace.c:130: error: dereferencing pointer to incomplete type fs/namespace.c:131: error: dereferencing pointer to incomplete type fs/namespace.c:132: error: dereferencing pointer to incomplete type fs/namespace.c:133: error: dereferencing pointer to incomplete type fs/namespace.c:140: error: implicit declaration of function 'kmem_cache_free' fs/namespace.c:141: error: 'NULL' undeclared (first use in this function) fs/namespace.c: In function '__mnt_is_readonly': fs/namespace.c:165: error: dereferencing pointer to incomplete type fs/namespace.c:165: error: 'MNT_READONLY' undeclared (first use in this function) fs/namespace.c:167: error: dereferencing pointer to incomplete type fs/namespace.c:167: error: 'MS_RDONLY' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:171: warning: data definition has no type or storage class fs/namespace.c:171: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:171: warning: parameter names (without types) in function declaration fs/namespace.c:178: error: expected specifier-qualifier-list before 'spinlock_t' fs/namespace.c:183: error: expected declaration specifiers or '...' before 'mnt_writers' fs/namespace.c:183: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' fs/namespace.c:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_mnt_writers' fs/namespace.c:196: warning: data definition has no type or storage class fs/namespace.c:196: warning: type defaults to 'int' in declaration of 'fs_initcall' fs/namespace.c:196: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'unlock_mnt_writers': fs/namespace.c:203: error: implicit declaration of function 'for_each_possible_cpu' fs/namespace.c:203: error: expected ';' before '{' token fs/namespace.c:201: warning: unused variable 'cpu_writer' fs/namespace.c: In function '__clear_mnt_count': fs/namespace.c:211: error: 'struct mnt_writer' has no member named 'mnt' fs/namespace.c:217: error: 'struct mnt_writer' has no member named 'count' fs/namespace.c:219: error: implicit declaration of function 'atomic_add' fs/namespace.c:219: error: 'struct mnt_writer' has no member named 'count' fs/namespace.c:219: error: 'struct mnt_writer' has no member named 'mnt' fs/namespace.c:220: error: 'struct mnt_writer' has no member named 'count' fs/namespace.c: In function 'use_cpu_writer_for_mount': fs/namespace.c:228: error: 'struct mnt_writer' has no member named 'mnt' fs/namespace.c:231: error: 'struct mnt_writer' has no member named 'mnt' fs/namespace.c: In function 'mnt_want_write': fs/namespace.c:257: error: implicit declaration of function 'get_cpu_var' fs/namespace.c:257: error: 'mnt_writers' undeclared (first use in this function) fs/namespace.c:257: error: invalid lvalue in unary '&' fs/namespace.c:258: error: 'struct mnt_writer' has no member named 'lock' fs/namespace.c:260: error: 'EROFS' undeclared (first use in this function) fs/namespace.c:264: error: 'struct mnt_writer' has no member named 'count' fs/namespace.c:266: error: 'struct mnt_writer' has no member named 'lock' fs/namespace.c:267: error: implicit declaration of function 'put_cpu_var' fs/namespace.c: At top level: fs/namespace.c:270: warning: data definition has no type or storage class fs/namespace.c:270: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:270: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'lock_mnt_writers': fs/namespace.c:277: error: expected ';' before '{' token fs/namespace.c:275: warning: unused variable 'cpu_writer' fs/namespace.c: In function 'handle_write_count_underflow': fs/namespace.c:294: error: implicit declaration of function 'atomic_read' fs/namespace.c:294: error: dereferencing pointer to incomplete type fs/namespace.c:306: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:312: error: dereferencing pointer to incomplete type fs/namespace.c:313: error: dereferencing pointer to incomplete type fs/namespace.c:313: error: 'MNT_IMBALANCED_WRITE_COUNT' undeclared (first use in this function) fs/namespace.c:314: error: implicit declaration of function 'printk' mm/mprotect.c:20:31: error: linux/personality.h: No such file or directory fs/namespace.c:314: error: 'KERN_DEBUG' undeclared (first use in this function) mm/mprotect.c:21:28: error: linux/syscalls.h: No such file or directory fs/namespace.c:314: error: expected ')' before string constant mm/mprotect.c:22:24: error: fs/namespace.c:317: error: implicit declaration of function 'WARN_ON' linux/swap.h: No such file or directory mm/mprotect.c:23:27: error: linux/swapops.h: No such file or directory mm/mprotect.c:24:25: error: asm/uaccess.h: No such file or directory mm/mprotect.c:25:25: error: asm/pgtable.h: No such file or directory mm/mprotect.c:26:28: error: asm/cacheflush.h: No such file or directory mm/mprotect.c:27:26: error: asm/tlbflush.h: No such file or directory mm/mprotect.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pgprot_modify' mm/mprotect.c:36: error: expected declaration specifiers or '...' before 'pmd_t' mm/mprotect.c:37: error: expected declaration specifiers or '...' before 'pgprot_t' mm/mprotect.c:38: warning: 'struct mm_struct' declared inside parameter list mm/mprotect.c:38: warning: its scope is only this definition or declaration, which is probably not what you want mm/mprotect.c: In function 'change_pte_range': mm/mprotect.c:40: error: 'pte_t' undeclared (first use in this function) mm/mprotect.c:40: error: (Each undeclared identifier is reported only once mm/mprotect.c:40: error: for each function it appears in.) mm/mprotect.c:40: error: 'pte' undeclared (first use in this function) mm/mprotect.c:40: error: 'oldpte' undeclared (first use in this function) mm/mprotect.c:40: warning: left-hand operand of comma expression has no effect mm/mprotect.c:41: error: 'spinlock_t' undeclared (first use in this function) mm/mprotect.c:41: error: 'ptl' undeclared (first use in this function) mm/mprotect.c:43: error: implicit declaration of function 'pte_offset_map_lock' mm/mprotect.c:43: error: 'pmd' undeclared (first use in this function) mm/mprotect.c:44: error: implicit declaration of function 'arch_enter_lazy_mmu_mode' mm/mprotect.c:47: error: implicit declaration of function 'pte_present' mm/mprotect.c:48: error: expected ';' before 'ptent' mm/mprotect.c:50: error: 'ptent' undeclared (first use in this function) mm/mprotect.c:50: error: implicit declaration of function 'ptep_modify_prot_start' mm/mprotect.c:51: error: implicit declaration of function 'pte_modify' mm/mprotect.c:51: error: 'newprot' undeclared (first use in this function) mm/mprotect.c:57: error: implicit declaration of function 'pte_dirty' mm/mprotect.c:58: error: implicit declaration of function 'pte_mkwrite' mm/mprotect.c:60: error: implicit declaration of function 'ptep_modify_prot_commit' mm/mprotect.c:77: error: 'PAGE_SIZE' undeclared (first use in this function) mm/mprotect.c:77: warning: left-hand operand of comma expression has no effect mm/mprotect.c:77: warning: left-hand operand of comma expression has no effect mm/mprotect.c:78: error: implicit declaration of function 'arch_leave_lazy_mmu_mode' mm/mprotect.c:79: error: implicit declaration of function 'pte_unmap_unlock' mm/mprotect.c: At top level: mm/mprotect.c:82: error: expected declaration specifiers or '...' before 'pud_t' mm/mprotect.c:83: error: expected declaration specifiers or '...' before 'pgprot_t' mm/mprotect.c:84: warning: 'struct mm_struct' declared inside parameter list mm/mprotect.c: In function 'change_pmd_range': mm/mprotect.c:86: error: 'pmd_t' undeclared (first use in this function) mm/mprotect.c:86: error: 'pmd' undeclared (first use in this function) mm/mprotect.c:87: warning: ISO C90 forbids mixed declarations and code mm/mprotect.c:89: error: implicit declaration of function 'pmd_offset' mm/mprotect.c:89: error: 'pud' undeclared (first use in this function) mm/mprotect.c:91: error: implicit declaration of function 'pmd_addr_end' mm/mprotect.c:92: error: implicit declaration of function 'pmd_none_or_clear_bad' mm/mprotect.c:94: error: 'newprot' undeclared (first use in this function) mm/mprotect.c:94: warning: passing argument 1 of 'change_pte_range' from incompatible pointer type mm/mprotect.c:94: error: too many arguments to function 'change_pte_range' mm/mprotect.c:95: warning: left-hand operand of comma expression has no effect mm/mprotect.c: At top level: mm/mprotect.c:98: error: expected declaration specifiers or '...' before 'pgd_t' mm/mprotect.c:99: error: expected declaration specifiers or '...' before 'pgprot_t' mm/mprotect.c:100: warning: 'struct mm_struct' declared inside parameter list mm/mprotect.c: In function 'change_pud_range': mm/mprotect.c:102: error: 'pud_t' undeclared (first use in this function) mm/mprotect.c:102: error: 'pud' undeclared (first use in this function) mm/mprotect.c:103: warning: ISO C90 forbids mixed declarations and code mm/mprotect.c:105: error: implicit declaration of function 'pud_offset' mm/mprotect.c:105: error: 'pgd' undeclared (first use in this function) mm/mprotect.c:107: error: implicit declaration of function 'pud_addr_end' mm/mprotect.c:108: error: implicit declaration of function 'pud_none_or_clear_bad' mm/mprotect.c:110: error: 'newprot' undeclared (first use in this function) mm/mprotect.c:110: warning: passing argument 1 of 'change_pmd_range' from incompatible pointer type mm/mprotect.c:110: error: too many arguments to function 'change_pmd_range' mm/mprotect.c:111: warning: left-hand operand of comma expression has no effect mm/mprotect.c: At top level: mm/mprotect.c:115: error: expected declaration specifiers or '...' before 'pgprot_t' mm/mprotect.c:116: warning: 'struct vm_area_struct' declared inside parameter list mm/mprotect.c: In function 'change_protection': mm/mprotect.c:118: error: dereferencing pointer to incomplete type mm/mprotect.c:119: error: 'pgd_t' undeclared (first use in this function) mm/mprotect.c:119: error: 'pgd' undeclared (first use in this function) mm/mprotect.c:120: warning: ISO C90 forbids mixed declarations and code mm/mprotect.c:123: error: implicit declaration of function 'BUG_ON' mm/mprotect.c:124: error: implicit declaration of function 'pgd_offset' mm/mprotect.c:125: error: implicit declaration of function 'flush_cache_range' mm/mprotect.c:127: error: implicit declaration of function 'pgd_addr_end' mm/mprotect.c:128: error: implicit declaration of function 'pgd_none_or_clear_bad' mm/mprotect.c:130: error: 'newprot' undeclared (first use in this function) mm/mprotect.c:130: warning: passing argument 1 of 'change_pud_range' from incompatible pointer type mm/mprotect.c:130: error: too many arguments to function 'change_pud_range' mm/mprotect.c:131: warning: left-hand operand of comma expression has no effect mm/mprotect.c:132: error: implicit declaration of function 'flush_tlb_range' mm/mprotect.c: At top level: mm/mprotect.c:137: warning: 'struct vm_area_struct' declared inside parameter list mm/mprotect.c: In function 'mprotect_fixup': mm/mprotect.c:139: error: dereferencing pointer to incomplete type mm/mprotect.c:140: error: dereferencing pointer to incomplete type mm/mprotect.c:141: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mprotect.c:143: error: 'pgoff_t' undeclared (first use in this function) mm/mprotect.c:143: error: expected ';' before 'pgoff' mm/mprotect.c:144: warning: ISO C90 forbids mixed declarations and code mm/mprotect.c:160: error: 'VM_WRITE' undeclared (first use in this function) mm/mprotect.c:161: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mprotect.c:161: error: 'VM_SHARED' undeclared (first use in this function) mm/mprotect.c:163: error: implicit declaration of function 'security_vm_enough_memory' mm/mprotect.c:164: error: 'ENOMEM' undeclared (first use in this function) mm/mprotect.c:172: error: 'pgoff' undeclared (first use in this function) mm/mprotect.c:172: error: dereferencing pointer to incomplete type mm/mprotect.c:172: error: dereferencing pointer to incomplete type mm/mprotect.c:173: error: implicit declaration of function 'vma_merge' mm/mprotect.c:174: error: dereferencing pointer to incomplete type mm/mprotect.c:174: error: dereferencing pointer to incomplete type mm/mprotect.c:174: error: implicit declaration of function 'vma_policy' mm/mprotect.c:174: warning: assignment makes pointer from integer without a cast mm/mprotect.c:182: error: dereferencing pointer to incomplete type mm/mprotect.c:183: error: implicit declaration of function 'split_vma' mm/mprotect.c:188: error: dereferencing pointer to incomplete type mm/mprotect.c:199: error: dereferencing pointer to incomplete type mm/mprotect.c:200: error: dereferencing pointer to incomplete type mm/mprotect.c:200: error: implicit declaration of function 'pgprot_modify' mm/mprotect.c:200: error: dereferencing pointer to incomplete type mm/mprotect.c:201: error: implicit declaration of function 'vm_get_page_prot' mm/mprotect.c:203: error: implicit declaration of function 'vma_wants_writenotify' mm/mprotect.c:204: error: dereferencing pointer to incomplete type mm/mprotect.c:208: error: implicit declaration of function 'is_vm_hugetlb_page' mm/mprotect.c:209: error: implicit declaration of function 'hugetlb_change_protection' mm/mprotect.c:209: error: dereferencing pointer to incomplete type mm/mprotect.c:211: error: dereferencing pointer to incomplete type mm/mprotect.c:211: warning: passing argument 1 of 'change_protection' from incompatible pointer type mm/mprotect.c:211: error: too many arguments to function 'change_protection' mm/mprotect.c:212: error: implicit declaration of function 'vm_stat_account' mm/mprotect.c:212: error: dereferencing pointer to incomplete type mm/mprotect.c:213: error: dereferencing pointer to incomplete type mm/mprotect.c:217: error: implicit declaration of function 'vm_unacct_memory' mm/mprotect.c: At top level: mm/mprotect.c:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/head_32.S:10:27: error: linux/threads.h: No such file or directory arch/x86/kernel/head_32.S:11:24: error: linux/init.h: No such file or directory arch/x86/kernel/head_32.S:12:27: error: linux/linkage.h: No such file or directory arch/x86/kernel/head_32.S:13:25: error: asm/segment.h: No such file or directory arch/x86/kernel/head_32.S:14:22: error: asm/page.h: No such file or directory arch/x86/kernel/head_32.S:15:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/head_32.S:16:22: error: asm/desc.h: No such file or directory arch/x86/kernel/head_32.S:17:23: error: asm/cache.h: No such file or directory arch/x86/kernel/head_32.S:18:29: error: asm/thread_info.h: No such file or directory arch/x86/kernel/head_32.S:19:29: error: asm/asm-offsets.h: No such file or directory arch/x86/kernel/head_32.S:20:23: error: asm/setup.h: No such file or directory arch/x86/kernel/head_32.S:21:33: error: asm/processor-flags.h: No such file or directory make[1]: *** [arch/x86/kernel/head_32.o] Error 1 make[1]: *** [mm/mprotect.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/aio.c:11:26: error: linux/kernel.h: No such file or directory fs/aio.c:12:24: error: linux/init.h: No such file or directory fs/aio.c:13:25: error: linux/errno.h: No such file or directory fs/aio.c:14:24: error: linux/time.h: No such file or directory fs/aio.c:15:27: error: linux/aio_abi.h: No such file or directory fs/aio.c:16:26: error: linux/module.h: No such file or directory fs/aio.c:17:28: error: linux/syscalls.h: No such file or directory fs/aio.c:18:23: error: linux/uio.h: No such file or directory fs/aio.c:22:25: error: linux/sched.h: No such file or directory fs/aio.c:23:22: error: linux/fs.h: No such file or directory fs/aio.c:24:24: error: linux/file.h: No such file or directory fs/aio.c:25:22: error: linux/mm.h: No such file or directory fs/aio.c:26:24: error: linux/mman.h: No such file or directory fs/aio.c:27:24: error: linux/slab.h: No such file or directory fs/aio.c:28:25: error: linux/timer.h: No such file or directory fs/aio.c:29:23: error: linux/aio.h: No such file or directory fs/aio.c:30:27: error: linux/highmem.h: No such file or directory fs/aio.c:31:29: error: linux/workqueue.h: No such file or directory fs/aio.c:32:28: error: linux/security.h: No such file or directory fs/aio.c:33:27: error: fs/namespace.c:319: error: dereferencing pointer to incomplete type CC arch/x86/kernel/head32.o linux/eventfd.h: No such file or directory fs/aio.c:35:28: error: asm/kmap_types.h: No such file or directory fs/aio.c:36:25: error: asm/uaccess.h: No such file or directory fs/aio.c:37:29: error: asm/mmu_context.h: No such file or directory fs/namespace.c: In function 'mnt_drop_write': fs/namespace.c:338: error: 'mnt_writers' undeclared (first use in this function) fs/namespace.c:338: error: invalid lvalue in unary '&' fs/namespace.c:339: error: 'struct mnt_writer' has no member named 'lock' fs/aio.c:46: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/namespace.c:342: error: 'struct mnt_writer' has no member named 'count' fs/aio.c:46: warning: parameter names (without types) in function declaration fs/namespace.c:343: error: 'struct mnt_writer' has no member named 'count' fs/namespace.c:346: error: implicit declaration of function 'atomic_dec' fs/namespace.c:346: error: dereferencing pointer to incomplete type fs/namespace.c:349: error: 'struct mnt_writer' has no member named 'lock' fs/aio.c:57: warning: 'struct work_struct' declared inside parameter list fs/aio.c:57: warning: its scope is only this definition or declaration, which is probably not what you want fs/namespace.c: At top level: fs/aio.c:58: warning: type defaults to 'int' in declaration of 'DECLARE_WORK' fs/aio.c:58: warning: parameter names (without types) in function declaration fs/aio.c:60: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/aio.c:60: warning: parameter names (without types) in function declaration fs/aio.c:61: warning: type defaults to 'int' in declaration of 'LIST_HEAD' fs/aio.c:61: warning: parameter names (without types) in function declaration fs/aio.c:63: warning: 'struct work_struct' declared inside parameter list fs/aio.c:64: warning: 'struct kioctx' declared inside parameter list fs/aio.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_setup' fs/aio.c:82: warning: 'struct kioctx' declared inside parameter list fs/aio.c: In function 'aio_free_ring': fs/aio.c:84: error: dereferencing pointer to incomplete type make[1]: *** [kernel/sys_ni.o] Error 1 CC kernel/posix-cpu-timers.o CC mm/mremap.o fs/namespace.c:367: warning: data definition has no type or storage class fs/namespace.c:367: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:367: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'mnt_make_readonly': fs/namespace.c:377: error: dereferencing pointer to incomplete type fs/namespace.c:378: error: 'EBUSY' undeclared (first use in this function) fs/namespace.c:385: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:387: error: dereferencing pointer to incomplete type fs/namespace.c:387: error: 'MNT_READONLY' undeclared (first use in this function) fs/namespace.c: In function '__mnt_unmake_readonly': fs/namespace.c:396: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:397: error: dereferencing pointer to incomplete type fs/namespace.c:397: error: 'MNT_READONLY' undeclared (first use in this function) fs/namespace.c: In function 'simple_set_mnt': fs/namespace.c:403: error: dereferencing pointer to incomplete type fs/namespace.c:404: error: dereferencing pointer to incomplete type fs/namespace.c:404: error: implicit declaration of function 'dget' fs/namespace.c:404: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:408: warning: data definition has no type or storage class fs/namespace.c:408: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:408: warning: parameter names (without types) in function declaration fs/namespace.c:411: error: conflicting types for 'free_vfsmnt' fs/internal.h:47: error: previous declaration of 'free_vfsmnt' was here fs/namespace.c: In function 'free_vfsmnt': fs/namespace.c:412: error: implicit declaration of function 'kfree' fs/namespace.c:412: error: dereferencing pointer to incomplete type fs/namespace.c:414: error: 'mnt_cache' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:422: warning: 'struct dentry' declared inside parameter list fs/namespace.c:423: error: conflicting types for '__lookup_mnt' fs/internal.h:49: error: previous declaration of '__lookup_mnt' was here fs/namespace.c: In function '__lookup_mnt': fs/namespace.c:424: error: 'mount_hashtable' undeclared (first use in this function) fs/namespace.c:424: warning: passing argument 2 of 'hash' from incompatible pointer type fs/namespace.c:426: error: 'NULL' undeclared (first use in this function) fs/namespace.c:429: error: dereferencing pointer to incomplete type fs/namespace.c:429: error: dereferencing pointer to incomplete type fs/namespace.c:433: error: implicit declaration of function 'list_entry' fs/namespace.c:433: error: expected expression before 'struct' fs/namespace.c:433: warning: assignment makes pointer from integer without a cast fs/namespace.c:434: error: dereferencing pointer to incomplete type fs/namespace.c:434: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:446: warning: 'struct dentry' declared inside parameter list fs/namespace.c: In function 'lookup_mnt': fs/namespace.c:449: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:450: warning: passing argument 2 of '__lookup_mnt' from incompatible pointer type fs/namespace.c:451: error: implicit declaration of function 'mntget' fs/namespace.c: In function 'check_mnt': fs/namespace.c:458: error: dereferencing pointer to incomplete type fs/namespace.c:458: error: 'current' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:461: warning: 'struct mnt_namespace' declared inside parameter list fs/namespace.c: In function 'touch_mnt_namespace': fs/namespace.c:464: error: dereferencing pointer to incomplete type fs/namespace.c:465: error: implicit declaration of function 'wake_up_interruptible' fs/namespace.c:465: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:469: warning: 'struct mnt_namespace' declared inside parameter list fs/namespace.c: In function '__touch_mnt_namespace': fs/namespace.c:471: error: dereferencing pointer to incomplete type fs/namespace.c:472: error: dereferencing pointer to incomplete type fs/namespace.c:473: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:477: warning: 'struct path' declared inside parameter list fs/namespace.c: In function 'detach_mnt': fs/namespace.c:479: error: dereferencing pointer to incomplete type fs/namespace.c:479: error: dereferencing pointer to incomplete type fs/namespace.c:480: error: dereferencing pointer to incomplete type fs/namespace.c:480: error: dereferencing pointer to incomplete type fs/namespace.c:481: error: dereferencing pointer to incomplete type fs/namespace.c:482: error: dereferencing pointer to incomplete type fs/namespace.c:482: error: dereferencing pointer to incomplete type fs/namespace.c:483: error: implicit declaration of function 'list_del_init' fs/namespace.c:483: error: dereferencing pointer to incomplete type fs/namespace.c:484: error: dereferencing pointer to incomplete type fs/namespace.c:485: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:489: warning: 'struct dentry' declared inside parameter list fs/namespace.c:490: error: conflicting types for 'mnt_set_mountpoint' fs/internal.h:51: error: previous declaration of 'mnt_set_mountpoint' was here fs/namespace.c: In function 'mnt_set_mountpoint': fs/namespace.c:491: error: dereferencing pointer to incomplete type fs/namespace.c:492: error: dereferencing pointer to incomplete type fs/namespace.c:493: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:496: warning: 'struct path' declared inside parameter list fs/namespace.c: In function 'attach_mnt': fs/namespace.c:498: error: dereferencing pointer to incomplete type fs/namespace.c:498: error: dereferencing pointer to incomplete type fs/namespace.c:499: error: implicit declaration of function 'list_add_tail' fs/namespace.c:499: error: dereferencing pointer to incomplete type fs/namespace.c:499: error: 'mount_hashtable' undeclared (first use in this function) fs/namespace.c:500: error: dereferencing pointer to incomplete type fs/namespace.c:500: error: dereferencing pointer to incomplete type fs/namespace.c:501: error: dereferencing pointer to incomplete type fs/namespace.c:501: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'commit_tree': fs/namespace.c:509: error: dereferencing pointer to incomplete type fs/namespace.c:511: error: implicit declaration of function 'LIST_HEAD' fs/namespace.c:511: error: 'head' undeclared (first use in this function) fs/namespace.c:512: error: dereferencing pointer to incomplete type fs/namespace.c:512: warning: ISO C90 forbids mixed declarations and code fs/namespace.c:514: error: implicit declaration of function 'BUG_ON' fs/namespace.c:516: error: dereferencing pointer to incomplete type fs/namespace.c:517: error: implicit declaration of function 'list_for_each_entry' fs/namespace.c:517: error: 'mnt_list' undeclared (first use in this function)cc1: error: include/linux/autoconf.h: No such file or directory arch/x86/kernel/head32.c:8:24: error: linux/init.h: No such file or directory arch/x86/kernel/head32.c:9:32: error: linux/start_kernel.h: No such file or directory arch/x86/kernel/head32.c:11:23: error: asm/setup.h: No such file or directory arch/x86/kernel/head32.c:12:26: error: asm/sections.h: No such file or directory arch/x86/kernel/head32.c:13:22: error: asm/e820.h: No such file or directory arch/x86/kernel/head32.c:14:27: error: asm/bios_ebda.h: No such file or directory arch/x86/kernel/head32.c:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i386_start_kernel' cc1: error: include/linux/autoconf.h: No such file or directory kernel/posix-cpu-timers.c:5:25: error: linux/sched.h: No such file or directory kernel/posix-cpu-timers.c:6:32: error: linux/posix-timers.h: No such file or directory kernel/posix-cpu-timers.c:7:25: error: linux/errno.h: No such file or directory kernel/posix-cpu-timers.c:8:26: error: linux/math64.h: No such file or directory kernel/posix-cpu-timers.c:9:25: error: asm/uaccess.h: No such file or directory kernel/posix-cpu-timers.c:11: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:11: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:35: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:35: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:47: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:47: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:57: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:57: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:67: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:67: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:77: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:77: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cputime_div_non_zero' kernel/posix-cpu-timers.c:107: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c:107: warning: its scope is only this definition or declaration, which is probably not what you want kernel/posix-cpu-timers.c:107: error: parameter 2 ('now') has incomplete type kernel/posix-cpu-timers.c: In function 'bump_cpu_timer': kernel/posix-cpu-timers.c:111: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:114: error: implicit declaration of function 'CPUCLOCK_WHICH' kernel/posix-cpu-timers.c:114: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:114: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:114: error: (Each undeclared identifier is reported only once kernel/posix-cpu-timers.c:114: error: for each function it appears in.) kernel/posix-cpu-timers.c:117: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:119: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:120: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:127: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:128: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:132: error: 'cputime_t' undeclared (first use in this function) kernel/posix-cpu-timers.c:132: error: expected ';' before 'delta' kernel/posix-cpu-timers.c:134: error: implicit declaration of function 'cputime_lt' kernel/posix-cpu-timers.c:134: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:136: error: 'incr' undeclared (first use in this function) kernel/posix-cpu-timers.c:136: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:137: error: 'delta' undeclared (first use in this function) kernel/posix-cpu-timers.c:137: error: implicit declaration of function 'cputime_sub' kernel/posix-cpu-timers.c:137: error: implicit declaration of function 'cputime_add' kernel/posix-cpu-timers.c:138: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:142: error: implicit declaration of function 'cputime_halve' kernel/posix-cpu-timers.c:142: warning: left-hand operand of comma expression has no effect kernel/posix-cpu-timers.c:145: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:146: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:147: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'prof_ticks' kernel/posix-cpu-timers.c:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'virt_ticks' kernel/posix-cpu-timers.c:161: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'sched_ns': kernel/posix-cpu-timers.c:163: error: implicit declaration of function 'task_sched_runtime' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:166: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:166: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:184: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:184: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:201: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:201: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:227: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'cpu_clock_sample_group_locked': kernel/posix-cpu-timers.c:232: error: 'EINVAL' undeclared (first use in this function) kernel/posix-cpu-timers.c:233: error: 'CPUCLOCK_PROF' undeclared (first use in this function) kernel/posix-cpu-timers.c:234: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:234: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:234: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:236: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:236: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:236: error: implicit declaration of function 'prof_ticks' kernel/posix-cpu-timers.c:237: error: implicit declaration of function 'next_thread' kernel/posix-cpu-timers.c:237: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:240: error: 'CPUCLOCK_VIRT' undeclared (first use in this function) kernel/posix-cpu-timers.c:241: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:241: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:243: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:243: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:243: error: implicit declaration of function 'virt_ticks' kernel/posix-cpu-timers.c:244: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:247: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:248: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:248: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:250: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:251: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:251: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:253: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:253: warning: passing argument 1 of 'sched_ns' from incompatible pointer type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:263: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:263: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:277: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:277: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:338: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_create': kernel/posix-cpu-timers.c:341: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid' kernel/posix-cpu-timers.c:341: error: 'pid' undeclared (first use in this function) kernel/posix-cpu-timers.c:341: error: implicit declaration of function 'CPUCLOCK_PID' kernel/posix-cpu-timers.c:341: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:342: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:344: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:344: error: 'CPUCLOCK_MAX' undeclared (first use in this function) kernel/posix-cpu-timers.c:345: error: 'EINVAL' undeclared (first use in this function) kernel/posix-cpu-timers.c:347: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/posix-cpu-timers.c:347: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:348: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:349: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:351: error: implicit declaration of function 'read_lock' kernel/posix-cpu-timers.c:351: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:352: error: implicit declaration of function 'CPUCLOCK_PERTHREAD' kernel/posix-cpu-timers.c:352: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:354: error: 'current' undeclared (first use in this function) kernel/posix-cpu-timers.c:356: error: implicit declaration of function 'find_task_by_vpid' kernel/posix-cpu-timers.c:356: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:357: error: implicit declaration of function 'same_thread_group' kernel/posix-cpu-timers.c:358: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:364: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:365: error: implicit declaration of function 'thread_group_leader' kernel/posix-cpu-timers.c:369: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:371: error: implicit declaration of function 'get_task_struct' kernel/posix-cpu-timers.c:375: error: implicit declaration of function 'read_unlock' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:386: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_del': kernel/posix-cpu-timers.c:388: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:391: error: implicit declaration of function 'likely' kernel/posix-cpu-timers.c:391: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:392: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:393: error: implicit declaration of function 'unlikely' kernel/posix-cpu-timers.c:393: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:398: error: implicit declaration of function 'BUG_ON' kernel/posix-cpu-timers.c:398: error: implicit declaration of function 'list_empty' kernel/posix-cpu-timers.c:398: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:400: error: implicit declaration of function 'spin_lock' kernel/posix-cpu-timers.c:400: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:401: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:402: error: 'TIMER_RETRY' undeclared (first use in this function) kernel/posix-cpu-timers.c:404: error: implicit declaration of function 'list_del' kernel/posix-cpu-timers.c:404: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:405: error: implicit declaration of function 'spin_unlock' kernel/posix-cpu-timers.c:405: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:410: error: implicit declaration of function 'put_task_struct' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:423: error: expected declaration specifiers or '...' before 'cputime_t' kernel/posix-cpu-timers.c:423: error: expected declaration specifiers or '...' before 'cputime_t' kernel/posix-cpu-timers.c:424: warning: 'struct list_head' declared inside parameter list kernel/posix-cpu-timers.c: In function 'cleanup_timers': kernel/posix-cpu-timers.c:427: error: 'cputime_t' undeclared (first use in this function) kernel/posix-cpu-timers.c:427: error: expected ';' before 'ptime' kernel/posix-cpu-timers.c:429: error: implicit declaration of function 'list_for_each_entry_safe' kernel/posix-cpu-timers.c:429: error: 'entry' undeclared (first use in this function) kernel/posix-cpu-timers.c:429: error: expected ';' before '{' token kernel/posix-cpu-timers.c:440: error: expected ';' before '{' token kernel/posix-cpu-timers.c:451: error: expected ';' before '{' token kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:466: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timers_exit': kernel/posix-cpu-timers.c:468: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:469: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:469: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:469: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:469: error: too many arguments to function 'cleanup_timers' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:472: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timers_exit_group': kernel/posix-cpu-timers.c:474: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:475: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:475: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:476: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:476: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:477: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:477: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:477: error: too many arguments to function 'cleanup_timers' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:488: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c:487: error: parameter 3 ('expires') has incomplete type kernel/posix-cpu-timers.c:488: error: parameter 4 ('val') has incomplete type kernel/posix-cpu-timers.c: In function 'process_timer_rebalance': kernel/posix-cpu-timers.c:490: error: 'cputime_t' undeclared (first use in this function) kernel/posix-cpu-timers.c:490: error: expected ';' before 'ticks' kernel/posix-cpu-timers.c:491: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:493: error: implicit declaration of function 'atomic_read' kernel/posix-cpu-timers.c:493: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:500: error: implicit declaration of function 'BUG' kernel/posix-cpu-timers.c:502: error: 'CPUCLOCK_PROF' undeclared (first use in this function) kernel/posix-cpu-timers.c:503: error: 'left' undeclared (first use in this function) kernel/posix-cpu-timers.c:503: error: implicit declaration of function 'cputime_div_non_zero' kernel/posix-cpu-timers.c:506: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:506: error: 'PF_EXITING' undeclared (first use in this function) kernel/posix-cpu-timers.c:507: error: 'ticks' undeclared (first use in this function)fs/aio.c:87: error: dereferencing pointer to incomplete type fs/aio.c:88: error: implicit declaration of function 'put_page' fs/aio.c:88: error: dereferencing pointer to incomplete type fs/aio.c:90: error: dereferencing pointer to incomplete type fs/aio.c:91: error: implicit declaration of function 'down_write' fs/aio.c:91: error: dereferencing pointer to incomplete type fs/aio.c:92: error: implicit declaration of function 'do_munmap' fs/aio.c:92: error: dereferencing pointer to incomplete type fs/aio.c:92: error: dereferencing pointer to incomplete type fs/aio.c:92: error: dereferencing pointer to incomplete type fs/aio.c:93: error: implicit declaration of function 'up_write' fs/aio.c:93: error: dereferencing pointer to incomplete type fs/aio.c:96: error: dereferencing pointer to incomplete type fs/aio.c:96: error: dereferencing pointer to incomplete type fs/aio.c:96: error: dereferencing pointer to incomplete type fs/aio.c:97: error: implicit declaration of function 'kfree' fs/aio.c:97: error: dereferencing pointer to incomplete type fs/aio.c:98: error: dereferencing pointer to incomplete type fs/aio.c:98: error: 'NULL' undeclared (first use in this function) fs/aio.c:98: error: (Each undeclared identifier is reported only once fs/aio.c:98: error: for each function it appears in.) fs/aio.c:99: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:102: warning: 'struct kioctx' declared inside parameter list cc1: error: include/linux/autoconf.h: No such file or directory fs/aio.c: In function 'aio_setup_ring': fs/aio.c:105: error: dereferencing pointer to incomplete type fs/aio.c:106: error: dereferencing pointer to incomplete type fs/aio.c:113: error: invalid application of 'sizeof' to incomplete type 'struct aio_ring' fs/aio.c:114: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:115: error: 'PAGE_SIZE' undeclared (first use in this function) fs/aio.c:115: error: 'PAGE_SHIFT' undeclared (first use in this function) fs/aio.c:118: error: 'EINVAL' undeclared (first use in this function) fs/aio.c:120: error: invalid application of 'sizeof' to incomplete type 'struct aio_ring' fs/aio.c:120: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:122: error: dereferencing pointer to incomplete typemm/mremap.c:10:22: error: linux/mm.h: No such file or directory mm/mremap.c:11:27: error: linux/hugetlb.h: No such file or directory make[1]: *** [arch/x86/kernel/head32.o] Error 1 fs/namespace.c:518: error: expected ';' before 'm' fs/namespace.c:519: error: implicit declaration of function 'list_splice' fs/namespace.c:519: error: dereferencing pointer to incomplete type fs/namespace.c:521: error: dereferencing pointer to incomplete type fs/namespace.c:521: error: 'mount_hashtable' undeclared (first use in this function) fs/namespace.c:522: error: dereferencing pointer to incomplete type fs/namespace.c:523: error: dereferencing pointer to incomplete type fs/namespace.c:523: error: dereferencing pointer to incomplete type fs/namespace.c:524: warning: passing argument 1 of 'touch_mnt_namespace' from incompatible pointer type fs/namespace.c: In function 'next_mnt': fs/namespace.c:529: error: dereferencing pointer to incomplete type fs/namespace.c:530: error: dereferencing pointer to incomplete type fs/namespace.c:533: error: 'NULL' undeclared (first use in this function) fs/namespace.c:534: error: dereferencing pointer to incomplete type fs/namespace.c:535: error: dereferencing pointer to incomplete type fs/namespace.c:537: error: dereferencing pointer to incomplete type fs/namespace.c:540: error: expected expression before 'struct' fs/namespace.c:540: warning: return makes pointer from integer without a cast fs/namespace.c: In function 'skip_mnt_tree': fs/namespace.c:545: error: dereferencing pointer to incomplete type fs/namespace.c:546: error: dereferencing pointer to incomplete type fs/namespace.c:547: error: expected expression before 'struct' fs/namespace.c:547: warning: assignment makes pointer from integer without a cast fs/namespace.c:548: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:554: warning: 'struct dentry' declared inside parameter list fs/namespace.c: In function 'clone_mnt': fs/namespace.c:556: error: dereferencing pointer to incomplete type fs/namespace.c:557: error: dereferencing pointer to incomplete type fs/namespace.c:561: error: dereferencing pointer to incomplete type fs/namespace.c:563: error: dereferencing pointer to incomplete type fs/namespace.c:563: error: dereferencing pointer to incomplete type fs/namespace.c:565: error: dereferencing pointer to incomplete type fs/namespace.c:571: error: dereferencing pointer to incomplete type fs/namespace.c:571: error: dereferencing pointer to incomplete type fs/namespace.c:572: error: implicit declaration of function 'atomic_inc' fs/namespace.c:572: error: dereferencing pointer to incomplete type fs/namespace.c:573: error: dereferencing pointer to incomplete type fs/namespace.c:574: error: dereferencing pointer to incomplete type fs/namespace.c:575: error: dereferencing pointer to incomplete type fs/namespace.c:575: error: dereferencing pointer to incomplete type fs/namespace.c:576: error: dereferencing pointer to incomplete type fs/namespace.c:579: error: implicit declaration of function 'list_add' fs/namespace.c:579: error: dereferencing pointer to incomplete type fs/namespace.c:579: error: dereferencing pointer to incomplete type fs/namespace.c:580: error: dereferencing pointer to incomplete type fs/namespace.c:581: error: dereferencing pointer to incomplete type fs/namespace.c:581: error: 'MNT_SHARED' undeclared (first use in this function) fs/namespace.c:583: error: dereferencing pointer to incomplete type fs/namespace.c:584: error: dereferencing pointer to incomplete type fs/namespace.c:584: error: dereferencing pointer to incomplete type fs/namespace.c:585: error: dereferencing pointer to incomplete type fs/namespace.c:586: error: dereferencing pointer to incomplete type fs/namespace.c:586: error: dereferencing pointer to incomplete type fs/namespace.c:587: error: dereferencing pointer to incomplete type fs/namespace.c:587: error: dereferencing pointer to incomplete type fs/namespace.c:590: warning: passing argument 1 of 'set_mnt_shared' from incompatible pointer type fs/namespace.c:595: error: implicit declaration of function 'list_empty' fs/namespace.c:595: error: dereferencing pointer to incomplete type fs/namespace.c:596: error: dereferencing pointer to incomplete type fs/namespace.c:596: error: dereferencing pointer to incomplete type fs/namespace.c:603: error: 'NULL' undeclared (first use in this function) fs/namespace.c: In function '__mntput': fs/namespace.c:609: error: dereferencing pointer to incomplete type fs/namespace.c:616: error: expected ';' before '{' token fs/namespace.c:638: error: implicit declaration of function 'dput' fs/namespace.c:638: error: dereferencing pointer to incomplete type fs/namespace.c:640: error: implicit declaration of function 'deactivate_super' fs/namespace.c: In function 'mntput_no_expire': fs/namespace.c:646: error: implicit declaration of function 'atomic_dec_and_lock' fs/namespace.c:646: error: dereferencing pointer to incomplete type fs/namespace.c:646: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:647: error: implicit declaration of function 'likely' fs/namespace.c:647: error: dereferencing pointer to incomplete type fs/namespace.c:652: error: dereferencing pointer to incomplete type fs/namespace.c:652: error: dereferencing pointer to incomplete type fs/namespace.c:653: error: dereferencing pointer to incomplete type fs/namespace.c:655: error: implicit declaration of function 'acct_auto_close_mnt' fs/namespace.c:656: error: implicit declaration of function 'security_sb_umount_close' fs/namespace.c: At top level: fs/namespace.c:661: warning: data definition has no type or storage class fs/namespace.c:661: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:661: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'mnt_pin': fs/namespace.c:665: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:666: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:670: warning: data definition has no type or storage class fs/namespace.c:670: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:670: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'mnt_unpin': fs/namespace.c:674: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:675: error: dereferencing pointer to incomplete type fs/namespace.c:676: error: dereferencing pointer to incomplete type fs/namespace.c:677: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:682: warning: data definition has no type or storage class fs/namespace.c:682: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/mremap.c:12:24:fs/aio.c:123: error: dereferencing pointer to incomplete type CC arch/x86/kernel/head.o fs/namespace.c:682: warning: parameter names (without types) in function declaration fs/aio.c:123: error: dereferencing pointer to incomplete type error: fs/aio.c:124: error: 'AIO_RING_PAGES' undeclared (first use in this function) linux/slab.h: No such file or directory fs/aio.c:125: error: dereferencing pointer to incomplete type mm/mremap.c:13:23: error: fs/namespace.c:684: warning: 'struct seq_file' declared inside parameter listfs/aio.c:125: error: implicit declaration of function 'kcalloc' linux/shm.h: No such file or directory fs/aio.c:125: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mremap.c:14:24: fs/aio.c:126: error: dereferencing pointer to incomplete type error: fs/aio.c:127: error: 'ENOMEM' undeclared (first use in this function) linux/mman.h: No such file or directory fs/aio.c:130: error: dereferencing pointer to incomplete type mm/mremap.c:15:24: error: linux/swap.h: No such file or directory fs/aio.c:132: error: dereferencing pointer to incomplete type mm/mremap.c:16:30: fs/aio.c:133: error: dereferencing pointer to incomplete type error: linux/capability.h: No such file or directory fs/aio.c:133: error: implicit declaration of function 'do_mmap' mm/mremap.c:17:22: error: linux/fs.h: No such file or directoryfs/namespace.c: In function 'mangle':fs/aio.c:133: error: 'NULL' undeclared (first use in this function) fs/aio.c:133: error: dereferencing pointer to incomplete type fs/aio.c:134: error: 'PROT_READ' undeclared (first use in this function) mm/mremap.c:18:27: fs/aio.c:134: error: 'PROT_WRITE' undeclared (first use in this function) error: fs/aio.c:134: error: 'MAP_ANONYMOUS' undeclared (first use in this function) linux/highmem.h: No such file or directory fs/namespace.c:686: error: implicit declaration of function 'seq_escape'fs/aio.c:134: error: 'MAP_PRIVATE' undeclared (first use in this function)mm/mremap.c:19:28: error: linux/security.h: No such file or directory mm/mremap.c:20:28: fs/aio.c:136: error: implicit declaration of function 'IS_ERR' error: fs/aio.c:136: error: dereferencing pointer to incomplete type linux/syscalls.h: No such file or directory fs/aio.c:137: error: dereferencing pointer to incomplete type mm/mremap.c:22:25: error: asm/uaccess.h: No such file or directory fs/aio.c:138: error: dereferencing pointer to incomplete type mm/mremap.c:23:28: error: fs/aio.c:139: warning: passing argument 1 of 'aio_free_ring' from incompatible pointer type asm/cacheflush.h: No such file or directory fs/aio.c:140: error: 'EAGAIN' undeclared (first use in this function) mm/mremap.c:24:26: error: fs/aio.c:144: error: dereferencing pointer to incomplete type asm/tlbflush.h: No such file or directory fs/aio.c:144: error: implicit declaration of function 'get_user_pages' fs/aio.c:144: error: 'current' undeclared (first use in this function) fs/aio.c:144: error: dereferencing pointer to incomplete typemm/mremap.c:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/aio.c:145: error: dereferencing pointer to incomplete type fs/aio.c:146: error: dereferencing pointer to incomplete type mm/mremap.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/aio.c:147: error: dereferencing pointer to incomplete type fs/aio.c:149: error: implicit declaration of function 'unlikely' fs/aio.c:149: error: dereferencing pointer to incomplete type mm/mremap.c:68: error: expected declaration specifiers or '...' before 'pmd_t' fs/aio.c:150: warning: passing argument 1 of 'aio_free_ring' from incompatible pointer type mm/mremap.c:70: error: expected declaration specifiers or '...' before 'pmd_t' fs/aio.c:154: error: dereferencing pointer to incomplete type mm/mremap.c:71: warning: 'struct vm_area_struct' declared inside parameter list fs/aio.c:154: error: dereferencing pointer to incomplete type mm/mremap.c:71: warning: its scope is only this definition or declaration, which is probably not what you want fs/aio.c:156: error: dereferencing pointer to incomplete type fs/aio.c:158: error: implicit declaration of function 'kmap_atomic' fs/aio.c:158: error: dereferencing pointer to incomplete type fs/aio.c:158: error: 'KM_USER0' undeclared (first use in this function) mm/mremap.c: In function 'move_ptes': fs/aio.c:158: warning: assignment makes pointer from integer without a cast mm/mremap.c:73: error: 'NULL' undeclared (first use in this function) fs/aio.c:159: error: dereferencing pointer to incomplete type mm/mremap.c:73: error: (Each undeclared identifier is reported only once fs/aio.c:160: error: dereferencing pointer to incomplete type mm/mremap.c:73: error: for each function it appears in.)fs/aio.c:160: error: dereferencing pointer to incomplete type fs/aio.c:161: error: dereferencing pointer to incomplete type fs/aio.c:161: error: dereferencing pointer to incomplete type fs/aio.c:162: error: dereferencing pointer to incomplete type mm/mremap.c:74: error: dereferencing pointer to incomplete type fs/aio.c:162: error: 'AIO_RING_MAGIC' undeclared (first use in this function) mm/mremap.c:75: error: 'pte_t' undeclared (first use in this function) fs/aio.c:163: error: dereferencing pointer to incomplete typemm/mremap.c:75: error: 'old_pte' undeclared (first use in this function) mm/mremap.c:75: error: 'new_pte' undeclared (first use in this function) fs/aio.c:163: error: 'AIO_RING_COMPAT_FEATURES' undeclared (first use in this function) mm/mremap.c:75: warning: left-hand operand of comma expression has no effect fs/aio.c:164: error: dereferencing pointer to incomplete type mm/mremap.c:75: error: 'pte' undeclared (first use in this function) fs/aio.c:164: error: 'AIO_RING_INCOMPAT_FEATURES' undeclared (first use in this function) mm/mremap.c:75: warning: left-hand operand of comma expression has no effect fs/aio.c:165: error: dereferencing pointer to incomplete type mm/mremap.c:76: error: 'spinlock_t' undeclared (first use in this function) fs/aio.c:165: error: invalid application of 'sizeof' to incomplete type 'struct aio_ring' mm/mremap.c:76: error: 'old_ptl' undeclared (first use in this function) mm/mremap.c:76: error: 'new_ptl' undeclared (first use in this function) fs/aio.c:166: error: implicit declaration of function 'kunmap_atomic' mm/mremap.c:76: warning: left-hand operand of comma expression has no effect mm/mremap.c:78: error: dereferencing pointer to incomplete type mm/mremap.c:85: error: dereferencing pointer to incomplete type mm/mremap.c:86: error: implicit declaration of function 'spin_lock' mm/mremap.c:86: error: dereferencing pointer to incomplete type mm/mremap.c:87: error: dereferencing pointer to incomplete type mm/mremap.c:88: error: dereferencing pointer to incomplete typefs/namespace.c: At top level: fs/namespace.c:695: warning: 'struct seq_file' declared inside parameter list fs/aio.c: At top level: fs/aio.c:199: warning: 'struct kioctx' declared inside parameter list fs/namespace.c: In function 'generic_show_options': fs/aio.c: In function '__put_ioctx': mm/mremap.c:88: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:508: error: implicit declaration of function 'cputime_eq' kernel/posix-cpu-timers.c:508: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:509: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:510: error: implicit declaration of function 'cputime_gt' kernel/posix-cpu-timers.c:510: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:511: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:514: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:517: error: 'CPUCLOCK_VIRT' undeclared (first use in this function) kernel/posix-cpu-timers.c:521: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:523: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:525: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:526: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:529: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:532: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:534: error: implicit declaration of function 'do_div' kernel/posix-cpu-timers.c:535: error: implicit declaration of function 'max_t' kernel/posix-cpu-timers.c:535: error: expected expression before 'unsigned' kernel/posix-cpu-timers.c:537: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:538: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:539: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:540: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:541: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:544: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:550: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c:550: error: parameter 2 ('now') has incomplete type kernel/posix-cpu-timers.c: In function 'clear_dead_task': kernel/posix-cpu-timers.c:556: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:557: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:557: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:558: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:558: error: implicit declaration of function 'cpu_time_sub' kernel/posix-cpu-timers.c:558: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:559: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:568: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c:568: error: parameter 2 ('now') has incomplete type kernel/posix-cpu-timers.c: In function 'arm_timer': kernel/posix-cpu-timers.c:570: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:572: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:576: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:577: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:577: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:578: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:578: error: invalid use of undefined type 'struct list_head' kernel/posix-cpu-timers.c:580: error: implicit declaration of function 'irqs_disabled' kernel/posix-cpu-timers.c:581: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:584: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:584: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:585: error: implicit declaration of function 'list_for_each_entry' kernel/posix-cpu-timers.c:585: error: 'entry' undeclared (first use in this function) kernel/posix-cpu-timers.c:585: error: expected ';' before '{' token kernel/posix-cpu-timers.c:591: error: expected ';' before '{' token kernel/posix-cpu-timers.c:597: error: implicit declaration of function 'list_add' kernel/posix-cpu-timers.c:597: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:606: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:607: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:610: error: 'CPUCLOCK_PROF' undeclared (first use in this function) kernel/posix-cpu-timers.c:611: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:612: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:613: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:614: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:615: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:615: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:617: error: 'CPUCLOCK_VIRT' undeclared (first use in this function) kernel/posix-cpu-timers.c:618: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:620: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:621: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:622: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:622: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:625: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:626: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:626: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:627: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:627: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:635: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:639: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:641: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:642: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:646: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:648: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:649: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:651: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:651: error: 'RLIMIT_CPU' undeclared (first use in this function) kernel/posix-cpu-timers.c:652: error: 'RLIM_INFINITY' undeclared (first use in this function) kernel/posix-cpu-timers.c:653: error: implicit declaration of function 'cputime_to_secs' kernel/posix-cpu-timers.c:653: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:659: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:660: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:661: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:661: error: type of formal parameter 3 is incomplete kernel/posix-cpu-timers.c:661: error: type of formal parameter 4 is incomplete kernel/posix-cpu-timers.c:667: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:673: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'cpu_timer_fire': kernel/posix-cpu-timers.c:675: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:675: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:680: error: implicit declaration of function 'wake_up_process' kernel/posix-cpu-timers.c:680: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:681: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:682: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:686: error: implicit declaration of function 'posix_timer_event' kernel/posix-cpu-timers.c:687: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:688: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:695: error: implicit declaration of function 'posix_cpu_timer_schedule' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:706: warning: 'struct itimerspec' declared inside parameter list kernel/posix-cpu-timers.c:706: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_set': kernel/posix-cpu-timers.c:708: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:709: error: storage size of 'old_expires' isn't known kernel/posix-cpu-timers.c:709: error: storage size of 'new_expires' isn't known kernel/posix-cpu-timers.c:709: error: storage size of 'val' isn't known kernel/posix-cpu-timers.c:712: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:716: error: 'ESRCH' undeclared (first use in this function) kernel/posix-cpu-timers.c:719: error: implicit declaration of function 'timespec_to_sample' kernel/posix-cpu-timers.c:719: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:719: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:721: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:727: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:730: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:740: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:741: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:742: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:743: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:744: error: 'TIMER_RETRY' undeclared (first use in this function) kernel/posix-cpu-timers.c:746: error: implicit declaration of function 'list_del_init' kernel/posix-cpu-timers.c:746: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:747: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:757: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:758: error: implicit declaration of function 'cpu_clock_sample' kernel/posix-cpu-timers.c:758: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:760: error: implicit declaration of function 'cpu_clock_sample_group' kernel/posix-cpu-timers.c:760: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:765: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:766: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:778: warning: passing argument 1 of 'bump_cpu_timer' from incompatible pointer type kernel/posix-cpu-timers.c:778: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:779: error: implicit declaration of function 'cpu_time_before' kernel/posix-cpu-timers.c:779: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:780: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:782: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:783: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:784: error: implicit declaration of function 'sample_to_timespec' kernel/posix-cpu-timers.c:784: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:786: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:788: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:789: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:805: error: 'TIMER_ABSTIME' undeclared (first use in this function) kernel/posix-cpu-timers.c:806: error: implicit declaration of function 'cpu_time_add' kernel/posix-cpu-timers.c:806: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:814: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:816: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:816: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-cpu-timers.c:816: error: 'SIGEV_NONE' undeclared (first use in this function) kernel/posix-cpu-timers.c:817: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:818: warning: passing argument 1 of 'arm_timer' from incompatible pointer type kernel/posix-cpu-timers.c:818: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:827: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:827: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:828: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:835: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:835: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:836: error: 'REQUEUE_PENDING' undeclared (first use in this function) kernel/posix-cpu-timers.c:837: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:838: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:841: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:842: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:848: warning: passing argument 1 of 'cpu_timer_fire' from incompatible pointer type kernel/posix-cpu-timers.c:854: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:855: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:855: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:709: warning: unused variable 'val' kernel/posix-cpu-timers.c:709: warning: unused variable 'new_expires' kernel/posix-cpu-timers.c:709: warning: unused variable 'old_expires' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:860: warning: 'struct itimerspec' declared inside parameter list kernel/posix-cpu-timers.c:860: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_get': kernel/posix-cpu-timers.c:862: error: storage size of 'now' isn't known kernel/posix-cpu-timers.c:863: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:869: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:870: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:870: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:872: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:873: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:873: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:877: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:883: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:883: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:884: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:891: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:892: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:893: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:895: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:896: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:903: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:904: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:908: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:909: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:910: error: implicit declaration of function 'thread_group_empty' kernel/posix-cpu-timers.c:915: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:915: error: 'SIGEV_THREAD_ID' undeclared (first use in this function) kernel/posix-cpu-timers.c:915: error: 'SIGEV_NONE' undeclared (first use in this function) kernel/posix-cpu-timers.c:916: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:917: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:918: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:923: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:924: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:924: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:931: warning: passing argument 1 of 'bump_cpu_timer' from incompatible pointer type kernel/posix-cpu-timers.c:931: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:940: warning: passing argument 1 of 'clear_dead_task' from incompatible pointer type kernel/posix-cpu-timers.c:940: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:944: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:944: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:945: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:946: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:947: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:948: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:954: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:955: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:862: warning: unused variable 'now' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:965: warning: 'struct list_head' declared inside parameter list kernel/posix-cpu-timers.c:965: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'check_thread_timers': kernel/posix-cpu-timers.c:968: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:969: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:972: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:972: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:974: error: implicit declaration of function 'list_first_entry' kernel/posix-cpu-timers.c:975: error: expected expression before 'struct' kernel/posix-cpu-timers.c:976: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:977: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:978: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:978: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:981: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:982: error: implicit declaration of function 'list_move_tail' kernel/posix-cpu-timers.c:982: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:985: error: increment of pointer to unknown structure kernel/posix-cpu-timers.c:985: error: arithmetic on pointer to an incomplete type kernel/posix-cpu-timers.c:987: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:990: error: expected expression before 'struct' kernel/posix-cpu-timers.c:991: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:992: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:993: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:993: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:996: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:997: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1000: error: increment of pointer to unknown structure kernel/posix-cpu-timers.c:1000: error: arithmetic on pointer to an incomplete type kernel/posix-cpu-timers.c:1002: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1005: error: expected expression before 'struct' kernel/posix-cpu-timers.c:1006: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:1007: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1007: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1008: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1008: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1011: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1012: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1018: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1018: error: 'RLIMIT_RTTIME' undeclared (first use in this function) kernel/posix-cpu-timers.c:1018: error: 'RLIM_INFINITY' undeclared (first use in this function) kernel/posix-cpu-timers.c:1019: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1020: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1023: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1023: error: implicit declaration of function 'DIV_ROUND_UP' kernel/posix-cpu-timers.c:1023: error: 'USEC_PER_SEC' undeclared (first use in this function) kernel/posix-cpu-timers.c:1023: error: 'HZ' undeclared (first use in this function) kernel/posix-cpu-timers.c:1028: error: implicit declaration of function '__group_send_sig_info' kernel/posix-cpu-timers.c:1028: error: 'SIGKILL' undeclared (first use in this function) kernel/posix-cpu-timers.c:1028: error: 'SEND_SIG_PRIV' undeclared (first use in this function) kernel/posix-cpu-timers.c:1031: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1035: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1036: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1037: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1040: error: implicit declaration of function 'printk' kernel/posix-cpu-timers.c:1040: error: 'KERN_INFO' undeclared (first use in this function) kernel/posix-cpu-timers.c:1041: error: expected ')' before string constant kernel/posix-cpu-timers.c:1043: error: 'SIGXCPU' undeclared (first use in this function) kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1054: warning: 'struct list_head' declared inside parameter list kernel/posix-cpu-timers.c:1054: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'check_process_timers': kernel/posix-cpu-timers.c:1057: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1058: error: 'cputime_t' undeclared (first use in this function) kernel/posix-cpu-timers.c:1058: error: expected ';' before 'utime' kernel/posix-cpu-timers.c:1059: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:1061: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1066: error: 'CPUCLOCK_PROF' undeclared (first use in this function) kernel/posix-cpu-timers.c:1067: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1067: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:1068: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1068: error: 'RLIMIT_CPU' undeclared (first use in this function) kernel/posix-cpu-timers.c:1068: error: 'RLIM_INFINITY' undeclared (first use in this function) kernel/posix-cpu-timers.c:1069: error: 'CPUCLOCK_VIRT' undeclared (first use in this function) kernel/posix-cpu-timers.c:1070: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1071: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:1077: error: 'utime' undeclared (first use in this function) kernel/posix-cpu-timers.c:1077: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1078: error: 'stime' undeclared (first use in this function) kernel/posix-cpu-timers.c:1078: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1079: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1082: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1083: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1084: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1085: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c:1087: error: 'ptime' undeclared (first use in this function) kernel/posix-cpu-timers.c:1090: error: 'prof_expires' undeclared (first use in this function) kernel/posix-cpu-timers.c:1093: error: expected expression before 'struct' kernel/posix-cpu-timers.c:1094: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:1095: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1096: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1099: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1100: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1103: error: increment of pointer to unknown structure kernel/posix-cpu-timers.c:1103: error: arithmetic on pointer to an incomplete type kernel/posix-cpu-timers.c:1105: error: 'virt_expires' undeclared (first use in this function) kernel/posix-cpu-timers.c:1108: error: expected expression before 'struct' kernel/posix-cpu-timers.c:1109: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:1110: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1111: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1114: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1115: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1118: error: increment of pointer to unknown structure kernel/posix-cpu-timers.c:1118: error: arithmetic on pointer to an incomplete type kernel/posix-cpu-timers.c:1123: error: expected expression before 'struct'fs/namespace.c:697: error: dereferencing pointer to incomplete typefs/aio.c:201: error: dereferencing pointer to incomplete typemm/mremap.c:89: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1124: warning: initialization makes pointer from integer without a cast kernel/posix-cpu-timers.c:1125: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1126: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1129: error: dereferencing pointer to incomplete type mm/mremap.c:96: error: implicit declaration of function 'pte_offset_map_lock' fs/aio.c:203: error: implicit declaration of function 'BUG_ON' kernel/posix-cpu-timers.c:1130: error: dereferencing pointer to incomplete type fs/aio.c:203: error: dereferencing pointer to incomplete type mm/mremap.c:96: error: 'old_pmd' undeclared (first use in this function) fs/namespace.c:699: error: 'NULL' undeclared (first use in this function)fs/aio.c:205: error: implicit declaration of function 'cancel_delayed_work' kernel/posix-cpu-timers.c:1136: error: dereferencing pointer to incomplete typefs/aio.c:205: error: dereferencing pointer to incomplete type fs/aio.c:206: error: implicit declaration of function 'cancel_work_sync' mm/mremap.c:97: error: implicit declaration of function 'pte_offset_map_nested' fs/namespace.c:700: error: implicit declaration of function 'seq_putc' fs/aio.c:206: error: dereferencing pointer to incomplete type mm/mremap.c:97: error: 'new_pmd' undeclared (first use in this function) fs/namespace.c:701: warning: passing argument 1 of 'mangle' from incompatible pointer type fs/aio.c:207: warning: passing argument 1 of 'aio_free_ring' from incompatible pointer type fs/namespace.c: At top level: fs/aio.c:208: error: implicit declaration of function 'mmdrop' mm/mremap.c:98: error: implicit declaration of function 'pte_lockptr'kernel/posix-cpu-timers.c:1137: error: implicit declaration of function 'cputime_ge' fs/namespace.c:706: warning: data definition has no type or storage classfs/aio.c:208: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1137: error: dereferencing pointer to incomplete type mm/mremap.c:100: error: implicit declaration of function 'spin_lock_nested' fs/aio.c:209: error: dereferencing pointer to incomplete typefs/namespace.c:706: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:706: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'save_mount_options': fs/namespace.c:723: error: dereferencing pointer to incomplete type fs/namespace.c:724: error: dereferencing pointer to incomplete type fs/namespace.c:724: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:726: warning: data definition has no type or storage class fs/namespace.c:726: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:726: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'may_umount_tree': fs/namespace.c:946: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:948: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:959: warning: data definition has no type or storage class fs/namespace.c:959: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:959: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'may_umount': fs/namespace.c:977: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:978: warning: passing argument 1 of 'propagate_mount_busy' from incompatible pointer type fs/namespace.c: At top level: fs/namespace.c:984: warning: data definition has no type or storage class fs/namespace.c:984: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/namespace.c:984: warning: parameter names (without types) in function declaration fs/namespace.c:987: error: conflicting types for 'release_mounts' fs/internal.h:52: error: previous declaration of 'release_mounts' was here fs/namespace.c: In function 'release_mounts': fs/namespace.c:990: error: implicit declaration of function 'list_first_entry' fs/namespace.c:990: error: expected expression before 'struct' fs/namespace.c:990: warning: assignment makes pointer from integer without a cast fs/namespace.c:991: error: dereferencing pointer to incomplete type fs/namespace.c:992: error: dereferencing pointer to incomplete type fs/namespace.c:995: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:996: error: dereferencing pointer to incomplete type fs/namespace.c:997: error: dereferencing pointer to incomplete type fs/namespace.c:998: error: dereferencing pointer to incomplete type fs/namespace.c:998: error: dereferencing pointer to incomplete type fs/namespace.c:999: error: dereferencing pointer to incomplete type fs/namespace.c:1000: error: dereferencing pointer to incomplete type fs/namespace.c:1003: error: implicit declaration of function 'mntput' cc1: fs/namespace.c: At top level: kernel/posix-cpu-timers.c:1139: error: dereferencing pointer to incomplete type error: fs/aio.c:209: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1010: error: conflicting types for 'umount_tree'fs/aio.c:210: error: implicit declaration of function 'pr_debug' mm/mremap.c:100: error: 'SINGLE_DEPTH_NESTING' undeclared (first use in this function) include/linux/autoconf.h: No such file or directory fs/aio.c:211: error: implicit declaration of function 'kmem_cache_free' mm/mremap.c:101: error: implicit declaration of function 'arch_enter_lazy_mmu_mode' fs/internal.h:53: error: previous declaration of 'umount_tree' was here mm/mremap.c:103: error: 'PAGE_SIZE' undeclared (first use in this function) mm/mremap.c:103: warning: left-hand operand of comma expression has no effect kernel/posix-cpu-timers.c:1139: error: dereferencing pointer to incomplete type fs/aio.c:214: error: implicit declaration of function 'spin_lock' kernel/posix-cpu-timers.c:1140: error: dereferencing pointer to incomplete typefs/namespace.c: In function 'umount_tree': mm/mremap.c:104: warning: left-hand operand of comma expression has no effect fs/aio.c:214: error: 'aio_nr_lock' undeclared (first use in this function)fs/namespace.c:1014: error: implicit declaration of function 'list_move'kernel/posix-cpu-timers.c:1141: error: dereferencing pointer to incomplete type arch/x86/kernel/head.c:1:26: fs/namespace.c:1014: error: dereferencing pointer to incomplete type fs/namespace.c:1017: warning: passing argument 1 of 'propagate_umount' from incompatible pointer type fs/namespace.c:1019: error: 'mnt_hash' undeclared (first use in this function) fs/namespace.c:1019: error: expected ';' before '{' token mm/mremap.c:104: warning: left-hand operand of comma expression has no effect kernel/posix-cpu-timers.c:1142: error: dereferencing pointer to incomplete typemm/mremap.c:105: error: implicit declaration of function 'pte_none' fs/aio.c:217: error: implicit declaration of function 'spin_unlock' mm/mremap.c:107: error: implicit declaration of function 'ptep_clear_flush' mm/mremap.c:108: error: implicit declaration of function 'move_pte' mm/mremap.c:108: error: dereferencing pointer to incomplete type mm/mremap.c:109: error: implicit declaration of function 'set_pte_at' mm/mremap.c:112: error: implicit declaration of function 'arch_leave_lazy_mmu_mode' fs/namespace.c: In function 'do_umount': error: mm/mremap.c:114: error: implicit declaration of function 'spin_unlock' fs/namespace.c:1037: error: dereferencing pointer to incomplete type mm/mremap.c:115: error: implicit declaration of function 'pte_unmap_nested' fs/namespace.c:1039: error: 'umount_list' undeclared (first use in this function) linux/kernel.h: No such file or directorymm/mremap.c:116: error: implicit declaration of function 'pte_unmap_unlock' fs/aio.c: In function 'ioctx_alloc':fs/namespace.c:1041: error: implicit declaration of function 'security_sb_umount' kernel/posix-cpu-timers.c:1144: error: 'SIGPROF' undeclared (first use in this function) mm/mremap.c:118: error: dereferencing pointer to incomplete type fs/namespace.c:1051: error: 'MNT_EXPIRE' undeclared (first use in this function) fs/namespace.c:1052: error: 'current' undeclared (first use in this function) fs/namespace.c:1053: error: 'MNT_FORCE' undeclared (first use in this function) kernel/posix-cpu-timers.c:1144: error: 'SEND_SIG_PRIV' undeclared (first use in this function)fs/aio.c:240: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:240: warning: division by zero fs/aio.c:241: error: invalid application of 'sizeof' to incomplete type 'struct kiocb' mm/mremap.c: At top level: arch/x86/kernel/head.c:2:24: fs/namespace.c:1053: error: 'MNT_DETACH' undeclared (first use in this function) fs/aio.c:241: warning: division by zerofs/namespace.c:1054: error: 'EINVAL' undeclared (first use in this function) mm/mremap.c:125: warning: 'struct vm_area_struct' declared inside parameter listfs/namespace.c:1056: error: dereferencing pointer to incomplete type error: fs/namespace.c:1057: error: 'EBUSY' undeclared (first use in this function) fs/namespace.c:1059: error: implicit declaration of function 'xchg' linux/init.h: No such file or directorymm/mremap.c: In function 'move_page_tables':kernel/posix-cpu-timers.c:1146: error: dereferencing pointer to incomplete typefs/aio.c:243: error: implicit declaration of function 'ERR_PTR'fs/namespace.c:1059: error: dereferencing pointer to incomplete type mm/mremap.c:128: error: 'pmd_t' undeclared (first use in this function) mm/mremap.c:128: error: 'old_pmd' undeclared (first use in this function) mm/mremap.c:128: error: 'new_pmd' undeclared (first use in this function) kernel/posix-cpu-timers.c:1148: error: dereferencing pointer to incomplete type arch/x86/kernel/head.c:4:23:fs/aio.c:243: error: 'EINVAL' undeclared (first use in this function) fs/namespace.c:1060: error: 'EAGAIN' undeclared (first use in this function)fs/aio.c:243: warning: return makes pointer from integer without a cast mm/mremap.c:128: warning: left-hand operand of comma expression has no effect error: kernel/posix-cpu-timers.c:1149: error: dereferencing pointer to incomplete type fs/aio.c:247: error: 'EAGAIN' undeclared (first use in this function) mm/mremap.c:131: error: implicit declaration of function 'flush_cache_range' asm/setup.h: No such file or directory kernel/posix-cpu-timers.c:1152: error: dereferencing pointer to incomplete type fs/aio.c:247: warning: return makes pointer from integer without a cast fs/namespace.c:1073: error: dereferencing pointer to incomplete typemm/mremap.c:134: error: implicit declaration of function 'cond_resched' arch/x86/kernel/head.c:5:27: fs/aio.c:249: error: implicit declaration of function 'kmem_cache_zalloc' kernel/posix-cpu-timers.c:1153: error: dereferencing pointer to incomplete typemm/mremap.c:135: error: 'PMD_SIZE' undeclared (first use in this function) error: fs/namespace.c:1074: error: implicit declaration of function 'lock_kernel' fs/namespace.c:1075: error: dereferencing pointer to incomplete type fs/namespace.c:1076: error: implicit declaration of function 'unlock_kernel' fs/namespace.c:1093: error: implicit declaration of function 'down_write' fs/namespace.c:1093: error: dereferencing pointer to incomplete type fs/namespace.c:1094: error: dereferencing pointer to incomplete type fs/namespace.c:1094: error: 'MS_RDONLY' undeclared (first use in this function) fs/namespace.c:1096: error: implicit declaration of function 'do_remount_sb' fs/namespace.c:1096: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1099: error: implicit declaration of function 'up_write' fs/namespace.c:1099: error: dereferencing pointer to incomplete type fs/namespace.c:1104: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:1111: warning: passing argument 1 of 'propagate_mount_busy' from incompatible pointer type fs/namespace.c:1112: error: dereferencing pointer to incomplete type fs/namespace.c:1118: error: implicit declaration of function 'security_sb_umount_busy' fs/namespace.c: At top level: fs/namespace.c:1132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namespace.c:1171: warning: 'struct nameidata' declared inside parameter list fs/namespace.c: In function 'mount_is_safe': fs/namespace.c:1173: error: implicit declaration of function 'capable' fs/namespace.c:1173: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) fs/namespace.c:1175: error: 'EPERM' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:1190: warning: 'struct dentry' declared inside parameter list fs/namespace.c:1191: error: conflicting types for 'copy_tree' fs/internal.h:54: error: previous declaration of 'copy_tree' was here fs/namespace.c: In function 'copy_tree': fs/namespace.c:1193: error: storage size of 'path' isn't known fs/namespace.c:1195: error: dereferencing pointer to incomplete type fs/namespace.c:1195: error: 'MNT_UNBINDABLE' undeclared (first use in this function) fs/namespace.c:1196: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1198: warning: passing argument 2 of 'clone_mnt' from incompatible pointer type fs/namespace.c:1201: error: dereferencing pointer to incomplete type fs/namespace.c:1201: error: dereferencing pointer to incomplete type fs/namespace.c:1204: error: dereferencing pointer to incomplete type fs/namespace.c:1204: error: 'mnt_child' undeclared (first use in this function) fs/namespace.c:1204: error: expected ';' before '{' token fs/namespace.c:1232: error: 'umount_list' undeclared (first use in this function) fs/namespace.c:1233: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:1193: warning: unused variable 'path' fs/namespace.c:1192: warning: unused variable 's' fs/namespace.c: At top level: fs/aio.c:249: error: 'GFP_KERNEL' undeclared (first use in this function) mm/mremap.c:135: error: 'PMD_MASK' undeclared (first use in this function)fs/aio.c:249: warning: assignment makes pointer from integer without a cast asm/bios_ebda.h: No such file or directoryfs/namespace.c:1241: warning: 'struct dentry' declared inside parameter list fs/namespace.c: In function 'collect_mounts': kernel/posix-cpu-timers.c:1155: error: dereferencing pointer to incomplete type fs/aio.c:251: error: 'ENOMEM' undeclared (first use in this function) mm/mremap.c:139: error: implicit declaration of function 'get_old_pmd' mm/mremap.c:139: error: dereferencing pointer to incomplete type mm/mremap.c:142: error: implicit declaration of function 'alloc_new_pmd'arch/x86/kernel/head.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'reserve_ebda_region' fs/namespace.c:1245: warning: passing argument 2 of 'copy_tree' from incompatible pointer typekernel/posix-cpu-timers.c:1155: error: dereferencing pointer to incomplete type fs/aio.c:251: warning: return makes pointer from integer without a castkernel/posix-cpu-timers.c:1156: error: dereferencing pointer to incomplete type mm/mremap.c:142: error: dereferencing pointer to incomplete type mm/mremap.c:148: error: 'PAGE_SIZE' undeclared (first use in this function) mm/mremap.c:151: warning: passing argument 1 of 'move_ptes' from incompatible pointer type mm/mremap.c:151: warning: passing argument 4 of 'move_ptes' makes pointer from integer without a cast mm/mremap.c:151: warning: passing argument 5 of 'move_ptes' makes integer from pointer without a cast mm/mremap.c:151: error: too many arguments to function 'move_ptes' kernel/posix-cpu-timers.c:1157: error: dereferencing pointer to incomplete type fs/aio.c:253: error: dereferencing pointer to incomplete typekernel/posix-cpu-timers.c:1158: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1160: error: 'SIGVTALRM' undeclared (first use in this function)fs/namespace.c: In function 'drop_collected_mounts': fs/aio.c:254: error: dereferencing pointer to incomplete type fs/aio.c:254: error: 'current' undeclared (first use in this function) fs/aio.c:255: error: implicit declaration of function 'atomic_inc' fs/aio.c:255: error: dereferencing pointer to incomplete type fs/aio.c:257: error: implicit declaration of function 'atomic_set' fs/aio.c:257: error: dereferencing pointer to incomplete type fs/aio.c:258: error: implicit declaration of function 'spin_lock_init' fs/aio.c:258: error: dereferencing pointer to incomplete type fs/aio.c:259: error: dereferencing pointer to incomplete type mm/mremap.c: At top level: fs/namespace.c:1252: error: 'umount_list' undeclared (first use in this function) fs/aio.c:260: error: implicit declaration of function 'init_waitqueue_head' mm/mremap.c:159: warning: 'struct vm_area_struct' declared inside parameter listfs/aio.c:260: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1162: error: dereferencing pointer to incomplete typefs/namespace.c:1254: error: 'vfsmount_lock' undeclared (first use in this function) fs/aio.c:262: error: implicit declaration of function 'INIT_LIST_HEAD' mm/mremap.c: In function 'move_vma':fs/aio.c:262: error: dereferencing pointer to incomplete type fs/aio.c:263: error: dereferencing pointer to incomplete type fs/aio.c:264: error: implicit declaration of function 'INIT_DELAYED_WORK' fs/aio.c:264: error: dereferencing pointer to incomplete type fs/aio.c:266: warning: passing argument 1 of 'aio_setup_ring' from incompatible pointer type mm/mremap.c:161: error: dereferencing pointer to incomplete type mm/mremap.c:163: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'cleanup_group_ids': mm/mremap.c:174: error: dereferencing pointer to incomplete type mm/mremap.c:174: error: 'sysctl_max_map_count' undeclared (first use in this function)fs/namespace.c:1266: error: dereferencing pointer to incomplete type fs/aio.c:270: error: 'aio_nr_lock' undeclared (first use in this function) fs/namespace.c:1266: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1164: error: dereferencing pointer to incomplete typefs/namespace.c:1266: error: 'MNT_SHARED' undeclared (first use in this function) fs/aio.c:271: error: dereferencing pointer to incomplete type mm/mremap.c:175: error: 'ENOMEM' undeclared (first use in this function) mm/mremap.c:177: error: dereferencing pointer to incomplete type mm/mremap.c:177: error: dereferencing pointer to incomplete type fs/aio.c:272: error: dereferencing pointer to incomplete type fs/namespace.c: At top level:fs/aio.c:273: error: dereferencing pointer to incomplete type mm/mremap.c:177: error: 'PAGE_SHIFT' undeclared (first use in this function)fs/aio.c:275: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1165: error: dereferencing pointer to incomplete typefs/namespace.c:1271: error: expected declaration specifiers or '...' before 'bool' fs/aio.c:277: error: dereferencing pointer to incomplete type mm/mremap.c:178: error: implicit declaration of function 'copy_vma' fs/namespace.c: In function 'invent_group_ids': fs/aio.c:281: error: implicit declaration of function 'write_lock' mm/mremap.c:178: warning: assignment makes pointer from integer without a cast fs/namespace.c:1275: error: 'recurse' undeclared (first use in this function) fs/namespace.c:1275: error: 'NULL' undeclared (first use in this function) mm/mremap.c:182: warning: passing argument 1 of 'move_page_tables' from incompatible pointer typefs/namespace.c:1276: error: dereferencing pointer to incomplete typekernel/posix-cpu-timers.c:1168: error: dereferencing pointer to incomplete typefs/aio.c:281: error: dereferencing pointer to incomplete type fs/aio.c:282: error: dereferencing pointer to incomplete typemm/mremap.c:182: warning: passing argument 3 of 'move_page_tables' from incompatible pointer type mm/mremap.c:189: warning: passing argument 1 of 'move_page_tables' from incompatible pointer type fs/aio.c:282: error: dereferencing pointer to incomplete typemm/mremap.c:189: warning: passing argument 3 of 'move_page_tables' from incompatible pointer type fs/aio.c:283: error: dereferencing pointer to incomplete typefs/namespace.c:1276: error: dereferencing pointer to incomplete typemm/mremap.c:197: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mremap.c:198: error: dereferencing pointer to incomplete type fs/aio.c:284: error: implicit declaration of function 'write_unlock'mm/mremap.c:199: error: dereferencing pointer to incomplete type fs/aio.c:284: error: dereferencing pointer to incomplete type fs/namespace.c:1276: error: 'MNT_SHARED' undeclared (first use in this function) fs/aio.c:291: warning: passing argument 1 of '__put_ioctx' from incompatible pointer type fs/aio.c:292: warning: return makes pointer from integer without a cast fs/aio.c:297: warning: assignment makes pointer from integer without a cast fs/namespace.c: At top level: fs/namespace.c:1352: warning: 'struct path' declared inside parameter list kernel/posix-cpu-timers.c:1170: error: expected ';' before 'x'mm/mremap.c:199: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'attach_recursive_mnt':mm/mremap.c:200: error: dereferencing pointer to incomplete typemake[1]: fs/aio.c: In function 'aio_cancel_all': *** [arch/x86/kernel/head.o] Error 1mm/mremap.c:201: error: dereferencing pointer to incomplete type fs/aio.c:310: warning: 'struct io_event' declared inside parameter list fs/namespace.c:1354: error: 'tree_list' undeclared (first use in this function) kernel/posix-cpu-timers.c:1171: error: dereferencing pointer to incomplete type mm/mremap.c:214: error: dereferencing pointer to incomplete typekernel/posix-cpu-timers.c:1176: error: 'SIGKILL' undeclared (first use in this function)fs/aio.c:310: warning: 'struct kiocb' declared inside parameter list fs/namespace.c:1355: error: dereferencing pointer to incomplete type fs/aio.c:311: error: storage size of 'res' isn't known fs/namespace.c:1355: warning: ISO C90 forbids mixed declarations and code fs/namespace.c:1356: error: dereferencing pointer to incomplete typefs/aio.c:312: error: implicit declaration of function 'spin_lock_irq'mm/mremap.c:215: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1179: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1183: error: 'SIGXCPU' undeclared (first use in this function) mm/mremap.c:216: error: implicit declaration of function 'vm_stat_account' kernel/posix-cpu-timers.c:1184: error: dereferencing pointer to incomplete type mm/mremap.c:216: error: dereferencing pointer to incomplete type fs/aio.c:312: error: dereferencing pointer to incomplete type fs/aio.c:313: error: dereferencing pointer to incomplete type fs/aio.c:314: error: implicit declaration of function 'list_empty' fs/aio.c:314: error: dereferencing pointer to incomplete type fs/aio.c:315: error: dereferencing pointer to incomplete type fs/aio.c:316: error: implicit declaration of function 'list_kiocb' fs/aio.c:316: warning: initialization makes pointer from integer without a cast fs/aio.c:317: error: implicit declaration of function 'list_del_init' fs/aio.c:317: error: dereferencing pointer to incomplete type fs/aio.c:318: error: dereferencing pointer to incomplete type fs/aio.c:319: error: implicit declaration of function 'kiocbSetCancelled' fs/aio.c:321: error: dereferencing pointer to incomplete type fs/aio.c:322: error: implicit declaration of function 'spin_unlock_irq' fs/aio.c:322: error: dereferencing pointer to incomplete type fs/aio.c:323: warning: passing argument 1 of 'cancel' from incompatible pointer type fs/aio.c:324: error: dereferencing pointer to incomplete type fs/aio.c:327: error: dereferencing pointer to incomplete type fs/aio.c:311: warning: unused variable 'res' fs/aio.c: In function 'wait_for_all_aios': fs/aio.c:332: error: 'current' undeclared (first use in this function) fs/aio.c:333: error: implicit declaration of function 'DECLARE_WAITQUEUE' fs/aio.c:333: error: 'wait' undeclared (first use in this function) fs/aio.c:335: error: dereferencing pointer to incomplete type fs/aio.c:336: error: dereferencing pointer to incomplete type fs/aio.c:339: error: implicit declaration of function 'add_wait_queue' fs/aio.c:339: error: dereferencing pointer to incomplete type fs/aio.c:340: error: implicit declaration of function 'set_task_state' fs/aio.c:340: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/aio.c:341: error: dereferencing pointer to incomplete type fs/aio.c:342: error: dereferencing pointer to incomplete type fs/aio.c:343: error: implicit declaration of function 'io_schedule' fs/aio.c:345: error: dereferencing pointer to incomplete type fs/aio.c:347: error: implicit declaration of function '__set_task_state' fs/aio.c:347: error: 'TASK_RUNNING' undeclared (first use in this function) fs/aio.c:348: error: implicit declaration of function 'remove_wait_queue' fs/aio.c:348: error: dereferencing pointer to incomplete type fs/aio.c:351: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait_on_sync_kiocb' fs/aio.c:376: warning: 'struct mm_struct' declared inside parameter list fs/aio.c: In function 'exit_aio': fs/aio.c:378: error: dereferencing pointer to incomplete type fs/aio.c:379: error: dereferencing pointer to incomplete type fs/aio.c:379: error: 'NULL' undeclared (first use in this function) fs/aio.c:381: error: dereferencing pointer to incomplete type fs/aio.c:382: error: dereferencing pointer to incomplete type fs/aio.c:389: error: dereferencing pointer to incomplete type fs/aio.c:391: error: implicit declaration of function 'atomic_read' fs/aio.c:391: error: dereferencing pointer to incomplete type fs/aio.c:392: error: implicit declaration of function 'printk' fs/aio.c:392: error: 'KERN_DEBUG' undeclared (first use in this function) fs/aio.c:393: error: expected ')' before string constant fs/aio.c:396: error: dereferencing pointer to incomplete type fs/aio.c:396: error: implicit declaration of function 'atomic_dec_and_test' fs/aio.c:396: error: dereferencing pointer to incomplete type fs/aio.c:396: warning: passing argument 1 of '__put_ioctx' from incompatible pointer type fs/aio.c: In function '__aio_get_req': fs/aio.c:413: error: 'NULL' undeclared (first use in this function) fs/aio.c:417: error: implicit declaration of function 'kmem_cache_alloc' fs/aio.c:417: error: 'GFP_KERNEL' undeclared (first use in this function) fs/aio.c:417: warning: assignment makes pointer from integer without a cast fs/aio.c:421: error: dereferencing pointer to incomplete type fs/aio.c:422: error: dereferencing pointer to incomplete type fs/aio.c:423: error: dereferencing pointer to incomplete type fs/aio.c:424: error: dereferencing pointer to incomplete type fs/aio.c:425: error: dereferencing pointer to incomplete type fs/aio.c:426: error: dereferencing pointer to incomplete type fs/aio.c:427: error: dereferencing pointer to incomplete type fs/aio.c:428: error: dereferencing pointer to incomplete type fs/aio.c:429: error: dereferencing pointer to incomplete type fs/aio.c:430: error: dereferencing pointer to incomplete type fs/aio.c:431: error: dereferencing pointer to incomplete type fs/aio.c:431: error: 'EINVAL' undeclared (first use in this function) fs/aio.c:436: error: dereferencing pointer to incomplete type fs/aio.c:437: error: dereferencing pointer to incomplete type fs/aio.c:437: error: 'KM_USER0' undeclared (first use in this function) fs/aio.c:437: warning: assignment makes pointer from integer without a cast fs/aio.c:438: error: dereferencing pointer to incomplete type fs/aio.c:438: error: implicit declaration of function 'aio_ring_avail' CC arch/x86/kernel/init_task.o fs/namespace.c:1360: error: dereferencing pointer to incomplete type fs/namespace.c:1360: error: 'MNT_SHARED' undeclared (first use in this function) fs/namespace.c:1361: error: 'true' undeclared (first use in this function) fs/namespace.c:1361: error: too many arguments to function 'invent_group_ids' fs/namespace.c:1365: warning: passing argument 1 of 'propagate_mnt' from incompatible pointer type fs/namespace.c:1365: warning: passing argument 2 of 'propagate_mnt' from incompatible pointer type fs/namespace.c:1365: warning: passing argument 3 of 'propagate_mnt' from incompatible pointer type fs/namespace.c:1369: error: dereferencing pointer to incomplete type fs/namespace.c:1371: warning: passing argument 1 of 'set_mnt_shared' from incompatible pointer type kernel/posix-cpu-timers.c:1185: error: dereferencing pointer to incomplete type fs/aio.c:438: error: dereferencing pointer to incomplete type fs/namespace.c:1374: error: 'vfsmount_lock' undeclared (first use in this function)mm/mremap.c:216: error: dereferencing pointer to incomplete type mm/mremap.c:218: error: implicit declaration of function 'do_munmap' fs/namespace.c:1376: warning: passing argument 2 of 'detach_mnt' from incompatible pointer type mm/mremap.c:220: error: implicit declaration of function 'vm_unacct_memory' fs/namespace.c:1377: warning: passing argument 2 of 'attach_mnt' from incompatible pointer type mm/mremap.c:223: error: dereferencing pointer to incomplete type mm/mremap.c:227: error: dereferencing pointer to incomplete type mm/mremap.c:229: error: dereferencing pointer to incomplete type mm/mremap.c:232: error: 'VM_LOCKED' undeclared (first use in this function) mm/mremap.c:233: error: dereferencing pointer to incomplete type mm/mremap.c:235: error: implicit declaration of function 'make_pages_present' fs/aio.c:439: error: implicit declaration of function 'list_add' fs/aio.c:439: error: dereferencing pointer to incomplete type fs/aio.c:439: error: dereferencing pointer to incomplete type fs/aio.c:440: error: dereferencing pointer to incomplete type fs/aio.c:444: error: dereferencing pointer to incomplete type mm/mremap.c: In function 'do_mremap': mm/mremap.c:253: error: 'current' undeclared (first use in this function) fs/aio.c: In function 'aio_get_req': fs/aio.c:462: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1378: error: 'current' undeclared (first use in this function)mm/mremap.c:255: error: 'EINVAL' undeclared (first use in this function) mm/mremap.c:258: error: 'MREMAP_FIXED' undeclared (first use in this function) mm/mremap.c:258: error: 'MREMAP_MAYMOVE' undeclared (first use in this function) fs/aio.c: In function 'really_put_req': mm/mremap.c:261: error: 'PAGE_MASK' undeclared (first use in this function) fs/aio.c:471: error: implicit declaration of function 'assert_spin_locked' fs/namespace.c:1380: warning: passing argument 2 of 'mnt_set_mountpoint' from incompatible pointer type fs/namespace.c:1384: error: implicit declaration of function 'list_for_each_entry_safe' fs/namespace.c:1384: error: 'mnt_hash' undeclared (first use in this function) fs/aio.c:471: error: dereferencing pointer to incomplete typefs/namespace.c:1384: error: expected ';' before '{' token fs/namespace.c:1392: error: dereferencing pointer to incomplete type fs/aio.c:473: error: dereferencing pointer to incomplete typemm/mremap.c:264: error: implicit declaration of function 'PAGE_ALIGN' fs/namespace.c:1393: error: 'NULL' undeclared (first use in this function) fs/aio.c:474: error: implicit declaration of function 'fput' fs/aio.c:474: error: dereferencing pointer to incomplete type fs/aio.c:475: error: dereferencing pointer to incomplete type fs/aio.c:476: error: dereferencing pointer to incomplete type fs/aio.c:477: error: dereferencing pointer to incomplete type fs/aio.c:477: error: dereferencing pointer to incomplete type fs/aio.c:478: error: dereferencing pointer to incomplete type fs/aio.c:480: error: dereferencing pointer to incomplete type fs/aio.c:482: error: dereferencing pointer to incomplete type fs/namespace.c: At top level:kernel/posix-cpu-timers.c:1186: error: dereferencing pointer to incomplete type mm/mremap.c:282: error: 'TASK_SIZE' undeclared (first use in this function) fs/aio.c:482: error: dereferencing pointer to incomplete type fs/aio.c:483: error: implicit declaration of function 'wake_up' fs/aio.c:483: error: dereferencing pointer to incomplete typemm/mremap.c:294: error: implicit declaration of function 'security_file_mmap' fs/aio.c: At top level: fs/aio.c:486: warning: 'struct work_struct' declared inside parameter list fs/aio.c:487: error: conflicting types for 'aio_fput_routine' fs/aio.c:57: error: previous declaration of 'aio_fput_routine' was here fs/aio.c: In function 'aio_fput_routine': fs/aio.c:488: error: 'fput_lock' undeclared (first use in this function) fs/aio.c:489: error: implicit declaration of function 'likely' fs/aio.c:489: error: 'fput_head' undeclared (first use in this function) fs/aio.c:490: warning: initialization makes pointer from integer without a cast fs/aio.c:491: error: dereferencing pointer to incomplete type fs/aio.c:493: error: implicit declaration of function 'list_del' fs/aio.c:493: error: dereferencing pointer to incomplete type fs/aio.c:497: error: implicit declaration of function '__fput' fs/aio.c:497: error: dereferencing pointer to incomplete type fs/aio.c:500: error: dereferencing pointer to incomplete type fs/aio.c:502: error: dereferencing pointer to incomplete type fs/aio.c:504: error: dereferencing pointer to incomplete type fs/aio.c:504: error: dereferencing pointer to incomplete type fs/aio.c:504: warning: passing argument 1 of '__put_ioctx' from incompatible pointer type fs/aio.c: In function '__aio_put_req': fs/aio.c:518: error: dereferencing pointer to incomplete type fs/aio.c:520: error: dereferencing pointer to incomplete type fs/aio.c:521: error: dereferencing pointer to incomplete type fs/aio.c:522: error: dereferencing pointer to incomplete type fs/aio.c:524: error: dereferencing pointer to incomplete type fs/aio.c:525: error: dereferencing pointer to incomplete type fs/aio.c:525: error: 'NULL' undeclared (first use in this function) fs/aio.c:526: error: dereferencing pointer to incomplete type fs/aio.c:531: error: dereferencing pointer to incomplete type fs/aio.c:532: error: dereferencing pointer to incomplete type fs/aio.c:532: error: dereferencing pointer to incomplete type fs/aio.c:533: error: 'fput_lock' undeclared (first use in this function) fs/aio.c:534: error: dereferencing pointer to incomplete type fs/aio.c:534: error: 'fput_head' undeclared (first use in this function) fs/aio.c:536: error: implicit declaration of function 'queue_work' fs/aio.c:536: error: 'fput_work' undeclared (first use in this function) fs/aio.c: In function 'aio_put_req': fs/aio.c:548: error: dereferencing pointer to incomplete type fs/aio.c:550: error: dereferencing pointer to incomplete type fs/aio.c:552: error: dereferencing pointer to incomplete type fs/aio.c: In function 'lookup_ioctx': fs/aio.c:561: error: 'current' undeclared (first use in this function) fs/aio.c:562: error: implicit declaration of function 'read_lock' fs/aio.c:562: error: dereferencing pointer to incomplete type fs/aio.c:563: error: dereferencing pointer to incomplete type fs/aio.c:563: error: dereferencing pointer to incomplete type fs/aio.c:564: error: dereferencing pointer to incomplete type fs/aio.c:564: error: dereferencing pointer to incomplete type fs/aio.c:565: error: dereferencing pointer to incomplete type fs/aio.c:565: error: dereferencing pointer to incomplete type fs/aio.c:568: error: implicit declaration of function 'read_unlock' fs/aio.c:568: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:583: warning: 'struct mm_struct' declared inside parameter list fs/aio.c: In function 'use_mm': fs/aio.c:586: error: 'current' undeclared (first use in this function) fs/aio.c:588: error: implicit declaration of function 'task_lock' fs/aio.c:589: error: dereferencing pointer to incomplete type fs/aio.c:589: error: 'PF_BORROWED_MM' undeclared (first use in this function) fs/aio.c:590: error: dereferencing pointer to incomplete type fs/aio.c:591: error: dereferencing pointer to incomplete type fs/aio.c:592: error: dereferencing pointer to incomplete type fs/aio.c:593: error: dereferencing pointer to incomplete type fs/aio.c:594: error: implicit declaration of function 'switch_mm' fs/aio.c:595: error: implicit declaration of function 'task_unlock' fs/aio.c: At top level: fs/aio.c:608: warning: 'struct mm_struct' declared inside parameter list fs/aio.c: In function 'unuse_mm': fs/aio.c:610: error: 'current' undeclared (first use in this function) fs/aio.c:613: error: dereferencing pointer to incomplete type fs/aio.c:613: error: 'PF_BORROWED_MM' undeclared (first use in this function) fs/aio.c:614: error: dereferencing pointer to incomplete type fs/aio.c:614: error: 'NULL' undeclared (first use in this function) fs/aio.c:616: error: implicit declaration of function 'enter_lazy_tlb' fs/aio.c: In function '__queue_kicked_iocb': fs/aio.c:631: error: dereferencing pointer to incomplete type fs/aio.c:633: error: dereferencing pointer to incomplete type fs/aio.c:635: error: dereferencing pointer to incomplete type fs/aio.c:636: error: implicit declaration of function 'list_add_tail' fs/aio.c:636: error: dereferencing pointer to incomplete type fs/aio.c:637: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:665: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_run_iocb' fs/aio.c: In function '__aio_run_iocbs': fs/aio.c:764: error: storage size of 'run_list' isn't known fs/aio.c:766: error: dereferencing pointer to incomplete type fs/aio.c:768: error: implicit declaration of function 'list_replace_init' fs/aio.c:768: error: dereferencing pointer to incomplete type fs/aio.c:770: error: implicit declaration of function 'list_entry' fs/aio.c:770: error: expected expression before 'struct' fs/aio.c:771: warning: assignment makes pointer from integer without a cast fs/aio.c:772: error: dereferencing pointer to incomplete type fs/aio.c:776: error: dereferencing pointer to incomplete type fs/aio.c:777: error: implicit declaration of function 'aio_run_iocb' fs/aio.c:780: error: dereferencing pointer to incomplete type fs/aio.c:764: warning: unused variable 'run_list' fs/aio.c: At top level: fs/aio.c:786: error: conflicting types for 'aio_queue_work' fs/aio.c:64: error: previous declaration of 'aio_queue_work' was here fs/aio.c: In function 'aio_queue_work': fs/aio.c:792: error: implicit declaration of function 'smp_mb' fs/aio.c:793: error: implicit declaration of function 'waitqueue_active' fs/aio.c:793: error: dereferencing pointer to incomplete type fs/aio.c:796: error: 'HZ' undeclared (first use in this function) fs/aio.c:797: error: implicit declaration of function 'queue_delayed_work' fs/aio.c:797: error: dereferencing pointer to incomplete type fs/aio.c: In function 'aio_run_iocbs': fs/aio.c:812: error: dereferencing pointer to incomplete type fs/aio.c:815: error: dereferencing pointer to incomplete type fs/aio.c: In function 'aio_run_all_iocbs': fs/aio.c:826: error: dereferencing pointer to incomplete type fs/aio.c:829: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:841: warning: 'struct work_struct' declared inside parameter list fs/aio.c:842: error: conflicting types for 'aio_kick_handler' fs/aio.c:63: error: previous declaration of 'aio_kick_handler' was here fs/aio.c: In function 'aio_kick_handler': fs/aio.c:843: error: implicit declaration of function 'container_of' fs/aio.c:843: error: expected expression before 'struct' fs/aio.c:843: warning: initialization makes pointer from integer without a cast fs/aio.c:844: error: 'mm_segment_t' undeclared (first use in this function) fs/aio.c:844: error: expected ';' before 'oldfs' fs/aio.c:845: warning: ISO C90 forbids mixed declarations and code fs/aio.c:848: error: implicit declaration of function 'set_fs' fs/aio.c:848: error: 'USER_DS' undeclared (first use in this function) fs/aio.c:849: error: dereferencing pointer to incomplete type fs/aio.c:850: error: dereferencing pointer to incomplete type fs/aio.c:852: error: dereferencing pointer to incomplete type fs/aio.c:853: error: dereferencing pointer to incomplete type fs/aio.c:854: warning: passing argument 1 of 'unuse_mm' from incompatible pointer type fs/aio.c:855: error: 'oldfs' undeclared (first use in this function) fs/aio.c:860: error: dereferencing pointer to incomplete type fs/aio.c: In function 'try_queue_kicked_iocb': fs/aio.c:871: error: dereferencing pointer to incomplete type fs/aio.c:880: error: dereferencing pointer to incomplete type fs/aio.c:882: error: implicit declaration of function 'spin_lock_irqsave' fs/aio.c:882: error: dereferencing pointer to incomplete type fs/aio.c:885: error: implicit declaration of function 'kiocbTryKick' fs/aio.c:887: error: implicit declaration of function 'spin_unlock_irqrestore' fs/aio.c:887: error: dereferencing pointer to incomplete type fs/aio.c: In function 'kick_iocb': fs/aio.c:903: error: implicit declaration of function 'is_sync_kiocb' fs/aio.c:904: error: implicit declaration of function 'kiocbSetKicked' fs/aio.c:905: error: implicit declaration of function 'wake_up_process' fs/aio.c:905: error: dereferencing pointer to incomplete type fs/namespace.c:1398: warning: 'struct path' declared inside parameter list fs/namespace.c: In function 'graft_tree': kernel/posix-cpu-timers.c:1189: error: 'x' undeclared (first use in this function) mm/mremap.c:294: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:1189: error: implicit declaration of function 'secs_to_cputime'fs/aio.c: At top level: fs/aio.c:911: warning: data definition has no type or storage class fs/aio.c:911: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/aio.c:911: warning: parameter names (without types) in function declaration mm/mremap.c:321: error: 'EFAULT' undeclared (first use in this function) mm/mremap.c:322: error: implicit declaration of function 'find_vma' fs/namespace.c:1401: error: dereferencing pointer to incomplete typefs/aio.c: In function 'aio_complete':kernel/posix-cpu-timers.c:1189: error: dereferencing pointer to incomplete type mm/mremap.c:322: warning: assignment makes pointer from integer without a cast mm/mremap.c:323: error: dereferencing pointer to incomplete type fs/namespace.c:1401: error: 'MS_NOUSER' undeclared (first use in this function) fs/namespace.c:1402: error: 'EINVAL' undeclared (first use in this function) fs/namespace.c:1404: error: implicit declaration of function 'S_ISDIR' fs/namespace.c:1404: error: dereferencing pointer to incomplete type fs/namespace.c:1405: error: dereferencing pointer to incomplete type fs/namespace.c:1406: error: 'ENOTDIR' undeclared (first use in this function) fs/namespace.c:1408: error: 'ENOENT' undeclared (first use in this function) fs/namespace.c:1409: error: implicit declaration of function 'mutex_lock' fs/namespace.c:1409: error: dereferencing pointer to incomplete type fs/namespace.c:1410: error: implicit declaration of function 'IS_DEADDIR' fs/namespace.c:1410: error: dereferencing pointer to incomplete type fs/namespace.c:1413: error: implicit declaration of function 'security_sb_check_sb' fs/namespace.c:1418: error: implicit declaration of function 'IS_ROOT' fs/namespace.c:1418: error: dereferencing pointer to incomplete type fs/namespace.c:1418: error: implicit declaration of function 'd_unhashed' fs/namespace.c:1418: error: dereferencing pointer to incomplete type fs/namespace.c:1419: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1419: warning: passing argument 2 of 'attach_recursive_mnt' from incompatible pointer type fs/namespace.c:1421: error: implicit declaration of function 'mutex_unlock' fs/namespace.c:1421: error: dereferencing pointer to incomplete type fs/namespace.c:1423: error: implicit declaration of function 'security_sb_post_addmount' fs/namespace.c: At top level: fs/namespace.c:1431: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/namespace.c:1465: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/namespace.c: In function 'change_mount_flags': fs/namespace.c:1516: error: 'MS_RDONLY' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:1534: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/namespace.c: In function 'tree_contains_unbindable': fs/namespace.c:1566: error: dereferencing pointer to incomplete type fs/namespace.c:1566: error: 'MNT_UNBINDABLE' undeclared (first use in this function) fs/namespace.c: At top level: fs/namespace.c:1575: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/namespace.c:1655: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' fs/namespace.c:1679: warning: 'struct nameidata' declared inside parameter list fs/namespace.c: In function 'do_add_mount': fs/namespace.c:1685: error: implicit declaration of function 'd_mountpoint' fs/namespace.c:1685: error: dereferencing pointer to incomplete type fs/namespace.c:1686: error: implicit declaration of function 'follow_down' fs/namespace.c:1686: error: dereferencing pointer to incomplete type fs/namespace.c:1686: error: dereferencing pointer to incomplete type fs/namespace.c:1688: error: 'EINVAL' undeclared (first use in this function) fs/namespace.c:1689: error: dereferencing pointer to incomplete type fs/namespace.c:1693: error: 'EBUSY' undeclared (first use in this function) fs/namespace.c:1694: error: dereferencing pointer to incomplete type fs/namespace.c:1694: error: dereferencing pointer to incomplete type fs/namespace.c:1695: error: dereferencing pointer to incomplete type fs/namespace.c:1695: error: dereferencing pointer to incomplete type fs/namespace.c:1699: error: implicit declaration of function 'S_ISLNK' fs/namespace.c:1699: error: dereferencing pointer to incomplete type fs/namespace.c:1702: error: dereferencing pointer to incomplete type fs/namespace.c:1703: error: dereferencing pointer to incomplete type fs/namespace.c:1707: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:1718: warning: data definition has no type or storage class fs/namespace.c:1718: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:1718: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'mark_mounts_for_expiry': fs/namespace.c:1728: error: 'graveyard' undeclared (first use in this function) fs/namespace.c:1729: error: 'umounts' undeclared (first use in this function) fs/namespace.c:1735: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:1743: error: 'mnt_expire' undeclared (first use in this function) fs/namespace.c:1743: error: expected ';' before '{' token fs/namespace.c: At top level: fs/namespace.c:1760: warning: data definition has no type or storage class fs/namespace.c:1760: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/namespace.c:1760: warning: parameter names (without types) in function declaration fs/namespace.c: In function 'select_submounts': fs/namespace.c:1775: error: dereferencing pointer to incomplete type fs/namespace.c:1777: error: dereferencing pointer to incomplete type fs/namespace.c:1779: error: expected expression before 'struct' fs/namespace.c:1779: warning: initialization makes pointer from integer without a cast fs/namespace.c:1781: error: dereferencing pointer to incomplete type fs/namespace.c:1782: error: dereferencing pointer to incomplete type fs/namespace.c:1782: error: 'MNT_SHRINKABLE' undeclared (first use in this function) fs/namespace.c:1787: error: dereferencing pointer to incomplete type fs/namespace.c:1792: warning: passing argument 1 of 'propagate_mount_busy' from incompatible pointer type fs/namespace.c:1793: error: implicit declaration of function 'list_move_tail' fs/namespace.c:1793: error: dereferencing pointer to incomplete type fs/namespace.c:1801: error: dereferencing pointer to incomplete type fs/namespace.c:1802: error: dereferencing pointer to incomplete type fs/namespace.c: In function 'shrink_submounts': fs/namespace.c:1814: error: 'graveyard' undeclared (first use in this function) fs/namespace.c:1815: warning: ISO C90 forbids mixed declarations and code fs/namespace.c:1820: error: expected expression before 'struct' fs/namespace.c:1821: warning: assignment makes pointer from integer without a cast fs/namespace.c:1822: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:1834: error: expected ';', ',' or ')' before '*' token fs/namespace.c:1856: error: expected ';', ',' or ')' before '*' token fs/namespace.c: In function 'do_mount': fs/namespace.c:1906: error: storage size of 'nd' isn't known fs/namespace.c:1911: error: 'MS_MGC_MSK' undeclared (first use in this function) fs/namespace.c:1911: error: 'MS_MGC_VAL' undeclared (first use in this function) fs/namespace.c:1916: error: implicit declaration of function 'memchr' fs/namespace.c:1916: error: 'PAGE_SIZE' undeclared (first use in this function) fs/namespace.c:1917: error: 'EINVAL' undeclared (first use in this function) fs/namespace.c:1925: error: 'MS_NOSUID' undeclared (first use in this function) fs/namespace.c:1926: error: 'MNT_NOSUID' undeclared (first use in this function) fs/namespace.c:1927: error: 'MS_NODEV' undeclared (first use in this function) fs/namespace.c:1928: error: 'MNT_NODEV' undeclared (first use in this function) fs/namespace.c:1929: error: 'MS_NOEXEC' undeclared (first use in this function) fs/namespace.c:1930: error: 'MNT_NOEXEC' undeclared (first use in this function) fs/namespace.c:1931: error: 'MS_NOATIME' undeclared (first use in this function) fs/namespace.c:1932: error: 'MNT_NOATIME' undeclared (first use in this function) fs/namespace.c:1933: error: 'MS_NODIRATIME' undeclared (first use in this function) fs/namespace.c:1934: error: 'MNT_NODIRATIME' undeclared (first use in this function) fs/namespace.c:1935: error: 'MS_RELATIME' undeclared (first use in this function) fs/namespace.c:1936: error: 'MNT_RELATIME' undeclared (first use in this function) fs/namespace.c:1937: error: 'MS_RDONLY' undeclared (first use in this function) fs/namespace.c:1938: error: 'MNT_READONLY' undeclared (first use in this function) fs/namespace.c:1940: error: 'MS_ACTIVE' undeclared (first use in this function) fs/namespace.c:1941: error: 'MS_KERNMOUNT' undeclared (first use in this function) fs/namespace.c:1944: error: implicit declaration of function 'path_lookup' fs/namespace.c:1944: error: 'LOOKUP_FOLLOW' undeclared (first use in this function) fs/namespace.c:1948: error: implicit declaration of function 'security_sb_mount' fs/namespace.c:1953: error: 'MS_REMOUNT' undeclared (first use in this function) fs/namespace.c:1954: error: implicit declaration of function 'do_remount' fs/namespace.c:1956: error: 'MS_BIND' undeclared (first use in this function) fs/namespace.c:1957: error: implicit declaration of function 'do_loopback' fs/namespace.c:1957: error: 'MS_REC' undeclared (first use in this function) fs/namespace.c:1958: error: 'MS_SHARED' undeclared (first use in this function) fs/namespace.c:1958: error: 'MS_PRIVATE' undeclared (first use in this function) fs/namespace.c:1958: error: 'MS_SLAVE' undeclared (first use in this function) fs/namespace.c:1958: error: 'MS_UNBINDABLE' undeclared (first use in this function) fs/namespace.c:1959: error: implicit declaration of function 'do_change_type' fs/namespace.c:1960: error: 'MS_MOVE' undeclared (first use in this function) fs/namespace.c:1961: error: implicit declaration of function 'do_move_mount' fs/namespace.c:1963: error: implicit declaration of function 'do_new_mount' fs/namespace.c:1966: error: implicit declaration of function 'path_put' fs/namespace.c:1906: warning: unused variable 'nd' fs/namespace.c: At top level: fs/namespace.c:1975: warning: 'struct fs_struct' declared inside parameter list fs/namespace.c: In function 'dup_mnt_ns': fs/namespace.c:1978: error: 'NULL' undeclared (first use in this function) fs/namespace.c:1981: error: implicit declaration of function 'kmalloc' fs/namespace.c:1981: error: invalid application of 'sizeof' to incomplete type 'struct mnt_namespace' fs/namespace.c:1981: error: 'GFP_KERNEL' undeclared (first use in this function) fs/namespace.c:1981: warning: assignment makes pointer from integer without a cast fs/namespace.c:1983: error: implicit declaration of function 'ERR_PTR' fs/namespace.c:1983: error: 'ENOMEM' undeclared (first use in this function) fs/namespace.c:1983: warning: return makes pointer from integer without a cast fs/namespace.c:1985: error: dereferencing pointer to incomplete type fs/namespace.c:1986: error: dereferencing pointer to incomplete type fs/namespace.c:1987: error: implicit declaration of function 'init_waitqueue_head' fs/namespace.c:1987: error: dereferencing pointer to incomplete type fs/namespace.c:1988: error: dereferencing pointer to incomplete type fs/namespace.c:1992: error: dereferencing pointer to incomplete type fs/namespace.c:1992: error: dereferencing pointer to incomplete type fs/namespace.c:1992: error: dereferencing pointer to incomplete type fs/namespace.c:1994: error: dereferencing pointer to incomplete type fs/namespace.c:1997: warning: return makes pointer from integer without a cast fs/namespace.c:1999: error: 'vfsmount_lock' undeclared (first use in this function) fs/namespace.c:2000: error: dereferencing pointer to incomplete type fs/namespace.c:2000: error: dereferencing pointer to incomplete type fs/namespace.c:2008: error: dereferencing pointer to incomplete type fs/namespace.c:2009: error: dereferencing pointer to incomplete type fs/namespace.c:2011: error: dereferencing pointer to incomplete type fs/namespace.c:2013: error: dereferencing pointer to incomplete type fs/namespace.c:2015: error: dereferencing pointer to incomplete type fs/namespace.c:2017: error: dereferencing pointer to incomplete type fs/namespace.c:2019: error: dereferencing pointer to incomplete type fs/namespace.c:2022: error: dereferencing pointer to incomplete type fs/namespace.c:2023: error: dereferencing pointer to incomplete type fs/namespace.c: At top level: fs/namespace.c:2036: warning: 'struct fs_struct' declared inside parameter list fs/namespace.c: In function 'copy_mnt_ns': fs/namespace.c:2041: error: implicit declaration of function 'get_mnt_ns' fs/namespace.c:2043: error: 'CLONE_NEWNS' undeclared (first use in this function) fs/namespace.c:2046: warning: passing argument 2 of 'dup_mnt_ns' from incompatible pointer type fs/namespace.c:2048: error: implicit declaration of function 'put_mnt_ns' fs/namespace.c: At top level: fs/namespace.c:2052: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namespace.c:2098: warning: 'struct path' declared inside parameter list fs/namespace.c:2098: warning: 'struct fs_struct' declared inside parameter list fs/namespace.c: In function 'set_fs_root': fs/namespace.c:2100: error: storage size of 'old_root' isn't known fs/namespace.c:2102: error: implicit declaration of function 'write_lock' fs/namespace.c:2102: error: dereferencing pointer to incomplete type fs/namespace.c:2103: error: dereferencing pointer to incomplete type fs/namespace.c:2104: error: dereferencing pointer to incomplete type fs/namespace.c:2104: error: dereferencing pointer to incomplete type fs/namespace.c:2105: error: implicit declaration of function 'path_get' fs/namespace.c:2106: error: implicit declaration of function 'write_unlock' fs/namespace.c:2106: error: dereferencing pointer to incomplete type fs/namespace.c:2100: warning: unused variable 'old_root' fs/namespace.c: At top level: fs/namespace.c:2115: warning: 'struct path' declared inside parameter list fs/namespace.c:2115: warning: 'struct fs_struct' declared inside parameter list fs/namespace.c: In function 'set_fs_pwd': fs/namespace.c:2117: error: storage size of 'old_pwd' isn't known fs/namespace.c:2119: error: dereferencing pointer to incomplete type fs/namespace.c:2120: error: dereferencing pointer to incomplete type fs/namespace.c:2121: error: dereferencing pointer to incomplete type fs/namespace.c:2121: error: dereferencing pointer to incomplete type fs/namespace.c:2123: error: dereferencing pointer to incomplete type fs/namespace.c:2117: warning: unused variable 'old_pwd' fs/namespace.c: At top level: fs/namespace.c:2129: warning: 'struct path' declared inside parameter list fs/namespace.c: In function 'chroot_fs_refs': fs/namespace.c:2134: error: implicit declaration of function 'read_lock' fs/namespace.c:2134: error: 'tasklist_lock' undeclared (first use in this function) fs/namespace.c:2135: error: implicit declaration of function 'do_each_thread' fs/namespace.c:2135: error: expected ';' before '{' token fs/namespace.c:2151: error: implicit declaration of function 'read_unlock' fs/namespace.c:2132: warning: unused variable 'fs' fs/namespace.c: At top level: cc1: error: include/linux/autoconf.h: No such file or directory kernel/posix-cpu-timers.c:1204: error: expected ';' before 'prof_left' kernel/posix-cpu-timers.c:1205: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:1206: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1211: error: 'prof_left' undeclared (first use in this function) kernel/posix-cpu-timers.c:1214: error: 'virt_left' undeclared (first use in this function) kernel/posix-cpu-timers.c:1219: error: expected expression before 'unsigned' arch/x86/kernel/init_task.c:1:22: error: linux/mm.h: No such file or directory arch/x86/kernel/init_task.c:2:26: error: linux/module.h: No such file or directory arch/x86/kernel/init_task.c:3:25: mm/mremap.c:325: error: implicit declaration of function 'is_vm_hugetlb_page' mm/mremap.c:330: error: dereferencing pointer to incomplete type mm/mremap.c:332: error: dereferencing pointer to incomplete type mm/mremap.c:332: error: 'VM_DONTEXPAND' undeclared (first use in this function) mm/mremap.c:332: error: 'VM_PFNMAP' undeclared (first use in this function) mm/mremap.c:336: error: dereferencing pointer to incomplete type mm/mremap.c:336: error: 'VM_LOCKED' undeclared (first use in this function) mm/mremap.c:338: error: dereferencing pointer to incomplete type mm/mremap.c:338: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/mremap.c:339: error: 'RLIMIT_MEMLOCK' undeclared (first use in this function) mm/mremap.c:341: error: 'EAGAIN' undeclared (first use in this function) mm/mremap.c:342: error: implicit declaration of function 'capable' mm/mremap.c:342: error: 'CAP_IPC_LOCK' undeclared (first use in this function) mm/mremap.c:345: error: implicit declaration of function 'may_expand_vm' mm/mremap.c:346: error: 'ENOMEM' undeclared (first use in this function) mm/mremap.c:350: error: dereferencing pointer to incomplete type mm/mremap.c:350: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/mremap.c:352: error: implicit declaration of function 'security_vm_enough_memory' mm/mremap.c:359: error: dereferencing pointer to incomplete type mm/mremap.c:363: error: dereferencing pointer to incomplete type mm/mremap.c:364: error: dereferencing pointer to incomplete type mm/mremap.c:369: error: implicit declaration of function 'vma_adjust' mm/mremap.c:369: error: dereferencing pointer to incomplete type mm/mremap.c:370: error: dereferencing pointer to incomplete type mm/mremap.c:372: error: dereferencing pointer to incomplete type mm/mremap.c:373: error: dereferencing pointer to incomplete type mm/mremap.c:373: error: dereferencing pointer to incomplete type mm/mremap.c:374: error: dereferencing pointer to incomplete type mm/mremap.c:375: error: dereferencing pointer to incomplete type mm/mremap.c:392: error: dereferencing pointer to incomplete type mm/mremap.c:392: error: 'VM_MAYSHARE' undeclared (first use in this function) mm/mremap.c:393: error: 'MAP_SHARED' undeclared (first use in this function) mm/mremap.c:395: error: implicit declaration of function 'get_unmapped_area' mm/mremap.c:395: error: dereferencing pointer to incomplete type mm/mremap.c:396: error: dereferencing pointer to incomplete type mm/mremap.c:406: warning: passing argument 1 of 'move_vma' from incompatible pointer type mm/mremap.c: At top level: mm/mremap.c:415: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' fs/namespace.c:2179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/namespace.c:2283: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_mount_tree' fs/namespace.c:2313: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' fs/namespace.c: In function '__put_mnt_ns': fs/namespace.c:2346: error: dereferencing pointer to incomplete type fs/namespace.c:2347: error: 'umount_list' undeclared (first use in this function) fs/namespace.c:2348: error: dereferencing pointer to incomplete type fs/namespace.c:2348: error: 'NULL' undeclared (first use in this function) fs/namespace.c:2349: error: 'vfsmount_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:1225: error: dereferencing pointer to incomplete type make[1]: fs/aio.c:920: error: dereferencing pointer to incomplete typeerror: linux/sched.h: No such file or directory *** [mm/mremap.o] Error 1arch/x86/kernel/init_task.c:4:24: error: fs/aio.c:936: error: dereferencing pointer to incomplete type fs/aio.c:937: error: dereferencing pointer to incomplete type fs/aio.c:938: error: dereferencing pointer to incomplete type fs/aio.c:939: error: dereferencing pointer to incomplete type fs/aio.c:943: error: dereferencing pointer to incomplete typekernel/posix-cpu-timers.c:1225: error: 'PF_EXITING' undeclared (first use in this function) kernel/posix-cpu-timers.c:1228: error: 'ticks' undeclared (first use in this function) kernel/posix-cpu-timers.c:1228: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1228: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1231: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1232: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1233: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1236: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1238: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1239: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1240: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1243: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1244: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1245: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1246: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1248: warning: assignment makes pointer from integer without a cast kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1256: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c:1257: warning: conflicting types for 'posix_cpu_timer_schedule' kernel/posix-cpu-timers.c:695: warning: previous implicit declaration of 'posix_cpu_timer_schedule' was here kernel/posix-cpu-timers.c: In function 'posix_cpu_timer_schedule': kernel/posix-cpu-timers.c:1258: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1259: error: storage size of 'now' isn't known kernel/posix-cpu-timers.c:1261: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:1270: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1271: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1272: warning: passing argument 1 of 'bump_cpu_timer' from incompatible pointer type kernel/posix-cpu-timers.c:1272: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:1273: error: dereferencing pointer to incomplete typelinux/init.h: No such file or directorymake[1]: CC mm/msync.o kernel/posix-cpu-timers.c:1274: warning: passing argument 1 of 'clear_dead_task' from incompatible pointer type *** [fs/namespace.o] Error 1 arch/x86/kernel/init_task.c:5:29: error: linux/init_task.h: No such file or directory arch/x86/kernel/init_task.c:6:22: error: linux/fs.h: No such file or directory arch/x86/kernel/init_task.c:7:26: error: linux/mqueue.h: No such file or directory arch/x86/kernel/init_task.c:9:25: error: asm/uaccess.h: No such file or directory arch/x86/kernel/init_task.c:10:25: error: asm/pgtable.h: No such file or directory arch/x86/kernel/init_task.c:11:22: error: asm/desc.h: No such file or directory arch/x86/kernel/init_task.c:13: error: variable 'init_fs' has initializer but incomplete type arch/x86/kernel/init_task.c:13: error: 'INIT_FS' undeclared here (not in a function) arch/x86/kernel/init_task.c:14: error: variable 'init_signals' has initializer but incomplete type arch/x86/kernel/init_task.c:14: error: implicit declaration of function 'INIT_SIGNALS' arch/x86/kernel/init_task.c:14: error: 'init_signals' has an incomplete type arch/x86/kernel/init_task.c:15: error: variable 'init_sighand' has initializer but incomplete type arch/x86/kernel/init_task.c:15: error: implicit declaration of function 'INIT_SIGHAND' arch/x86/kernel/init_task.c:15: error: 'init_sighand' has an incomplete type arch/x86/kernel/init_task.c:16: error: variable 'init_mm' has initializer but incomplete type arch/x86/kernel/init_task.c:16: error: implicit declaration of function 'INIT_MM' arch/x86/kernel/init_task.c:16: error: 'init_mm' has an incomplete type arch/x86/kernel/init_task.c:17: warning: data definition has no type or storage class arch/x86/kernel/init_task.c:17: warning: type defaults to 'int' in declaration of 'EXPORT_UNUSED_SYMBOL' arch/x86/kernel/init_task.c:17: warning: parameter names (without types) in function declaration arch/x86/kernel/init_task.c:27: error: variable 'init_thread_union' has initializer but incomplete type arch/x86/kernel/init_task.c:28: error: implicit declaration of function 'INIT_THREAD_INFO' arch/x86/kernel/init_task.c:28: error: 'init_task' undeclared here (not in a function) arch/x86/kernel/init_task.c:28: warning: excess elements in union initializer arch/x86/kernel/init_task.c:28: warning: (near initialization for 'init_thread_union') arch/x86/kernel/init_task.c:35: error: variable 'init_task' has initializer but incomplete type arch/x86/kernel/init_task.c:35: error: implicit declaration of function 'INIT_TASK' arch/x86/kernel/init_task.c:35: error: 'init_task' has an incomplete type arch/x86/kernel/init_task.c:36: warning: data definition has no type or storage class arch/x86/kernel/init_task.c:36: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/x86/kernel/init_task.c:36: warning: parameter names (without types) in function declaration arch/x86/kernel/init_task.c:45: error: expected declaration specifiers or '...' before 'init_tss' arch/x86/kernel/init_task.c:45: warning: 'struct tss_struct' declared inside parameter list arch/x86/kernel/init_task.c:45: warning: its scope is only this definition or declaration, which is probably not what you want arch/x86/kernel/init_task.c:45: warning: data definition has no type or storage class arch/x86/kernel/init_task.c:45: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU_SHARED_ALIGNED' arch/x86/kernel/init_task.c:45: error: function 'DEFINE_PER_CPU_SHARED_ALIGNED' is initialized like a variable arch/x86/kernel/init_task.c:45: error: 'INIT_TSS' undeclared here (not in a function) fs/aio.c:951: error: dereferencing pointer to incomplete type fs/aio.c:953: error: dereferencing pointer to incomplete type fs/aio.c:953: error: dereferencing pointer to incomplete type fs/aio.c:954: error: dereferencing pointer to incomplete type fs/aio.c:960: error: implicit declaration of function 'kiocbIsCancelled' fs/aio.c:963: error: dereferencing pointer to incomplete type fs/aio.c:963: error: 'KM_IRQ1' undeclared (first use in this function) fs/aio.c:963: warning: assignment makes pointer from integer without a cast fs/aio.c:965: error: dereferencing pointer to incomplete type fs/aio.c:966: error: 'PAGE_SIZE' undeclared (first use in this function) fs/aio.c:966: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:966: error: invalid application of 'sizeof' to incomplete type 'struct aio_ring' fs/aio.c:966: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:966: error: dereferencing pointer to incomplete type fs/aio.c:966: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:966: error: 'KM_IRQ0' undeclared (first use in this function) fs/aio.c:966: warning: assignment makes pointer from integer without a cast fs/aio.c:966: error: invalid application of 'sizeof' to incomplete type 'struct io_event' CC mm/rmap.o kernel/posix-cpu-timers.c:1274: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:1277: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:1280: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1286: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1287: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1289: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1295: warning: passing argument 1 of 'clear_dead_task' from incompatible pointer type kernel/posix-cpu-timers.c:1295: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:1298: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1299: warning: passing argument 1 of 'bump_cpu_timer' from incompatible pointer type kernel/posix-cpu-timers.c:1299: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:1306: warning: passing argument 1 of 'arm_timer' from incompatible pointer type kernel/posix-cpu-timers.c:1306: error: type of formal parameter 2 is incomplete kernel/posix-cpu-timers.c:1312: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1312: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1313: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1314: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1259: warning: unused variable 'now' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1322: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'run_posix_cpu_timers': kernel/posix-cpu-timers.c:1324: error: implicit declaration of function 'LIST_HEAD' kernel/posix-cpu-timers.c:1324: error: 'firing' undeclared (first use in this function) kernel/posix-cpu-timers.c:1325: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:1333: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1333: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:1333: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1333: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1333: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1334: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1335: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1335: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1343: error: 'tasklist_lock' undeclared (first use in this function) kernel/posix-cpu-timers.c:1344: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1344: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:1345: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1351: warning: passing argument 1 of 'check_thread_timers' from incompatible pointer type kernel/posix-cpu-timers.c:1352: warning: passing argument 1 of 'check_process_timers' from incompatible pointer type kernel/posix-cpu-timers.c:1362: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1372: error: 'it' undeclared (first use in this function) kernel/posix-cpu-timers.c:1372: error: expected ';' before '{' token kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1398: error: expected declaration specifiers or '...' before 'cputime_t' kernel/posix-cpu-timers.c:1398: error: expected declaration specifiers or '...' before 'cputime_t' kernel/posix-cpu-timers.c:1398: warning: 'struct task_struct' declared inside parameter list kernel/posix-cpu-timers.c: In function 'set_process_cpu_timer': kernel/posix-cpu-timers.c:1400: error: storage size of 'now' isn't known kernel/posix-cpu-timers.c:1403: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:1404: warning: passing argument 2 of 'cpu_clock_sample_group_locked' from incompatible pointer type kernel/posix-cpu-timers.c:1406: error: 'oldval' undeclared (first use in this function) kernel/posix-cpu-timers.c:1407: error: 'cputime_zero' undeclared (first use in this function) kernel/posix-cpu-timers.c:1408: error: implicit declaration of function 'cputime_le' kernel/posix-cpu-timers.c:1410: error: implicit declaration of function 'jiffies_to_cputime' kernel/posix-cpu-timers.c:1416: error: 'newval' undeclared (first use in this function) kernel/posix-cpu-timers.c:1424: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1424: error: 'RLIMIT_CPU' undeclared (first use in this function) kernel/posix-cpu-timers.c:1433: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1436: error: expected expression before 'struct' kernel/posix-cpu-timers.c:1436: error: invalid type argument of '->' kernel/posix-cpu-timers.c:1442: error: variable 'expires' has initializer but incomplete type kernel/posix-cpu-timers.c:1442: error: unknown field 'sched' specified in initializer kernel/posix-cpu-timers.c:1442: warning: excess elements in union initializer kernel/posix-cpu-timers.c:1442: warning: (near initialization for 'expires') kernel/posix-cpu-timers.c:1442: error: storage size of 'expires' isn't known kernel/posix-cpu-timers.c:1444: warning: passing argument 1 of 'process_timer_rebalance' from incompatible pointer type kernel/posix-cpu-timers.c:1444: error: type of formal parameter 3 is incomplete kernel/posix-cpu-timers.c:1444: error: type of formal parameter 4 is incomplete kernel/posix-cpu-timers.c:1442: warning: unused variable 'expires' kernel/posix-cpu-timers.c:1400: warning: unused variable 'now' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1448: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1448: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1514: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1514: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1551: warning: 'struct restart_block' declared inside parameter list kernel/posix-cpu-timers.c: In function 'posix_cpu_nsleep_restart': kernel/posix-cpu-timers.c:1553: error: 'clockid_t' undeclared (first use in this function) kernel/posix-cpu-timers.c:1553: error: expected ';' before 'which_clock' kernel/posix-cpu-timers.c:1554: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/posix-cpu-timers.c:1554: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:1554: error: 'rmtp' undeclared (first use in this function) kernel/posix-cpu-timers.c:1555: error: storage size of 't' isn't known kernel/posix-cpu-timers.c:1555: warning: ISO C90 forbids mixed declarations and code kernel/posix-cpu-timers.c:1556: error: storage size of 'it' isn't known kernel/posix-cpu-timers.c:1559: error: expected ')' before '__user' kernel/posix-cpu-timers.c:1559: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1560: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1561: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1563: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1563: error: 'do_no_restart_syscall' undeclared (first use in this function) kernel/posix-cpu-timers.c:1564: error: implicit declaration of function 'do_cpu_nanosleep' kernel/posix-cpu-timers.c:1564: error: 'which_clock' undeclared (first use in this function) kernel/posix-cpu-timers.c:1564: error: 'TIMER_ABSTIME' undeclared (first use in this function) kernel/posix-cpu-timers.c:1566: error: 'ERESTART_RESTARTBLOCK' undeclared (first use in this function) kernel/posix-cpu-timers.c:1570: error: 'NULL' undeclared (first use in this function) kernel/posix-cpu-timers.c:1570: error: implicit declaration of function 'copy_to_user' kernel/posix-cpu-timers.c:1571: error: 'EFAULT' undeclared (first use in this function) kernel/posix-cpu-timers.c:1573: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1574: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1575: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1576: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1577: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1556: warning: unused variable 'it' kernel/posix-cpu-timers.c:1555: warning: unused variable 't' kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1587: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1587: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1592: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1592: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1597: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'process_cpu_timer_create': kernel/posix-cpu-timers.c:1599: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1599: error: implicit declaration of function 'MAKE_PROCESS_CPUCLOCK' kernel/posix-cpu-timers.c:1599: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:1600: warning: passing argument 1 of 'posix_cpu_timer_create' from incompatible pointer type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1602: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1602: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1608: warning: 'struct restart_block' declared inside parameter list kernel/posix-cpu-timers.c: In function 'process_cpu_nsleep_restart': kernel/posix-cpu-timers.c:1610: error: 'EINVAL' undeclared (first use in this function) kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1612: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1612: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1617: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1617: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1622: warning: 'struct k_itimer' declared inside parameter list kernel/posix-cpu-timers.c: In function 'thread_cpu_timer_create': kernel/posix-cpu-timers.c:1624: error: dereferencing pointer to incomplete type kernel/posix-cpu-timers.c:1624: error: implicit declaration of function 'MAKE_THREAD_CPUCLOCK' kernel/posix-cpu-timers.c:1624: error: 'CPUCLOCK_SCHED' undeclared (first use in this function) kernel/posix-cpu-timers.c:1625: warning: passing argument 1 of 'posix_cpu_timer_create' from incompatible pointer type kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1627: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/posix-cpu-timers.c:1627: error: expected ';', ',' or ')' before 'which_clock' kernel/posix-cpu-timers.c:1632: warning: 'struct restart_block' declared inside parameter list kernel/posix-cpu-timers.c: In function 'thread_cpu_nsleep_restart': kernel/posix-cpu-timers.c:1634: error: 'EINVAL' undeclared (first use in this function) kernel/posix-cpu-timers.c: At top level: kernel/posix-cpu-timers.c:1637: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/posix-cpu-timers.c:1661: warning: data definition has no type or storage class kernel/posix-cpu-timers.c:1661: warning: type defaults to 'int' in declaration of '__initcall' kernel/posix-cpu-timers.c:1661: warning: parameter names (without types) in function declaration fs/aio.c:967: error: dereferencing pointer to incomplete type make[1]: *** [kernel/posix-cpu-timers.o] Error 1 fs/aio.c:970: error: dereferencing pointer to incomplete type fs/aio.c:970: error: 'u64' undeclared (first use in this function) fs/aio.c:970: error: expected expression before 'unsigned' fs/aio.c:970: error: expected ';' before 'iocb' fs/aio.c:971: error: dereferencing pointer to incomplete type fs/aio.c:971: error: dereferencing pointer to incomplete type fs/aio.c:972: error: dereferencing pointer to incomplete type fs/aio.c:973: error: dereferencing pointer to incomplete type fs/aio.c:982: error: implicit declaration of function 'smp_wmb' fs/aio.c:984: error: dereferencing pointer to incomplete type fs/aio.c:985: error: dereferencing pointer to incomplete type fs/aio.c:987: error: 'PAGE_MASK' undeclared (first use in this function) fs/aio.c:997: error: dereferencing pointer to incomplete type fs/aio.c:998: error: implicit declaration of function 'eventfd_signal' fs/aio.c:998: error: dereferencing pointer to incomplete type fs/aio.c:1012: error: dereferencing pointer to incomplete type fs/aio.c:1013: error: dereferencing pointer to incomplete type fs/aio.c:1015: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:1025: warning: 'struct io_event' declared inside parameter list fs/aio.c: In function 'aio_read_evt': fs/aio.c:1027: error: dereferencing pointer to incomplete type fs/aio.c:1032: error: dereferencing pointer to incomplete type fs/aio.c:1032: error: 'KM_USER0' undeclared (first use in this function) fs/aio.c:1032: warning: assignment makes pointer from integer without a cast fs/aio.c:1037: error: dereferencing pointer to incomplete type fs/aio.c:1037: error: dereferencing pointer to incomplete type fs/aio.c:1040: error: dereferencing pointer to incomplete type fs/aio.c:1042: error: dereferencing pointer to incomplete type fs/aio.c:1042: error: dereferencing pointer to incomplete type fs/aio.c:1043: error: dereferencing pointer to incomplete type fs/aio.c:1044: error: 'PAGE_SIZE' undeclared (first use in this function) fs/aio.c:1044: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:1044: error: invalid application of 'sizeof' to incomplete type 'struct aio_ring' fs/aio.c:1044: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:1044: error: dereferencing pointer to incomplete type fs/aio.c:1044: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:1044: error: 'KM_USER1' undeclared (first use in this function) fs/aio.c:1044: warning: assignment makes pointer from integer without a cast fs/aio.c:1044: error: invalid application of 'sizeof' to incomplete type 'struct io_event' fs/aio.c:1045: error: dereferencing pointer to incomplete type fs/aio.c:1045: error: dereferencing pointer to incomplete type fs/aio.c:1046: error: dereferencing pointer to incomplete type fs/aio.c:1048: error: dereferencing pointer to incomplete type fs/aio.c:1050: error: 'PAGE_MASK' undeclared (first use in this function) fs/aio.c:1052: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:1062: error: field 'timer' has incomplete type fs/aio.c: In function 'init_timeout': fs/aio.c:1077: error: implicit declaration of function 'setup_timer_on_stack' fs/aio.c:1079: error: 'current' undeclared (first use in this function) fs/aio.c: At top level: make[1]: *** [arch/x86/kernel/init_task.o] Error 1 CC kernel/mutex.o LDS arch/x86/kernel/vmlinux.lds fs/aio.c:1083: warning: 'struct timespec' declared inside parameter list fs/aio.c: In function 'set_timeout': fs/aio.c:1085: error: implicit declaration of function 'timespec_to_jiffies' fs/aio.c:1086: error: implicit declaration of function 'time_after' fs/aio.c:1086: error: 'jiffies' undeclared (first use in this function) fs/aio.c:1087: error: implicit declaration of function 'add_timer' fs/aio.c: In function 'clear_timeout': fs/aio.c:1094: error: implicit declaration of function 'del_singleshot_timer_sync' fs/aio.c: At top level: fs/aio.c:1099: error: expected ';', ',' or ')' before '*' token cc1: error: include/linux/autoconf.h: No such file or directory mm/msync.c:10:22: error: linux/fs.h: No such file or directory mm/msync.c:11:22: error: linux/mm.h: No such file or directory mm/msync.c:12:24: error: linux/mman.h: No such file or directory mm/msync.c:13:24: error: linux/file.h: No such file or directory mm/msync.c:14:28: error: linux/syscalls.h: No such file or directory mm/msync.c:15:25: error: linux/sched.h: No such file or directory mm/msync.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' make[1]: *** [mm/msync.o] Error 1 fs/aio.c: In function 'io_destroy': fs/aio.c:1219: error: 'current' undeclared (first use in this function) fs/aio.c:1224: error: dereferencing pointer to incomplete type fs/aio.c:1225: error: dereferencing pointer to incomplete type fs/aio.c:1226: error: dereferencing pointer to incomplete type fs/aio.c:1227: error: dereferencing pointer to incomplete type fs/aio.c:1228: error: dereferencing pointer to incomplete type fs/aio.c:1231: error: dereferencing pointer to incomplete type fs/aio.c:1232: error: dereferencing pointer to incomplete type fs/aio.c:1236: error: dereferencing pointer to incomplete type fs/aio.c:1236: error: dereferencing pointer to incomplete type fs/aio.c:1236: warning: passing argument 1 of '__put_ioctx' from incompatible pointer type fs/aio.c:1246: error: dereferencing pointer to incomplete type fs/aio.c:1247: error: dereferencing pointer to incomplete type fs/aio.c:1247: error: dereferencing pointer to incomplete type fs/aio.c:1247: warning: passing argument 1 of '__put_ioctx' from incompatible pointer type fs/aio.c: At top level: fs/aio.c:1263: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/aio.c:1301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/aio.c:1312: error: expected declaration specifiers or '...' before 'ssize_t' fs/aio.c: In function 'aio_advance_iovec': fs/aio.c:1314: error: dereferencing pointer to incomplete type fs/aio.c:1314: error: dereferencing pointer to incomplete type fs/aio.c:1316: error: 'ret' undeclared (first use in this function) fs/aio.c:1318: error: dereferencing pointer to incomplete type fs/aio.c:1318: error: dereferencing pointer to incomplete type fs/aio.c:1319: error: 'ssize_t' undeclared (first use in this function) fs/aio.c:1319: error: expected ';' before 'this' fs/aio.c:1320: error: dereferencing pointer to incomplete type fs/aio.c:1320: error: 'this' undeclared (first use in this function) fs/aio.c:1321: error: dereferencing pointer to incomplete type fs/aio.c:1322: error: dereferencing pointer to incomplete type fs/aio.c:1324: error: dereferencing pointer to incomplete type fs/aio.c:1325: error: dereferencing pointer to incomplete type fs/aio.c:1326: error: increment of pointer to unknown structure fs/aio.c:1326: error: arithmetic on pointer to an incomplete type fs/aio.c:1332: error: dereferencing pointer to incomplete type fs/aio.c: At top level: fs/aio.c:1335: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_rw_vect_retry' fs/aio.c:1386: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_fdsync' fs/aio.c:1396: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_fsync' fs/aio.c:1406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_setup_vectored_rw' fs/aio.c:1427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_setup_single_vector' fs/aio.c:1442: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aio_setup_iocb' fs/aio.c:1548: error: expected ')' before '*' token fs/aio.c:1558: error: expected ';', ',' or ')' before '*' token fs/aio.c:1655: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/aio.c:1704: error: expected ';', ',' or ')' before '*' token fs/aio.c:1730: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/aio.c:1792: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/aio.c:1811: warning: data definition has no type or storage class fs/aio.c:1811: warning: type defaults to 'int' in declaration of '__initcall' fs/aio.c:1811: warning: parameter names (without types) in function declaration fs/aio.c:1813: warning: data definition has no type or storage class fs/aio.c:1813: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/aio.c:1813: warning: parameter names (without types) in function declaration fs/aio.c:1814: warning: data definition has no type or storage class fs/aio.c:1814: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/aio.c:1814: warning: parameter names (without types) in function declaration fs/aio.c:1815: warning: data definition has no type or storage class fs/aio.c:1815: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/aio.c:1815: warning: parameter names (without types) in function declaration CC kernel/hrtimer.o cc1: error: include/linux/autoconf.h: No such file or directory mm/rmap.c:41:22: error: linux/mm.h: No such file or directory mm/rmap.c:42:27: error: linux/pagemap.h: No such file or directory mm/rmap.c:43:24: error: linux/swap.h: No such file or directory mm/rmap.c:44:27: error: linux/swapops.h: No such file or directory mm/rmap.c:45:24: error: linux/slab.h: No such file or directory mm/rmap.c:46:24: error: linux/init.h: No such file or directory mm/rmap.c:47:24: error: linux/rmap.h: No such file or directory mm/rmap.c:48:28: error: linux/rcupdate.h: No such file or directory mm/rmap.c:49:26: error: linux/module.h: No such file or directory mm/rmap.c:50:28: error: linux/kallsyms.h: No such file or directory mm/rmap.c:51:30: error: linux/memcontrol.h: No such file or directory mm/rmap.c:53:26: error: asm/tlbflush.h: No such file or directory mm/rmap.c:58: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:58: warning: its scope is only this definition or declaration, which is probably not what you want mm/rmap.c: In function 'anon_vma_prepare': mm/rmap.c:60: error: dereferencing pointer to incomplete type mm/rmap.c:62: error: implicit declaration of function 'might_sleep' mm/rmap.c:63: error: implicit declaration of function 'unlikely' mm/rmap.c:64: error: dereferencing pointer to incomplete type mm/rmap.c:67: error: implicit declaration of function 'find_mergeable_anon_vma' mm/rmap.c:67: warning: assignment makes pointer from integer without a cast mm/rmap.c:69: error: 'NULL' undeclared (first use in this function) mm/rmap.c:69: error: (Each undeclared identifier is reported only once mm/rmap.c:69: error: for each function it appears in.) mm/rmap.c:71: error: implicit declaration of function 'spin_lock' mm/rmap.c:71: error: dereferencing pointer to incomplete type mm/rmap.c:73: error: implicit declaration of function 'anon_vma_alloc' mm/rmap.c:73: warning: assignment makes pointer from integer without a cast mm/rmap.c:75: error: 'ENOMEM' undeclared (first use in this function) mm/rmap.c:81: error: dereferencing pointer to incomplete type mm/rmap.c:82: error: implicit declaration of function 'likely' mm/rmap.c:82: error: dereferencing pointer to incomplete type mm/rmap.c:83: error: dereferencing pointer to incomplete type mm/rmap.c:84: error: implicit declaration of function 'list_add_tail' mm/rmap.c:84: error: dereferencing pointer to incomplete type mm/rmap.c:84: error: dereferencing pointer to incomplete type mm/rmap.c:87: error: implicit declaration of function 'spin_unlock' mm/rmap.c:87: error: dereferencing pointer to incomplete type mm/rmap.c:90: error: dereferencing pointer to incomplete type make[1]: *** [fs/aio.o] Error 1 mm/rmap.c:92: error: implicit declaration of function 'anon_vma_free' mm/rmap.c: At top level: mm/rmap.c:97: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c: In function '__anon_vma_merge': mm/rmap.c:99: error: implicit declaration of function 'BUG_ON' mm/rmap.c:99: error: dereferencing pointer to incomplete type mm/rmap.c:99: error: dereferencing pointer to incomplete type mm/rmap.c:100: error: implicit declaration of function 'list_del' mm/rmap.c:100: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:103: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c: In function '__anon_vma_link': mm/rmap.c:105: error: dereferencing pointer to incomplete type mm/rmap.c:108: error: dereferencing pointer to incomplete type mm/rmap.c:108: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:111: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c: In function 'anon_vma_link': mm/rmap.c:113: error: dereferencing pointer to incomplete type mm/rmap.c:116: error: dereferencing pointer to incomplete type mm/rmap.c:117: error: dereferencing pointer to incomplete type mm/rmap.c:117: error: dereferencing pointer to incomplete type mm/rmap.c:118: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:122: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c: In function 'anon_vma_unlink': mm/rmap.c:124: error: dereferencing pointer to incomplete type mm/rmap.c:130: error: dereferencing pointer to incomplete type mm/rmap.c:131: error: dereferencing pointer to incomplete type mm/rmap.c:134: error: implicit declaration of function 'list_empty' mm/rmap.c:134: error: dereferencing pointer to incomplete type mm/rmap.c:135: error: dereferencing pointer to incomplete type mm/rmap.c: In function 'anon_vma_ctor': mm/rmap.c:145: error: implicit declaration of function 'spin_lock_init' mm/rmap.c:145: error: dereferencing pointer to incomplete type mm/rmap.c:146: error: implicit declaration of function 'INIT_LIST_HEAD' mm/rmap.c:146: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'anon_vma_init' mm/rmap.c:159: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_lock_anon_vma': mm/rmap.c:164: error: implicit declaration of function 'rcu_read_lock' mm/rmap.c:165: error: dereferencing pointer to incomplete type mm/rmap.c:166: error: 'PAGE_MAPPING_ANON' undeclared (first use in this function) mm/rmap.c:168: error: implicit declaration of function 'page_mapped' mm/rmap.c:172: error: dereferencing pointer to incomplete type mm/rmap.c:175: error: implicit declaration of function 'rcu_read_unlock' mm/rmap.c:176: error: 'NULL' undeclared (first use in this function) mm/rmap.c: In function 'page_unlock_anon_vma': mm/rmap.c:181: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:191: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:191: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'vma_address': mm/rmap.c:193: error: 'pgoff_t' undeclared (first use in this function) mm/rmap.c:193: error: expected ';' before 'pgoff' mm/rmap.c:194: warning: ISO C90 forbids mixed declarations and code mm/rmap.c:196: error: dereferencing pointer to incomplete type mm/rmap.c:196: error: 'pgoff' undeclared (first use in this function) mm/rmap.c:196: error: dereferencing pointer to incomplete type mm/rmap.c:196: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/rmap.c:197: error: dereferencing pointer to incomplete type mm/rmap.c:197: error: dereferencing pointer to incomplete type mm/rmap.c:199: error: 'EFAULT' undeclared (first use in this function) mm/rmap.c: At top level: mm/rmap.c:208: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:208: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_address_in_vma': mm/rmap.c:210: error: implicit declaration of function 'PageAnon' mm/rmap.c:211: error: dereferencing pointer to incomplete type mm/rmap.c:212: error: dereferencing pointer to incomplete type CC fs/seq_file.o cc1: error: include/linux/autoconf.h: No such file or directory kernel/mutex.c:15:25: error: linux/mutex.h: No such file or directory kernel/mutex.c:16:25: error: linux/sched.h: No such file or directory kernel/mutex.c:17:26: error: linux/module.h: No such file or directory kernel/mutex.c:18:28: error: linux/spinlock.h: No such file or directory kernel/mutex.c:19:29: error: linux/interrupt.h: No such file or directory kernel/mutex.c:20:31: error: linux/debug_locks.h: No such file or directory In file included from kernel/mutex.c:30: kernel/mutex.h:28: warning: 'struct mutex_waiter' declared inside parameter list kernel/mutex.h:28: warning: its scope is only this definition or declaration, which is probably not what you want kernel/mutex.h:28: warning: 'struct mutex' declared inside parameter list kernel/mutex.c:31:24: error: asm/mutex.h: No such file or directory kernel/mutex.c:43: warning: 'struct lock_class_key' declared inside parameter list kernel/mutex.c:43: warning: 'struct mutex' declared inside parameter list kernel/mutex.c: In function '__mutex_init': kernel/mutex.c:45: error: implicit declaration of function 'atomic_set' kernel/mutex.c:45: error: dereferencing pointer to incomplete type kernel/mutex.c:46: error: implicit declaration of function 'spin_lock_init' kernel/mutex.c:46: error: dereferencing pointer to incomplete type kernel/mutex.c:47: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/mutex.c:47: error: dereferencing pointer to incomplete type kernel/mutex.c: At top level: kernel/mutex.c:52: warning: data definition has no type or storage class kernel/mutex.c:52: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:52: warning: parameter names (without types) in function declaration kernel/mutex.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sched' kernel/mutex.c:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mutex_lock' kernel/mutex.c:95: warning: data definition has no type or storage class kernel/mutex.c:95: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:95: warning: parameter names (without types) in function declaration kernel/mutex.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/mutex.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mutex_unlock' kernel/mutex.c:120: warning: data definition has no type or storage class kernel/mutex.c:120: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:120: warning: parameter names (without types) in function declaration kernel/mutex.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mutex_lock_common' kernel/mutex.c:234: error: expected ')' before '*' token kernel/mutex.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/mutex.c:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/mutex.c:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/mutex.c:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mutex_lock_interruptible' kernel/mutex.c:305: warning: data definition has no type or storage class kernel/mutex.c:305: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:305: warning: parameter names (without types) in function declaration kernel/mutex.c:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mutex_lock_killable' kernel/mutex.c:313: warning: data definition has no type or storage class kernel/mutex.c:313: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:313: warning: parameter names (without types) in function declaration kernel/mutex.c:315: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/mutex.c:323: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/mutex.c:331: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/mutex.c:344: error: expected ')' before '*' token kernel/mutex.c:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mutex_trylock' kernel/mutex.c:386: warning: data definition has no type or storage class kernel/mutex.c:386: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/mutex.c:386: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory kernel/hrtimer.c:34:23: error: linux/cpu.h: No such file or directory kernel/hrtimer.c:35:23: error: linux/irq.h: No such file or directory kernel/hrtimer.c:36:26: error: linux/module.h: No such file or directory kernel/hrtimer.c:37:26: error: linux/percpu.h: No such file or directory kernel/hrtimer.c:38:27: error: linux/hrtimer.h: No such file or directory kernel/hrtimer.c:39:28: error: linux/notifier.h: No such file or directory kernel/hrtimer.c:40:28: error: linux/syscalls.h: No such file or directory kernel/hrtimer.c:41:28: error: linux/kallsyms.h: No such file or directory kernel/hrtimer.c:42:29: error: linux/interrupt.h: No such file or directory kernel/hrtimer.c:43:24: error: linux/tick.h: No such file or directory kernel/hrtimer.c:44:28: error: linux/seq_file.h: No such file or directory kernel/hrtimer.c:45:23: error: linux/err.h: No such file or directory kernel/hrtimer.c:46:32: error: linux/debugobjects.h: No such file or directory kernel/hrtimer.c:48:25: error: asm/uaccess.h: No such file or directory kernel/hrtimer.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get' kernel/hrtimer.c:63: warning: data definition has no type or storage class kernel/hrtimer.c:63: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:63: warning: parameter names (without types) in function declaration kernel/hrtimer.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_get_real' kernel/hrtimer.c:79: warning: data definition has no type or storage class kernel/hrtimer.c:79: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:79: warning: parameter names (without types) in function declaration kernel/hrtimer.c:90: error: expected declaration specifiers or '...' before 'hrtimer_bases' kernel/hrtimer.c:90: warning: 'struct hrtimer_cpu_base' declared inside parameter list kernel/hrtimer.c:90: warning: its scope is only this definition or declaration, which is probably not what you want kernel/hrtimer.c:90: warning: data definition has no type or storage class kernel/hrtimer.c:90: warning: type defaults to 'int' in declaration of 'DEFINE_PER_CPU' kernel/hrtimer.c:90: error: function 'DEFINE_PER_CPU' is initialized like a variable kernel/hrtimer.c:93: error: field name not in record or union initializer kernel/hrtimer.c:93: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:94: warning: braces around scalar initializer kernel/hrtimer.c:94: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:95: warning: braces around scalar initializer kernel/hrtimer.c:95: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:96: error: field name not in record or union initializer kernel/hrtimer.c:96: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:96: error: 'CLOCK_REALTIME' undeclared here (not in a function) kernel/hrtimer.c:97: error: field name not in record or union initializer kernel/hrtimer.c:97: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:97: error: 'ktime_get_real' undeclared here (not in a function) kernel/hrtimer.c:97: warning: excess elements in scalar initializer kernel/hrtimer.c:97: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:98: error: field name not in record or union initializer kernel/hrtimer.c:98: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:98: error: 'KTIME_LOW_RES' undeclared here (not in a function) kernel/hrtimer.c:98: warning: excess elements in scalar initializer kernel/hrtimer.c:98: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:100: warning: braces around scalar initializer kernel/hrtimer.c:100: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:101: error: field name not in record or union initializer kernel/hrtimer.c:101: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:101: error: 'CLOCK_MONOTONIC' undeclared here (not in a function) kernel/hrtimer.c:102: error: field name not in record or union initializer kernel/hrtimer.c:102: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:102: error: 'ktime_get' undeclared here (not in a function) kernel/hrtimer.c:102: warning: excess elements in scalar initializer kernel/hrtimer.c:102: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:103: error: field name not in record or union initializer kernel/hrtimer.c:103: error: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:103: warning: excess elements in scalar initializer kernel/hrtimer.c:103: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:104: warning: excess elements in scalar initializer kernel/hrtimer.c:104: warning: (near initialization for 'DEFINE_PER_CPU') kernel/hrtimer.c:116: warning: 'struct timespec' declared inside parameter list kernel/hrtimer.c: In function 'ktime_get_ts': kernel/hrtimer.c:118: error: storage size of 'tomono' isn't known kernel/hrtimer.c:122: error: implicit declaration of function 'read_seqbegin' kernel/hrtimer.c:122: error: 'xtime_lock' undeclared (first use in this function) kernel/hrtimer.c:122: error: (Each undeclared identifier is reported only once kernel/hrtimer.c:122: error: for each function it appears in.) kernel/hrtimer.c:123: error: implicit declaration of function 'getnstimeofday' kernel/hrtimer.c:124: error: 'wall_to_monotonic' undeclared (first use in this function) kernel/hrtimer.c:126: error: implicit declaration of function 'read_seqretry' kernel/hrtimer.c:128: error: implicit declaration of function 'set_normalized_timespec' kernel/hrtimer.c:128: error: dereferencing pointer to incomplete type kernel/hrtimer.c:129: error: dereferencing pointer to incomplete type kernel/hrtimer.c:118: warning: unused variable 'tomono' kernel/hrtimer.c: At top level: kernel/hrtimer.c:131: warning: data definition has no type or storage class kernel/hrtimer.c:131: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:131: warning: parameter names (without types) in function declaration kernel/hrtimer.c:137: warning: 'struct hrtimer_cpu_base' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_get_softirq_time': kernel/hrtimer.c:139: error: 'ktime_t' undeclared (first use in this function) kernel/hrtimer.c:139: error: expected ';' before 'xtim' kernel/hrtimer.c:140: error: storage size of 'xts' isn't known kernel/hrtimer.c:140: error: storage size of 'tom' isn't known kernel/hrtimer.c:140: warning: ISO C90 forbids mixed declarations and code kernel/hrtimer.c:144: error: 'xtime_lock' undeclared (first use in this function) kernel/hrtimer.c:145: error: implicit declaration of function 'current_kernel_time' kernel/hrtimer.c:146: error: 'wall_to_monotonic' undeclared (first use in this function) kernel/hrtimer.c:149: error: 'xtim' undeclared (first use in this function) kernel/hrtimer.c:149: error: implicit declaration of function 'timespec_to_ktime' kernel/hrtimer.c:150: error: 'tomono' undeclared (first use in this function) kernel/hrtimer.c:151: error: dereferencing pointer to incomplete type kernel/hrtimer.c:152: error: dereferencing pointer to incomplete type kernel/hrtimer.c:153: error: implicit declaration of function 'ktime_add' kernel/hrtimer.c:140: warning: unused variable 'tom' kernel/hrtimer.c:140: warning: unused variable 'xts' kernel/hrtimer.c: At top level: kernel/hrtimer.c:230: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'lock_hrtimer_base': kernel/hrtimer.c:232: error: dereferencing pointer to incomplete type kernel/hrtimer.c:234: error: implicit declaration of function 'spin_lock_irqsave' kernel/hrtimer.c:234: error: dereferencing pointer to incomplete type kernel/hrtimer.c:247:5: warning: "BITS_PER_LONG" is not defined kernel/hrtimer.c: At top level: kernel/hrtimer.c:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_add_ns' kernel/hrtimer.c:271: warning: data definition has no type or storage class kernel/hrtimer.c:271: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:271: warning: parameter names (without types) in function declaration kernel/hrtimer.c:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_sub_ns' kernel/hrtimer.c:295: warning: data definition has no type or storage class kernel/hrtimer.c:295: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:295: warning: parameter names (without types) in function declaration kernel/hrtimer.c:301: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_divns' kernel/hrtimer.c:322: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ktime_add_safe' kernel/hrtimer.c:440: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:441: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:442: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:448: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_cb_pending': kernel/hrtimer.c:450: error: dereferencing pointer to incomplete type kernel/hrtimer.c:450: error: 'HRTIMER_STATE_PENDING' undeclared (first use in this function) kernel/hrtimer.c: At top level: kernel/hrtimer.c:456: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_remove_cb_pending': kernel/hrtimer.c:458: error: implicit declaration of function 'list_del_init' kernel/hrtimer.c:458: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:745: warning: 'struct hrtimer_cpu_base' declared inside parameter list kernel/hrtimer.c:747: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:751: warning: 'struct hrtimer_cpu_base' declared inside parameter list kernel/hrtimer.c:752: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:754: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:778: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'unlock_hrtimer_base': kernel/hrtimer.c:780: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/hrtimer.c:780: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:792: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_forward' kernel/hrtimer.c:822: warning: data definition has no type or storage class kernel/hrtimer.c:822: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:822: warning: parameter names (without types) in function declaration kernel/hrtimer.c:831: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'enqueue_hrtimer': kernel/hrtimer.c:833: error: dereferencing pointer to incomplete type kernel/hrtimer.c:834: error: 'NULL' undeclared (first use in this function) kernel/hrtimer.c:838: warning: passing argument 1 of 'debug_hrtimer_activate' from incompatible pointer type kernel/hrtimer.c:845: error: implicit declaration of function 'rb_entry' kernel/hrtimer.c:845: error: expected expression before 'struct' kernel/hrtimer.c:845: warning: assignment makes pointer from integer without a cast kernel/hrtimer.c:850: error: dereferencing pointer to incomplete type kernel/hrtimer.c:850: error: dereferencing pointer to incomplete type kernel/hrtimer.c:851: error: dereferencing pointer to incomplete type kernel/hrtimer.c:853: error: dereferencing pointer to incomplete type kernel/hrtimer.c:871: warning: passing argument 1 of 'hrtimer_enqueue_reprogram' from incompatible pointer type kernel/hrtimer.c:874: error: dereferencing pointer to incomplete type kernel/hrtimer.c:874: error: dereferencing pointer to incomplete type kernel/hrtimer.c:877: error: implicit declaration of function 'rb_link_node' kernel/hrtimer.c:877: error: dereferencing pointer to incomplete type kernel/hrtimer.c:878: error: implicit declaration of function 'rb_insert_color' kernel/hrtimer.c:878: error: dereferencing pointer to incomplete type kernel/hrtimer.c:878: error: dereferencing pointer to incomplete type kernel/hrtimer.c:883: error: dereferencing pointer to incomplete type kernel/hrtimer.c:883: error: 'HRTIMER_STATE_ENQUEUED' undeclared (first use in this function) kernel/hrtimer.c: At top level: kernel/hrtimer.c:898: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function '__remove_hrtimer': kernel/hrtimer.c:901: warning: passing argument 1 of 'hrtimer_cb_pending' from incompatible pointer type kernel/hrtimer.c:902: warning: passing argument 1 of 'hrtimer_remove_cb_pending' from incompatible pointer type kernel/hrtimer.c:908: error: dereferencing pointer to incomplete type kernel/hrtimer.c:908: error: dereferencing pointer to incomplete type kernel/hrtimer.c:909: error: dereferencing pointer to incomplete type kernel/hrtimer.c:909: error: implicit declaration of function 'rb_next' kernel/hrtimer.c:909: error: dereferencing pointer to incomplete type kernel/hrtimer.c:912: error: dereferencing pointer to incomplete type kernel/hrtimer.c:914: error: implicit declaration of function 'rb_erase' kernel/hrtimer.c:914: error: dereferencing pointer to incomplete type kernel/hrtimer.c:914: error: dereferencing pointer to incomplete type kernel/hrtimer.c:916: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:923: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'remove_hrtimer': kernel/hrtimer.c:925: error: implicit declaration of function 'hrtimer_is_queued' kernel/hrtimer.c:936: warning: passing argument 1 of 'debug_hrtimer_deactivate' from incompatible pointer type kernel/hrtimer.c:937: error: implicit declaration of function 'timer_stats_hrtimer_clear_start_info' kernel/hrtimer.c:938: error: dereferencing pointer to incomplete type kernel/hrtimer.c:938: error: implicit declaration of function '__get_cpu_var' kernel/hrtimer.c:938: error: 'hrtimer_bases' undeclared (first use in this function) kernel/hrtimer.c:938: error: invalid lvalue in unary '&' kernel/hrtimer.c:939: error: 'HRTIMER_STATE_INACTIVE' undeclared (first use in this function) kernel/hrtimer.c:940: warning: passing argument 1 of '__remove_hrtimer' from incompatible pointer type kernel/hrtimer.c: At top level: kernel/hrtimer.c:957: error: expected declaration specifiers or '...' before 'ktime_t' kernel/hrtimer.c:957: warning: 'enum hrtimer_mode' declared inside parameter list kernel/hrtimer.c:957: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:957: error: parameter 2 ('mode') has incomplete type kernel/hrtimer.c: In function 'hrtimer_start': kernel/hrtimer.c:963: warning: passing argument 1 of 'lock_hrtimer_base' from incompatible pointer type kernel/hrtimer.c:966: warning: passing argument 1 of 'remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:971: error: 'HRTIMER_MODE_REL' undeclared (first use in this function) kernel/hrtimer.c:972: error: 'tim' undeclared (first use in this function) kernel/hrtimer.c:972: error: implicit declaration of function 'ktime_add_safe' kernel/hrtimer.c:972: error: dereferencing pointer to incomplete type kernel/hrtimer.c:985: error: dereferencing pointer to incomplete type kernel/hrtimer.c:987: error: implicit declaration of function 'timer_stats_hrtimer_set_start_info' kernel/hrtimer.c:994: error: dereferencing pointer to incomplete type kernel/hrtimer.c:994: error: 'hrtimer_bases' undeclared (first use in this function) kernel/hrtimer.c:994: error: invalid lvalue in unary '&' kernel/hrtimer.c:994: warning: passing argument 1 of 'enqueue_hrtimer' from incompatible pointer type kernel/hrtimer.c:1001: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1001: error: 'HRTIMER_STATE_PENDING' undeclared (first use in this function) kernel/hrtimer.c:1008: error: implicit declaration of function 'preempt_disable' kernel/hrtimer.c:1010: warning: passing argument 1 of 'unlock_hrtimer_base' from incompatible pointer type kernel/hrtimer.c:1014: error: implicit declaration of function 'preempt_enable' kernel/hrtimer.c: At top level: kernel/hrtimer.c:1018: warning: data definition has no type or storage class kernel/hrtimer.c:1018: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1018: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1030: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_try_to_cancel': kernel/hrtimer.c:1036: warning: passing argument 1 of 'lock_hrtimer_base' from incompatible pointer type kernel/hrtimer.c:1038: error: implicit declaration of function 'hrtimer_callback_running' kernel/hrtimer.c:1039: warning: passing argument 1 of 'remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:1041: warning: passing argument 1 of 'unlock_hrtimer_base' from incompatible pointer type kernel/hrtimer.c: At top level: kernel/hrtimer.c:1046: warning: data definition has no type or storage class kernel/hrtimer.c:1046: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1046: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1056: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_cancel': kernel/hrtimer.c:1059: warning: passing argument 1 of 'hrtimer_try_to_cancel' from incompatible pointer type kernel/hrtimer.c:1063: error: implicit declaration of function 'cpu_relax' kernel/hrtimer.c: At top level: kernel/hrtimer.c:1066: warning: data definition has no type or storage class kernel/hrtimer.c:1066: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1066: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1072: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_get_remaining' kernel/hrtimer.c:1084: warning: data definition has no type or storage class kernel/hrtimer.c:1084: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1084: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1126: error: expected declaration specifiers or '...' before 'clockid_t' kernel/hrtimer.c:1127: warning: 'enum hrtimer_mode' declared inside parameter list kernel/hrtimer.c:1127: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:1127: error: parameter 2 ('mode') has incomplete type kernel/hrtimer.c: In function '__hrtimer_init': kernel/hrtimer.c:1131: error: implicit declaration of function 'memset' kernel/hrtimer.c:1131: error: invalid application of 'sizeof' to incomplete type 'struct hrtimer' kernel/hrtimer.c:1133: error: implicit declaration of function '__raw_get_cpu_var' kernel/hrtimer.c:1133: error: 'hrtimer_bases' undeclared (first use in this function) kernel/hrtimer.c:1133: error: invalid lvalue in unary '&' kernel/hrtimer.c:1135: error: 'clock_id' undeclared (first use in this function) kernel/hrtimer.c:1135: error: 'HRTIMER_MODE_ABS' undeclared (first use in this function) kernel/hrtimer.c:1138: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1138: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1139: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/hrtimer.c:1139: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1140: warning: passing argument 1 of 'hrtimer_init_timer_hres' from incompatible pointer type kernel/hrtimer.c: At top level: kernel/hrtimer.c:1155: error: expected declaration specifiers or '...' before 'clockid_t'mm/rmap.c:212: error: 'PAGE_MAPPING_ANON' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory mm/rmap.c:213: error: 'EFAULT' undeclared (first use in this function) mm/rmap.c:214: error: dereferencing pointer to incomplete type mm/rmap.c:214: error: dereferencing pointer to incomplete type mm/rmap.c:214: error: 'VM_NONLINEAR' undeclared (first use in this function) In file included from arch/x86/kernel/vmlinux.lds.S:4mm/rmap.c:215: error: dereferencing pointer to incomplete type : mm/rmap.c:216: error: dereferencing pointer to incomplete type arch/x86/kernel/vmlinux_64.lds.S:7:37: mm/rmap.c:216: error: dereferencing pointer to incomplete type error: asm-generic/vmlinux.lds.h: No such file or directory arch/x86/kernel/vmlinux_64.lds.S:8:22: error: asm/page.h: No such file or directory mm/rmap.c:220: warning: passing argument 1 of 'vma_address' from incompatible pointer type make[1]: mm/rmap.c:220: warning: passing argument 2 of 'vma_address' from incompatible pointer type *** [kernel/mutex.o] Error 1 kernel/hrtimer.c:1156: warning: 'enum hrtimer_mode' declared inside parameter list kernel/hrtimer.c:1156: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:1156: error: parameter 2 ('mode') has incomplete type kernel/hrtimer.c: In function 'hrtimer_init': kernel/hrtimer.c:1158: warning: passing argument 1 of 'debug_hrtimer_init' from incompatible pointer type kernel/hrtimer.c:1159: error: 'clock_id' undeclared (first use in this function) kernel/hrtimer.c:1159: warning: passing argument 1 of '__hrtimer_init' from incompatible pointer type kernel/hrtimer.c:1159: error: type of formal parameter 2 is incomplete kernel/hrtimer.c:1159: error: too many arguments to function '__hrtimer_init' mm/rmap.c: At top level: kernel/hrtimer.c: At top level: kernel/hrtimer.c:1161: warning: data definition has no type or storage class kernel/hrtimer.c:1161: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1161: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1171: warning: type defaults to 'int' in declaration of 'clockid_t' kernel/hrtimer.c:1171: error: expected ';', ',' or ')' before 'which_clock' kernel/hrtimer.c:1180: warning: data definition has no type or storage class kernel/hrtimer.c:1180: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/hrtimer.c:1180: warning: parameter names (without types) in function declaration kernel/hrtimer.c:1182: warning: 'struct hrtimer_cpu_base' declared inside parameter list kernel/hrtimer.c: In function 'run_hrtimer_pending': kernel/hrtimer.c:1184: error: implicit declaration of function 'spin_lock_irq' kernel/hrtimer.c:1184: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1186: error: implicit declaration of function 'list_empty' kernel/hrtimer.c:1186: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1187: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:1191: error: implicit declaration of function 'list_entry' kernel/hrtimer.c:1191: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1192: error: expected expression before 'struct' mm/rmap.c:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/hrtimer.c:1192: warning: assignment makes pointer from integer without a cast kernel/hrtimer.c:1194: warning: passing argument 1 of 'debug_hrtimer_deactivate' from incompatible pointer type kernel/hrtimer.c:1195: error: implicit declaration of function 'timer_stats_account_hrtimer' kernel/hrtimer.c:1197: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1198: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1198: error: 'HRTIMER_STATE_CALLBACK' undeclared (first use in this function) kernel/hrtimer.c:1198: warning: passing argument 1 of '__remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:1199: error: implicit declaration of function 'spin_unlock_irq' kernel/hrtimer.c:1199: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1201: warning: passing argument 1 of 'fn' from incompatible pointer type kernel/hrtimer.c:1201: error: invalid use of undefined type 'enum hrtimer_restart' kernel/hrtimer.c:1203: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1205: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1206: error: 'HRTIMER_RESTART' undeclared (first use in this function) kernel/hrtimer.c:1207: error: implicit declaration of function 'BUG_ON' kernel/hrtimer.c:1207: error: implicit declaration of function 'hrtimer_active' kernel/hrtimer.c:1212: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1212: warning: passing argument 1 of 'enqueue_hrtimer' from incompatible pointer type kernel/hrtimer.c:1218: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1220: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1220: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1221: warning: passing argument 1 of 'hrtimer_reprogram' from incompatible pointer type kernel/hrtimer.c:1227: error: 'HRTIMER_STATE_PENDING' undeclared (first use in this function) kernel/hrtimer.c:1227: warning: passing argument 1 of '__remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:1228: error: implicit declaration of function 'list_add_tail' kernel/hrtimer.c:1228: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1229: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1233: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:1236: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c: In function '__run_hrtimer': kernel/hrtimer.c:1238: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1239: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1243: warning: passing argument 1 of 'debug_hrtimer_deactivate' from incompatible pointer type kernel/hrtimer.c:1244: error: 'HRTIMER_STATE_CALLBACK' undeclared (first use in this function) kernel/hrtimer.c:1244: warning: passing argument 1 of '__remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:1247: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1248: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1248: error: 'HRTIMER_CB_IRQSAFE_NO_SOFTIRQ' undeclared (first use in this function) kernel/hrtimer.c:1256: error: implicit declaration of function 'spin_unlock' kernel/hrtimer.c:1256: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1257: error: invalid use of undefined type 'enum hrtimer_restart' kernel/hrtimer.c:1258: error: implicit declaration of function 'spin_lock' kernel/hrtimer.c:1258: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1260: error: invalid use of undefined type 'enum hrtimer_restart' kernel/hrtimer.c:1267: error: 'HRTIMER_NORESTART' undeclared (first use in this function) kernel/hrtimer.c:1268: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1269: warning: passing argument 1 of 'enqueue_hrtimer' from incompatible pointer type mm/rmap.c:271: warning: 'struct vm_area_struct' declared inside parameter list CC fs/xattr.o kernel/hrtimer.c:1271: error: dereferencing pointer to incomplete type mm/rmap.c:271: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_referenced_one': mm/rmap.c:273: error: dereferencing pointer to incomplete type mm/rmap.c:275: error: 'pte_t' undeclared (first use in this function) kernel/hrtimer.c: In function 'hrtimer_run_pending': mm/rmap.c:275: error: 'pte' undeclared (first use in this function) kernel/hrtimer.c:1366: error: 'hrtimer_bases' undeclared (first use in this function) mm/rmap.c:276: error: 'spinlock_t' undeclared (first use in this function) kernel/hrtimer.c:1366: error: invalid lvalue in unary '&' mm/rmap.c:276: error: 'ptl' undeclared (first use in this function) kernel/hrtimer.c:1379: error: implicit declaration of function 'tick_check_oneshot_change'mm/rmap.c:277: warning: ISO C90 forbids mixed declarations and code mm/rmap.c:279: warning: passing argument 1 of 'vma_address' from incompatible pointer type kernel/hrtimer.c:1382: warning: passing argument 1 of 'run_hrtimer_pending' from incompatible pointer typecc1: mm/rmap.c:279: warning: passing argument 2 of 'vma_address' from incompatible pointer type error: mm/rmap.c:280: error: 'EFAULT' undeclared (first use in this function) mm/rmap.c:283: error: implicit declaration of function 'page_check_address' mm/rmap.c:287: error: dereferencing pointer to incomplete type include/linux/autoconf.h: No such file or directorymm/rmap.c:287: error: 'VM_LOCKED' undeclared (first use in this function) mm/rmap.c:290: error: implicit declaration of function 'ptep_clear_flush_young' kernel/hrtimer.c: In function 'hrtimer_run_queues': kernel/hrtimer.c:1391: error: 'hrtimer_bases' undeclared (first use in this function) mm/rmap.c:295: error: 'current' undeclared (first use in this function) mm/rmap.c:295: error: implicit declaration of function 'has_swap_token' mm/rmap.c:296: error: implicit declaration of function 'rwsem_is_locked' mm/rmap.c:296: error: dereferencing pointer to incomplete type mm/rmap.c:300: error: implicit declaration of function 'pte_unmap_unlock' mm/rmap.c: At top level: mm/rmap.c:306: warning: 'struct mem_cgroup' declared inside parameter list mm/rmap.c:306: warning: 'struct page' declared inside parameter list kernel/hrtimer.c:1391: error: invalid lvalue in unary '&' make[1]: *** [arch/x86/kernel/vmlinux.lds] Error 1 kernel/hrtimer.c:1398: error: 'HRTIMER_MAX_CLOCK_BASES' undeclared (first use in this function) kernel/hrtimer.c:1399: error: dereferencing pointer to incomplete type mm/rmap.c: In function 'page_referenced_anon': kernel/hrtimer.c:1401: error: dereferencing pointer to incomplete type mm/rmap.c:313: warning: passing argument 1 of 'page_lock_anon_vma' from incompatible pointer type kernel/hrtimer.c:1404: error: dereferencing pointer to incomplete type mm/rmap.c:317: error: implicit declaration of function 'page_mapcount' mm/rmap.c:318: error: implicit declaration of function 'list_for_each_entry' mm/rmap.c:318: error: dereferencing pointer to incomplete type mm/rmap.c:318: error: 'anon_vma_node' undeclared (first use in this function) mm/rmap.c:318: error: expected ';' before '{' token make[1]: Target `__build' not remade because of errors. mm/rmap.c: At top level: mm/rmap.c:348: warning: 'struct mem_cgroup' declared inside parameter list mm/rmap.c:348: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_referenced_file': mm/rmap.c:351: error: dereferencing pointer to incomplete type mm/rmap.c:352: error: 'pgoff_t' undeclared (first use in this function) mm/rmap.c:352: error: expected ';' before 'pgoff' fs/seq_file.c:8:22:kernel/hrtimer.c:1405: error: dereferencing pointer to incomplete type mm/rmap.c:353: warning: ISO C90 forbids mixed declarations and code make: error: kernel/hrtimer.c:1405: error: dereferencing pointer to incomplete type*** [arch/x86/kernel] Error 2mm/rmap.c:354: error: storage size of 'iter' isn't known linux/fs.h: No such file or directory mm/rmap.c:370: error: implicit declaration of function 'PageLocked' mm/rmap.c:372: error: dereferencing pointer to incomplete type mm/rmap.c:380: error: implicit declaration of function 'vma_prio_tree_foreach' mm/rmap.c:380: error: dereferencing pointer to incomplete type mm/rmap.c:380: error: 'pgoff' undeclared (first use in this function) mm/rmap.c:380: error: expected ';' before '{' token mm/rmap.c:354: warning: unused variable 'iter' mm/rmap.c: At top level: mm/rmap.c:412: warning: 'struct mem_cgroup' declared inside parameter list mm/rmap.c:412: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_referenced': mm/rmap.c:416: error: implicit declaration of function 'TestClearPageReferenced' fs/seq_file.c:9:26: error: mm/rmap.c:419: error: dereferencing pointer to incomplete type linux/module.h: No such file or directory mm/rmap.c:421: warning: passing argument 1 of 'page_referenced_anon' from incompatible pointer type fs/seq_file.c:10:28: error: linux/seq_file.h: No such file or directory fs/seq_file.c:11:24: error: linux/slab.h: No such file or directory fs/seq_file.c:13:25: error: asm/uaccess.h: No such file or directory fs/seq_file.c:14:22: error: asm/page.h: No such file or directory fs/seq_file.c:30: warning: 'struct seq_operations' declared inside parameter list fs/seq_file.c:30: warning: its scope is only this definition or declaration, which is probably not what you want fs/seq_file.c:30: warning: 'struct file' declared inside parameter list fs/seq_file.c: In function 'seq_open': fs/seq_file.c:32: error: dereferencing pointer to incomplete type fs/seq_file.c:35: error: implicit declaration of function 'kmalloc' fs/seq_file.c:35: error: dereferencing pointer to incomplete type fs/seq_file.c:35: error: 'GFP_KERNEL' undeclared (first use in this function) fs/seq_file.c:35: error: (Each undeclared identifier is reported only once fs/seq_file.c:35: error: for each function it appears in.) fs/seq_file.c:35: warning: assignment makes pointer from integer without a cast fs/seq_file.c:37: error: 'ENOMEM' undeclared (first use in this function) fs/seq_file.c:38: error: dereferencing pointer to incomplete type fs/seq_file.c:40: error: implicit declaration of function 'memset' fs/seq_file.c:40: error: dereferencing pointer to incomplete type fs/seq_file.c:41: error: implicit declaration of function 'mutex_init' fs/seq_file.c:41: error: dereferencing pointer to incomplete type fs/seq_file.c:42: error: dereferencing pointer to incomplete type fs/seq_file.c:49: error: dereferencing pointer to incomplete type fs/seq_file.c:52: error: dereferencing pointer to incomplete type fs/seq_file.c:52: error: 'FMODE_PREAD' undeclared (first use in this function) fs/seq_file.c:52: error: 'FMODE_PWRITE' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:55: warning: data definition has no type or storage class fs/seq_file.c:55: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:55: warning: parameter names (without types) in function declaration fs/seq_file.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'seq_read' fs/seq_file.c:180: warning: data definition has no type or storage class fs/seq_file.c:180: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:180: warning: parameter names (without types) in function declaration fs/seq_file.c:182: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c:182: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'traverse': mm/rmap.c:421: warning: passing argument 2 of 'page_referenced_anon' from incompatible pointer type CC mm/vmalloc.o fs/seq_file.c:184: error: 'loff_t' undeclared (first use in this function) fs/seq_file.c:184: error: expected ';' before 'pos' fs/seq_file.c:185: warning: ISO C90 forbids mixed declarations and code fs/seq_file.c:188: error: dereferencing pointer to incomplete type fs/seq_file.c:189: error: 'index' undeclared (first use in this function) fs/seq_file.c:190: error: dereferencing pointer to incomplete type fs/seq_file.c:190: error: dereferencing pointer to incomplete type fs/seq_file.c:191: error: 'offset' undeclared (first use in this function) fs/seq_file.c:192: error: dereferencing pointer to incomplete type fs/seq_file.c:195: error: dereferencing pointer to incomplete type fs/seq_file.c:196: error: dereferencing pointer to incomplete type fs/seq_file.c:196: error: dereferencing pointer to incomplete type fs/seq_file.c:196: error: 'PAGE_SIZE' undeclared (first use in this function) fs/seq_file.c:196: error: 'GFP_KERNEL' undeclared (first use in this function) fs/seq_file.c:197: error: dereferencing pointer to incomplete type fs/seq_file.c:198: error: 'ENOMEM' undeclared (first use in this function) fs/seq_file.c:200: error: dereferencing pointer to incomplete type fs/seq_file.c:202: error: implicit declaration of function 'PTR_ERR' fs/seq_file.c:203: error: implicit declaration of function 'IS_ERR' fs/seq_file.c:205: error: dereferencing pointer to incomplete type fs/seq_file.c:208: error: implicit declaration of function 'unlikely' fs/seq_file.c:210: error: dereferencing pointer to incomplete type fs/seq_file.c:212: error: dereferencing pointer to incomplete type fs/seq_file.c:212: error: dereferencing pointer to incomplete type fs/seq_file.c:214: error: 'pos' undeclared (first use in this function) fs/seq_file.c:214: error: dereferencing pointer to incomplete type fs/seq_file.c:215: error: dereferencing pointer to incomplete type fs/seq_file.c:216: error: dereferencing pointer to incomplete type fs/seq_file.c:216: error: dereferencing pointer to incomplete type fs/seq_file.c:217: error: dereferencing pointer to incomplete type fs/seq_file.c:220: error: dereferencing pointer to incomplete type fs/seq_file.c:221: error: dereferencing pointer to incomplete type fs/seq_file.c:224: error: dereferencing pointer to incomplete type fs/seq_file.c:227: error: dereferencing pointer to incomplete type fs/seq_file.c:229: error: dereferencing pointer to incomplete type fs/seq_file.c:233: error: dereferencing pointer to incomplete type fs/seq_file.c:234: error: implicit declaration of function 'kfree' fs/seq_file.c:234: error: dereferencing pointer to incomplete type fs/seq_file.c:235: error: dereferencing pointer to incomplete type fs/seq_file.c:235: error: dereferencing pointer to incomplete type fs/seq_file.c:236: error: dereferencing pointer to incomplete type fs/seq_file.c:236: error: 'EAGAIN' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'seq_lseek' fs/seq_file.c:279: warning: data definition has no type or storage class fs/seq_file.c:279: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:279: warning: parameter names (without types) in function declaration fs/seq_file.c:289: warning: 'struct file' declared inside parameter list fs/seq_file.c:289: warning: 'struct inode' declared inside parameter list fs/seq_file.c: In function 'seq_release': fs/seq_file.c:291: error: dereferencing pointer to incomplete type fs/seq_file.c:292: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:296: warning: data definition has no type or storage class fs/seq_file.c:296: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:296: warning: parameter names (without types) in function declaration fs/seq_file.c:308: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_escape': fs/seq_file.c:310: error: dereferencing pointer to incomplete type fs/seq_file.c:310: error: dereferencing pointer to incomplete type fs/seq_file.c:314: error: dereferencing pointer to incomplete type fs/seq_file.c:314: error: dereferencing pointer to incomplete type fs/seq_file.c:315: error: implicit declaration of function 'strchr' fs/seq_file.c:326: error: dereferencing pointer to incomplete type fs/seq_file.c:326: error: dereferencing pointer to incomplete type fs/seq_file.c:329: error: dereferencing pointer to incomplete type fs/seq_file.c:329: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:332: warning: data definition has no type or storage class fs/seq_file.c:332: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:332: warning: parameter names (without types) in function declaration fs/seq_file.c:334: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_printf': fs/seq_file.c:336: error: 'va_list' undeclared (first use in this function) fs/seq_file.c:336: error: expected ';' before 'args' fs/seq_file.c:337: warning: ISO C90 forbids mixed declarations and code fs/seq_file.c:339: error: dereferencing pointer to incomplete type fs/seq_file.c:339: error: dereferencing pointer to incomplete type fs/seq_file.c:340: error: implicit declaration of function 'va_start' fs/seq_file.c:340: error: 'args' undeclared (first use in this function) fs/seq_file.c:341: error: implicit declaration of function 'vsnprintf' fs/seq_file.c:341: error: dereferencing pointer to incomplete type fs/seq_file.c:341: error: dereferencing pointer to incomplete type fs/seq_file.c:341: error: dereferencing pointer to incomplete type fs/seq_file.c:341: error: dereferencing pointer to incomplete type fs/seq_file.c:342: error: implicit declaration of function 'va_end' fs/seq_file.c:343: error: dereferencing pointer to incomplete type fs/seq_file.c:343: error: dereferencing pointer to incomplete type fs/seq_file.c:344: error: dereferencing pointer to incomplete type fs/seq_file.c:348: error: dereferencing pointer to incomplete type fs/seq_file.c:348: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:351: warning: data definition has no type or storage class fs/seq_file.c:351: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:351: warning: parameter names (without types) in function declaration fs/seq_file.c: In function 'mangle_path': fs/seq_file.c:370: error: 'NULL' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:376: warning: 'struct path' declared inside parameter list fs/seq_file.c:376: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_path': fs/seq_file.c:378: error: dereferencing pointer to incomplete type fs/seq_file.c:378: error: dereferencing pointer to incomplete type fs/seq_file.c:379: error: dereferencing pointer to incomplete type fs/seq_file.c:379: error: dereferencing pointer to incomplete type fs/seq_file.c:380: error: implicit declaration of function 'd_path' fs/seq_file.c:380: error: dereferencing pointer to incomplete type fs/seq_file.c:380: error: dereferencing pointer to incomplete type fs/seq_file.c:380: warning: initialization makes pointer from integer without a cast fs/seq_file.c:384: error: dereferencing pointer to incomplete type fs/seq_file.c:384: error: dereferencing pointer to incomplete type fs/seq_file.c:385: error: dereferencing pointer to incomplete type fs/seq_file.c:385: error: dereferencing pointer to incomplete type fs/seq_file.c:390: error: dereferencing pointer to incomplete type fs/seq_file.c:390: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:393: warning: data definition has no type or storage class fs/seq_file.c:393: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:393: warning: parameter names (without types) in function declaration fs/seq_file.c:401: warning: 'struct path' declared inside parameter list fs/seq_file.c:401: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_path_root': fs/seq_file.c:403: error: 'ENAMETOOLONG' undeclared (first use in this function) fs/seq_file.c:404: error: dereferencing pointer to incomplete type fs/seq_file.c:404: error: dereferencing pointer to incomplete type fs/seq_file.c:405: error: dereferencing pointer to incomplete type fs/seq_file.c:405: error: dereferencing pointer to incomplete type fs/seq_file.c:408: error: implicit declaration of function 'spin_lock' fs/seq_file.c:408: error: 'dcache_lock' undeclared (first use in this function) fs/seq_file.c:409: error: implicit declaration of function '__d_path' fs/seq_file.c:409: error: dereferencing pointer to incomplete type fs/seq_file.c:409: error: dereferencing pointer to incomplete type fs/seq_file.c:409: warning: assignment makes pointer from integer without a cast fs/seq_file.c:410: error: implicit declaration of function 'spin_unlock' fs/seq_file.c:415: error: dereferencing pointer to incomplete type fs/seq_file.c:415: error: dereferencing pointer to incomplete type fs/seq_file.c:416: error: dereferencing pointer to incomplete type fs/seq_file.c:416: error: dereferencing pointer to incomplete type fs/seq_file.c:421: error: dereferencing pointer to incomplete type fs/seq_file.c:421: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:428: warning: 'struct dentry' declared inside parameter list fs/seq_file.c:428: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_dentry': fs/seq_file.c:430: error: dereferencing pointer to incomplete type fs/seq_file.c:430: error: dereferencing pointer to incomplete type fs/seq_file.c:431: error: dereferencing pointer to incomplete type fs/seq_file.c:431: error: dereferencing pointer to incomplete type fs/seq_file.c:432: error: implicit declaration of function 'dentry_path' fs/seq_file.c:432: error: dereferencing pointer to incomplete type fs/seq_file.c:432: error: dereferencing pointer to incomplete type fs/seq_file.c:432: warning: initialization makes pointer from integer without a cast fs/seq_file.c:436: error: dereferencing pointer to incomplete type fs/seq_file.c:436: error: dereferencing pointer to incomplete type fs/seq_file.c:437: error: dereferencing pointer to incomplete type fs/seq_file.c:437: error: dereferencing pointer to incomplete type fs/seq_file.c:442: error: dereferencing pointer to incomplete type fs/seq_file.c:442: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:446: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c:446: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'single_start': fs/seq_file.c:448: error: 'NULL' undeclared (first use in this function) fs/seq_file.c:448: error: 'pos' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:451: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c:451: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'single_next': fs/seq_file.c:453: error: 'pos' undeclared (first use in this function) fs/seq_file.c:454: error: 'NULL' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:457: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c:461: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c:462: warning: 'struct file' declared inside parameter list fs/seq_file.c: In function 'single_open': fs/seq_file.c:464: error: dereferencing pointer to incomplete type fs/seq_file.c:464: error: 'GFP_KERNEL' undeclared (first use in this function) fs/seq_file.c:464: warning: initialization makes pointer from integer without a cast fs/seq_file.c:465: error: 'ENOMEM' undeclared (first use in this function) fs/seq_file.c:468: error: dereferencing pointer to incomplete type fs/seq_file.c:469: error: dereferencing pointer to incomplete type fs/seq_file.c:470: error: dereferencing pointer to incomplete type fs/seq_file.c:471: error: dereferencing pointer to incomplete type fs/seq_file.c:472: warning: passing argument 1 of 'seq_open' from incompatible pointer type fs/seq_file.c:472: warning: passing argument 2 of 'seq_open' from incompatible pointer type fs/seq_file.c:474: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:480: warning: data definition has no type or storage class fs/seq_file.c:480: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:480: warning: parameter names (without types) in function declaration fs/seq_file.c:482: warning: 'struct file' declared inside parameter list fs/seq_file.c:482: warning: 'struct inode' declared inside parameter list fs/seq_file.c: In function 'single_release': fs/seq_file.c:484: error: dereferencing pointer to incomplete type fs/seq_file.c:485: warning: passing argument 1 of 'seq_release' from incompatible pointer type fs/seq_file.c:485: warning: passing argument 2 of 'seq_release' from incompatible pointer type fs/seq_file.c: At top level: fs/seq_file.c:489: warning: data definition has no type or storage class fs/seq_file.c:489: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:489: warning: parameter names (without types) in function declaration fs/seq_file.c:491: warning: 'struct file' declared inside parameter list fs/seq_file.c:491: warning: 'struct inode' declared inside parameter list fs/seq_file.c: In function 'seq_release_private': fs/seq_file.c:493: error: dereferencing pointer to incomplete type fs/seq_file.c:495: error: dereferencing pointer to incomplete type fs/seq_file.c:496: error: dereferencing pointer to incomplete type fs/seq_file.c:496: error: 'NULL' undeclared (first use in this function) fs/seq_file.c:497: warning: passing argument 1 of 'seq_release' from incompatible pointer type fs/seq_file.c:497: warning: passing argument 2 of 'seq_release' from incompatible pointer type fs/seq_file.c: At top level: fs/seq_file.c:499: warning: data definition has no type or storage class fs/seq_file.c:499: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:499: warning: parameter names (without types) in function declaration fs/seq_file.c:502: warning: 'struct seq_operations' declared inside parameter list fs/seq_file.c:502: warning: 'struct file' declared inside parameter list fs/seq_file.c: In function '__seq_open_private': fs/seq_file.c:508: error: implicit declaration of function 'kzalloc' fs/seq_file.c:508: error: 'GFP_KERNEL' undeclared (first use in this function) fs/seq_file.c:508: warning: assignment makes pointer from integer without a cast fs/seq_file.c:509: error: 'NULL' undeclared (first use in this function) fs/seq_file.c:512: warning: passing argument 1 of 'seq_open' from incompatible pointer type fs/seq_file.c:512: warning: passing argument 2 of 'seq_open' from incompatible pointer type fs/seq_file.c:516: error: dereferencing pointer to incomplete type fs/seq_file.c:517: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:525: warning: data definition has no type or storage class fs/seq_file.c:525: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:525: warning: parameter names (without types) in function declaration fs/seq_file.c:528: warning: 'struct seq_operations' declared inside parameter list fs/seq_file.c:528: warning: 'struct file' declared inside parameter list fs/seq_file.c: In function 'seq_open_private': fs/seq_file.c:530: warning: passing argument 1 of '__seq_open_private' from incompatible pointer type fs/seq_file.c:530: warning: passing argument 2 of '__seq_open_private' from incompatible pointer type fs/seq_file.c:530: error: 'ENOMEM' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:532: warning: data definition has no type or storage class fs/seq_file.c:532: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:532: warning: parameter names (without types) in function declaration fs/seq_file.c:534: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_putc': fs/seq_file.c:536: error: dereferencing pointer to incomplete type fs/seq_file.c:536: error: dereferencing pointer to incomplete type fs/seq_file.c:537: error: dereferencing pointer to incomplete type fs/seq_file.c:537: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:542: warning: data definition has no type or storage class fs/seq_file.c:542: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:542: warning: parameter names (without types) in function declaration fs/seq_file.c:544: warning: 'struct seq_file' declared inside parameter list fs/seq_file.c: In function 'seq_puts': fs/seq_file.c:546: error: implicit declaration of function 'strlen' fs/seq_file.c:547: error: dereferencing pointer to incomplete type fs/seq_file.c:547: error: dereferencing pointer to incomplete type fs/seq_file.c:548: error: implicit declaration of function 'memcpy' fs/seq_file.c:548: error: dereferencing pointer to incomplete type fs/seq_file.c:548: error: dereferencing pointer to incomplete type fs/seq_file.c:549: error: dereferencing pointer to incomplete type fs/seq_file.c:552: error: dereferencing pointer to incomplete type fs/seq_file.c:552: error: dereferencing pointer to incomplete type fs/seq_file.c: At top level: fs/seq_file.c:555: warning: data definition has no type or storage class fs/seq_file.c:555: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:555: warning: parameter names (without types) in function declaration fs/seq_file.c:557: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c: In function 'seq_list_start': fs/seq_file.c:561: error: implicit declaration of function 'list_for_each' fs/seq_file.c:562: error: expected ';' before 'if' fs/seq_file.c:565: error: 'NULL' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:568: warning: data definition has no type or storage class fs/seq_file.c:568: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:568: warning: parameter names (without types) in function declaration fs/seq_file.c:570: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c: In function 'seq_list_start_head': fs/seq_file.c:572: error: 'pos' undeclared (first use in this function) fs/seq_file.c:575: error: too many arguments to function 'seq_list_start' fs/seq_file.c: At top level: fs/seq_file.c:578: warning: data definition has no type or storage class fs/seq_file.c:578: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:578: warning: parameter names (without types) in function declaration fs/seq_file.c:580: error: expected declaration specifiers or '...' before 'loff_t' fs/seq_file.c: In function 'seq_list_next': fs/seq_file.c:584: error: dereferencing pointer to incomplete type fs/seq_file.c:585: error: 'ppos' undeclared (first use in this function) fs/seq_file.c:586: error: 'NULL' undeclared (first use in this function) fs/seq_file.c: At top level: fs/seq_file.c:589: warning: data definition has no type or storage class fs/seq_file.c:589: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/seq_file.c:589: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory fs/xattr.c:10:22: error: linux/fs.h: No such file or directory fs/xattr.c:11:24: error: linux/slab.h: No such file or directory fs/xattr.c:12:24: error: linux/file.h: No such file or directory fs/xattr.c:13:25: error: linux/xattr.h: No such file or directory fs/xattr.c:14:25: error: linux/mount.h: No such file or directory fs/xattr.c:15:25: error: linux/namei.h: No such file or directory fs/xattr.c:16:28: error: linux/security.h: No such file or directory fs/xattr.c:17:28: error: linux/syscalls.h: No such file or directory fs/xattr.c:18:26: error: linux/module.h: No such file or directory fs/xattr.c:19:28: error: linux/fsnotify.h: No such file or directory fs/xattr.c:20:25: error: linux/audit.h: No such file or directory fs/xattr.c:21:25: error: asm/uaccess.h: No such file or directory fs/xattr.c:29: warning: 'struct inode' declared inside parameter list fs/xattr.c:29: warning: its scope is only this definition or declaration, which is probably not what you want fs/xattr.c: In function 'xattr_permission': fs/xattr.c:35: error: 'MAY_WRITE' undeclared (first use in this function) make[1]: fs/xattr.c:35: error: (Each undeclared identifier is reported only once *** [fs/seq_file.o] Error 1fs/xattr.c:35: error: for each function it appears in.) kernel/hrtimer.c:1407: warning: passing argument 1 of 'hrtimer_get_softirq_time' from incompatible pointer type kernel/hrtimer.c:1411: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1413: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1416: error: expected expression before 'struct' kernel/hrtimer.c:1416: warning: assignment makes pointer from integer without a cast kernel/hrtimer.c:1417: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1417: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1420: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1420: error: 'HRTIMER_CB_SOFTIRQ' undeclared (first use in this function) kernel/hrtimer.c:1422: error: 'HRTIMER_STATE_PENDING' undeclared (first use in this function) kernel/hrtimer.c:1422: warning: passing argument 1 of '__remove_hrtimer' from incompatible pointer type kernel/hrtimer.c:1423: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1424: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1428: warning: passing argument 1 of '__run_hrtimer' from incompatible pointer type kernel/hrtimer.c:1430: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:1437: warning: 'struct hrtimer' declared inside parameter list kernel/hrtimer.c:1438: error: return type is an incomplete type kernel/hrtimer.c: In function 'hrtimer_wakeup': kernel/hrtimer.c:1440: error: implicit declaration of function 'container_of' kernel/hrtimer.c:1440: error: expected expression before 'struct' kernel/hrtimer.c:1440: warning: initialization makes pointer from integer without a cast kernel/hrtimer.c:1441: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1443: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1443: error: 'NULL' undeclared (first use in this function) kernel/hrtimer.c:1445: error: implicit declaration of function 'wake_up_process' kernel/hrtimer.c:1447: error: 'HRTIMER_NORESTART' undeclared (first use in this function) kernel/hrtimer.c:1447: warning: 'return' with a value, in function returning void kernel/hrtimer.c: At top level: kernel/hrtimer.c:1450: warning: 'struct task_struct' declared inside parameter list kernel/hrtimer.c:1450: warning: 'struct hrtimer_sleeper' declared inside parameter list kernel/hrtimer.c: In function 'hrtimer_init_sleeper': kernel/hrtimer.c:1452: error: dereferencing pointer to incomplete type kernel/hrtimer.c:1453: error: dereferencing pointer to incomplete type kernel/hrtimer.c: At top level: kernel/hrtimer.c:1459: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_nanosleep' kernel/hrtimer.c:1482: error: expected ';', ',' or ')' before '*' token kernel/hrtimer.c:1498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_nanosleep_restart' kernel/hrtimer.c:1525: error: expected ';', ',' or ')' before '*' token kernel/hrtimer.c:1561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/hrtimer.c:1578: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_hrtimers_cpu' kernel/hrtimer.c:1640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimer_cpu_notify' kernel/hrtimer.c:1667: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimers_nb' kernel/hrtimer.c:1671: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hrtimers_init' cc1: error: include/linux/autoconf.h: No such file or directory mm/vmalloc.c:11:22: error: linux/mm.h: No such file or directory mm/vmalloc.c:12:26: error: linux/module.h: No such file or directory mm/vmalloc.c:13:27: error: linux/highmem.h: No such file or directory mm/vmalloc.c:14:24: error: linux/slab.h: No such file or directory mm/vmalloc.c:15:28: error: linux/spinlock.h: No such file or directory mm/vmalloc.c:16:29: error: linux/interrupt.h: No such file or directory mm/vmalloc.c:17:28: error: linux/seq_file.h: No such file or directory mm/vmalloc.c:18:32: error: linux/debugobjects.h: No such file or directory mm/vmalloc.c:19:27: error: linux/vmalloc.h: No such file or directory mm/vmalloc.c:20:28: error: linux/kallsyms.h: No such file or directory mm/vmalloc.c:22:25: error: asm/uaccess.h: No such file or directory mm/vmalloc.c:23:26: error: asm/tlbflush.h: No such file or directory mm/vmalloc.c:26: warning: data definition has no type or storage class mm/vmalloc.c:26: warning: type defaults to 'int' in declaration of 'DEFINE_RWLOCK' mm/vmalloc.c:26: warning: parameter names (without types) in function declaration mm/vmalloc.c:29: error: expected declaration specifiers or '...' before 'gfp_t' CC kernel/rwsem.o mm/rmap.c:423: warning: passing argument 1 of 'page_referenced_file' from incompatible pointer type mm/rmap.c:423: warning: passing argument 2 of 'page_referenced_file' from incompatible pointer type mm/rmap.c:424: error: implicit declaration of function 'TestSetPageLocked' mm/rmap.c:427: error: dereferencing pointer to incomplete type mm/rmap.c:429: warning: passing argument 1 of 'page_referenced_file' from incompatible pointer type mm/rmap.c:429: warning: passing argument 2 of 'page_referenced_file' from incompatible pointer type mm/rmap.c:430: error: implicit declaration of function 'unlock_page' mm/rmap.c:434: error: implicit declaration of function 'page_test_and_clear_young' mm/rmap.c: At top level: mm/rmap.c:440: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:440: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_mkclean_one': mm/rmap.c:442: error: dereferencing pointer to incomplete type mm/rmap.c:444: error: 'pte_t' undeclared (first use in this function) mm/rmap.c:444: error: 'pte' undeclared (first use in this function) mm/rmap.c:445: error: 'spinlock_t' undeclared (first use in this function) mm/rmap.c:445: error: 'ptl' undeclared (first use in this function) mm/rmap.c:446: warning: ISO C90 forbids mixed declarations and code mm/rmap.c:448: warning: passing argument 1 of 'vma_address' from incompatible pointer type mm/rmap.c:448: warning: passing argument 2 of 'vma_address' from incompatible pointer type mm/rmap.c:449: error: 'EFAULT' undeclared (first use in this function) mm/rmap.c:456: error: implicit declaration of function 'pte_dirty' mm/rmap.c:456: error: implicit declaration of function 'pte_write' mm/rmap.c:457: error: expected ';' before 'entry' mm/rmap.c:459: error: implicit declaration of function 'flush_cache_page' mm/rmap.c:459: error: implicit declaration of function 'pte_pfn' mm/rmap.c:460: error: 'entry' undeclared (first use in this function) mm/rmap.c:460: error: implicit declaration of function 'ptep_clear_flush' mm/rmap.c:461: error: implicit declaration of function 'pte_wrprotect' mm/rmap.c:462: error: implicit declaration of function 'pte_mkclean' mm/rmap.c:463: error: implicit declaration of function 'set_pte_at' mm/rmap.c: At top level: mm/rmap.c:472: warning: 'struct page' declared inside parameter list mm/rmap.c:472: warning: 'struct address_space' declared inside parameter list mm/rmap.c: In function 'page_mkclean_file': mm/rmap.c:474: error: 'pgoff_t' undeclared (first use in this function) mm/rmap.c:474: error: expected ';' before 'pgoff' mm/rmap.c:475: warning: ISO C90 forbids mixed declarations and code mm/rmap.c:476: error: storage size of 'iter' isn't known mm/rmap.c:481: error: dereferencing pointer to incomplete type mm/rmap.c:482: error: dereferencing pointer to incomplete type mm/rmap.c:482: error: 'pgoff' undeclared (first use in this function) mm/rmap.c:482: error: expected ';' before '{' token mm/rmap.c:476: warning: unused variable 'iter' mm/rmap.c: At top level: mm/rmap.c:490: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_mkclean': mm/rmap.c:497: error: implicit declaration of function 'page_mapping' mm/rmap.c:497: warning: initialization makes pointer from integer without a cast mm/rmap.c:499: warning: passing argument 1 of 'page_mkclean_file' from incompatible pointer type mm/rmap.c:499: warning: passing argument 2 of 'page_mkclean_file' from incompatible pointer type mm/rmap.c:500: error: implicit declaration of function 'page_test_dirty' mm/rmap.c:501: error: implicit declaration of function 'page_clear_dirty' mm/rmap.c: At top level: mm/rmap.c:509: warning: data definition has no type or storage class mm/rmap.c:509: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/rmap.c:509: warning: parameter names (without types) in function declaration mm/rmap.c:518: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:518: warning: 'struct page' declared inside parameter list mm/rmap.c: In function '__page_set_anon_rmap': mm/rmap.c:520: error: dereferencing pointer to incomplete type mm/rmap.c:523: error: 'PAGE_MAPPING_ANON' undeclared (first use in this function) mm/rmap.c:524: error: dereferencing pointer to incomplete type mm/rmap.c:526: error: dereferencing pointer to incomplete type mm/rmap.c:526: error: implicit declaration of function 'linear_page_index' mm/rmap.c:532: error: implicit declaration of function '__inc_zone_page_state' mm/rmap.c:532: error: 'NR_ANON_PAGES' undeclared (first use in this function) mm/rmap.c: At top level: mm/rmap.c:542: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:542: warning: 'struct page' declared inside parameter list mm/rmap.c:573: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:573: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_add_anon_rmap': mm/rmap.c:575: error: implicit declaration of function 'VM_BUG_ON' mm/rmap.c:576: error: dereferencing pointer to incomplete type mm/rmap.c:576: error: dereferencing pointer to incomplete type mm/rmap.c:577: error: implicit declaration of function 'atomic_inc_and_test' mm/rmap.c:577: error: dereferencing pointer to incomplete type mm/rmap.c:578: warning: passing argument 1 of '__page_set_anon_rmap' from incompatible pointer type mm/rmap.c:578: warning: passing argument 2 of '__page_set_anon_rmap' from incompatible pointer type fs/xattr.c:36: error: implicit declaration of function 'IS_IMMUTABLE' fs/xattr.c:36: error: implicit declaration of function 'IS_APPEND' fs/xattr.c:37: error: 'EPERM' undeclared (first use in this function) fs/xattr.c:44: error: implicit declaration of function 'strncmp' fs/xattr.c:44: error: 'XATTR_SECURITY_PREFIX' undeclared (first use in this function) fs/xattr.c:44: error: 'XATTR_SECURITY_PREFIX_LEN' undeclared (first use in this function) fs/xattr.c:45: error: 'XATTR_SYSTEM_PREFIX' undeclared (first use in this function) fs/xattr.c:45: error: 'XATTR_SYSTEM_PREFIX_LEN' undeclared (first use in this function) fs/xattr.c:51: error: 'XATTR_TRUSTED_PREFIX' undeclared (first use in this function) fs/xattr.c:51: error: 'XATTR_TRUSTED_PREFIX_LEN' undeclared (first use in this function) fs/xattr.c:52: error: implicit declaration of function 'capable' fs/xattr.c:52: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) fs/xattr.c:58: error: 'XATTR_USER_PREFIX' undeclared (first use in this function) fs/xattr.c:58: error: 'XATTR_USER_PREFIX_LEN' undeclared (first use in this function) fs/xattr.c:59: error: implicit declaration of function 'S_ISREG' fs/xattr.c:59: error: dereferencing pointer to incomplete type fs/xattr.c:59: error: implicit declaration of function 'S_ISDIR' fs/xattr.c:59: error: dereferencing pointer to incomplete type fs/xattr.c:61: error: dereferencing pointer to incomplete type fs/xattr.c:61: error: dereferencing pointer to incomplete type fs/xattr.c:61: error: 'S_ISVTX' undeclared (first use in this function) fs/xattr.c:62: error: implicit declaration of function 'is_owner_or_cap' fs/xattr.c:66: error: implicit declaration of function 'permission' fs/xattr.c:66: error: 'NULL' undeclared (first use in this function) fs/xattr.c: At top level: fs/xattr.c:71: error: expected declaration specifiers or '...' before 'size_t' fs/xattr.c:71: warning: 'struct dentry' declared inside parameter list fs/xattr.c: In function 'vfs_setxattr': fs/xattr.c:73: error: dereferencing pointer to incomplete type fs/xattr.c:76: error: 'MAY_WRITE' undeclared (first use in this function) fs/xattr.c:76: warning: passing argument 1 of 'xattr_permission' from incompatible pointer type fs/xattr.c:80: error: implicit declaration of function 'mutex_lock' fs/xattr.c:80: error: dereferencing pointer to incomplete type fs/xattr.c:81: error: implicit declaration of function 'security_inode_setxattr' fs/xattr.c:81: error: 'size' undeclared (first use in this function) fs/xattr.c:84: error: 'EOPNOTSUPP' undeclared (first use in this function) fs/xattr.c:85: error: dereferencing pointer to incomplete type fs/xattr.c:86: error: dereferencing pointer to incomplete type fs/xattr.c:88: error: implicit declaration of function 'fsnotify_xattr' fs/xattr.c:89: error: implicit declaration of function 'security_inode_post_setxattr' fs/xattr.c:92: error: 'XATTR_SECURITY_PREFIX' undeclared (first use in this function) fs/xattr.c:93: error: 'XATTR_SECURITY_PREFIX_LEN' undeclared (first use in this function) fs/xattr.c:95: error: implicit declaration of function 'security_inode_setsecurity' fs/xattr.c:101: error: implicit declaration of function 'mutex_unlock' fs/xattr.c:101: error: dereferencing pointer to incomplete type fs/xattr.c: At top level: fs/xattr.c:104: warning: data definition has no type or storage class fs/xattr.c:104: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/xattr.c:104: warning: parameter names (without types) in function declaration fs/xattr.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xattr_getsecurity' fs/xattr.c:131: warning: data definition has no type or storage class fs/xattr.c:131: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/xattr.c:131: warning: parameter names (without types) in function declaration fs/xattr.c:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_getxattr' fs/xattr.c:167: warning: data definition has no type or storage class fs/xattr.c:167: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/xattr.c:167: warning: parameter names (without types) in function declaration fs/xattr.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfs_listxattr' fs/xattr.c:187: warning: data definition has no type or storage class fs/xattr.c:187: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/xattr.c:187: warning: parameter names (without types) in function declaration fs/xattr.c:190: warning: 'struct dentry' declared inside parameter list fs/xattr.c: In function 'vfs_removexattr': fs/xattr.c:192: error: dereferencing pointer to incomplete type fs/xattr.c:195: error: dereferencing pointer to incomplete type fs/xattr.c:196: error: 'EOPNOTSUPP' undeclared (first use in this function) fs/xattr.c:198: error: 'MAY_WRITE' undeclared (first use in this function) fs/xattr.c:198: warning: passing argument 1 of 'xattr_permission' from incompatible pointer type mm/vmalloc.c:29: error: expected declaration specifiers or '...' before 'pgprot_t' mm/rmap.c:580: warning: passing argument 1 of '__page_check_anon_rmap' from incompatible pointer type mm/rmap.c:580: warning: passing argument 2 of '__page_check_anon_rmap' from incompatible pointer type fs/xattr.c:202: error: implicit declaration of function 'security_inode_removexattr'mm/rmap.c:585: error: implicit declaration of function 'mem_cgroup_uncharge_page' mm/vmalloc.c:32: error: expected ')' before '*' token mm/vmalloc.c:43: error: expected ')' before '*' token fs/xattr.c:206: error: dereferencing pointer to incomplete type mm/rmap.c: At top level: mm/rmap.c:600: warning: 'struct vm_area_struct' declared inside parameter list mm/vmalloc.c:58: error: expected ')' before '*' tokenfs/xattr.c:207: error: dereferencing pointer to incomplete type fs/xattr.c:208: error: dereferencing pointer to incomplete type fs/xattr.c: At top level: fs/xattr.c:214: warning: data definition has no type or storage class fs/xattr.c:214: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/xattr.c:214: warning: parameter names (without types) in function declaration fs/xattr.c:221: error: expected ';', ',' or ')' before '*' token fs/xattr.c:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c:273: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c:318: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getxattr' fs/xattr.c:352: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:382: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:401: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'listxattr' fs/xattr.c:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:455: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t' fs/xattr.c:474: error: expected ';', ',' or ')' before '*' token fs/xattr.c:488: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c:506: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c:524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/xattr.c: In function 'strcmp_prefix': fs/xattr.c:553: error: 'NULL' undeclared (first use in this function) fs/xattr.c: In function 'xattr_resolve_name': fs/xattr.c:579: error: 'NULL' undeclared (first use in this function) fs/xattr.c:582: error: dereferencing pointer to incomplete type fs/xattr.c: At top level: fs/xattr.c:595: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_getxattr' fs/xattr.c:611: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_listxattr' fs/xattr.c:639: error: expected declaration specifiers or '...' before 'size_t' fs/xattr.c:639: warning: 'struct dentry' declared inside parameter list fs/xattr.c: In function 'generic_setxattr': fs/xattr.c:642: error: dereferencing pointer to incomplete type fs/xattr.c:644: error: 'size' undeclared (first use in this function) fs/xattr.c:646: error: dereferencing pointer to incomplete type fs/xattr.c:648: error: 'EOPNOTSUPP' undeclared (first use in this function) fs/xattr.c:649: error: dereferencing pointer to incomplete type fs/xattr.c: At top level: fs/xattr.c:657: warning: 'struct dentry' declared inside parameter list fs/xattr.c: In function 'generic_removexattr': fs/xattr.c:660: error: dereferencing pointer to incomplete type fs/xattr.c:662: error: dereferencing pointer to incomplete type fs/xattr.c:664: error: 'EOPNOTSUPP' undeclared (first use in this function) fs/xattr.c:665: error: dereferencing pointer to incomplete type fs/xattr.c:665: error: 'NULL' undeclared (first use in this function) fs/xattr.c:665: error: 'XATTR_REPLACE' undeclared (first use in this function) fs/xattr.c: At top level: fs/xattr.c:668: warning: data definition has no type or storage class fs/xattr.c:668: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/xattr.c:668: warning: parameter names (without types) in function declaration fs/xattr.c:669: warning: data definition has no type or storage class fs/xattr.c:669: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/xattr.c:669: warning: parameter names (without types) in function declaration fs/xattr.c:670: warning: data definition has no type or storage class fs/xattr.c:670: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/xattr.c:670: warning: parameter names (without types) in function declaration fs/xattr.c:671: warning: data definition has no type or storage class fs/xattr.c:671: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/xattr.c:671: warning: parameter names (without types) in function declaration mm/rmap.c:600: warning: 'struct page' declared inside parameter list mm/vmalloc.c: In function 'unmap_kernel_range': mm/vmalloc.c:75: error: 'pgd_t' undeclared (first use in this function) mm/vmalloc.c:75: error: (Each undeclared identifier is reported only once mm/vmalloc.c:75: error: for each function it appears in.) mm/vmalloc.c:75: error: 'pgd' undeclared (first use in this function) mm/vmalloc.c:76: warning: ISO C90 forbids mixed declarations and code mm/vmalloc.c:80: error: implicit declaration of function 'BUG_ON' make[1]: *** [fs/xattr.o] Error 1 mm/vmalloc.c:81: error: implicit declaration of function 'pgd_offset_k' mm/vmalloc.c:82: error: implicit declaration of function 'flush_cache_vunmap' mm/vmalloc.c:84: error: implicit declaration of function 'pgd_addr_end' mm/vmalloc.c:85: error: implicit declaration of function 'pgd_none_or_clear_bad' make[1]: mm/vmalloc.c:87: error: implicit declaration of function 'vunmap_pud_range' mm/vmalloc.c:88: warning: left-hand operand of comma expression has no effect mm/vmalloc.c:88: warning: value computed is not used mm/vmalloc.c:89: error: implicit declaration of function 'flush_tlb_kernel_range' mm/vmalloc.c: In function 'unmap_vm_area': mm/vmalloc.c:94: error: dereferencing pointer to incomplete type mm/vmalloc.c:94: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:97: error: expected ')' before '*' token mm/vmalloc.c:116: error: expected ')' before '*' token mm/vmalloc.c:133: error: expected ')' before '*' token mm/vmalloc.c:150: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c:150: warning: 'struct page' declared inside parameter list mm/vmalloc.c:150: warning: its scope is only this definition or declaration, which is probably not what you want mm/vmalloc.c: In function 'map_vm_area': mm/vmalloc.c:152: error: 'pgd_t' undeclared (first use in this function) mm/vmalloc.c:152: error: 'pgd' undeclared (first use in this function) mm/vmalloc.c:153: warning: ISO C90 forbids mixed declarations and code mm/vmalloc.c:154: error: dereferencing pointer to incomplete type mm/vmalloc.c:155: error: dereferencing pointer to incomplete type mm/vmalloc.c:155: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c:162: error: implicit declaration of function 'vmap_pud_range' mm/vmalloc.c:162: error: 'prot' undeclared (first use in this function) mm/vmalloc.c:165: warning: left-hand operand of comma expression has no effect mm/vmalloc.c:165: warning: value computed is not used mm/vmalloc.c:166: error: implicit declaration of function 'flush_cache_vmap' mm/vmalloc.c:166: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:169: warning: data definition has no type or storage class mm/vmalloc.c:169: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/vmalloc.c:169: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_to_page': mm/vmalloc.c:177: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:178: error: 'pgd_t' undeclared (first use in this function) mm/vmalloc.c:178: error: 'pgd' undeclared (first use in this function) mm/vmalloc.c:179: error: 'pud_t' undeclared (first use in this function) mm/vmalloc.c:179: error: 'pud' undeclared (first use in this function) mm/vmalloc.c:180: error: 'pmd_t' undeclared (first use in this function) mm/vmalloc.c:180: error: 'pmd' undeclared (first use in this function) mm/vmalloc.c:181: error: 'pte_t' undeclared (first use in this function) mm/vmalloc.c:181: error: 'ptep' undeclared (first use in this function) mm/vmalloc.c:181: error: 'pte' undeclared (first use in this function) mm/vmalloc.c:181: warning: left-hand operand of comma expression has no effect mm/vmalloc.c:183: error: implicit declaration of function 'pgd_none' mm/vmalloc.c:184: error: implicit declaration of function 'pud_offset' mm/vmalloc.c:185: error: implicit declaration of function 'pud_none' mm/vmalloc.c:186: error: implicit declaration of function 'pmd_offset' mm/vmalloc.c:187: error: implicit declaration of function 'pmd_none' mm/vmalloc.c:188: error: implicit declaration of function 'pte_offset_map' mm/vmalloc.c:190: error: implicit declaration of function 'pte_present' mm/vmalloc.c:191: error: implicit declaration of function 'pte_page' mm/vmalloc.c:191: warning: assignment makes pointer from integer without a cast mm/vmalloc.c:192: error: implicit declaration of function 'pte_unmap' mm/vmalloc.c: At top level: mm/vmalloc.c:198: warning: data definition has no type or storage class mm/vmalloc.c:198: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:198: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_to_pfn': mm/vmalloc.c:205: error: implicit declaration of function 'page_to_pfn' mm/vmalloc.c: At top level: mm/vmalloc.c:207: warning: data definition has no type or storage class mm/vmalloc.c:207: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:207: warning: parameter names (without types) in function declaration mm/vmalloc.c:211: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c: In function '__get_vm_area_node': mm/vmalloc.c:217: error: implicit declaration of function 'in_interrupt' mm/vmalloc.c:218: error: 'VM_IOREMAP' undeclared (first use in this function) mm/vmalloc.c:219: error: implicit declaration of function 'fls' mm/vmalloc.c:221: error: 'IOREMAP_MAX_ORDER' undeclared (first use in this function) mm/vmalloc.c:223: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/vmalloc.c:228: error: implicit declaration of function 'ALIGN' mm/vmalloc.c:229: error: implicit declaration of function 'PAGE_ALIGN' mm/vmalloc.c:230: error: implicit declaration of function 'unlikely' mm/vmalloc.c:231: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:233: error: implicit declaration of function 'kmalloc_node' mm/vmalloc.c:233: error: dereferencing pointer to incomplete type mm/vmalloc.c:233: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:233: error: 'GFP_RECLAIM_MASK' undeclared (first use in this function) mm/vmalloc.c:233: warning: assignment makes pointer from integer without a cast mm/vmalloc.c:241: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c:243: error: implicit declaration of function 'write_lock' mm/vmalloc.c:243: error: 'vmlist_lock' undeclared (first use in this function) mm/vmalloc.c:244: error: dereferencing pointer to incomplete type mm/vmalloc.c:245: error: dereferencing pointer to incomplete type mm/vmalloc.c:246: error: dereferencing pointer to incomplete type mm/vmalloc.c:246: error: dereferencing pointer to incomplete type mm/vmalloc.c:247: error: dereferencing pointer to incomplete type mm/vmalloc.c:248: error: dereferencing pointer to incomplete type mm/vmalloc.c:253: error: dereferencing pointer to incomplete type mm/vmalloc.c:255: error: dereferencing pointer to incomplete type mm/vmalloc.c:255: error: dereferencing pointer to incomplete type mm/vmalloc.c:265: error: dereferencing pointer to incomplete type *** [kernel/hrtimer.o] Error 1 CC fs/libfs.o mm/vmalloc.c:268: error: dereferencing pointer to incomplete type mm/vmalloc.c:269: error: dereferencing pointer to incomplete type mm/vmalloc.c:270: error: dereferencing pointer to incomplete type mm/vmalloc.c:271: error: dereferencing pointer to incomplete type mm/vmalloc.c:272: error: dereferencing pointer to incomplete type mm/vmalloc.c:273: error: dereferencing pointer to incomplete type mm/vmalloc.c:274: error: dereferencing pointer to incomplete type mm/vmalloc.c:275: error: implicit declaration of function 'write_unlock' mm/vmalloc.c:281: error: implicit declaration of function 'kfree' mm/vmalloc.c:282: error: implicit declaration of function 'printk_ratelimit' mm/vmalloc.c:283: error: implicit declaration of function 'printk' mm/vmalloc.c:283: error: 'KERN_WARNING' undeclared (first use in this function) mm/vmalloc.c:283: error: expected ')' before string constant mm/vmalloc.c: In function '__get_vm_area': mm/vmalloc.c:290: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:291: error: too many arguments to function '__get_vm_area_node' mm/vmalloc.c: At top level: mm/vmalloc.c:293: warning: data definition has no type or storage class mm/vmalloc.c:293: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/vmalloc.c:293: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'get_vm_area': mm/vmalloc.c:306: error: 'VMALLOC_START' undeclared (first use in this function) mm/vmalloc.c:306: error: 'VMALLOC_END' undeclared (first use in this function) mm/vmalloc.c:307: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:307: error: too many arguments to function '__get_vm_area_node' mm/vmalloc.c: In function 'get_vm_area_caller': mm/vmalloc.c:313: error: 'VMALLOC_START' undeclared (first use in this function) mm/vmalloc.c:313: error: 'VMALLOC_END' undeclared (first use in this function) mm/vmalloc.c:314: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:314: error: too many arguments to function '__get_vm_area_node' mm/vmalloc.c: At top level: mm/vmalloc.c:318: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c: In function 'get_vm_area_node': mm/vmalloc.c:320: error: 'VMALLOC_START' undeclared (first use in this function) mm/vmalloc.c:320: error: 'VMALLOC_END' undeclared (first use in this function) mm/vmalloc.c:321: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:321: error: too many arguments to function '__get_vm_area_node' mm/vmalloc.c: In function '__find_vm_area': mm/vmalloc.c:329: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:329: error: dereferencing pointer to incomplete type mm/vmalloc.c:330: error: dereferencing pointer to incomplete type mm/vmalloc.c: In function '__remove_vm_area': mm/vmalloc.c:342: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:342: error: dereferencing pointer to incomplete type mm/vmalloc.c:343: error: dereferencing pointer to incomplete type mm/vmalloc.c:350: error: dereferencing pointer to incomplete type mm/vmalloc.c:355: error: dereferencing pointer to incomplete type mm/vmalloc.c:355: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c: In function 'remove_vm_area': mm/vmalloc.c:370: error: 'vmlist_lock' undeclared (first use in this function) mm/vmalloc.c: In function '__vunmap': mm/vmalloc.c:383: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c:384: error: 'KERN_ERR' undeclared (first use in this function) mm/vmalloc.c:384: error: expected ')' before string constant mm/vmalloc.c:385: error: implicit declaration of function 'WARN_ON' mm/vmalloc.c:391: error: expected ')' before string constant mm/rmap.c: In function 'page_add_new_anon_rmap': mm/rmap.c:602: error: dereferencing pointer to incomplete type mm/rmap.c:602: error: dereferencing pointer to incomplete type mm/rmap.c:603: error: implicit declaration of function 'atomic_set' mm/rmap.c:603: error: dereferencing pointer to incomplete type mm/rmap.c:604: warning: passing argument 1 of '__page_set_anon_rmap' from incompatible pointer type mm/rmap.c:604: warning: passing argument 2 of '__page_set_anon_rmap' from incompatible pointer type mm/rmap.c: At top level: mm/rmap.c:613: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'page_add_file_rmap': CC fs/fs-writeback.o mm/vmalloc.c:397: error: implicit declaration of function 'debug_check_no_locks_freed' cc1: error: include/linux/autoconf.h: No such file or directory mm/vmalloc.c:397: error: dereferencing pointer to incomplete type mm/vmalloc.c:398: error: implicit declaration of function 'debug_check_no_obj_freed' mm/vmalloc.c:398: error: dereferencing pointer to incomplete type mm/vmalloc.c:403: error: dereferencing pointer to incomplete type mm/vmalloc.c:404: error: dereferencing pointer to incomplete type mm/vmalloc.c:407: error: implicit declaration of function '__free_page' mm/vmalloc.c:410: error: dereferencing pointer to incomplete type kernel/rwsem.c:7:25: error: linux/types.h: No such file or directory kernel/rwsem.c:8:26: error: linux/kernel.h: No such file or directory kernel/rwsem.c:9:25: error: linux/sched.h: No such file or directory kernel/rwsem.c:10:26: error: linux/module.h: No such file or directory kernel/rwsem.c:11:25: error: linux/rwsem.h: No such file or directory kernel/rwsem.c:13:24: error: asm/system.h: No such file or directory kernel/rwsem.c:14:24: error: asm/atomic.h: No such file or directory kernel/rwsem.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'down_read' kernel/rwsem.c:27: warning: data definition has no type or storage class kernel/rwsem.c:27: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:27: warning: parameter names (without types) in function declaration kernel/rwsem.c:32: warning: 'struct rw_semaphore' declared inside parameter list kernel/rwsem.c:32: warning: its scope is only this definition or declaration, which is probably not what you want kernel/rwsem.c: In function 'down_read_trylock': kernel/rwsem.c:34: error: implicit declaration of function '__down_read_trylock' kernel/rwsem.c:37: error: implicit declaration of function 'rwsem_acquire_read' kernel/rwsem.c:37: error: dereferencing pointer to incomplete type kernel/rwsem.c:37: error: '_RET_IP_' undeclared (first use in this function) kernel/rwsem.c:37: error: (Each undeclared identifier is reported only once kernel/rwsem.c:37: error: for each function it appears in.) kernel/rwsem.c: At top level: kernel/rwsem.c:41: warning: data definition has no type or storage class kernel/rwsem.c:41: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:41: warning: parameter names (without types) in function declaration kernel/rwsem.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'down_write' kernel/rwsem.c:54: warning: data definition has no type or storage class kernel/rwsem.c:54: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:54: warning: parameter names (without types) in function declaration kernel/rwsem.c:59: warning: 'struct rw_semaphore' declared inside parameter list kernel/rwsem.c: In function 'down_write_trylock': kernel/rwsem.c:61: error: implicit declaration of function '__down_write_trylock' kernel/rwsem.c:64: error: implicit declaration of function 'rwsem_acquire' kernel/rwsem.c:64: error: dereferencing pointer to incomplete type kernel/rwsem.c:64: error: '_RET_IP_' undeclared (first use in this function) kernel/rwsem.c: At top level: kernel/rwsem.c:68: warning: data definition has no type or storage class kernel/rwsem.c:68: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:68: warning: parameter names (without types) in function declaration kernel/rwsem.c:73: warning: 'struct rw_semaphore' declared inside parameter list kernel/rwsem.c: In function 'up_read': kernel/rwsem.c:75: error: implicit declaration of function 'rwsem_release' kernel/rwsem.c:75: error: dereferencing pointer to incomplete type kernel/rwsem.c:75: error: '_RET_IP_' undeclared (first use in this function) kernel/rwsem.c:77: error: implicit declaration of function '__up_read' kernel/rwsem.c: At top level: kernel/rwsem.c:80: warning: data definition has no type or storage class kernel/rwsem.c:80: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:80: warning: parameter names (without types) in function declaration kernel/rwsem.c:85: warning: 'struct rw_semaphore' declared inside parameter list kernel/rwsem.c: In function 'up_write': kernel/rwsem.c:87: error: dereferencing pointer to incomplete type kernel/rwsem.c:87: error: '_RET_IP_' undeclared (first use in this function) kernel/rwsem.c:89: error: implicit declaration of function '__up_write' kernel/rwsem.c: At top level: kernel/rwsem.c:92: warning: data definition has no type or storage class kernel/rwsem.c:92: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:92: warning: parameter names (without types) in function declaration kernel/rwsem.c:97: warning: 'struct rw_semaphore' declared inside parameter list kernel/rwsem.c: In function 'downgrade_write': kernel/rwsem.c:103: error: implicit declaration of function '__downgrade_write' kernel/rwsem.c: At top level: kernel/rwsem.c:106: warning: data definition has no type or storage class kernel/rwsem.c:106: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/rwsem.c:106: warning: parameter names (without types) in function declaration mm/rmap.c:615: error: dereferencing pointer to incomplete type mm/rmap.c:616: error: 'NR_FILE_MAPPED' undeclared (first use in this function) make[1]: *** [kernel/rwsem.o] Error 1 mm/vmalloc.c:410: error: 'VM_VPAGES' undeclared (first use in this function) mm/vmalloc.c:411: error: implicit declaration of function 'vfree' mm/vmalloc.c:411: error: dereferencing pointer to incomplete type mm/vmalloc.c:413: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:431: warning: conflicting types for 'vfree' mm/vmalloc.c:411: warning: previous implicit declaration of 'vfree' was here mm/vmalloc.c:435: warning: data definition has no type or storage class mm/vmalloc.c:435: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:435: warning: parameter names (without types) in function declaration mm/vmalloc.c:451: warning: data definition has no type or storage class mm/vmalloc.c:451: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:451: warning: parameter names (without types) in function declaration mm/vmalloc.c:464: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c: In function 'vmap': mm/vmalloc.c:468: error: 'num_physpages' undeclared (first use in this function) mm/vmalloc.c:469: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:471: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/vmalloc.c:476: error: 'prot' undeclared (first use in this function) CC kernel/nsproxy.o mm/vmalloc.c:476: error: too many arguments to function 'map_vm_area' mm/vmalloc.c:477: error: dereferencing pointer to incomplete type mm/vmalloc.c:481: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:483: warning: data definition has no type or storage class mm/vmalloc.c:483: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:483: warning: parameter names (without types) in function declaration mm/vmalloc.c:485: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c:486: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c: In function '__vmalloc_area_node': mm/vmalloc.c:491: error: dereferencing pointer to incomplete type mm/vmalloc.c:491: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c:491: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/vmalloc.c:494: error: dereferencing pointer to incomplete type mm/vmalloc.c:497: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:497: error: '__GFP_ZERO' undeclared (first use in this function) mm/vmalloc.c:498: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:498: error: too many arguments to function '__vmalloc_node' mm/vmalloc.c:499: error: dereferencing pointer to incomplete type mm/vmalloc.c:499: error: 'VM_VPAGES' undeclared (first use in this function) mm/vmalloc.c:502: error: 'GFP_RECLAIM_MASK' undeclared (first use in this function) mm/vmalloc.c:503: warning: assignment makes pointer from integer without a cast mm/vmalloc.c:505: error: dereferencing pointer to incomplete type mm/vmalloc.c:506: error: dereferencing pointer to incomplete type mm/vmalloc.c:507: error: dereferencing pointer to incomplete type mm/vmalloc.c:508: error: dereferencing pointer to incomplete type mm/vmalloc.c:510: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:513: error: dereferencing pointer to incomplete type mm/vmalloc.c:517: error: implicit declaration of function 'alloc_page' mm/vmalloc.c:517: warning: assignment makes pointer from integer without a cast mm/vmalloc.c:519: error: implicit declaration of function 'alloc_pages_node' mm/vmalloc.c:519: warning: assignment makes pointer from integer without a cast mm/vmalloc.c:523: error: dereferencing pointer to incomplete type mm/vmalloc.c:526: error: dereferencing pointer to incomplete type mm/vmalloc.c:529: error: 'prot' undeclared (first use in this function) mm/vmalloc.c:529: error: too many arguments to function 'map_vm_area' mm/vmalloc.c:531: error: dereferencing pointer to incomplete type mm/vmalloc.c:534: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:538: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c:538: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c: In function '__vmalloc_area': mm/vmalloc.c:540: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:540: error: 'prot' undeclared (first use in this function) mm/vmalloc.c:541: error: too many arguments to function '__vmalloc_area_node' mm/vmalloc.c: At top level: mm/vmalloc.c:556: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c:556: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c: In function '__vmalloc_node': mm/vmalloc.c:562: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/vmalloc.c:562: error: 'num_physpages' undeclared (first use in this function) mm/vmalloc.c:563: error: 'NULL' undeclared (first use in this function) mm/vmalloc.c:565: error: 'VM_ALLOC' undeclared (first use in this function) mm/vmalloc.c:565: error: 'VMALLOC_START' undeclared (first use in this function) mm/vmalloc.c:565: error: 'VMALLOC_END' undeclared (first use in this function) mm/vmalloc.c:566: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:566: error: too many arguments to function '__get_vm_area_node' mm/vmalloc.c:571: error: 'prot' undeclared (first use in this function) mm/vmalloc.c:571: error: too many arguments to function '__vmalloc_area_node' mm/vmalloc.c: At top level: mm/vmalloc.c:574: error: expected declaration specifiers or '...' before 'gfp_t' mm/vmalloc.c:574: error: expected declaration specifiers or '...' before 'pgprot_t' mm/vmalloc.c: In function '__vmalloc': mm/vmalloc.c:576: error: 'gfp_mask' undeclared (first use in this function) mm/vmalloc.c:576: error: 'prot' undeclared (first use in this function) mm/vmalloc.c:577: error: too many arguments to function '__vmalloc_node' mm/vmalloc.c: At top level: mm/vmalloc.c:579: warning: data definition has no type or storage class mm/vmalloc.c:579: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:579: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc': mm/vmalloc.c:592: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:592: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/vmalloc.c:592: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:593: error: too many arguments to function '__vmalloc_node' mm/vmalloc.c: At top level: mm/vmalloc.c:595: warning: data definition has no type or storage class mm/vmalloc.c:595: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:595: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_user': mm/vmalloc.c:609: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:609: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/vmalloc.c:609: error: '__GFP_ZERO' undeclared (first use in this function) mm/vmalloc.c:609: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:609: error: too many arguments to function '__vmalloc' mm/vmalloc.c:611: error: 'vmlist_lock' undeclared (first use in this function) mm/vmalloc.c:613: error: dereferencing pointer to incomplete type mm/vmalloc.c:613: error: 'VM_USERMAP' undeclared (first use in this function) mm/vmalloc.c: At top level: mm/vmalloc.c:618: warning: data definition has no type or storage class mm/vmalloc.c:618: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:618: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_node': mm/vmalloc.c:633: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:633: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/vmalloc.c:633: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:634: error: too many arguments to function '__vmalloc_node' mm/vmalloc.c: At top level: mm/vmalloc.c:636: warning: data definition has no type or storage class mm/vmalloc.c:636: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:636: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_exec': mm/vmalloc.c:656: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:656: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/vmalloc.c:656: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:656: error: too many arguments to function '__vmalloc' mm/vmalloc.c: In function 'vmalloc_32': mm/vmalloc.c:676: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:676: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:676: error: too many arguments to function '__vmalloc' mm/vmalloc.c: At top level: mm/vmalloc.c:678: warning: data definition has no type or storage class mm/vmalloc.c:678: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:678: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'vmalloc_32_user': mm/vmalloc.c:692: error: 'GFP_KERNEL' undeclared (first use in this function) mm/vmalloc.c:692: error: '__GFP_ZERO' undeclared (first use in this function) mm/vmalloc.c:692: error: 'PAGE_KERNEL' undeclared (first use in this function) mm/vmalloc.c:692: error: too many arguments to function '__vmalloc' mm/vmalloc.c:694: error: 'vmlist_lock' undeclared (first use in this function) mm/vmalloc.c:696: error: dereferencing pointer to incomplete type mm/vmalloc.c:696: error: 'VM_USERMAP' undeclared (first use in this function) mm/vmalloc.c: At top level: mm/vmalloc.c:701: warning: data definition has no type or storage class mm/vmalloc.c:701: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:701: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory fs/libfs.c:6:26: error: linux/module.h: No such file or directory fs/libfs.c:7:27: error: linux/pagemap.h: No such file or directory fs/libfs.c:8:25: error: linux/mount.h: No such file or directory fs/libfs.c:9:23: error: linux/vfs.h: No such file or directory fs/libfs.c:10:25: error: linux/mutex.h: No such file or directory fs/libfs.c:11:28: error: linux/exportfs.h: No such file or directory fs/libfs.c:13:25: error: asm/uaccess.h: No such file or directory fs/libfs.c:16: warning: 'struct kstat' declared inside parameter list fs/libfs.c:16: warning: its scope is only this definition or declaration, which is probably not what you want fs/libfs.c:16: warning: 'struct dentry' declared inside parameter list fs/libfs.c:16: warning: 'struct vfsmount' declared inside parameter list fs/libfs.c: In function 'simple_getattr': fs/libfs.c:18: error: dereferencing pointer to incomplete type fs/libfs.c:19: error: implicit declaration of function 'generic_fillattr' fs/libfs.c:20: error: dereferencing pointer to incomplete type fs/libfs.c:20: error: dereferencing pointer to incomplete type fs/libfs.c:20: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) fs/libfs.c:20: error: (Each undeclared identifier is reported only once fs/libfs.c:20: error: for each function it appears in.) fs/libfs.c: At top level: fs/libfs.c:24: warning: 'struct kstatfs' declared inside parameter list fs/libfs.c:24: warning: 'struct dentry' declared inside parameter list fs/libfs.c: In function 'simple_statfs': fs/libfs.c:26: error: dereferencing pointer to incomplete type fs/libfs.c:26: error: dereferencing pointer to incomplete type fs/libfs.c:27: error: dereferencing pointer to incomplete type fs/libfs.c:27: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/libfs.c:28: error: dereferencing pointer to incomplete type fs/libfs.c:28: error: 'NAME_MAX' undeclared (first use in this function) fs/libfs.c: At top level: fs/libfs.c:36: warning: 'struct dentry' declared inside parameter list fs/libfs.c:45: warning: 'struct nameidata' declared inside parameter list fs/libfs.c:45: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_lookup': fs/libfs.c:47: error: variable 'simple_dentry_operations' has initializer but incomplete type fs/libfs.c:48: error: unknown field 'd_delete' specified in initializer fs/libfs.c:48: warning: excess elements in struct initializer fs/libfs.c:48: warning: (near initialization for 'simple_dentry_operations') fs/libfs.c:47: error: storage size of 'simple_dentry_operations' isn't known fs/libfs.c:51: error: dereferencing pointer to incomplete type fs/libfs.c:51: error: 'NAME_MAX' undeclared (first use in this function) fs/libfs.c:52: error: implicit declaration of function 'ERR_PTR' fs/libfs.c:52: error: 'ENAMETOOLONG' undeclared (first use in this function) fs/libfs.c:52: warning: return makes pointer from integer without a cast fs/libfs.c:53: error: dereferencing pointer to incomplete type fs/libfs.c:54: error: implicit declaration of function 'd_add' fs/libfs.c:54: error: 'NULL' undeclared (first use in this function) fs/libfs.c:47: warning: unused variable 'simple_dentry_operations' fs/libfs.c: At top level: fs/libfs.c:58: warning: 'struct file' declared inside parameter list fs/libfs.c:63: warning: 'struct file' declared inside parameter listmm/rmap.c: At top level:cc1: fs/libfs.c:63: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'dcache_dir_open': fs/libfs.c:65: error: variable 'cursor_name' has initializer but incomplete type fs/libfs.c:65: error: unknown field 'len' specified in initializer fs/libfs.c:65: warning: excess elements in struct initializer fs/libfs.c:65: warning: (near initialization for 'cursor_name') fs/libfs.c:65: error: unknown field 'name' specified in initializer fs/libfs.c:65: warning: excess elements in struct initializer fs/libfs.c:65: warning: (near initialization for 'cursor_name') fs/libfs.c:65: error: storage size of 'cursor_name' isn't known fs/libfs.c:67: error: dereferencing pointer to incomplete type fs/libfs.c:67: error: implicit declaration of function 'd_alloc' fs/libfs.c:67: error: dereferencing pointer to incomplete type fs/libfs.c:69: error: dereferencing pointer to incomplete type fs/libfs.c:69: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:65: warning: unused variable 'cursor_name' fs/libfs.c: At top level: fs/libfs.c:72: warning: 'struct file' declared inside parameter list fs/libfs.c:72: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'dcache_dir_close': fs/libfs.c:74: error: implicit declaration of function 'dput' fs/libfs.c:74: error: dereferencing pointer to incomplete type fs/libfs.c: At top level: fs/libfs.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dcache_dir_lseek' fs/libfs.c:117: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'dt_type': fs/libfs.c:119: error: dereferencing pointer to incomplete type fs/libfs.c: At top level: fs/libfs.c:128: error: expected declaration specifiers or '...' before 'filldir_t' fs/libfs.c:128: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'dcache_readdir': fs/libfs.c:130: error: dereferencing pointer to incomplete type fs/libfs.c:131: error: dereferencing pointer to incomplete type fs/libfs.c:132: error: dereferencing pointer to incomplete type fs/libfs.c:133: error: 'ino_t' undeclared (first use in this function) fs/libfs.c:133: error: expected ';' before 'ino' fs/libfs.c:134: error: dereferencing pointer to incomplete type fs/libfs.c:134: warning: ISO C90 forbids mixed declarations and code fs/libfs.c:138: error: 'ino' undeclared (first use in this function) fs/libfs.c:138: error: dereferencing pointer to incomplete type fs/libfs.c:139: error: implicit declaration of function 'filldir' fs/libfs.c:139: error: 'DT_DIR' undeclared (first use in this function) fs/libfs.c:141: error: dereferencing pointer to incomplete type fs/libfs.c:145: error: implicit declaration of function 'parent_ino' fs/libfs.c:148: error: dereferencing pointer to incomplete type fs/libfs.c:152: error: implicit declaration of function 'spin_lock' fs/libfs.c:152: error: 'dcache_lock' undeclared (first use in this function) fs/libfs.c:153: error: dereferencing pointer to incomplete type fs/libfs.c:154: error: implicit declaration of function 'list_move' fs/libfs.c:154: error: dereferencing pointer to incomplete type fs/libfs.c:156: error: dereferencing pointer to incomplete type fs/libfs.c:156: error: dereferencing pointer to incomplete type fs/libfs.c:156: error: dereferencing pointer to incomplete type fs/libfs.c:158: error: implicit declaration of function 'list_entry' fs/libfs.c:158: error: expected expression before 'struct' fs/libfs.c:158: warning: assignment makes pointer from integer without a cast fs/libfs.c:159: error: implicit declaration of function 'd_unhashed' fs/libfs.c:159: error: dereferencing pointer to incomplete type fs/libfs.c:162: error: implicit declaration of function 'spin_unlock' fs/libfs.c:163: error: dereferencing pointer to incomplete type fs/libfs.c:164: error: dereferencing pointer to incomplete type fs/libfs.c:164: error: dereferencing pointer to incomplete type fs/libfs.c:165: error: dereferencing pointer to incomplete type fs/libfs.c:166: error: dereferencing pointer to incomplete type fs/libfs.c:172: error: dereferencing pointer to incomplete type fs/libfs.c: At top level: fs/libfs.c:179: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_read_dir' fs/libfs.c:184: error: variable 'simple_dir_operations' has initializer but incomplete type fs/libfs.c:185: error: unknown field 'open' specified in initializer fs/libfs.c:185: warning: excess elements in struct initializer fs/libfs.c:185: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:186: error: unknown field 'release' specified in initializer fs/libfs.c:186: warning: excess elements in struct initializer fs/libfs.c:186: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:187: error: unknown field 'llseek' specified in initializer fs/libfs.c:187: error: 'dcache_dir_lseek' undeclared here (not in a function) fs/libfs.c:187: warning: excess elements in struct initializer fs/libfs.c:187: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:188: error: unknown field 'read' specified in initializer fs/libfs.c:188: error: 'generic_read_dir' undeclared here (not in a function) fs/libfs.c:188: warning: excess elements in struct initializer fs/libfs.c:188: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:189: error: unknown field 'readdir' specified in initializer fs/libfs.c:189: warning: excess elements in struct initializer fs/libfs.c:189: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:190: error: unknown field 'fsync' specified in initializer fs/libfs.c:190: warning: excess elements in struct initializer fs/libfs.c:190: warning: (near initialization for 'simple_dir_operations') fs/libfs.c:193: error: variable 'simple_dir_inode_operations' has initializer but incomplete type fs/libfs.c:194: error: unknown field 'lookup' specified in initializer fs/libfs.c:194: warning: excess elements in struct initializer fs/libfs.c:194: warning: (near initialization for 'simple_dir_inode_operations') fs/libfs.c:197: error: variable 'simple_super_operations' has initializer but incomplete type fs/libfs.c:198: error: unknown field 'statfs' specified in initializer fs/libfs.c:198: warning: excess elements in struct initializer fs/libfs.c:198: warning: (near initialization for 'simple_super_operations') fs/libfs.c:207: warning: 'struct vfsmount' declared inside parameter list fs/libfs.c:207: warning: 'struct file_system_type' declared inside parameter list fs/libfs.c: In function 'get_sb_pseudo': fs/libfs.c:209: error: implicit declaration of function 'sget' fs/libfs.c:209: error: 'NULL' undeclared (first use in this function) fs/libfs.c:209: error: 'set_anon_super' undeclared (first use in this function) fs/libfs.c:209: warning: initialization makes pointer from integer without a cast fs/libfs.c:212: error: variable 'd_name' has initializer but incomplete type fs/libfs.c:212: error: unknown field 'name' specified in initializer fs/libfs.c:212: warning: excess elements in struct initializer fs/libfs.c:212: warning: (near initialization for 'd_name') fs/libfs.c:212: error: unknown field 'len' specified in initializer fs/libfs.c:212: error: implicit declaration of function 'strlen' fs/libfs.c:212: warning: excess elements in struct initializer fs/libfs.c:212: warning: (near initialization for 'd_name') fs/libfs.c:212: error: storage size of 'd_name' isn't known fs/libfs.c:214: error: implicit declaration of function 'IS_ERR' fs/libfs.c:215: error: implicit declaration of function 'PTR_ERR' fs/libfs.c:217: error: dereferencing pointer to incomplete type fs/libfs.c:217: error: 'MS_NOUSER' undeclared (first use in this function) fs/libfs.c:218: error: dereferencing pointer to incomplete type fs/libfs.c:219: error: dereferencing pointer to incomplete type fs/libfs.c:220: error: dereferencing pointer to incomplete type fs/libfs.c:221: error: dereferencing pointer to incomplete type fs/libfs.c:222: error: dereferencing pointer to incomplete type fs/libfs.c:223: error: dereferencing pointer to incomplete type fs/libfs.c:224: error: implicit declaration of function 'new_inode' fs/libfs.c:224: warning: assignment makes pointer from integer without a cast fs/libfs.c:232: error: dereferencing pointer to incomplete type fs/libfs.c:233: error: dereferencing pointer to incomplete type fs/libfs.c:233: error: 'S_IFDIR' undeclared (first use in this function) fs/libfs.c:233: error: 'S_IRUSR' undeclared (first use in this function) fs/libfs.c:233: error: 'S_IWUSR' undeclared (first use in this function) fs/libfs.c:234: error: dereferencing pointer to incomplete type fs/libfs.c:234: error: dereferencing pointer to incomplete type fs/libfs.c:235: error: dereferencing pointer to incomplete type fs/libfs.c:235: error: dereferencing pointer to incomplete type fs/libfs.c:235: error: dereferencing pointer to incomplete type fs/libfs.c:235: error: 'CURRENT_TIME' undeclared (first use in this function) fs/libfs.c:236: warning: assignment makes pointer from integer without a cast fs/libfs.c:238: error: implicit declaration of function 'iput' fs/libfs.c:241: error: dereferencing pointer to incomplete type fs/libfs.c:242: error: dereferencing pointer to incomplete type fs/libfs.c:243: error: implicit declaration of function 'd_instantiate' fs/libfs.c:244: error: dereferencing pointer to incomplete type fs/libfs.c:245: error: dereferencing pointer to incomplete type fs/libfs.c:245: error: 'MS_ACTIVE' undeclared (first use in this function) fs/libfs.c:246: error: implicit declaration of function 'simple_set_mnt' fs/libfs.c:249: error: implicit declaration of function 'up_write' fs/libfs.c:249: error: dereferencing pointer to incomplete type fs/libfs.c:250: error: implicit declaration of function 'deactivate_super' fs/libfs.c:251: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:212: warning: unused variable 'd_name' fs/libfs.c: At top level: fs/libfs.c:254: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_link': fs/libfs.c:256: error: dereferencing pointer to incomplete type fs/libfs.c:258: error: dereferencing pointer to incomplete type fs/libfs.c:258: error: dereferencing pointer to incomplete type fs/libfs.c:258: error: dereferencing pointer to incomplete type fs/libfs.c:258: error: 'CURRENT_TIME' undeclared (first use in this function) fs/libfs.c:259: error: implicit declaration of function 'inc_nlink' fs/libfs.c:260: error: implicit declaration of function 'atomic_inc' fs/libfs.c:260: error: dereferencing pointer to incomplete type fs/libfs.c:261: error: implicit declaration of function 'dget' fs/libfs.c: In function 'simple_positive': fs/libfs.c:268: error: dereferencing pointer to incomplete type fs/libfs.c: In function 'simple_empty': fs/libfs.c:276: error: 'dcache_lock' undeclared (first use in this function) fs/libfs.c:277: error: implicit declaration of function 'list_for_each_entry' fs/libfs.c:277: error: dereferencing pointer to incomplete type fs/libfs.c:277: error: 'd_u' undeclared (first use in this function) fs/libfs.c:278: error: expected ';' before 'if' fs/libfs.c:281: warning: label 'out' defined but not used fs/libfs.c: At top level: fs/libfs.c:286: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_unlink': fs/libfs.c:288: error: dereferencing pointer to incomplete type fs/libfs.c:290: error: dereferencing pointer to incomplete type fs/libfs.c:290: error: dereferencing pointer to incomplete type fs/libfs.c:290: error: dereferencing pointer to incomplete type fs/libfs.c:290: error: 'CURRENT_TIME' undeclared (first use in this function) fs/libfs.c:291: error: implicit declaration of function 'drop_nlink' fs/libfs.c: At top level: fs/libfs.c:296: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_rmdir': fs/libfs.c:299: error: 'ENOTEMPTY' undeclared (first use in this function) fs/libfs.c:301: error: dereferencing pointer to incomplete type fs/libfs.c:302: warning: passing argument 1 of 'simple_unlink' from incompatible pointer type fs/libfs.c: At top level: fs/libfs.c:308: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_rename': fs/libfs.c:310: error: dereferencing pointer to incomplete type fs/libfs.c:311: error: implicit declaration of function 'S_ISDIR' fs/libfs.c:311: error: dereferencing pointer to incomplete type fs/libfs.c:314: error: 'ENOTEMPTY' undeclared (first use in this function) fs/libfs.c:316: error: dereferencing pointer to incomplete type fs/libfs.c:317: warning: passing argument 1 of 'simple_unlink' from incompatible pointer type fs/libfs.c:325: error: dereferencing pointer to incomplete type fs/libfs.c:325: error: dereferencing pointer to incomplete type fs/libfs.c:325: error: dereferencing pointer to incomplete type fs/libfs.c:326: error: dereferencing pointer to incomplete type fs/libfs.c:326: error: dereferencing pointer to incomplete type fs/libfs.c:326: error: 'CURRENT_TIME' undeclared (first use in this function) fs/libfs.c: At top level: fs/libfs.c:331: warning: 'struct page' declared inside parameter list fs/libfs.c:331: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'simple_readpage': fs/libfs.c:333: error: implicit declaration of function 'clear_highpage' fs/libfs.c:334: error: implicit declaration of function 'flush_dcache_page' fs/libfs.c:335: error: implicit declaration of function 'SetPageUptodate' fs/libfs.c:336: error: implicit declaration of function 'unlock_page' fs/libfs.c: At top level: fs/libfs.c:341: warning: 'struct page' declared inside parameter list fs/libfs.c:341: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'simple_prepare_write': fs/libfs.c:343: error: implicit declaration of function 'PageUptodate' fs/libfs.c:344: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/libfs.c:345: error: implicit declaration of function 'zero_user_segments' fs/libfs.c: At top level: fs/libfs.c:353: error: expected declaration specifiers or '...' before 'loff_t' fs/libfs.c:354: warning: 'struct page' declared inside parameter list fs/libfs.c:354: warning: 'struct address_space' declared inside parameter list fs/libfs.c:354: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'simple_write_begin': fs/libfs.c:357: error: 'pgoff_t' undeclared (first use in this function) fs/libfs.c:357: error: expected ';' before 'index' fs/libfs.c:358: warning: ISO C90 forbids mixed declarations and code fs/libfs.c:360: error: 'index' undeclared (first use in this function) fs/libfs.c:360: error: 'pos' undeclared (first use in this function) fs/libfs.c:360: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) fs/libfs.c:361: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/libfs.c:363: error: implicit declaration of function '__grab_cache_page' fs/libfs.c:363: warning: assignment makes pointer from integer without a cast fs/libfs.c:365: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:369: warning: passing argument 1 of 'simple_prepare_write' from incompatible pointer type fs/libfs.c:369: warning: passing argument 2 of 'simple_prepare_write' from incompatible pointer type fs/libfs.c: At top level: fs/libfs.c:373: warning: 'struct page' declared inside parameter list fs/libfs.c:373: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'simple_commit_write': fs/libfs.c:375: error: dereferencing pointer to incomplete type fs/libfs.c:376: error: 'loff_t' undeclared (first use in this function) fs/libfs.c:376: error: expected ';' before 'pos' fs/libfs.c:384: error: 'pos' undeclared (first use in this function) fs/libfs.c:384: error: dereferencing pointer to incomplete type fs/libfs.c:385: error: implicit declaration of function 'i_size_write' fs/libfs.c:386: error: implicit declaration of function 'set_page_dirty' fs/libfs.c: At top level: fs/libfs.c:391: error: expected declaration specifiers or '...' before 'loff_t' fs/libfs.c:392: warning: 'struct page' declared inside parameter list fs/libfs.c:392: warning: 'struct address_space' declared inside parameter list fs/libfs.c:392: warning: 'struct file' declared inside parameter list fs/libfs.c: In function 'simple_write_end': fs/libfs.c:394: error: 'pos' undeclared (first use in this function) fs/libfs.c:394: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/libfs.c:398: error: implicit declaration of function 'kmap_atomic' fs/libfs.c:398: error: 'KM_USER0' undeclared (first use in this function) fs/libfs.c:398: warning: initialization makes pointer from integer without a cast fs/libfs.c:399: error: implicit declaration of function 'memset' fs/libfs.c:401: error: implicit declaration of function 'kunmap_atomic' fs/libfs.c:404: warning: passing argument 1 of 'simple_commit_write' from incompatible pointer type fs/libfs.c:404: warning: passing argument 2 of 'simple_commit_write' from incompatible pointer type fs/libfs.c:407: error: implicit declaration of function 'page_cache_release' fs/libfs.c: At top level: fs/libfs.c:417: warning: 'struct tree_descr' declared inside parameter list fs/libfs.c:417: warning: 'struct super_block' declared inside parameter list fs/libfs.c: In function 'simple_fill_super': fs/libfs.c:424: error: dereferencing pointer to incomplete type fs/libfs.c:424: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/libfs.c:425: error: dereferencing pointer to incomplete type fs/libfs.c:425: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) fs/libfs.c:426: error: dereferencing pointer to incomplete type fs/libfs.c:427: error: dereferencing pointer to incomplete type fs/libfs.c:428: error: dereferencing pointer to incomplete type fs/libfs.c:430: warning: assignment makes pointer from integer without a cast fs/libfs.c:432: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:437: error: dereferencing pointer to incomplete type fs/libfs.c:438: error: dereferencing pointer to incomplete type fs/libfs.c:438: error: 'S_IFDIR' undeclared (first use in this function) fs/libfs.c:439: error: dereferencing pointer to incomplete type fs/libfs.c:439: error: dereferencing pointer to incomplete type fs/libfs.c:440: error: dereferencing pointer to incomplete type fs/libfs.c:441: error: dereferencing pointer to incomplete type fs/libfs.c:441: error: dereferencing pointer to incomplete type fs/libfs.c:441: error: dereferencing pointer to incomplete type fs/libfs.c:441: error: 'CURRENT_TIME' undeclared (first use in this function) fs/libfs.c:442: error: dereferencing pointer to incomplete type fs/libfs.c:443: error: dereferencing pointer to incomplete type fs/libfs.c:444: error: dereferencing pointer to incomplete type fs/libfs.c:445: error: implicit declaration of function 'd_alloc_root' fs/libfs.c:445: warning: assignment makes pointer from integer without a cast fs/libfs.c:450: error: dereferencing pointer to incomplete type fs/libfs.c:450: error: dereferencing pointer to incomplete type fs/libfs.c:450: error: increment of pointer to unknown structure fs/libfs.c:450: error: arithmetic on pointer to an incomplete type fs/libfs.c:451: error: dereferencing pointer to incomplete type fs/libfs.c:455: error: implicit declaration of function 'unlikely' fs/libfs.c:456: error: implicit declaration of function 'printk' fs/libfs.c:456: error: 'KERN_WARNING' undeclared (first use in this function) fs/libfs.c:456: error: expected ')' before string constant fs/libfs.c:460: error: implicit declaration of function 'd_alloc_name' fs/libfs.c:460: error: dereferencing pointer to incomplete type fs/libfs.c:460: warning: assignment makes pointer from integer without a cast fs/libfs.c:463: warning: assignment makes pointer from integer without a cast fs/libfs.c:466: error: dereferencing pointer to incomplete type fs/libfs.c:466: error: 'S_IFREG' undeclared (first use in this function) fs/libfs.c:466: error: dereferencing pointer to incomplete type fs/libfs.c:467: error: dereferencing pointer to incomplete type fs/libfs.c:467: error: dereferencing pointer to incomplete type fs/libfs.c:468: error: dereferencing pointer to incomplete type fs/libfs.c:469: error: dereferencing pointer to incomplete type fs/libfs.c:469: error: dereferencing pointer to incomplete type fs/libfs.c:469: error: dereferencing pointer to incomplete type fs/libfs.c:470: error: dereferencing pointer to incomplete type fs/libfs.c:470: error: dereferencing pointer to incomplete type fs/libfs.c:471: error: dereferencing pointer to incomplete type fs/libfs.c:474: error: dereferencing pointer to incomplete type fs/libfs.c:477: error: implicit declaration of function 'd_genocide' fs/libfs.c: At top level: fs/libfs.c:482: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' fs/libfs.c:482: warning: parameter names (without types) in function declaration fs/libfs.c:484: warning: 'struct vfsmount' declared inside parameter list fs/libfs.c:484: warning: 'struct file_system_type' declared inside parameter list fs/libfs.c: In function 'simple_pin_fs': fs/libfs.c:486: error: 'NULL' undeclared (first use in this function) fs/libfs.c:487: error: 'pin_fs_lock' undeclared (first use in this function) fs/libfs.c:490: error: implicit declaration of function 'vfs_kern_mount' fs/libfs.c:490: error: dereferencing pointer to incomplete type fs/libfs.c:490: warning: assignment makes pointer from integer without a cast fs/libfs.c:497: error: implicit declaration of function 'mntget' fs/libfs.c:500: error: implicit declaration of function 'mntput' fs/libfs.c: At top level: fs/libfs.c:504: warning: 'struct vfsmount' declared inside parameter list fs/libfs.c: In function 'simple_release_fs': fs/libfs.c:507: error: 'pin_fs_lock' undeclared (first use in this function) fs/libfs.c:510: error: 'NULL' undeclared (first use in this function) fs/libfs.c: At top level: fs/libfs.c:529: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_read_from_buffer' fs/libfs.c:559: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'memory_read_from_buffer' fs/libfs.c:582: error: expected ';', ',' or ')' before '*' token fs/libfs.c:613: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_transaction_read' fs/libfs.c:622: warning: 'struct file' declared inside parameter list fs/libfs.c:622: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_transaction_release': fs/libfs.c:624: error: implicit declaration of function 'free_page' fs/libfs.c:624: error: dereferencing pointer to incomplete type fs/libfs.c: At top level: fs/libfs.c:631: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:632: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:637: error: field 'mutex' has incomplete type fs/libfs.c:643: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:643: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:644: warning: 'struct file' declared inside parameter list fs/libfs.c:644: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_attr_open': fs/libfs.c:648: error: implicit declaration of function 'kmalloc' fs/libfs.c:648: error: 'GFP_KERNEL' undeclared (first use in this function) fs/libfs.c:648: warning: assignment makes pointer from integer without a cast fs/libfs.c:650: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:654: error: dereferencing pointer to incomplete type fs/libfs.c:656: error: implicit declaration of function 'mutex_init' fs/libfs.c:658: error: dereferencing pointer to incomplete type fs/libfs.c:660: error: implicit declaration of function 'nonseekable_open' fs/libfs.c: At top level: fs/libfs.c:663: warning: 'struct file' declared inside parameter list fs/libfs.c:663: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'simple_attr_release': fs/libfs.c:665: error: implicit declaration of function 'kfree' fs/libfs.c:665: error: dereferencing pointer to incomplete type fs/libfs.c: At top level: fs/libfs.c:670: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_attr_read' fs/libfs.c:705: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'simple_attr_write' fs/libfs.c:740: warning: 'struct inode' declared inside parameter list fs/libfs.c: In function 'exportfs_d_alloc': fs/libfs.c:745: error: 'NULL' undeclared (first use in this function) fs/libfs.c:747: warning: return makes pointer from integer without a cast fs/libfs.c:749: error: implicit declaration of function 'd_alloc_anon' fs/libfs.c:749: warning: assignment makes pointer from integer without a cast fs/libfs.c:752: error: 'ENOMEM' undeclared (first use in this function) fs/libfs.c:752: warning: assignment makes pointer from integer without a cast fs/libfs.c: At top level: fs/libfs.c:771: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:771: error: expected declaration specifiers or '...' before 'u32' fs/libfs.c:771: warning: 'struct inode' declared inside parameter list fs/libfs.c:771: warning: 'struct fid' declared inside parameter list fs/libfs.c:771: warning: 'struct super_block' declared inside parameter list fs/libfs.c: In function 'generic_fh_to_dentry': fs/libfs.c:773: error: 'NULL' undeclared (first use in this function) fs/libfs.c:779: error: 'FILEID_INO32_GEN' undeclared (first use in this function) fs/libfs.c:780: error: 'FILEID_INO32_GEN_PARENT' undeclared (first use in this function) fs/libfs.c:781: error: dereferencing pointer to incomplete type fs/libfs.c:781: error: dereferencing pointer to incomplete type fs/libfs.c:781: error: too many arguments to function 'get_inode' fs/libfs.c:785: warning: passing argument 1 of 'exportfs_d_alloc' from incompatible pointer type fs/libfs.c: At top level: fs/libfs.c:787: warning: data definition has no type or storage class fs/libfs.c:787: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/libfs.c:787: warning: parameter names (without types) in function declaration fs/libfs.c:804: error: expected declaration specifiers or '...' before 'u64' fs/libfs.c:804: error: expected declaration specifiers or '...' before 'u32' fs/libfs.c:804: warning: 'struct inode' declared inside parameter list fs/libfs.c:804: warning: 'struct fid' declared inside parameter list fs/libfs.c:804: warning: 'struct super_block' declared inside parameter list fs/libfs.c: In function 'generic_fh_to_parent': fs/libfs.c:806: error: 'NULL' undeclared (first use in this function) fs/libfs.c:812: error: 'FILEID_INO32_GEN_PARENT' undeclared (first use in this function) fs/libfs.c:813: error: dereferencing pointer to incomplete type fs/libfs.c:814: error: dereferencing pointer to incomplete type fs/libfs.c:814: error: too many arguments to function 'get_inode' fs/libfs.c:818: warning: passing argument 1 of 'exportfs_d_alloc' from incompatible pointer type fs/libfs.c: At top level: fs/libfs.c:820: warning: data definition has no type or storage class fs/libfs.c:820: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/libfs.c:820: warning: parameter names (without types) in function declaration fs/libfs.c:822: warning: data definition has no type or storage class fs/libfs.c:822: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:822: warning: parameter names (without types) in function declaration fs/libfs.c:823: warning: data definition has no type or storage class fs/libfs.c:823: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:823: warning: parameter names (without types) in function declaration fs/libfs.c:824: warning: data definition has no type or storage class fs/libfs.c:824: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:824: warning: parameter names (without types) in function declaration fs/libfs.c:825: warning: data definition has no type or storage class fs/libfs.c:825: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:825: warning: parameter names (without types) in function declaration fs/libfs.c:826: warning: data definition has no type or storage class fs/libfs.c:826: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:826: warning: parameter names (without types) in function declaration fs/libfs.c:827: warning: data definition has no type or storage class fs/libfs.c:827: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:827: warning: parameter names (without types) in function declaration fs/libfs.c:828: warning: data definition has no type or storage class fs/libfs.c:828: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:828: warning: parameter names (without types) in function declaration fs/libfs.c:829: warning: data definition has no type or storage class fs/libfs.c:829: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:829: warning: parameter names (without types) in function declaration fs/libfs.c:830: warning: data definition has no type or storage class fs/libfs.c:830: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:830: warning: parameter names (without types) in function declaration fs/libfs.c:831: warning: data definition has no type or storage class fs/libfs.c:831: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:831: warning: parameter names (without types) in function declaration fs/libfs.c:832: warning: data definition has no type or storage class fs/libfs.c:832: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:832: warning: parameter names (without types) in function declaration fs/libfs.c:833: warning: data definition has no type or storage class fs/libfs.c:833: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:833: warning: parameter names (without types) in function declaration fs/libfs.c:834: warning: data definition has no type or storage class fs/libfs.c:834: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:834: warning: parameter names (without types) in function declaration fs/libfs.c:835: warning: data definition has no type or storage class fs/libfs.c:835: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:835: warning: parameter names (without types) in function declaration fs/libfs.c:836: warning: data definition has no type or storage classcc1: mm/vmalloc.c: In function 'vread': mm/vmalloc.c:713: error: implicit declaration of function 'read_lock' error: mm/vmalloc.c:713: error: 'vmlist_lock' undeclared (first use in this function) include/linux/autoconf.h: No such file or directory mm/vmalloc.c:714: error: dereferencing pointer to incomplete type mm/vmalloc.c:715: error: dereferencing pointer to incomplete type mm/vmalloc.c:716: error: dereferencing pointer to incomplete type mm/vmalloc.c:716: error: 'PAGE_SIZE' undeclared (first use in this function) mm/vmalloc.c:726: error: dereferencing pointer to incomplete type mm/vmalloc.c:737: error: implicit declaration of function 'read_unlock' fs/fs-writeback.c:16:26: error: linux/kernel.h: No such file or directory fs/fs-writeback.c:17:26: error: mm/vmalloc.c: In function 'vwrite': error: mm/rmap.c:654: warning: 'struct vm_area_struct' declared inside parameter list linux/module.h: No such file or directory mm/rmap.c:654: warning: 'struct page' declared inside parameter list fs/fs-writeback.c:18:28: error: linux/spinlock.h: No such file or directory fs/fs-writeback.c:19:25: error: linux/sched.h: No such file or directory mm/rmap.c: In function 'page_remove_rmap': mm/rmap.c:656: error: implicit declaration of function 'atomic_add_negative' mm/vmalloc.c:751: error: 'vmlist_lock' undeclared (first use in this function)include/linux/autoconf.h: No such file or directory fs/fs-writeback.c:20:22: error: linux/fs.h: No such file or directory fs/fs-writeback.c:21:22: error: linux/mm.h: No such file or directory fs/fs-writeback.c:22:29: error: linux/writeback.h: No such file or directory fs/fs-writeback.c:23:26: error: linux/blkdev.h: No such file or directory fs/fs-writeback.c:24:31: error: linux/backing-dev.h: No such file or directory fs/fs-writeback.c:25:31: error: linux/buffer_head.h: No such file or directory kernel/nsproxy.c:16:26: error: linux/module.h: No such file or directory kernel/nsproxy.c:17:27: error: linux/version.h: No such file or directory kernel/nsproxy.c:18:27: error: linux/nsproxy.h: No such file or directory kernel/nsproxy.c:19:29: error: linux/init_task.h: No such file or directory kernel/nsproxy.c:20:33: error: linux/mnt_namespace.h: No such file or directory fs/libfs.c:836: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' In file included from fs/fs-writeback.c:26: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/libfs.c:836: warning: parameter names (without types) in function declaration mm/rmap.c:656: error: dereferencing pointer to incomplete type kernel/nsproxy.c:21:27: error: linux/utsname.h: No such file or directory fs/libfs.c:837: warning: data definition has no type or storage class fs/internal.h:45: error: expected ';', ',' or ')' before '*' tokenfs/libfs.c:837: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:752: error: dereferencing pointer to incomplete typekernel/nsproxy.c:22:33: error: mm/rmap.c:658: error: implicit declaration of function 'printk' fs/libfs.c:837: warning: parameter names (without types) in function declaration fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter list linux/pid_namespace.h: No such file or directory mm/rmap.c:658: error: 'KERN_EMERG' undeclared (first use in this function) kernel/nsproxy.c:23:31: fs/libfs.c:838: warning: data definition has no type or storage classmm/rmap.c:658: error: expected ')' before string constant fs/internal.h:47: warning: its scope is only this definition or declaration, which is probably not what you want mm/vmalloc.c:753: error: dereferencing pointer to incomplete type error: fs/internal.h:49: warning: 'struct dentry' declared inside parameter listmm/vmalloc.c:754: error: dereferencing pointer to incomplete type mm/rmap.c:659: error: expected ')' before string constant net/net_namespace.h: No such file or directory fs/libfs.c:838: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/nsproxy.c:24:33: mm/vmalloc.c:754: error: 'PAGE_SIZE' undeclared (first use in this function) fs/libfs.c:838: warning: parameter names (without types) in function declaration mm/rmap.c:660: error: expected ')' before string constant mm/vmalloc.c:763: error: dereferencing pointer to incomplete typefs/libfs.c:839: warning: data definition has no type or storage class fs/internal.h:51: warning: 'struct dentry' declared inside parameter list fs/internal.h:52: warning: 'struct list_head' declared inside parameter list mm/rmap.c:661: error: expected ')' before string constant fs/libfs.c:839: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/rmap.c:662: error: expected ')' before string constant error: fs/internal.h:53: warning: 'struct list_head' declared inside parameter list mm/rmap.c:663: error: implicit declaration of function 'print_symbol'fs/internal.h:54: warning: 'struct dentry' declared inside parameter list linux/ipc_namespace.h: No such file or directoryfs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' fs/libfs.c:839: warning: parameter names (without types) in function declaration fs/fs-writeback.c:41: warning: 'struct backing_dev_info' declared inside parameter list fs/libfs.c:840: warning: data definition has no type or storage class mm/vmalloc.c: At top level: fs/fs-writeback.c: In function 'writeback_acquire': fs/fs-writeback.c:43: error: implicit declaration of function 'test_and_set_bit' fs/fs-writeback.c:43: error: 'BDI_pdflush' undeclared (first use in this function) fs/libfs.c:840: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/rmap.c:663: error: expected ')' before string constant mm/vmalloc.c:793: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:664: error: dereferencing pointer to incomplete type kernel/nsproxy.c:28: error: variable 'init_nsproxy' has initializer but incomplete typemm/vmalloc.c: In function 'remap_vmalloc_range': fs/fs-writeback.c:43: error: (Each undeclared identifier is reported only once fs/libfs.c:840: warning: parameter names (without types) in function declaration mm/rmap.c:665: error: expected ')' before string constant mm/vmalloc.c:796: error: dereferencing pointer to incomplete type fs/fs-writeback.c:43: error: for each function it appears in.) kernel/nsproxy.c:28: error: implicit declaration of function 'INIT_NSPROXY'fs/fs-writeback.c:43: error: dereferencing pointer to incomplete typefs/libfs.c:841: warning: data definition has no type or storage class mm/rmap.c:667: error: dereferencing pointer to incomplete type kernel/nsproxy.c:28: error: 'init_nsproxy' has an incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:52: warning: 'struct backing_dev_info' declared inside parameter list kernel/nsproxy.c: In function 'clone_nsproxy':fs/fs-writeback.c: In function 'writeback_in_progress': fs/libfs.c:841: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:797: error: dereferencing pointer to incomplete type mm/rmap.c:667: error: dereferencing pointer to incomplete type fs/fs-writeback.c:54: error: implicit declaration of function 'test_bit' fs/libfs.c:841: warning: parameter names (without types) in function declaration mm/vmalloc.c:797: error: dereferencing pointer to incomplete type kernel/nsproxy.c:37: error: implicit declaration of function 'kmem_cache_alloc'mm/rmap.c:668: error: expected ')' before string constant fs/fs-writeback.c:54: error: 'BDI_pdflush' undeclared (first use in this function) mm/vmalloc.c:800: error: 'PAGE_SIZE' undeclared (first use in this function)kernel/nsproxy.c:37: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/nsproxy.c:37: error: (Each undeclared identifier is reported only once kernel/nsproxy.c:37: error: for each function it appears in.) kernel/nsproxy.c:37: warning: assignment makes pointer from integer without a cast kernel/nsproxy.c:39: error: implicit declaration of function 'memcpy' kernel/nsproxy.c:39: error: invalid application of 'sizeof' to incomplete type 'struct nsproxy' kernel/nsproxy.c:40: error: implicit declaration of function 'atomic_set' kernel/nsproxy.c:40: error: dereferencing pointer to incomplete type kernel/nsproxy.c: At top level: kernel/nsproxy.c:51: warning: 'struct fs_struct' declared inside parameter list kernel/nsproxy.c:51: warning: its scope is only this definition or declaration, which is probably not what you want kernel/nsproxy.c:51: warning: 'struct task_struct' declared inside parameter list kernel/nsproxy.c: In function 'create_new_namespaces': kernel/nsproxy.c:56: error: dereferencing pointer to incomplete type kernel/nsproxy.c:58: error: implicit declaration of function 'ERR_PTR' kernel/nsproxy.c:58: error: 'ENOMEM' undeclared (first use in this function) kernel/nsproxy.c:58: warning: return makes pointer from integer without a cast kernel/nsproxy.c:60: error: dereferencing pointer to incomplete type kernel/nsproxy.c:60: error: implicit declaration of function 'copy_mnt_ns' kernel/nsproxy.c:60: error: dereferencing pointer to incomplete type kernel/nsproxy.c:61: error: implicit declaration of function 'IS_ERR' kernel/nsproxy.c:61: error: dereferencing pointer to incomplete type kernel/nsproxy.c:62: error: implicit declaration of function 'PTR_ERR' kernel/nsproxy.c:62: error: dereferencing pointer to incomplete type kernel/nsproxy.c:66: error: dereferencing pointer to incomplete type kernel/nsproxy.c:66: error: implicit declaration of function 'copy_utsname' kernel/nsproxy.c:66: error: dereferencing pointer to incomplete type kernel/nsproxy.c:67: error: dereferencing pointer to incomplete type kernel/nsproxy.c:68: error: dereferencing pointer to incomplete type kernel/nsproxy.c:72: error: dereferencing pointer to incomplete type kernel/nsproxy.c:72: error: implicit declaration of function 'copy_ipcs' kernel/nsproxy.c:72: error: dereferencing pointer to incomplete type kernel/nsproxy.c:73: error: dereferencing pointer to incomplete type kernel/nsproxy.c:74: error: dereferencing pointer to incomplete type kernel/nsproxy.c:78: error: dereferencing pointer to incomplete type kernel/nsproxy.c:78: error: implicit declaration of function 'copy_pid_ns' kernel/nsproxy.c:78: error: implicit declaration of function 'task_active_pid_ns' kernel/nsproxy.c:79: error: dereferencing pointer to incomplete type kernel/nsproxy.c:80: error: dereferencing pointer to incomplete type kernel/nsproxy.c:84: error: dereferencing pointer to incomplete type kernel/nsproxy.c:84: error: implicit declaration of function 'copy_user_ns' kernel/nsproxy.c:84: error: dereferencing pointer to incomplete type kernel/nsproxy.c:85: error: dereferencing pointer to incomplete type kernel/nsproxy.c:86: error: dereferencing pointer to incomplete type kernel/nsproxy.c:90: error: dereferencing pointer to incomplete type kernel/nsproxy.c:90: error: implicit declaration of function 'copy_net_ns' kernel/nsproxy.c:90: error: dereferencing pointer to incomplete type kernel/nsproxy.c:91: error: dereferencing pointer to incomplete type kernel/nsproxy.c:92: error: dereferencing pointer to incomplete type kernel/nsproxy.c:99: error: dereferencing pointer to incomplete type kernel/nsproxy.c:100: error: implicit declaration of function 'put_user_ns' kernel/nsproxy.c:100: error: dereferencing pointer to incomplete type kernel/nsproxy.c:102: error: dereferencing pointer to incomplete type kernel/nsproxy.c:103: error: implicit declaration of function 'put_pid_ns' kernel/nsproxy.c:103: error: dereferencing pointer to incomplete type kernel/nsproxy.c:105: error: dereferencing pointer to incomplete type kernel/nsproxy.c:106: error: implicit declaration of function 'put_ipc_ns' kernel/nsproxy.c:106: error: dereferencing pointer to incomplete type kernel/nsproxy.c:108: error: dereferencing pointer to incomplete type kernel/nsproxy.c:109: error: implicit declaration of function 'put_uts_ns' kernel/nsproxy.c:109: error: dereferencing pointer to incomplete type kernel/nsproxy.c:111: error: dereferencing pointer to incomplete type kernel/nsproxy.c:112: error: implicit declaration of function 'put_mnt_ns' kernel/nsproxy.c:112: error: dereferencing pointer to incomplete type kernel/nsproxy.c:114: error: implicit declaration of function 'kmem_cache_free' kernel/nsproxy.c:115: warning: return makes pointer from integer without a cast kernel/nsproxy.c: At top level: kernel/nsproxy.c:122: warning: 'struct task_struct' declared inside parameter list kernel/nsproxy.c: In function 'copy_namespaces': kernel/nsproxy.c:124: error: dereferencing pointer to incomplete type kernel/nsproxy.c:131: error: implicit declaration of function 'get_nsproxy' kernel/nsproxy.c:133: error: 'CLONE_NEWNS' undeclared (first use in this function) kernel/nsproxy.c:133: error: 'CLONE_NEWUTS' undeclared (first use in this function) kernel/nsproxy.c:133: error: 'CLONE_NEWIPC' undeclared (first use in this function) kernel/nsproxy.c:134: error: 'CLONE_NEWUSER' undeclared (first use in this function) kernel/nsproxy.c:134: error: 'CLONE_NEWPID' undeclared (first use in this function) kernel/nsproxy.c:134: error: 'CLONE_NEWNET' undeclared (first use in this function) kernel/nsproxy.c:137: error: implicit declaration of function 'capable' kernel/nsproxy.c:137: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) kernel/nsproxy.c:138: error: 'EPERM' undeclared (first use in this function) kernel/nsproxy.c:149: error: 'CLONE_SYSVSEM' undeclared (first use in this function) kernel/nsproxy.c:150: error: 'EINVAL' undeclared (first use in this function) kernel/nsproxy.c:154: error: dereferencing pointer to incomplete type kernel/nsproxy.c:154: warning: passing argument 2 of 'create_new_namespaces' from incompatible pointer type kernel/nsproxy.c:160: error: implicit declaration of function 'ns_cgroup_clone' kernel/nsproxy.c:162: error: implicit declaration of function 'put_nsproxy' kernel/nsproxy.c:166: error: dereferencing pointer to incomplete type kernel/nsproxy.c: In function 'free_nsproxy': kernel/nsproxy.c:175: error: dereferencing pointer to incomplete type kernel/nsproxy.c:176: error: dereferencing pointer to incomplete type kernel/nsproxy.c:177: error: dereferencing pointer to incomplete type kernel/nsproxy.c:178: error: dereferencing pointer to incomplete type kernel/nsproxy.c:179: error: dereferencing pointer to incomplete type kernel/nsproxy.c:180: error: dereferencing pointer to incomplete type kernel/nsproxy.c:181: error: dereferencing pointer to incomplete type kernel/nsproxy.c:182: error: dereferencing pointer to incomplete type kernel/nsproxy.c:183: error: dereferencing pointer to incomplete type kernel/nsproxy.c:184: error: dereferencing pointer to incomplete type kernel/nsproxy.c:185: error: implicit declaration of function 'put_net' kernel/nsproxy.c:185: error: dereferencing pointer to incomplete type kernel/nsproxy.c: At top level: kernel/nsproxy.c:194: warning: 'struct fs_struct' declared inside parameter list kernel/nsproxy.c: In function 'unshare_nsproxy_namespaces': kernel/nsproxy.c:198: error: 'CLONE_NEWNS' undeclared (first use in this function) kernel/nsproxy.c:198: error: 'CLONE_NEWUTS' undeclared (first use in this function) kernel/nsproxy.c:198: error: 'CLONE_NEWIPC' undeclared (first use in this function) kernel/nsproxy.c:199: error: 'CLONE_NEWUSER' undeclared (first use in this function) kernel/nsproxy.c:199: error: 'CLONE_NEWNET' undeclared (first use in this function) kernel/nsproxy.c:202: error: 'CAP_SYS_ADMIN' undeclared (first use in this function) kernel/nsproxy.c:203: error: 'EPERM' undeclared (first use in this function) kernel/nsproxy.c:205: error: 'current' undeclared (first use in this function) kernel/nsproxy.c: At top level: kernel/nsproxy.c:220: warning: 'struct task_struct' declared inside parameter list kernel/nsproxy.c: In function 'switch_task_namespaces': kernel/nsproxy.c:224: error: implicit declaration of function 'might_sleep' kernel/nsproxy.c:226: error: dereferencing pointer to incomplete type kernel/nsproxy.c:228: error: implicit declaration of function 'rcu_assign_pointer' kernel/nsproxy.c:228: error: dereferencing pointer to incomplete type kernel/nsproxy.c:230: error: implicit declaration of function 'atomic_dec_and_test' kernel/nsproxy.c:230: error: dereferencing pointer to incomplete type kernel/nsproxy.c:237: error: implicit declaration of function 'synchronize_rcu' kernel/nsproxy.c: At top level: kernel/nsproxy.c:242: warning: 'struct task_struct' declared inside parameter list kernel/nsproxy.c: In function 'exit_task_namespaces': kernel/nsproxy.c:244: error: 'NULL' undeclared (first use in this function) kernel/nsproxy.c:244: warning: passing argument 1 of 'switch_task_namespaces' from incompatible pointer type kernel/nsproxy.c: At top level: kernel/nsproxy.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nsproxy_cache_init' kernel/nsproxy.c:253: warning: data definition has no type or storage class kernel/nsproxy.c:253: warning: type defaults to 'int' in declaration of 'module_init' kernel/nsproxy.c:253: warning: parameter names (without types) in function declaration fs/libfs.c:842: warning: data definition has no type or storage classmm/rmap.c:669: error: implicit declaration of function 'BUG' fs/fs-writeback.c:54: error: dereferencing pointer to incomplete type mm/rmap.c:683: error: implicit declaration of function 'set_page_dirty' fs/fs-writeback.c: At top level: mm/rmap.c:687: error: implicit declaration of function '__dec_zone_page_state' mm/rmap.c:688: error: 'NR_ANON_PAGES' undeclared (first use in this function) mm/rmap.c:688: error: 'NR_FILE_MAPPED' undeclared (first use in this function) mm/rmap.c: At top level: mm/rmap.c:697: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c:697: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'try_to_unmap_one': mm/rmap.c:699: error: dereferencing pointer to incomplete type mm/vmalloc.c:801: error: 'EINVAL' undeclared (first use in this function)mm/rmap.c:701: error: 'pte_t' undeclared (first use in this function) fs/fs-writeback.c:61: warning: 'struct backing_dev_info' declared inside parameter list fs/fs-writeback.c: In function 'writeback_release':mm/vmalloc.c:803: error: 'vmlist_lock' undeclared (first use in this function) mm/vmalloc.c:808: error: dereferencing pointer to incomplete type mm/vmalloc.c:808: error: 'VM_USERMAP' undeclared (first use in this function) mm/vmalloc.c:811: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/vmalloc.c:811: error: dereferencing pointer to incomplete type mm/vmalloc.c:818: error: implicit declaration of function 'vm_insert_page' mm/vmalloc.c:828: error: dereferencing pointer to incomplete type mm/vmalloc.c:828: error: 'VM_RESERVED' undeclared (first use in this function) mm/vmalloc.c: At top level: mm/vmalloc.c:836: warning: data definition has no type or storage class mm/vmalloc.c:836: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/vmalloc.c:836: warning: parameter names (without types) in function declaration mm/vmalloc.c:847: error: expected ')' before '*' token mm/vmalloc.c:865: error: expected ')' before 'size' mm/vmalloc.c:890: warning: data definition has no type or storage class mm/vmalloc.c:890: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/vmalloc.c:890: warning: parameter names (without types) in function declaration mm/vmalloc.c: In function 'free_vm_area': mm/vmalloc.c:895: error: dereferencing pointer to incomplete type mm/vmalloc.c: At top level: mm/vmalloc.c:899: warning: data definition has no type or storage class mm/vmalloc.c:899: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/vmalloc.c:899: warning: parameter names (without types) in function declaration fs/libfs.c:842: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'mm/rmap.c:701: error: 'pte' undeclared (first use in this function) mm/rmap.c:702: error: expected ';' before 'pteval' mm/rmap.c:703: error: 'spinlock_t' undeclared (first use in this function) mm/rmap.c:703: error: 'ptl' undeclared (first use in this function) mm/rmap.c:704: error: 'SWAP_AGAIN' undeclared (first use in this function) make[1]: *** [kernel/nsproxy.o] Error 1 fs/libfs.c:842: warning: parameter names (without types) in function declaration mm/rmap.c:704: warning: ISO C90 forbids mixed declarations and code fs/libfs.c:843: warning: data definition has no type or storage class fs/libfs.c:843: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/rmap.c:706: warning: passing argument 1 of 'vma_address' from incompatible pointer type mm/rmap.c:706: warning: passing argument 2 of 'vma_address' from incompatible pointer type mm/rmap.c:707: error: 'EFAULT' undeclared (first use in this function) fs/fs-writeback.c:63: error: implicit declaration of function 'BUG_ON'fs/libfs.c:843: warning: parameter names (without types) in function declaration mm/rmap.c:719: error: dereferencing pointer to incomplete type fs/libfs.c:844: warning: data definition has no type or storage classmm/rmap.c:719: error: 'VM_LOCKED' undeclared (first use in this function) fs/fs-writeback.c:63: warning: passing argument 1 of 'writeback_in_progress' from incompatible pointer type fs/libfs.c:844: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/rmap.c:721: error: 'SWAP_FAIL' undeclared (first use in this function) fs/libfs.c:844: warning: parameter names (without types) in function declaration mm/rmap.c:726: error: implicit declaration of function 'page_to_pfn' fs/fs-writeback.c:64: error: implicit declaration of function 'clear_bit' fs/libfs.c:845: warning: data definition has no type or storage class mm/rmap.c:727: error: 'pteval' undeclared (first use in this function) mm/rmap.c:734: error: implicit declaration of function 'update_hiwater_rss' mm/rmap.c:737: error: 'swp_entry_t' undeclared (first use in this function) mm/rmap.c:737: error: expected ';' before 'entry' mm/rmap.c:739: error: implicit declaration of function 'PageSwapCache' mm/rmap.c:744: error: implicit declaration of function 'swap_duplicate' mm/rmap.c:744: error: 'entry' undeclared (first use in this function) mm/rmap.c:745: error: dereferencing pointer to incomplete type mm/rmap.c:746: error: 'mmlist_lock' undeclared (first use in this function) mm/rmap.c:747: error: dereferencing pointer to incomplete type mm/rmap.c:748: error: implicit declaration of function 'list_add' mm/rmap.c:748: error: dereferencing pointer to incomplete type mm/rmap.c:748: error: 'init_mm' undeclared (first use in this function) mm/rmap.c:751: error: implicit declaration of function 'dec_mm_counter' mm/rmap.c:751: error: 'anon_rss' undeclared (first use in this function) mm/rmap.c:763: error: implicit declaration of function 'swp_entry_to_pte' mm/rmap.c:764: error: implicit declaration of function 'pte_file' mm/rmap.c:774: error: 'file_rss' undeclared (first use in this function) mm/rmap.c:777: warning: passing argument 1 of 'page_remove_rmap' from incompatible pointer type mm/rmap.c:777: warning: passing argument 2 of 'page_remove_rmap' from incompatible pointer type mm/rmap.c:778: error: implicit declaration of function 'page_cache_release' mm/rmap.c: At top level: mm/rmap.c:809: warning: 'struct vm_area_struct' declared inside parameter list mm/rmap.c: In function 'try_to_unmap_cluster': mm/rmap.c:811: error: dereferencing pointer to incomplete type mm/rmap.c:812: error: 'pgd_t' undeclared (first use in this function) mm/rmap.c:812: error: 'pgd' undeclared (first use in this function) mm/rmap.c:813: error: 'pud_t' undeclared (first use in this function) mm/rmap.c:813: error: 'pud' undeclared (first use in this function) mm/rmap.c:814: error: 'pmd_t' undeclared (first use in this function) mm/rmap.c:814: error: 'pmd' undeclared (first use in this function) mm/rmap.c:815: error: 'pte_t' undeclared (first use in this function) mm/rmap.c:815: error: 'pte' undeclared (first use in this function) mm/rmap.c:816: error: expected ';' before 'pteval' mm/rmap.c:817: error: 'spinlock_t' undeclared (first use in this function) mm/rmap.c:817: error: 'ptl' undeclared (first use in this function) mm/rmap.c:818: warning: ISO C90 forbids mixed declarations and code mm/rmap.c:822: error: dereferencing pointer to incomplete type mm/rmap.c:822: error: implicit declaration of function 'min' mm/rmap.c:822: error: 'PAGE_SIZE' undeclared (first use in this function) mm/rmap.c:822: error: 'PMD_SIZE' undeclared (first use in this function) mm/rmap.c:824: error: dereferencing pointer to incomplete type mm/rmap.c:825: error: dereferencing pointer to incomplete type mm/rmap.c:826: error: dereferencing pointer to incomplete type mm/rmap.c:827: error: dereferencing pointer to incomplete type mm/rmap.c:829: error: implicit declaration of function 'pgd_offset' mm/rmap.c:830: error: implicit declaration of function 'pgd_present' mm/rmap.c:833: error: implicit declaration of function 'pud_offset' mm/rmap.c:834: error: implicit declaration of function 'pud_present' mm/rmap.c:837: error: implicit declaration of function 'pmd_offset' fs/fs-writeback.c:64: error: 'BDI_pdflush' undeclared (first use in this function)fs/libfs.c:845: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:845: warning: parameter names (without types) in function declaration fs/libfs.c:846: warning: data definition has no type or storage class fs/libfs.c:846: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:846: warning: parameter names (without types) in function declaration fs/libfs.c:847: warning: data definition has no type or storage class fs/libfs.c:847: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:847: warning: parameter names (without types) in function declaration mm/rmap.c:838: error: implicit declaration of function 'pmd_present' CC kernel/srcu.o fs/libfs.c:848: warning: data definition has no type or storage class fs/libfs.c:848: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:848: warning: parameter names (without types) in function declaration fs/fs-writeback.c:64: error: dereferencing pointer to incomplete type mm/rmap.c:841: error: implicit declaration of function 'pte_offset_map_lock' mm/rmap.c:846: warning: left-hand operand of comma expression has no effect mm/rmap.c:847: error: implicit declaration of function 'pte_present' make[1]: *** [mm/vmalloc.o] Error 1 fs/libfs.c:849: warning: data definition has no type or storage classfs/fs-writeback.c: At top level: fs/fs-writeback.c:94: warning: 'struct inode' declared inside parameter list mm/rmap.c:849: error: implicit declaration of function 'vm_normal_page' fs/fs-writeback.c: In function '__mark_inode_dirty': mm/rmap.c:849: warning: assignment makes pointer from integer without a cast mm/rmap.c:857: error: 'pteval' undeclared (first use in this function) mm/rmap.c:860: error: dereferencing pointer to incomplete type mm/rmap.c:861: error: implicit declaration of function 'pgoff_to_pte' mm/rmap.c:861: error: dereferencing pointer to incomplete type fs/fs-writeback.c:96: error: dereferencing pointer to incomplete type mm/rmap.c:867: warning: passing argument 1 of 'page_remove_rmap' from incompatible pointer type mm/rmap.c:867: warning: passing argument 2 of 'page_remove_rmap' from incompatible pointer type fs/fs-writeback.c:102: error: 'I_DIRTY_SYNC' undeclared (first use in this function) mm/rmap.c:869: error: 'file_rss' undeclared (first use in this function)fs/fs-writeback.c:102: error: 'I_DIRTY_DATASYNC' undeclared (first use in this function) fs/fs-writeback.c:103: error: dereferencing pointer to incomplete type fs/fs-writeback.c:104: error: dereferencing pointer to incomplete type fs/fs-writeback.c:111: error: implicit declaration of function 'smp_mb' fs/fs-writeback.c:114: error: dereferencing pointer to incomplete type fs/fs-writeback.c:117: error: implicit declaration of function 'unlikely' fs/fs-writeback.c:117: error: 'block_dump' undeclared (first use in this function) fs/fs-writeback.c:118: error: 'NULL' undeclared (first use in this function) mm/rmap.c: At top level: mm/rmap.c:875: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'try_to_unmap_anon': fs/fs-writeback.c:121: error: implicit declaration of function 'list_empty' mm/rmap.c:879: error: 'SWAP_AGAIN' undeclared (first use in this function) fs/libfs.c:849: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'fs/fs-writeback.c:121: error: dereferencing pointer to incomplete type mm/rmap.c:881: warning: passing argument 1 of 'page_lock_anon_vma' from incompatible pointer type fs/fs-writeback.c:122: error: implicit declaration of function 'list_entry' mm/rmap.c:885: error: dereferencing pointer to incomplete type fs/fs-writeback.c:122: error: dereferencing pointer to incomplete type fs/fs-writeback.c:123: error: expected expression before 'struct' mm/rmap.c:885: error: 'anon_vma_node' undeclared (first use in this function) fs/fs-writeback.c:123: warning: assignment makes pointer from integer without a cast mm/rmap.c:885: error: expected ';' before '{' token fs/fs-writeback.c:124: error: dereferencing pointer to incomplete type fs/fs-writeback.c:125: error: dereferencing pointer to incomplete type fs/fs-writeback.c:128: error: dereferencing pointer to incomplete type fs/fs-writeback.c:128: error: implicit declaration of function 'strcmp' mm/rmap.c: At top level: fs/fs-writeback.c:128: error: dereferencing pointer to incomplete type mm/rmap.c:905: warning: 'struct page' declared inside parameter list fs/fs-writeback.c:129: error: implicit declaration of function 'printk' mm/rmap.c: In function 'try_to_unmap_file': mm/rmap.c:907: error: dereferencing pointer to incomplete type fs/fs-writeback.c:129: error: 'KERN_DEBUG' undeclared (first use in this function)mm/rmap.c:908: error: 'pgoff_t' undeclared (first use in this function)fs/libfs.c:849: warning: parameter names (without types) in function declaration fs/fs-writeback.c:130: error: expected ')' before string constantmm/rmap.c:908: error: expected ';' before 'pgoff' mm/rmap.c:909: warning: ISO C90 forbids mixed declarations and code fs/fs-writeback.c:135: error: implicit declaration of function 'spin_lock'mm/rmap.c:910: error: storage size of 'iter' isn't known mm/rmap.c:911: error: 'SWAP_AGAIN' undeclared (first use in this function) fs/fs-writeback.c:135: error: 'inode_lock' undeclared (first use in this function) mm/rmap.c:917: error: dereferencing pointer to incomplete type fs/fs-writeback.c:136: error: dereferencing pointer to incomplete type mm/rmap.c:918: error: dereferencing pointer to incomplete type fs/fs-writeback.c:137: error: dereferencing pointer to incomplete type mm/rmap.c:918: error: 'pgoff' undeclared (first use in this function) fs/fs-writeback.c:137: error: 'I_DIRTY' undeclared (first use in this function) mm/rmap.c:918: error: expected ';' before '{' token fs/fs-writeback.c:139: error: dereferencing pointer to incomplete type mm/rmap.c:927: error: dereferencing pointer to incomplete typefs/fs-writeback.c:146: error: dereferencing pointer to incomplete type fs/fs-writeback.c:146: error: 'I_SYNC' undeclared (first use in this function) mm/rmap.c:928: error: 'shared' undeclared (first use in this function) fs/fs-writeback.c:153: error: implicit declaration of function 'S_ISBLK' fs/libfs.c:850: warning: data definition has no type or storage classmm/rmap.c:928: error: expected ';' before '{' token fs/fs-writeback.c:153: error: dereferencing pointer to incomplete type fs/fs-writeback.c:154: error: implicit declaration of function 'hlist_unhashed' mm/rmap.c:954: error: implicit declaration of function 'cond_resched_lock' fs/fs-writeback.c:154: error: dereferencing pointer to incomplete typemm/rmap.c:954: error: dereferencing pointer to incomplete typefs/libfs.c:850: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:157: error: dereferencing pointer to incomplete type fs/fs-writeback.c:157: error: 'I_FREEING' undeclared (first use in this function) fs/fs-writeback.c:157: error: 'I_CLEAR' undeclared (first use in this function) fs/fs-writeback.c:165: error: dereferencing pointer to incomplete type fs/fs-writeback.c:165: error: 'jiffies' undeclared (first use in this function) fs/fs-writeback.c:166: error: implicit declaration of function 'list_move' fs/fs-writeback.c:166: error: dereferencing pointer to incomplete type fs/fs-writeback.c:166: error: dereferencing pointer to incomplete type fs/fs-writeback.c:170: error: implicit declaration of function 'spin_unlock' fs/fs-writeback.c: At top level: fs/fs-writeback.c:173: warning: data definition has no type or storage class fs/fs-writeback.c:173: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:173: warning: parameter names (without types) in function declaration fs/fs-writeback.c:175: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'write_inode': fs/fs-writeback.c:177: error: dereferencing pointer to incomplete type fs/fs-writeback.c:177: error: implicit declaration of function 'is_bad_inode' fs/fs-writeback.c:178: error: dereferencing pointer to incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:191: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'redirty_tail': fs/fs-writeback.c:193: error: dereferencing pointer to incomplete type fs/fs-writeback.c:195: error: dereferencing pointer to incomplete type fs/fs-writeback.c:198: error: dereferencing pointer to incomplete type fs/fs-writeback.c:198: error: expected expression before 'struct' fs/fs-writeback.c:198: warning: assignment makes pointer from integer without a cast fs/fs-writeback.c:199: error: implicit declaration of function 'time_after_eq' fs/fs-writeback.c:199: error: dereferencing pointer to incomplete type fs/libfs.c:850: warning: parameter names (without types) in function declaration fs/libfs.c:851: warning: data definition has no type or storage class fs/libfs.c:851: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/libfs.c:851: warning: parameter names (without types) in function declaration fs/libfs.c:852: warning: data definition has no type or storage class fs/libfs.c:852: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'mm/rmap.c:956: error: 'PAGE_SIZE' undeclared (first use in this function) mm/rmap.c:956: error: 'PMD_SIZE' undeclared (first use in this function) mm/rmap.c:961: error: dereferencing pointer to incomplete type mm/rmap.c:962: error: expected ';' before '{' token mm/rmap.c:985: error: dereferencing pointer to incomplete type mm/rmap.c:986: error: expected ';' before 'vma' mm/rmap.c:988: error: dereferencing pointer to incomplete type mm/rmap.c:912: warning: unused variable 'cursor' mm/rmap.c:910: warning: unused variable 'iter' mm/rmap.c: At top level: mm/rmap.c:1005: warning: 'struct page' declared inside parameter list mm/rmap.c: In function 'try_to_unmap': mm/rmap.c:1012: warning: passing argument 1 of 'try_to_unmap_anon' from incompatible pointer type mm/rmap.c:1014: warning: passing argument 1 of 'try_to_unmap_file' from incompatible pointer type mm/rmap.c:1017: error: 'SWAP_SUCCESS' undeclared (first use in this function) CC kernel/semaphore.o fs/fs-writeback.c:200: error: dereferencing pointer to incomplete type fs/libfs.c:852: warning: parameter names (without types) in function declaration fs/libfs.c:853: warning: data definition has no type or storage class fs/libfs.c:853: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/libfs.c:853: warning: parameter names (without types) in function declaration fs/libfs.c:854: warning: data definition has no type or storage class fs/libfs.c:854: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/libfs.c:854: warning: parameter names (without types) in function declaration fs/libfs.c:855: warning: data definition has no type or storage class fs/libfs.c:855: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/libfs.c:855: warning: parameter names (without types) in function declaration fs/fs-writeback.c:201: error: dereferencing pointer to incomplete type fs/fs-writeback.c:201: error: 'jiffies' undeclared (first use in this function) fs/fs-writeback.c:203: error: dereferencing pointer to incomplete type fs/fs-writeback.c:203: error: dereferencing pointer to incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:209: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'requeue_io': fs/fs-writeback.c:211: error: dereferencing pointer to incomplete type fs/fs-writeback.c:211: error: dereferencing pointer to incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:214: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'inode_sync_complete': fs/fs-writeback.c:220: error: implicit declaration of function 'wake_up_bit' fs/fs-writeback.c:220: error: dereferencing pointer to incomplete type fs/fs-writeback.c:220: error: '__I_SYNC' undeclared (first use in this function) fs/fs-writeback.c: At top level: fs/fs-writeback.c:228: warning: 'struct list_head' declared inside parameter list fs/fs-writeback.c: In function 'move_expired_inodes': fs/fs-writeback.c:231: error: dereferencing pointer to incomplete type fs/fs-writeback.c:232: error: expected expression before 'struct' fs/fs-writeback.c:232: warning: initialization makes pointer from integer without a cast fs/fs-writeback.c:234: error: implicit declaration of function 'time_after' fs/fs-writeback.c:234: error: dereferencing pointer to incomplete type fs/fs-writeback.c:236: error: dereferencing pointer to incomplete type fs/fs-writeback.c: In function 'queue_io': fs/fs-writeback.c:246: error: implicit declaration of function 'list_splice_init' fs/fs-writeback.c:246: error: dereferencing pointer to incomplete type fs/fs-writeback.c:246: error: dereferencing pointer to incomplete type fs/fs-writeback.c:247: error: dereferencing pointer to incomplete type fs/fs-writeback.c:247: error: dereferencing pointer to incomplete type fs/fs-writeback.c: In function 'sb_has_dirty_inodes': fs/fs-writeback.c:252: error: dereferencing pointer to incomplete type fs/fs-writeback.c:253: error: dereferencing pointer to incomplete type fs/fs-writeback.c:254: error: dereferencing pointer to incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:256: warning: data definition has no type or storage class fs/fs-writeback.c:256: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:256: warning: parameter names (without types) in function declaration fs/fs-writeback.c:269: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c:269: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function '__sync_single_inode': fs/fs-writeback.c:272: error: dereferencing pointer to incomplete type fs/fs-writeback.c:273: error: dereferencing pointer to incomplete type fs/fs-writeback.c:273: error: 'WB_SYNC_ALL' undeclared (first use in this function) fs/fs-writeback.c:276: error: dereferencing pointer to incomplete type fs/fs-writeback.c:276: error: 'I_SYNC' undeclared (first use in this function) fs/fs-writeback.c:279: error: dereferencing pointer to incomplete type fs/fs-writeback.c:279: error: 'I_DIRTY' undeclared (first use in this function) fs/fs-writeback.c:280: error: dereferencing pointer to incomplete type fs/fs-writeback.c:281: error: dereferencing pointer to incomplete type fs/fs-writeback.c:283: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:285: error: implicit declaration of function 'do_writepages' fs/fs-writeback.c:288: error: 'I_DIRTY_SYNC' undeclared (first use in this function) fs/fs-writeback.c:288: error: 'I_DIRTY_DATASYNC' undeclared (first use in this function) fs/fs-writeback.c:289: warning: passing argument 1 of 'write_inode' from incompatible pointer type fs/fs-writeback.c:295: error: implicit declaration of function 'filemap_fdatawait' fs/fs-writeback.c:301: error: dereferencing pointer to incomplete type fs/fs-writeback.c:302: error: dereferencing pointer to incomplete type fs/fs-writeback.c:302: error: 'I_FREEING' undeclared (first use in this function) fs/fs-writeback.c:303: error: dereferencing pointer to incomplete type fs/fs-writeback.c:304: error: implicit declaration of function 'mapping_tagged' fs/fs-writeback.c:304: error: 'PAGECACHE_TAG_DIRTY' undeclared (first use in this function) fs/fs-writeback.c:319: error: dereferencing pointer to incomplete type fs/fs-writeback.c:325: error: dereferencing pointer to incomplete type fs/fs-writeback.c:325: error: 'I_DIRTY_PAGES' undeclared (first use in this function) fs/fs-writeback.c:326: error: dereferencing pointer to incomplete type fs/fs-writeback.c:330: warning: passing argument 1 of 'requeue_io' from incompatible pointer type fs/fs-writeback.c:335: warning: passing argument 1 of 'redirty_tail' from incompatible pointer type fs/fs-writeback.c:345: error: dereferencing pointer to incomplete type fs/fs-writeback.c:346: warning: passing argument 1 of 'redirty_tail' from incompatible pointer type fs/fs-writeback.c:348: error: dereferencing pointer to incomplete type fs/fs-writeback.c:353: warning: passing argument 1 of 'redirty_tail' from incompatible pointer type fs/fs-writeback.c:354: error: implicit declaration of function 'atomic_read' fs/fs-writeback.c:354: error: dereferencing pointer to incomplete type fs/fs-writeback.c:358: error: dereferencing pointer to incomplete type fs/fs-writeback.c:358: error: 'inode_in_use' undeclared (first use in this function) fs/fs-writeback.c:363: error: dereferencing pointer to incomplete type fs/fs-writeback.c:363: error: 'inode_unused' undeclared (first use in this function) fs/fs-writeback.c:366: warning: passing argument 1 of 'inode_sync_complete' from incompatible pointer type fs/fs-writeback.c: At top level: fs/fs-writeback.c:376: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c:376: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function '__writeback_single_inode': fs/fs-writeback.c:378: error: 'wait_queue_head_t' undeclared (first use in this function) fs/fs-writeback.c:378: error: 'wqh' undeclared (first use in this function) fs/fs-writeback.c:380: error: dereferencing pointer to incomplete type fs/fs-writeback.c:381: error: implicit declaration of function 'WARN_ON' fs/fs-writeback.c:381: error: dereferencing pointer to incomplete type fs/fs-writeback.c:381: error: 'I_WILL_FREE' undeclared (first use in this function) fs/fs-writeback.c:381: error: 'I_FREEING' undeclared (first use in this function) fs/fs-writeback.c:383: error: dereferencing pointer to incomplete type fs/fs-writeback.c:385: error: dereferencing pointer to incomplete type fs/fs-writeback.c:385: error: 'WB_SYNC_ALL' undeclared (first use in this function) fs/fs-writeback.c:385: error: dereferencing pointer to incomplete type fs/fs-writeback.c:385: error: 'I_SYNC' undeclared (first use in this function) fs/fs-writeback.c:393: warning: passing argument 1 of 'requeue_io' from incompatible pointer type fs/fs-writeback.c:400: error: dereferencing pointer to incomplete type fs/fs-writeback.c:401: error: implicit declaration of function 'DEFINE_WAIT_BIT' fs/fs-writeback.c:401: error: 'wq' undeclared (first use in this function) fs/fs-writeback.c:401: error: dereferencing pointer to incomplete type fs/fs-writeback.c:401: error: '__I_SYNC' undeclared (first use in this function) fs/fs-writeback.c:403: error: implicit declaration of function 'bit_waitqueue' fs/fs-writeback.c:403: error: dereferencing pointer to incomplete type fs/fs-writeback.c:405: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:406: error: implicit declaration of function '__wait_on_bit' fs/fs-writeback.c:406: error: 'inode_wait' undeclared (first use in this function) fs/fs-writeback.c:407: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/fs-writeback.c:409: error: dereferencing pointer to incomplete type fs/fs-writeback.c:411: warning: passing argument 1 of '__sync_single_inode' from incompatible pointer type fs/fs-writeback.c:411: warning: passing argument 2 of '__sync_single_inode' from incompatible pointer type fs/fs-writeback.c: At top level: fs/fs-writeback.c:443: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c: In function 'generic_sync_sb_inodes': fs/fs-writeback.c:445: error: 'jiffies' undeclared (first use in this function) fs/fs-writeback.c:447: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:448: error: dereferencing pointer to incomplete typecc1: error: include/linux/autoconf.h: No such file or directory kernel/srcu.c:27:26: error: linux/module.h: No such file or directory kernel/srcu.c:28:25: error: linux/mutex.h: No such file or directory kernel/srcu.c:29:26: error: linux/percpu.h: No such file or directory kernel/srcu.c:30:27: error: linux/preempt.h: No such file or directory kernel/srcu.c:31:28: error: linux/rcupdate.h: No such file or directory kernel/srcu.c:32:25: error: linux/sched.h: No such file or directory kernel/srcu.c:33:24: error: linux/slab.h: No such file or directory kernel/srcu.c:34:23: error: linux/smp.h: No such file or directory kernel/srcu.c:35:24: error: linux/srcu.h: No such file or directory kernel/srcu.c:45: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c:45: warning: its scope is only this definition or declaration, which is probably not what you want kernel/srcu.c: In function 'init_srcu_struct': kernel/srcu.c:47: error: dereferencing pointer to incomplete type kernel/srcu.c:48: error: implicit declaration of function 'mutex_init' kernel/srcu.c:48: error: dereferencing pointer to incomplete type kernel/srcu.c:49: error: dereferencing pointer to incomplete type kernel/srcu.c:49: error: implicit declaration of function 'alloc_percpu' kernel/srcu.c:49: error: expected expression before 'struct' kernel/srcu.c:50: error: dereferencing pointer to incomplete type kernel/srcu.c:50: error: 'ENOMEM' undeclared (first use in this function) kernel/srcu.c:50: error: (Each undeclared identifier is reported only once kernel/srcu.c:50: error: for each function it appears in.) kernel/srcu.c: At top level: kernel/srcu.c:58: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'srcu_readers_active_idx': kernel/srcu.c:64: error: implicit declaration of function 'for_each_possible_cpu' kernel/srcu.c:65: error: expected ';' before 'sum' kernel/srcu.c: At top level: kernel/srcu.c:77: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'srcu_readers_active': fs/fs-writeback.c:448: error: dereferencing pointer to incomplete type fs/fs-writeback.c:449: error: dereferencing pointer to incomplete type fs/fs-writeback.c:451: error: dereferencing pointer to incomplete type fs/fs-writeback.c:452: error: dereferencing pointer to incomplete type fs/fs-writeback.c:453: error: expected expression before 'struct' fs/fs-writeback.c:453: warning: initialization makes pointer from integer without a cast fs/fs-writeback.c:454: error: dereferencing pointer to incomplete type fs/fs-writeback.c:455: error: dereferencing pointer to incomplete type fs/fs-writeback.c:458: error: implicit declaration of function 'bdi_cap_writeback_dirty' fs/fs-writeback.c:459: warning: passing argument 1 of 'redirty_tail' from incompatible pointer type fs/fs-writeback.c:475: error: dereferencing pointer to incomplete type fs/fs-writeback.c:475: error: implicit declaration of function 'bdi_write_congested' fs/fs-writeback.c:476: error: dereferencing pointer to incomplete type fs/fs-writeback.c:479: warning: passing argument 1 of 'requeue_io' from incompatible pointer type fs/fs-writeback.c:483: error: dereferencing pointer to incomplete type fs/fs-writeback.c:483: error: dereferencing pointer to incomplete type make[1]: *** [mm/rmap.o] Error 1 make[1]: *** [fs/libfs.o] Error 1 kernel/srcu.c:79: warning: passing argument 1 of 'srcu_readers_active_idx' from incompatible pointer type kernel/srcu.c:79: warning: passing argument 1 of 'srcu_readers_active_idx' from incompatible pointer type kernel/srcu.c: At top level: kernel/srcu.c:89: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'cleanup_srcu_struct': kernel/srcu.c:93: warning: passing argument 1 of 'srcu_readers_active' from incompatible pointer type kernel/srcu.c:94: error: implicit declaration of function 'WARN_ON' fs/fs-writeback.c:486: warning: passing argument 1 of 'requeue_io' from incompatible pointer type kernel/srcu.c:97: error: implicit declaration of function 'free_percpu' fs/fs-writeback.c:491: error: dereferencing pointer to incomplete type fs/fs-writeback.c:495: error: implicit declaration of function 'current_is_pdflush' fs/fs-writeback.c:495: warning: passing argument 1 of 'writeback_acquire' from incompatible pointer type fs/fs-writeback.c:498: error: dereferencing pointer to incomplete type fs/fs-writeback.c:498: error: 'I_FREEING' undeclared (first use in this function) fs/fs-writeback.c:499: error: implicit declaration of function '__iget' fs/fs-writeback.c:500: error: dereferencing pointer to incomplete type fs/fs-writeback.c:501: warning: passing argument 1 of '__writeback_single_inode' from incompatible pointer type fs/fs-writeback.c:501: warning: passing argument 2 of '__writeback_single_inode' from incompatible pointer type fs/fs-writeback.c:502: error: dereferencing pointer to incomplete type fs/fs-writeback.c:502: error: 'WB_SYNC_HOLD' undeclared (first use in this function) fs/fs-writeback.c:503: error: dereferencing pointer to incomplete type fs/fs-writeback.c:504: error: dereferencing pointer to incomplete type fs/fs-writeback.c:504: error: dereferencing pointer to incomplete type fs/fs-writeback.c:507: warning: passing argument 1 of 'writeback_release' from incompatible pointer type fs/fs-writeback.c:508: error: dereferencing pointer to incomplete type fs/fs-writeback.c:513: warning: passing argument 1 of 'redirty_tail' from incompatible pointer type fs/fs-writeback.c:516: error: implicit declaration of function 'iput' fs/fs-writeback.c:517: error: implicit declaration of function 'cond_resched' fs/fs-writeback.c:519: error: dereferencing pointer to incomplete type fs/fs-writeback.c:520: error: dereferencing pointer to incomplete type fs/fs-writeback.c:523: error: dereferencing pointer to incomplete type fs/fs-writeback.c:524: error: dereferencing pointer to incomplete type fs/fs-writeback.c: At top level: fs/fs-writeback.c:529: warning: data definition has no type or storage class fs/fs-writeback.c:529: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/fs-writeback.c:529: warning: parameter names (without types) in function declaration fs/fs-writeback.c:532: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c: In function 'sync_sb_inodes': fs/fs-writeback.c:534: warning: passing argument 2 of 'generic_sync_sb_inodes' from incompatible pointer type fs/fs-writeback.c: At top level: fs/fs-writeback.c:557: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c: In function 'writeback_inodes': fs/fs-writeback.c:561: error: implicit declaration of function 'might_sleep' fs/fs-writeback.c:562: error: 'sb_lock' undeclared (first use in this function) fs/fs-writeback.c:564: error: implicit declaration of function 'list_for_each_entry_reverse' fs/fs-writeback.c:564: error: 'super_blocks' undeclared (first use in this function) fs/fs-writeback.c:564: error: 's_list' undeclared (first use in this function) fs/fs-writeback.c:564: error: expected ';' before '{' token fs/fs-writeback.c:563: warning: label 'restart' defined but not used CC mm/pagewalk.o fs/fs-writeback.c: In function 'sync_inodes_sb': fs/fs-writeback.c:602: error: variable 'wbc' has initializer but incomplete type fs/fs-writeback.c:603: error: unknown field 'sync_mode' specified in initializer fs/fs-writeback.c:603: error: 'WB_SYNC_ALL' undeclared (first use in this function) fs/fs-writeback.c:603: error: 'WB_SYNC_HOLD' undeclared (first use in this function) fs/fs-writeback.c:603: warning: excess elements in struct initializer fs/fs-writeback.c:603: warning: (near initialization for 'wbc') fs/fs-writeback.c:604: error: unknown field 'range_start' specified in initializer fs/fs-writeback.c:604: warning: excess elements in struct initializer fs/fs-writeback.c:604: warning: (near initialization for 'wbc') fs/fs-writeback.c:605: error: unknown field 'range_end' specified in initializer fs/fs-writeback.c:605: error: 'LLONG_MAX' undeclared (first use in this function) fs/fs-writeback.c:605: warning: excess elements in struct initializer fs/fs-writeback.c:605: warning: (near initialization for 'wbc') fs/fs-writeback.c:602: error: storage size of 'wbc' isn't known fs/fs-writeback.c:607: error: implicit declaration of function 'global_page_state' fs/fs-writeback.c:607: error: 'NR_FILE_DIRTY' undeclared (first use in this function) fs/fs-writeback.c:608: error: 'NR_UNSTABLE_NFS' undeclared (first use in this function) fs/fs-writeback.c:611: error: 'inodes_stat' undeclared (first use in this function) fs/fs-writeback.c:602: warning: unused variable 'wbc' fs/fs-writeback.c: In function 'set_sb_syncing': fs/fs-writeback.c:623: error: 'sb_lock' undeclared (first use in this function) fs/fs-writeback.c:624: error: 'super_blocks' undeclared (first use in this function) fs/fs-writeback.c:624: error: 's_list' undeclared (first use in this function) fs/fs-writeback.c:625: error: expected ';' before 'sb' fs/fs-writeback.c: In function '__sync_inodes': fs/fs-writeback.c:652: error: 'sb_lock' undeclared (first use in this function) fs/fs-writeback.c:654: error: implicit declaration of function 'list_for_each_entry' fs/fs-writeback.c:654: error: 'super_blocks' undeclared (first use in this function) fs/fs-writeback.c:654: error: 's_list' undeclared (first use in this function) fs/fs-writeback.c:654: error: expected ';' before '{' token fs/fs-writeback.c:653: warning: label 'restart' defined but not used CC kernel/notifier.o fs/fs-writeback.c: At top level: fs/fs-writeback.c:694: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'write_inode_now': fs/fs-writeback.c:697: error: variable 'wbc' has initializer but incomplete type fs/fs-writeback.c:698: error: unknown field 'nr_to_write' specified in initializer fs/fs-writeback.c:698: error: 'LONG_MAX' undeclared (first use in this function) fs/fs-writeback.c:698: warning: excess elements in struct initializer fs/fs-writeback.c:698: warning: (near initialization for 'wbc') fs/fs-writeback.c:699: error: unknown field 'sync_mode' specified in initializer fs/fs-writeback.c:699: error: 'WB_SYNC_ALL' undeclared (first use in this function) fs/fs-writeback.c:699: error: 'WB_SYNC_NONE' undeclared (first use in this function) fs/fs-writeback.c:699: warning: excess elements in struct initializer fs/fs-writeback.c:699: warning: (near initialization for 'wbc') fs/fs-writeback.c:700: error: unknown field 'range_start' specified in initializer fs/fs-writeback.c:700: warning: excess elements in struct initializer fs/fs-writeback.c:700: warning: (near initialization for 'wbc') fs/fs-writeback.c:701: error: unknown field 'range_end' specified in initializer fs/fs-writeback.c:701: error: 'LLONG_MAX' undeclared (first use in this function) fs/fs-writeback.c:701: warning: excess elements in struct initializer fs/fs-writeback.c:701: warning: (near initialization for 'wbc') fs/fs-writeback.c:697: error: storage size of 'wbc' isn't known fs/fs-writeback.c:704: error: implicit declaration of function 'mapping_cap_writeback_dirty' fs/fs-writeback.c:704: error: dereferencing pointer to incomplete type fs/fs-writeback.c:708: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:709: warning: passing argument 1 of '__writeback_single_inode' from incompatible pointer type fs/fs-writeback.c:712: error: implicit declaration of function 'inode_sync_wait' fs/fs-writeback.c:697: warning: unused variable 'wbc' fs/fs-writeback.c: At top level: fs/fs-writeback.c:715: warning: data definition has no type or storage class fs/fs-writeback.c:715: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:715: warning: parameter names (without types) in function declaration fs/fs-writeback.c:728: warning: 'struct writeback_control' declared inside parameter list fs/fs-writeback.c:728: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'sync_inode': fs/fs-writeback.c:732: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:733: warning: passing argument 1 of '__writeback_single_inode' from incompatible pointer type fs/fs-writeback.c:733: warning: passing argument 2 of '__writeback_single_inode' from incompatible pointer type fs/fs-writeback.c: At top level: fs/fs-writeback.c:737: warning: data definition has no type or storage class fs/fs-writeback.c:737: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:737: warning: parameter names (without types) in function declaration fs/fs-writeback.c:756: warning: 'struct address_space' declared inside parameter list fs/fs-writeback.c:756: warning: 'struct inode' declared inside parameter list fs/fs-writeback.c: In function 'generic_osync_inode': fs/fs-writeback.c:762: error: 'OSYNC_DATA' undeclared (first use in this function) fs/fs-writeback.c:763: error: implicit declaration of function 'filemap_fdatawrite' fs/fs-writeback.c:764: error: 'OSYNC_METADATA' undeclared (first use in this function) fs/fs-writeback.c:765: error: implicit declaration of function 'sync_mapping_buffers' fs/fs-writeback.c:775: error: 'inode_lock' undeclared (first use in this function) fs/fs-writeback.c:776: error: dereferencing pointer to incomplete type fs/fs-writeback.c:776: error: 'I_DIRTY' undeclared (first use in this function) fs/fs-writeback.c:777: error: 'OSYNC_INODE' undeclared (first use in this function) fs/fs-writeback.c:777: error: dereferencing pointer to incomplete type fs/fs-writeback.c:777: error: 'I_DIRTY_DATASYNC' undeclared (first use in this function) fs/fs-writeback.c:782: warning: passing argument 1 of 'write_inode_now' from incompatible pointer type fs/fs-writeback.c: At top level: fs/fs-writeback.c:791: warning: data definition has no type or storage class fs/fs-writeback.c:791: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/fs-writeback.c:791: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory kernel/semaphore.c:28:28: error: linux/compiler.h: No such file or directory kernel/semaphore.c:29:26: error: linux/kernel.h: No such file or directory kernel/semaphore.c:30:26: error: linux/module.h: No such file or directory kernel/semaphore.c:31:25: error: linux/sched.h: No such file or directory kernel/semaphore.c:32:29: error: linux/semaphore.h: No such file or directory kernel/semaphore.c:33:28: error: linux/spinlock.h: No such file or directory kernel/semaphore.c:34:26: error: linux/ftrace.h: No such file or directory kernel/semaphore.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/semaphore.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/semaphore.c:53: warning: 'struct semaphore' declared inside parameter list kernel/semaphore.c:53: warning: its scope is only this definition or declaration, which is probably not what you want kernel/semaphore.c: In function 'down': kernel/semaphore.c:57: error: implicit declaration of function 'spin_lock_irqsave' kernel/semaphore.c:57: error: dereferencing pointer to incomplete type kernel/semaphore.c:58: error: implicit declaration of function 'likely' kernel/semaphore.c:58: error: dereferencing pointer to incomplete type kernel/semaphore.c:59: error: dereferencing pointer to incomplete type kernel/semaphore.c:61: error: implicit declaration of function '__down' kernel/semaphore.c:62: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/semaphore.c:62: error: dereferencing pointer to incomplete type kernel/semaphore.c: At top level: kernel/semaphore.c:64: warning: data definition has no type or storage class kernel/semaphore.c:64: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/semaphore.c:64: warning: parameter names (without types) in function declaration kernel/semaphore.c:75: warning: 'struct semaphore' declared inside parameter list kernel/srcu.c:97: error: dereferencing pointer to incomplete type kernel/semaphore.c: In function 'down_interruptible': kernel/semaphore.c:80: error: dereferencing pointer to incomplete type kernel/semaphore.c:81: error: dereferencing pointer to incomplete type kernel/semaphore.c:82: error: dereferencing pointer to incomplete type kernel/srcu.c:98: error: dereferencing pointer to incomplete typekernel/semaphore.c:84: error: implicit declaration of function '__down_interruptible' kernel/semaphore.c:85: error: dereferencing pointer to incomplete type kernel/srcu.c:98: error: 'NULL' undeclared (first use in this function) kernel/semaphore.c: At top level: kernel/semaphore.c:89: warning: data definition has no type or storage class kernel/semaphore.c:89: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/semaphore.c:89: warning: parameter names (without types) in function declaration kernel/semaphore.c:101: warning: 'struct semaphore' declared inside parameter list kernel/srcu.c: At top level: kernel/semaphore.c: In function 'down_killable': kernel/srcu.c:109: warning: 'struct srcu_struct' declared inside parameter list kernel/semaphore.c:106: error: dereferencing pointer to incomplete type kernel/semaphore.c:107: error: dereferencing pointer to incomplete type kernel/srcu.c: In function 'srcu_read_lock': kernel/semaphore.c:108: error: dereferencing pointer to incomplete type kernel/srcu.c:113: error: implicit declaration of function 'preempt_disable' kernel/semaphore.c:110: error: implicit declaration of function '__down_killable' kernel/srcu.c:114: error: dereferencing pointer to incomplete type kernel/semaphore.c:111: error: dereferencing pointer to incomplete type kernel/srcu.c:115: error: implicit declaration of function 'barrier' kernel/srcu.c:116: error: implicit declaration of function 'per_cpu_ptr' kernel/srcu.c:116: error: dereferencing pointer to incomplete type kernel/semaphore.c: At top level: kernel/srcu.c:116: error: implicit declaration of function 'smp_processor_id' kernel/srcu.c:116: error: invalid type argument of '->' kernel/srcu.c:117: error: implicit declaration of function 'srcu_barrier' kernel/srcu.c:118: error: implicit declaration of function 'preempt_enable' kernel/srcu.c: At top level: kernel/semaphore.c:115: warning: data definition has no type or storage class kernel/srcu.c:132: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'srcu_read_unlock': kernel/srcu.c:136: error: dereferencing pointer to incomplete type kernel/srcu.c:136: error: invalid type argument of '->' kernel/srcu.c: At top level: kernel/srcu.c:154: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'synchronize_srcu': kernel/srcu.c:158: error: dereferencing pointer to incomplete type kernel/srcu.c:159: error: implicit declaration of function 'mutex_lock' kernel/srcu.c:159: error: dereferencing pointer to incomplete type kernel/srcu.c:171: error: dereferencing pointer to incomplete type kernel/srcu.c:172: error: implicit declaration of function 'mutex_unlock' kernel/srcu.c:172: error: dereferencing pointer to incomplete type kernel/srcu.c:176: error: implicit declaration of function 'synchronize_sched' kernel/srcu.c:190: error: dereferencing pointer to incomplete type kernel/srcu.c:191: error: dereferencing pointer to incomplete type kernel/srcu.c:203: warning: passing argument 1 of 'srcu_readers_active_idx' from incompatible pointer type kernel/srcu.c:204: error: implicit declaration of function 'schedule_timeout_interruptible' kernel/srcu.c:236: error: dereferencing pointer to incomplete type kernel/srcu.c: At top level: kernel/srcu.c:247: warning: 'struct srcu_struct' declared inside parameter list kernel/srcu.c: In function 'srcu_batches_completed': kernel/srcu.c:249: error: dereferencing pointer to incomplete type kernel/srcu.c: At top level: kernel/srcu.c:252: warning: data definition has no type or storage class kernel/srcu.c:252: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:252: warning: parameter names (without types) in function declaration kernel/srcu.c:253: warning: data definition has no type or storage class kernel/srcu.c:253: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:253: warning: parameter names (without types) in function declaration kernel/srcu.c:254: warning: data definition has no type or storage class kernel/srcu.c:254: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:254: warning: parameter names (without types) in function declaration kernel/srcu.c:255: warning: data definition has no type or storage class kernel/srcu.c:255: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:255: warning: parameter names (without types) in function declaration kernel/srcu.c:256: warning: data definition has no type or storage class kernel/srcu.c:256: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:256: warning: parameter names (without types) in function declaration kernel/srcu.c:257: warning: data definition has no type or storage class kernel/srcu.c:257: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/srcu.c:257: warning: parameter names (without types) in function declaration make[1]: *** [kernel/srcu.o] Error 1 make[1]: kernel/semaphore.c:115: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'*** [fs/fs-writeback.o] Error 1 kernel/semaphore.c:115: warning: parameter names (without types) in function declaration kernel/semaphore.c:129: warning: 'struct semaphore' declared inside parameter list kernel/semaphore.c: In function 'down_try': kernel/semaphore.c:134: error: dereferencing pointer to incomplete type kernel/semaphore.c:135: error: dereferencing pointer to incomplete type kernel/semaphore.c:137: error: dereferencing pointer to incomplete type kernel/semaphore.c:138: error: dereferencing pointer to incomplete type kernel/semaphore.c: At top level: kernel/semaphore.c:142: warning: data definition has no type or storage class kernel/semaphore.c:142: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/semaphore.c:142: warning: parameter names (without types) in function declaration kernel/semaphore.c:154: warning: 'struct semaphore' declared inside parameter list kernel/semaphore.c: In function 'down_timeout': kernel/semaphore.c:159: error: dereferencing pointer to incomplete type kernel/semaphore.c:160: error: dereferencing pointer to incomplete type kernel/semaphore.c:161: error: dereferencing pointer to incomplete type kernel/semaphore.c:163: error: implicit declaration of function '__down_timeout' kernel/semaphore.c:164: error: dereferencing pointer to incomplete type kernel/semaphore.c: At top level: kernel/semaphore.c:168: warning: data definition has no type or storage class kernel/semaphore.c:168: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/semaphore.c:168: warning: parameter names (without types) in function declaration kernel/semaphore.c:177: warning: 'struct semaphore' declared inside parameter list kernel/semaphore.c: In function 'up': kernel/semaphore.c:181: error: dereferencing pointer to incomplete type kernel/semaphore.c:182: error: implicit declaration of function 'list_empty' kernel/semaphore.c:182: error: dereferencing pointer to incomplete type kernel/semaphore.c:183: error: dereferencing pointer to incomplete type kernel/semaphore.c:185: error: implicit declaration of function '__up' kernel/semaphore.c:186: error: dereferencing pointer to incomplete type kernel/semaphore.c: At top level: kernel/semaphore.c:188: warning: data definition has no type or storage class kernel/semaphore.c:188: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/semaphore.c:188: warning: parameter names (without types) in function declaration kernel/semaphore.c:193: error: field 'list' has incomplete type kernel/semaphore.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__down_common' kernel/semaphore.c:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' kernel/semaphore.c:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/semaphore.c:257: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' cc1: error: include/linux/autoconf.h: No such file or directory mm/pagewalk.c:1:22: error: linux/mm.h: No such file or directory mm/pagewalk.c:2:27: error: linux/highmem.h: No such file or directory mm/pagewalk.c:3:25: error: linux/sched.h: No such file or directory mm/pagewalk.c:5: error: expected ')' before '*' token mm/pagewalk.c:26: error: expected ')' before '*' token mm/pagewalk.c:54: error: expected ')' before '*' token mm/pagewalk.c:105: warning: 'struct mm_walk' declared inside parameter list mm/pagewalk.c:105: warning: its scope is only this definition or declaration, which is probably not what you want mm/pagewalk.c: In function 'walk_page_range': mm/pagewalk.c:107: error: 'pgd_t' undeclared (first use in this function) mm/pagewalk.c:107: error: (Each undeclared identifier is reported only once mm/pagewalk.c:107: error: for each function it appears in.) mm/pagewalk.c:107: error: 'pgd' undeclared (first use in this function) mm/pagewalk.c:108: warning: ISO C90 forbids mixed declarations and code mm/pagewalk.c:114: error: dereferencing pointer to incomplete type cc1: error: include/linux/autoconf.h: No such file or directory mm/pagewalk.c:115: error: 'EINVAL' undeclared (first use in this function) mm/pagewalk.c:117: error: implicit declaration of function 'pgd_offset' mm/pagewalk.c:117: error: dereferencing pointer to incomplete type mm/pagewalk.c:119: error: implicit declaration of function 'pgd_addr_end' mm/pagewalk.c:120: error: implicit declaration of function 'pgd_none_or_clear_bad' mm/pagewalk.c:121: error: dereferencing pointer to incomplete type mm/pagewalk.c:122: error: dereferencing pointer to incomplete type mm/pagewalk.c:127: error: dereferencing pointer to incomplete type mm/pagewalk.c:128: error: dereferencing pointer to incomplete type mm/pagewalk.c:130: error: dereferencing pointer to incomplete type mm/pagewalk.c:130: error: dereferencing pointer to incomplete type mm/pagewalk.c:130: error: dereferencing pointer to incomplete type kernel/notifier.c:1:26: error: linux/kdebug.h: No such file or directory kernel/notifier.c:2:27: error: linux/kprobes.h: No such file or directory kernel/notifier.c:3:26: error: linux/module.h: No such file or directory kernel/notifier.c:4:28: error: linux/notifier.h: No such file or directory kernel/notifier.c:5:28: error: linux/rcupdate.h: No such file or directory kernel/notifier.c:6:27: error: linux/vmalloc.h: No such file or directory kernel/notifier.c:7:26: error: linux/reboot.h: No such file or directory CC mm/bounce.o kernel/notifier.c:14: warning: data definition has no type or storage class kernel/notifier.c:14: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD' kernel/notifier.c:14: warning: parameter names (without types) in function declaration kernel/notifier.c:22: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:22: warning: its scope is only this definition or declaration, which is probably not what you want kernel/notifier.c: In function 'notifier_chain_register': kernel/notifier.c:24: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:24: error: (Each undeclared identifier is reported only once kernel/notifier.c:24: error: for each function it appears in.) kernel/notifier.c:25: error: dereferencing pointer to incomplete type kernel/notifier.c:25: error: dereferencing pointer to incomplete type kernel/notifier.c:27: error: dereferencing pointer to incomplete type kernel/notifier.c:29: error: dereferencing pointer to incomplete type kernel/notifier.c:30: error: implicit declaration of function 'rcu_assign_pointer' kernel/notifier.c: At top level: kernel/notifier.c:35: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'notifier_chain_cond_register': kernel/notifier.c:37: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:40: error: dereferencing pointer to incomplete type mm/pagewalk.c:131: error: implicit declaration of function 'walk_pud_range'kernel/notifier.c:40: error: dereferencing pointer to incomplete type kernel/notifier.c:42: error: dereferencing pointer to incomplete type kernel/notifier.c:44: error: dereferencing pointer to incomplete type mm/pagewalk.c:134: warning: left-hand operand of comma expression has no effect mm/pagewalk.c:134: warning: value computed is not used kernel/notifier.c: At top level: kernel/notifier.c:50: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'notifier_chain_unregister': kernel/notifier.c:52: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:54: error: dereferencing pointer to incomplete type kernel/notifier.c:57: error: dereferencing pointer to incomplete type kernel/notifier.c:59: error: 'ENOENT' undeclared (first use in this function) kernel/notifier.c: At top level: kernel/notifier.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notifier_call_chain' kernel/notifier.c:113: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:113: warning: 'struct atomic_notifier_head' declared inside parameter list kernel/notifier.c: In function 'atomic_notifier_chain_register': kernel/notifier.c:118: error: implicit declaration of function 'spin_lock_irqsave' kernel/notifier.c:118: error: dereferencing pointer to incomplete type kernel/notifier.c:119: error: dereferencing pointer to incomplete type kernel/notifier.c:119: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c:120: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/notifier.c:120: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:123: warning: data definition has no type or storage class kernel/notifier.c:123: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:123: warning: parameter names (without types) in function declaration kernel/notifier.c:135: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:135: warning: 'struct atomic_notifier_head' declared inside parameter list kernel/notifier.c: In function 'atomic_notifier_chain_unregister': kernel/notifier.c:140: error: dereferencing pointer to incomplete type kernel/notifier.c:141: error: dereferencing pointer to incomplete type kernel/notifier.c:141: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c:142: error: dereferencing pointer to incomplete type kernel/notifier.c:143: error: implicit declaration of function 'synchronize_rcu' kernel/notifier.c: At top level: kernel/notifier.c:146: warning: data definition has no type or storage class kernel/notifier.c:146: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:146: warning: parameter names (without types) in function declaration kernel/notifier.c:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__atomic_notifier_call_chain' kernel/notifier.c:178: warning: data definition has no type or storage class kernel/notifier.c:178: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:178: warning: parameter names (without types) in function declaration kernel/notifier.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_notifier_call_chain' kernel/notifier.c:185: warning: data definition has no type or storage class kernel/notifier.c:185: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:185: warning: parameter names (without types) in function declaration kernel/notifier.c:203: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:203: warning: 'struct blocking_notifier_head' declared inside parameter list kernel/notifier.c: In function 'blocking_notifier_chain_register': kernel/notifier.c:212: error: implicit declaration of function 'unlikely' kernel/notifier.c:212: error: 'system_state' undeclared (first use in this function) kernel/notifier.c:212: error: 'SYSTEM_BOOTING' undeclared (first use in this function) kernel/notifier.c:213: error: dereferencing pointer to incomplete type kernel/notifier.c:213: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c:215: error: implicit declaration of function 'down_write' kernel/notifier.c:215: error: dereferencing pointer to incomplete type kernel/notifier.c:216: error: dereferencing pointer to incomplete type kernel/notifier.c:216: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c:217: error: implicit declaration of function 'up_write' kernel/notifier.c:217: error: dereferencing pointer to incomplete type make[1]: *** [kernel/semaphore.o] Error 1 kernel/notifier.c: At top level: kernel/notifier.c:220: warning: data definition has no type or storage class kernel/notifier.c:220: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' CC fs/pnode.o kernel/notifier.c:220: warning: parameter names (without types) in function declaration kernel/notifier.c:234: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:234: warning: 'struct blocking_notifier_head' declared inside parameter list kernel/notifier.c: In function 'blocking_notifier_chain_cond_register': kernel/notifier.c:238: error: dereferencing pointer to incomplete type kernel/notifier.c:239: error: dereferencing pointer to incomplete type kernel/notifier.c:239: warning: passing argument 2 of 'notifier_chain_cond_register' from incompatible pointer type kernel/notifier.c:240: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:243: warning: data definition has no type or storage class kernel/notifier.c:243: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:243: warning: parameter names (without types) in function declaration kernel/notifier.c:256: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:256: warning: 'struct blocking_notifier_head' declared inside parameter list kernel/notifier.c: In function 'blocking_notifier_chain_unregister': kernel/notifier.c:265: error: 'system_state' undeclared (first use in this function) kernel/notifier.c:265: error: 'SYSTEM_BOOTING' undeclared (first use in this function) kernel/notifier.c:266: error: dereferencing pointer to incomplete type kernel/notifier.c:266: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c:268: error: dereferencing pointer to incomplete type kernel/notifier.c:269: error: dereferencing pointer to incomplete type kernel/notifier.c:269: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c:270: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:273: warning: data definition has no type or storage class kernel/notifier.c:273: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:273: warning: parameter names (without types) in function declaration kernel/notifier.c:295: warning: 'struct blocking_notifier_head' declared inside parameter list kernel/notifier.c: In function '__blocking_notifier_call_chain': kernel/notifier.c:297: error: 'NOTIFY_DONE' undeclared (first use in this function) kernel/notifier.c:304: error: implicit declaration of function 'rcu_dereference' kernel/notifier.c:304: error: dereferencing pointer to incomplete type kernel/notifier.c:305: error: implicit declaration of function 'down_read' kernel/notifier.c:305: error: dereferencing pointer to incomplete type kernel/notifier.c:306: error: implicit declaration of function 'notifier_call_chain' kernel/notifier.c:306: error: dereferencing pointer to incomplete type kernel/notifier.c:308: error: implicit declaration of function 'up_read' kernel/notifier.c:308: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:312: warning: data definition has no type or storage class kernel/notifier.c:312: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:312: warning: parameter names (without types) in function declaration kernel/notifier.c:315: warning: 'struct blocking_notifier_head' declared inside parameter list kernel/notifier.c: In function 'blocking_notifier_call_chain': kernel/notifier.c:317: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:317: warning: passing argument 1 of '__blocking_notifier_call_chain' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:319: warning: data definition has no type or storage class kernel/notifier.c:319: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:319: warning: parameter names (without types) in function declaration kernel/notifier.c:337: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:337: warning: 'struct raw_notifier_head' declared inside parameter list kernel/notifier.c: In function 'raw_notifier_chain_register': kernel/notifier.c:339: error: dereferencing pointer to incomplete type kernel/notifier.c:339: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:341: warning: data definition has no type or storage class kernel/notifier.c:341: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:341: warning: parameter names (without types) in function declaration kernel/notifier.c:354: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:354: warning: 'struct raw_notifier_head' declared inside parameter list kernel/notifier.c: In function 'raw_notifier_chain_unregister': kernel/notifier.c:356: error: dereferencing pointer to incomplete type kernel/notifier.c:356: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:358: warning: data definition has no type or storage class kernel/notifier.c:358: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:358: warning: parameter names (without types) in function declaration kernel/notifier.c:381: warning: 'struct raw_notifier_head' declared inside parameter list kernel/notifier.c: In function '__raw_notifier_call_chain': kernel/notifier.c:383: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:385: warning: data definition has no type or storage class kernel/notifier.c:385: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:385: warning: parameter names (without types) in function declaration kernel/notifier.c:388: warning: 'struct raw_notifier_head' declared inside parameter list kernel/notifier.c: In function 'raw_notifier_call_chain': kernel/notifier.c:390: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:390: warning: passing argument 1 of '__raw_notifier_call_chain' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:392: warning: data definition has no type or storage class kernel/notifier.c:392: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:392: warning: parameter names (without types) in function declaration kernel/notifier.c:410: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:410: warning: 'struct srcu_notifier_head' declared inside parameter list kernel/notifier.c: In function 'srcu_notifier_chain_register': kernel/notifier.c:419: error: 'system_state' undeclared (first use in this function) kernel/notifier.c:419: error: 'SYSTEM_BOOTING' undeclared (first use in this function) kernel/notifier.c:420: error: dereferencing pointer to incomplete type kernel/notifier.c:420: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c:422: error: implicit declaration of function 'mutex_lock' kernel/notifier.c:422: error: dereferencing pointer to incomplete type kernel/notifier.c:423: error: dereferencing pointer to incomplete type kernel/notifier.c:423: warning: passing argument 2 of 'notifier_chain_register' from incompatible pointer type kernel/notifier.c:424: error: implicit declaration of function 'mutex_unlock' kernel/notifier.c:424: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:427: warning: data definition has no type or storage class kernel/notifier.c:427: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:427: warning: parameter names (without types) in function declaration kernel/notifier.c:440: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c:440: warning: 'struct srcu_notifier_head' declared inside parameter list kernel/notifier.c: In function 'srcu_notifier_chain_unregister': kernel/notifier.c:449: error: 'system_state' undeclared (first use in this function) kernel/notifier.c:449: error: 'SYSTEM_BOOTING' undeclared (first use in this function) kernel/notifier.c:450: error: dereferencing pointer to incomplete type kernel/notifier.c:450: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c:452: error: dereferencing pointer to incomplete type kernel/notifier.c:453: error: dereferencing pointer to incomplete type kernel/notifier.c:453: warning: passing argument 2 of 'notifier_chain_unregister' from incompatible pointer type kernel/notifier.c:454: error: dereferencing pointer to incomplete type kernel/notifier.c:455: error: implicit declaration of function 'synchronize_srcu' kernel/notifier.c:455: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:458: warning: data definition has no type or storage class kernel/notifier.c:458: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:458: warning: parameter names (without types) in function declaration kernel/notifier.c:480: warning: 'struct srcu_notifier_head' declared inside parameter list kernel/notifier.c: In function '__srcu_notifier_call_chain': kernel/notifier.c:485: error: implicit declaration of function 'srcu_read_lock' kernel/notifier.c:485: error: dereferencing pointer to incomplete type kernel/notifier.c:486: error: dereferencing pointer to incomplete type kernel/notifier.c:487: error: implicit declaration of function 'srcu_read_unlock' kernel/notifier.c:487: error: dereferencing pointer to incomplete type kernel/notifier.c: At top level: kernel/notifier.c:490: warning: data definition has no type or storage class kernel/notifier.c:490: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:490: warning: parameter names (without types) in function declaration kernel/notifier.c:493: warning: 'struct srcu_notifier_head' declared inside parameter list kernel/notifier.c: In function 'srcu_notifier_call_chain': kernel/notifier.c:495: error: 'NULL' undeclared (first use in this function) kernel/notifier.c:495: warning: passing argument 1 of '__srcu_notifier_call_chain' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:497: warning: data definition has no type or storage class kernel/notifier.c:497: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:497: warning: parameter names (without types) in function declaration kernel/notifier.c:511: warning: 'struct srcu_notifier_head' declared inside parameter list kernel/notifier.c: In function 'srcu_init_notifier_head': kernel/notifier.c:513: error: implicit declaration of function 'mutex_init' kernel/notifier.c:513: error: dereferencing pointer to incomplete type kernel/notifier.c:514: error: implicit declaration of function 'init_srcu_struct' kernel/notifier.c:514: error: dereferencing pointer to incomplete type kernel/notifier.c:515: error: implicit declaration of function 'BUG' kernel/notifier.c:516: error: dereferencing pointer to incomplete type kernel/notifier.c:516: error: 'NULL' undeclared (first use in this function) kernel/notifier.c: At top level: kernel/notifier.c:518: warning: data definition has no type or storage class kernel/notifier.c:518: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:518: warning: parameter names (without types) in function declaration kernel/notifier.c:530: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'register_reboot_notifier': kernel/notifier.c:532: error: 'reboot_notifier_list' undeclared (first use in this function) kernel/notifier.c:532: warning: passing argument 2 of 'blocking_notifier_chain_register' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:534: warning: data definition has no type or storage class kernel/notifier.c:534: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/notifier.c:534: warning: parameter names (without types) in function declaration kernel/notifier.c:545: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'unregister_reboot_notifier': kernel/notifier.c:547: error: 'reboot_notifier_list' undeclared (first use in this function) kernel/notifier.c:547: warning: passing argument 2 of 'blocking_notifier_chain_unregister' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:549: warning: data definition has no type or storage class kernel/notifier.c:549: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/notifier.c:549: warning: parameter names (without types) in function declaration kernel/notifier.c:551: warning: type defaults to 'int' in declaration of 'ATOMIC_NOTIFIER_HEAD' kernel/notifier.c:551: warning: parameter names (without types) in function declaration make[1]: *** [mm/pagewalk.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory fs/pnode.c:9:33: error: linux/mnt_namespace.h: No such file or directory fs/pnode.c:10:25: error: linux/mount.h: No such file or directory fs/pnode.c:11:22: error: linux/fs.h: No such file or directory In file included from fs/pnode.c:12: fs/internal.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chrdev_init' fs/internal.h:45: error: expected ';', ',' or ')' before '*' token fs/internal.h:47: warning: 'struct vfsmount' declared inside parameter list fs/internal.h:47: warning: its scope is only this definition or declaration, which is probably not what you want fs/internal.h:49: warning: 'struct dentry' declared inside parameter list fs/internal.h:51: warning: 'struct dentry' declared inside parameter list fs/internal.h:52: warning: 'struct list_head' declared inside parameter list fs/internal.h:53: warning: 'struct list_head' declared inside parameter list fs/internal.h:54: warning: 'struct dentry' declared inside parameter list fs/internal.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mnt_init' In file included from fs/pnode.c:13: fs/pnode.h:11:24: error: linux/list.h: No such file or directory In file included from fs/pnode.c:13: fs/pnode.h: In function 'set_mnt_shared': fs/pnode.h:29: error: dereferencing pointer to incomplete type fs/pnode.h:29: error: 'MNT_PNODE_MASK' undeclared (first use in this function) fs/pnode.h:29: error: (Each undeclared identifier is reported only once fs/pnode.h:29: error: for each function it appears in.) fs/pnode.h:30: error: dereferencing pointer to incomplete type fs/pnode.h:30: error: 'MNT_SHARED' undeclared (first use in this function) fs/pnode.h: At top level: fs/pnode.h:35: warning: 'struct list_head' declared inside parameter list fs/pnode.h:35: warning: 'struct dentry' declared inside parameter list fs/pnode.h:36: warning: 'struct list_head' declared inside parameter list fs/pnode.h:39: warning: 'struct path' declared inside parameter list fs/pnode.c: In function 'next_peer': fs/pnode.c:18: error: implicit declaration of function 'list_entry' fs/pnode.c:18: error: dereferencing pointer to incomplete type fs/pnode.c:18: error: expected expression before 'struct' fs/pnode.c:18: warning: return makes pointer from integer without a cast fs/pnode.c: In function 'first_slave': fs/pnode.c:23: error: dereferencing pointer to incomplete type fs/pnode.c:23: error: expected expression before 'struct' fs/pnode.c:23: warning: return makes pointer from integer without a cast fs/pnode.c: In function 'next_slave': fs/pnode.c:28: error: dereferencing pointer to incomplete type fs/pnode.c:28: error: expected expression before 'struct' fs/pnode.c:28: warning: return makes pointer from integer without a cast fs/pnode.c: At top level: fs/pnode.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_path_reachable' fs/pnode.c:48: warning: 'struct path' declared inside parameter list fs/pnode.c:48: warning: 'struct mnt_namespace' declared inside parameter list fs/pnode.c: In function 'get_peer_under_root': fs/pnode.c:54: error: dereferencing pointer to incomplete type fs/pnode.c:54: error: implicit declaration of function 'is_path_reachable' fs/pnode.c:54: error: dereferencing pointer to incomplete type fs/pnode.c:60: error: 'NULL' undeclared (first use in this function) fs/pnode.c: At top level: fs/pnode.c:69: warning: 'struct path' declared inside parameter list fs/pnode.c:70: error: conflicting types for 'get_dominating_id' fs/pnode.h:39: error: previous declaration of 'get_dominating_id' was here fs/pnode.c: In function 'get_dominating_id': fs/pnode.c:73: error: dereferencing pointer to incomplete type fs/pnode.c:73: error: 'NULL' undeclared (first use in this function) fs/pnode.c:73: error: dereferencing pointer to incomplete type fs/pnode.c:74: error: dereferencing pointer to incomplete type fs/pnode.c:74: warning: passing argument 3 of 'get_peer_under_root' from incompatible pointer typekernel/notifier.c:554: warning: 'struct pt_regs' declared inside parameter list kernel/notifier.c:554: warning: 'enum die_val' declared inside parameter list kernel/notifier.c:553: error: parameter 1 ('val') has incomplete type kernel/notifier.c: In function 'notify_die': kernel/notifier.c:556: error: variable 'args' has initializer but incomplete type kernel/notifier.c:557: error: unknown field 'regs' specified in initializer kernel/notifier.c:557: warning: excess elements in struct initializer kernel/notifier.c:557: warning: (near initialization for 'args') kernel/notifier.c:558: error: unknown field 'str' specified in initializer kernel/notifier.c:558: warning: excess elements in struct initializer kernel/notifier.c:558: warning: (near initialization for 'args') kernel/notifier.c:559: error: unknown field 'err' specified in initializer kernel/notifier.c:559: warning: excess elements in struct initializer kernel/notifier.c:559: warning: (near initialization for 'args') kernel/notifier.c:560: error: unknown field 'trapnr' specified in initializer kernel/notifier.c:560: warning: excess elements in struct initializer kernel/notifier.c:560: warning: (near initialization for 'args') kernel/notifier.c:561: error: unknown field 'signr' specified in initializer kernel/notifier.c:561: warning: excess elements in struct initializer kernel/notifier.c:561: warning: (near initialization for 'args') kernel/notifier.c:556: error: storage size of 'args' isn't known kernel/notifier.c:564: error: implicit declaration of function 'atomic_notifier_call_chain' kernel/notifier.c:564: error: 'die_chain' undeclared (first use in this function) kernel/notifier.c:556: warning: unused variable 'args' kernel/notifier.c: At top level: kernel/notifier.c:567: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'register_die_notifier': kernel/notifier.c:569: error: implicit declaration of function 'vmalloc_sync_all' kernel/notifier.c:570: error: 'die_chain' undeclared (first use in this function) kernel/notifier.c:570: warning: passing argument 2 of 'atomic_notifier_chain_register' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:572: warning: data definition has no type or storage class kernel/notifier.c:572: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:572: warning: parameter names (without types) in function declaration kernel/notifier.c:574: warning: 'struct notifier_block' declared inside parameter list kernel/notifier.c: In function 'unregister_die_notifier': kernel/notifier.c:576: error: 'die_chain' undeclared (first use in this function) kernel/notifier.c:576: warning: passing argument 2 of 'atomic_notifier_chain_unregister' from incompatible pointer type kernel/notifier.c: At top level: kernel/notifier.c:578: warning: data definition has no type or storage class kernel/notifier.c:578: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/notifier.c:578: warning: parameter names (without types) in function declaration CC fs/drop_caches.o fs/pnode.c:76: error: dereferencing pointer to incomplete type fs/pnode.c: In function 'do_make_slave': fs/pnode.c:84: error: dereferencing pointer to incomplete type cc1: fs/pnode.c:93: error: dereferencing pointer to incomplete type fs/pnode.c:93: error: dereferencing pointer to incomplete type fs/pnode.c:98: error: 'NULL' undeclared (first use in this function) fs/pnode.c:100: error: dereferencing pointer to incomplete type fs/pnode.c:100: error: 'MNT_SHARED' undeclared (first use in this function) fs/pnode.c:100: error: implicit declaration of function 'list_empty' fs/pnode.c:100: error: dereferencing pointer to incomplete type fs/pnode.c:103: error: implicit declaration of function 'list_del_init' fs/pnode.c:103: error: dereferencing pointer to incomplete type fs/pnode.c:104: error: dereferencing pointer to incomplete type fs/pnode.c:110: error: implicit declaration of function 'list_for_each_entry' fs/pnode.c:110: error: dereferencing pointer to incomplete type fs/pnode.c:110: error: 'mnt_slave' undeclared (first use in this function) fs/pnode.c:111: error: expected ';' before 'slave_mnt' fs/pnode.c:112: error: implicit declaration of function 'list_move' fs/pnode.c:112: error: dereferencing pointer to incomplete type fs/pnode.c:112: error: dereferencing pointer to incomplete type fs/pnode.c:113: error: implicit declaration of function 'list_splice' fs/pnode.c:113: error: dereferencing pointer to incomplete type fs/pnode.c:113: error: dereferencing pointer to incomplete type fs/pnode.c:114: error: implicit declaration of function 'INIT_LIST_HEAD' fs/pnode.c:114: error: dereferencing pointer to incomplete type fs/pnode.c:116: error: dereferencing pointer to incomplete type fs/pnode.c:118: error: implicit declaration of function 'list_first_entry' fs/pnode.c:119: error: expected expression before 'struct' fs/pnode.c:119: warning: assignment makes pointer from integer without a cast fs/pnode.c:120: error: dereferencing pointer to incomplete type fs/pnode.c:121: error: dereferencing pointer to incomplete type fs/pnode.c:124: error: dereferencing pointer to incomplete type fs/pnode.c:125: error: dereferencing pointer to incomplete type fs/pnode.c: In function 'change_mnt_propagation': fs/pnode.c:131: error: 'MS_SHARED' undeclared (first use in this function) fs/pnode.c:136: error: 'MS_SLAVE' undeclared (first use in this function) fs/pnode.c:137: error: dereferencing pointer to incomplete type fs/pnode.c:138: error: dereferencing pointer to incomplete type fs/pnode.c:138: error: 'NULL' undeclared (first use in this function) fs/pnode.c:139: error: 'MS_UNBINDABLE' undeclared (first use in this function) fs/pnode.c:140: error: dereferencing pointer to incomplete type fs/pnode.c:140: error: 'MNT_UNBINDABLE' undeclared (first use in this function) fs/pnode.c:142: error: dereferencing pointer to incomplete type fs/pnode.c: In function 'propagation_next': fs/pnode.c:155: error: dereferencing pointer to incomplete type fs/pnode.c:155: error: dereferencing pointer to incomplete type fs/pnode.c:160: error: dereferencing pointer to incomplete type fs/pnode.c:162: error: dereferencing pointer to incomplete type fs/pnode.c:164: error: 'NULL' undeclared (first use in this function) fs/pnode.c:165: error: dereferencing pointer to incomplete type fs/pnode.c:165: error: dereferencing pointer to incomplete type fs/pnode.c: In function 'get_source': fs/pnode.c:187: error: 'NULL' undeclared (first use in this function) fs/pnode.c:191: error: dereferencing pointer to incomplete type fs/pnode.c:191: error: 'MNT_SHARED' undeclared (first use in this function) fs/pnode.c:194: error: dereferencing pointer to incomplete type fs/pnode.c:197: error: dereferencing pointer to incomplete type fs/pnode.c:198: error: dereferencing pointer to incomplete type fs/pnode.c:204: error: dereferencing pointer to incomplete type fs/pnode.c: At top level: fs/pnode.c:228: warning: 'struct list_head' declared inside parameter list fs/pnode.c:228: warning: 'struct dentry' declared inside parameter list fs/pnode.c:229: error: conflicting types for 'propagate_mnt' fs/pnode.h:35: error: previous declaration of 'propagate_mnt' was here fs/pnode.c: In function 'propagate_mnt': fs/pnode.c:234: error: implicit declaration of function 'LIST_HEAD' fs/pnode.c:234: error: 'tmp_list' undeclared (first use in this function) fs/pnode.c:235: error: 'umount_list' undeclared (first use in this function) fs/pnode.c:242: error: dereferencing pointer to incomplete type fs/pnode.c:247: error: dereferencing pointer to incomplete type fs/pnode.c:248: error: 'ENOMEM' undeclared (first use in this function) fs/pnode.c:253: error: implicit declaration of function 'is_subdir' fs/pnode.c:253: error: dereferencing pointer to incomplete type fs/pnode.c:254: warning: passing argument 2 of 'mnt_set_mountpoint' from incompatible pointer type fs/pnode.c:255: error: implicit declaration of function 'list_add_tail' fs/pnode.c:255: error: dereferencing pointer to incomplete type fs/pnode.c:261: error: dereferencing pointer to incomplete type fs/pnode.c:267: error: implicit declaration of function 'spin_lock' fs/pnode.c:267: error: 'vfsmount_lock' undeclared (first use in this function) fs/pnode.c:269: error: expected expression before 'struct' fs/pnode.c:269: warning: assignment makes pointer from integer without a cast fs/pnode.c:272: error: implicit declaration of function 'spin_unlock' fs/pnode.c: In function 'do_refcount_check': fs/pnode.c:282: error: implicit declaration of function 'atomic_read' fs/pnode.c:282: error: dereferencing pointer to incomplete type fs/pnode.c:282: error: dereferencing pointer to incomplete type fs/pnode.c: In function 'propagate_mount_busy': fs/pnode.c:297: error: dereferencing pointer to incomplete type fs/pnode.c:308: error: dereferencing pointer to incomplete type fs/pnode.c:313: error: dereferencing pointer to incomplete type fs/pnode.c:314: error: dereferencing pointer to incomplete type fs/pnode.c: In function '__propagate_umount': fs/pnode.c:327: error: dereferencing pointer to incomplete type fs/pnode.c:330: error: implicit declaration of function 'BUG_ON' fs/pnode.c:336: error: dereferencing pointer to incomplete type fs/pnode.c:341: error: dereferencing pointer to incomplete type fs/pnode.c:342: error: implicit declaration of function 'list_move_tail' fs/pnode.c:342: error: dereferencing pointer to incomplete type fs/pnode.c:342: error: dereferencing pointer to incomplete type fs/pnode.c: At top level: fs/pnode.c:351: warning: 'struct list_head' declared inside parameter list fs/pnode.c:352: error: conflicting types for 'propagate_umount' fs/pnode.h:36: error: previous declaration of 'propagate_umount' was here fs/pnode.c: In function 'propagate_umount': fs/pnode.c:355: error: 'mnt_hash' undeclared (first use in this function) fs/pnode.c:356: error: expected ';' before '__propagate_umount' error: include/linux/autoconf.h: No such file or directory make[1]: *** [kernel/notifier.o] Error 1 make[1]: *** [fs/pnode.o] Error 1 mm/bounce.c:6:22: error: linux/mm.h: No such file or directory mm/bounce.c:7:26: error: linux/module.h: No such file or directory mm/bounce.c:8:24: error: linux/swap.h: No such file or directory mm/bounce.c:9:23: error: linux/bio.h: No such file or directory mm/bounce.c:10:27: error: linux/pagemap.h: No such file or directory mm/bounce.c:11:27: error: linux/mempool.h: No such file or directory mm/bounce.c:12:26: error: linux/blkdev.h: No such file or directory mm/bounce.c:13:24: error: linux/init.h: No such file or directory mm/bounce.c:14:24: error: linux/hash.h: No such file or directory mm/bounce.c:15:27: error: linux/highmem.h: No such file or directory mm/bounce.c:16:32: error: linux/blktrace_api.h: No such file or directory mm/bounce.c:17:26: error: asm/tlbflush.h: No such file or directory mm/bounce.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/bounce.c:68: error: expected ')' before 'gfp_mask' mm/bounce.c: In function 'init_emergency_isa_pool': mm/bounce.c:79: error: 'isa_page_pool' undeclared (first use in this function) mm/bounce.c:79: error: (Each undeclared identifier is reported only once mm/bounce.c:79: error: for each function it appears in.) mm/bounce.c:82: error: implicit declaration of function 'mempool_create' mm/bounce.c:82: error: 'mempool_alloc_pages_isa' undeclared (first use in this function) mm/bounce.c:83: error: 'mempool_free_pages' undeclared (first use in this function) mm/bounce.c:84: error: implicit declaration of function 'BUG_ON' mm/bounce.c:86: error: implicit declaration of function 'printk' mm/bounce.c: At top level: mm/bounce.c:95: warning: 'struct bio' declared inside parameter list mm/bounce.c:95: warning: its scope is only this definition or declaration, which is probably not what you want mm/bounce.c: In function 'copy_to_high_bio_irq': mm/bounce.c:101: error: implicit declaration of function '__bio_for_each_segment' mm/bounce.c:101: error: expected ';' before '{' token mm/bounce.c:98: warning: unused variable 'fromvec' mm/bounce.c:97: warning: unused variable 'vfrom' mm/bounce.c: At top level: mm/bounce.c:122: error: expected declaration specifiers or '...' before 'mempool_t' mm/bounce.c:122: warning: 'struct bio' declared inside parameter list mm/bounce.c: In function 'bounce_end_io': mm/bounce.c:124: error: dereferencing pointer to incomplete type mm/bounce.c:128: error: implicit declaration of function 'test_bit' mm/bounce.c:128: error: 'BIO_EOPNOTSUPP' undeclared (first use in this function) mm/bounce.c:128: error: dereferencing pointer to incomplete type mm/bounce.c:129: error: implicit declaration of function 'set_bit' mm/bounce.c:129: error: dereferencing pointer to incomplete type mm/bounce.c:134: error: expected ';' before '{' token mm/bounce.c:144: error: implicit declaration of function 'bio_put' mm/bounce.c:125: warning: unused variable 'org_vec' mm/bounce.c: At top level: mm/bounce.c:147: warning: 'struct bio' declared inside parameter list mm/bounce.c: In function 'bounce_end_io_write': mm/bounce.c:149: error: 'page_pool' undeclared (first use in this function) mm/bounce.c:149: warning: passing argument 1 of 'bounce_end_io' from incompatible pointer type mm/bounce.c:149: error: too many arguments to function 'bounce_end_io' mm/bounce.c: At top level: mm/bounce.c:152: warning: 'struct bio' declared inside parameter list mm/bounce.c: In function 'bounce_end_io_write_isa': mm/bounce.c:155: error: 'isa_page_pool' undeclared (first use in this function) mm/bounce.c:155: warning: passing argument 1 of 'bounce_end_io' from incompatible pointer type mm/bounce.c:155: error: too many arguments to function 'bounce_end_io' mm/bounce.c: At top level: mm/bounce.c:158: error: expected declaration specifiers or '...' before 'mempool_t' mm/bounce.c:158: warning: 'struct bio' declared inside parameter list mm/bounce.c: In function '__bounce_end_io_read': mm/bounce.c:160: error: dereferencing pointer to incomplete type mm/bounce.c:162: error: 'BIO_UPTODATE' undeclared (first use in this function) mm/bounce.c:162: error: dereferencing pointer to incomplete type mm/bounce.c:163: warning: passing argument 1 of 'copy_to_high_bio_irq' from incompatible pointer type mm/bounce.c:163: warning: passing argument 2 of 'copy_to_high_bio_irq' from incompatible pointer type mm/bounce.c:165: error: 'pool' undeclared (first use in this function) mm/bounce.c:165: warning: passing argument 1 of 'bounce_end_io' from incompatible pointer type mm/bounce.c:165: error: too many arguments to function 'bounce_end_io' CC fs/splice.o mm/bounce.c: At top level: mm/bounce.c:168: warning: 'struct bio' declared inside parameter list mm/bounce.c: In function 'bounce_end_io_read': mm/bounce.c:170: error: 'page_pool' undeclared (first use in this function) mm/bounce.c:170: warning: passing argument 1 of '__bounce_end_io_read' from incompatible pointer type mm/bounce.c:170: error: too many arguments to function '__bounce_end_io_read' mm/bounce.c: At top level: mm/bounce.c:173: warning: 'struct bio' declared inside parameter list CC kernel/ksysfs.o cc1: error: include/linux/autoconf.h: No such file or directory fs/drop_caches.c:5:26: error: linux/kernel.h: No such file or directory fs/drop_caches.c:6:22: error: linux/mm.h: No such file or directory fs/drop_caches.c:7:22: error: linux/fs.h: No such file or directory fs/drop_caches.c:8:29: error: linux/writeback.h: No such file or directory fs/drop_caches.c:9:26: error: linux/sysctl.h: No such file or directory fs/drop_caches.c:10:23: error: linux/gfp.h: No such file or directory fs/drop_caches.c:15: warning: 'struct super_block' declared inside parameter list fs/drop_caches.c:15: warning: its scope is only this definition or declaration, which is probably not what you want fs/drop_caches.c: In function 'drop_pagecache_sb': fs/drop_caches.c:17: error: 'NULL' undeclared (first use in this function) fs/drop_caches.c:17: error: (Each undeclared identifier is reported only once fs/drop_caches.c:17: error: for each function it appears in.) fs/drop_caches.c:19: error: implicit declaration of function 'spin_lock' fs/drop_caches.c:19: error: 'inode_lock' undeclared (first use in this function) fs/drop_caches.c:20: error: implicit declaration of function 'list_for_each_entry' fs/drop_caches.c:20: error: dereferencing pointer to incomplete type fs/drop_caches.c:20: error: 'i_sb_list' undeclared (first use in this function) fs/drop_caches.c:20: error: expected ';' before '{' token fs/drop_caches.c:33: error: implicit declaration of function 'iput' fs/drop_caches.c: In function 'drop_pagecache': fs/drop_caches.c:40: error: 'sb_lock' undeclared (first use in this function) fs/drop_caches.c:42: error: 'super_blocks' undeclared (first use in this function) fs/drop_caches.c:42: error: 's_list' undeclared (first use in this function) fs/drop_caches.c:42: error: expected ';' before '{' token fs/drop_caches.c:41: warning: label 'restart' defined but not used fs/drop_caches.c: In function 'drop_slab': fs/drop_caches.c:61: error: implicit declaration of function 'shrink_slab' fs/drop_caches.c:61: error: 'GFP_KERNEL' undeclared (first use in this function) fs/drop_caches.c: At top level: fs/drop_caches.c:65: error: expected ')' before '*' token mm/bounce.c: In function 'bounce_end_io_read_isa': mm/bounce.c:175: error: 'isa_page_pool' undeclared (first use in this function) mm/bounce.c:175: warning: passing argument 1 of '__bounce_end_io_read' from incompatible pointer type mm/bounce.c:175: error: too many arguments to function '__bounce_end_io_read' mm/bounce.c: At top level: mm/bounce.c:179: error: expected declaration specifiers or '...' before 'mempool_t' mm/bounce.c:179: warning: 'struct bio' declared inside parameter list mm/bounce.c:179: warning: 'struct request_queue' declared inside parameter list mm/bounce.c: In function '__blk_queue_bounce': mm/bounce.c:182: error: 'NULL' undeclared (first use in this function) mm/bounce.c:183: error: implicit declaration of function 'bio_data_dir' mm/bounce.c:186: error: implicit declaration of function 'bio_for_each_segment' mm/bounce.c:186: error: expected ';' before '{' token mm/bounce.c:225: error: implicit declaration of function 'blk_add_trace_bio' mm/bounce.c:225: error: 'BLK_TA_BOUNCE' undeclared (first use in this function) mm/bounce.c:231: error: expected ';' before '{' token mm/bounce.c:241: error: dereferencing pointer to incomplete type mm/bounce.c:241: error: 'BIO_BOUNCED' undeclared (first use in this function) mm/bounce.c:242: error: dereferencing pointer to incomplete type mm/bounce.c:242: error: dereferencing pointer to incomplete type mm/bounce.c:243: error: dereferencing pointer to incomplete type mm/bounce.c:243: error: dereferencing pointer to incomplete type mm/bounce.c:245: error: dereferencing pointer to incomplete type mm/bounce.c:245: error: dereferencing pointer to incomplete type mm/bounce.c:246: error: dereferencing pointer to incomplete type mm/bounce.c:246: error: dereferencing pointer to incomplete type mm/bounce.c:247: error: dereferencing pointer to incomplete type mm/bounce.c:247: error: dereferencing pointer to incomplete type mm/bounce.c:249: error: 'pool' undeclared (first use in this function) mm/bounce.c:249: error: 'page_pool' undeclared (first use in this function) mm/bounce.c:250: error: dereferencing pointer to incomplete type mm/bounce.c:251: error: 'READ' undeclared (first use in this function) mm/bounce.c:252: error: dereferencing pointer to incomplete type mm/bounce.c:254: error: dereferencing pointer to incomplete type mm/bounce.c:256: error: dereferencing pointer to incomplete type mm/bounce.c:259: error: dereferencing pointer to incomplete type mm/bounce.c:184: warning: unused variable 'to' mm/bounce.c:181: warning: unused variable 'page' mm/bounce.c: At top level: mm/bounce.c:263: warning: 'struct bio' declared inside parameter list mm/bounce.c:263: warning: 'struct request_queue' declared inside parameter list mm/bounce.c: In function 'blk_queue_bounce': mm/bounce.c:265: error: 'mempool_t' undeclared (first use in this function) mm/bounce.c:265: error: 'pool' undeclared (first use in this function) mm/bounce.c:270: error: implicit declaration of function 'bio_empty_barrier' mm/bounce.c:278: error: dereferencing pointer to incomplete type mm/bounce.c:278: error: 'GFP_DMA' undeclared (first use in this function) mm/bounce.c:279: error: dereferencing pointer to incomplete type mm/bounce.c:279: error: 'blk_max_pfn' undeclared (first use in this function) mm/bounce.c:281: error: 'page_pool' undeclared (first use in this function) mm/bounce.c:283: error: 'isa_page_pool' undeclared (first use in this function) mm/bounce.c:290: warning: passing argument 1 of '__blk_queue_bounce' from incompatible pointer type mm/bounce.c:290: warning: passing argument 2 of '__blk_queue_bounce' from incompatible pointer type mm/bounce.c:290: error: too many arguments to function '__blk_queue_bounce' mm/bounce.c: At top level: mm/bounce.c:293: warning: data definition has no type or storage class mm/bounce.c:293: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/bounce.c:293: warning: parameter names (without types) in function declaration make[1]: *** [mm/bounce.o] Error 1 make[1]: *** [fs/drop_caches.o] Error 1 CC mm/dmapool.o CC kernel/pm_qos_params.o cc1: error: include/linux/autoconf.h: No such file or directory fs/splice.c:20:22: error: linux/fs.h: No such file or directory fs/splice.c:21:24: error: linux/file.h: No such file or directory fs/splice.c:22:27: error: linux/pagemap.h: No such file or directory fs/splice.c:23:26: error: linux/splice.h: No such file or directory fs/splice.c:24:29: error: linux/mm_inline.h: No such file or directory fs/splice.c:25:24: error: linux/swap.h: No such file or directory fs/splice.c:26:29: error: linux/writeback.h: No such file or directory fs/splice.c:27:31: error: linux/buffer_head.h: No such file or directory fs/splice.c:28:26: error: linux/module.h: No such file or directory fs/splice.c:29:28: error: linux/syscalls.h: No such file or directory fs/splice.c:30:23: error: linux/uio.h: No such file or directory fs/splice.c:31:28: error: linux/security.h: No such file or directory fs/splice.c:40: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:40: warning: its scope is only this definition or declaration, which is probably not what you want fs/splice.c:40: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'page_cache_pipe_buf_steal': fs/splice.c:42: error: dereferencing pointer to incomplete type fs/splice.c:45: error: implicit declaration of function 'lock_page' fs/splice.c:47: error: implicit declaration of function 'page_mapping' fs/splice.c:47: warning: assignment makes pointer from integer without a cast fs/splice.c:49: error: implicit declaration of function 'WARN_ON' fs/splice.c:49: error: implicit declaration of function 'PageUptodate' fs/splice.c:59: error: implicit declaration of function 'wait_on_page_writeback' fs/splice.c:61: error: implicit declaration of function 'PagePrivate' fs/splice.c:61: error: implicit declaration of function 'try_to_release_page' fs/splice.c:61: error: 'GFP_KERNEL' undeclared (first use in this function) fs/splice.c:61: error: (Each undeclared identifier is reported only once fs/splice.c:61: error: for each function it appears in.) fs/splice.c:68: error: implicit declaration of function 'remove_mapping' fs/splice.c:69: error: dereferencing pointer to incomplete type fs/splice.c:69: error: 'PIPE_BUF_FLAG_LRU' undeclared (first use in this function) fs/splice.c:79: error: implicit declaration of function 'unlock_page' fs/splice.c: At top level: fs/splice.c:84: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:84: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'page_cache_pipe_buf_release': fs/splice.c:86: error: implicit declaration of function 'page_cache_release' fs/splice.c:86: error: dereferencing pointer to incomplete type fs/splice.c:87: error: dereferencing pointer to incomplete type fs/splice.c:87: error: 'PIPE_BUF_FLAG_LRU' undeclared (first use in this function) fs/splice.c: At top level: fs/splice.c:95: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:95: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'page_cache_pipe_buf_confirm': fs/splice.c:97: error: dereferencing pointer to incomplete type fs/splice.c:107: error: dereferencing pointer to incomplete type fs/splice.c:108: error: 'ENODATA' undeclared (first use in this function) fs/splice.c:116: error: 'EIO' undeclared (first use in this function) fs/splice.c: At top level: fs/splice.c:132: error: variable 'page_cache_pipe_buf_ops' has initializer but incomplete type fs/splice.c:133: error: unknown field 'can_merge' specified in initializer fs/splice.c:133: warning: excess elements in struct initializer fs/splice.c:133: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:134: error: unknown field 'map' specified in initializer fs/splice.c:134: error: 'generic_pipe_buf_map' undeclared here (not in a function) fs/splice.c:134: warning: excess elements in struct initializer fs/splice.c:134: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:135: error: unknown field 'unmap' specified in initializer fs/splice.c:135: error: 'generic_pipe_buf_unmap' undeclared here (not in a function) fs/splice.c:135: warning: excess elements in struct initializer fs/splice.c:135: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:136: error: unknown field 'confirm' specified in initializer fs/splice.c:136: warning: excess elements in struct initializer fs/splice.c:136: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:137: error: unknown field 'release' specified in initializer fs/splice.c:137: warning: excess elements in struct initializer fs/splice.c:137: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:138: error: unknown field 'steal' specified in initializer fs/splice.c:138: warning: excess elements in struct initializer fs/splice.c:138: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:139: error: unknown field 'get' specified in initializer fs/splice.c:139: error: 'generic_pipe_buf_get' undeclared here (not in a function) fs/splice.c:139: warning: excess elements in struct initializer fs/splice.c:139: warning: (near initialization for 'page_cache_pipe_buf_ops') fs/splice.c:143: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:143: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'user_page_pipe_buf_steal': fs/splice.c:145: error: dereferencing pointer to incomplete type fs/splice.c:145: error: 'PIPE_BUF_FLAG_GIFT' undeclared (first use in this function) fs/splice.c:148: error: dereferencing pointer to incomplete type fs/splice.c:148: error: 'PIPE_BUF_FLAG_LRU' undeclared (first use in this function) fs/splice.c:149: error: implicit declaration of function 'generic_pipe_buf_steal' fs/splice.c: At top level: fs/splice.c:152: error: variable 'user_page_pipe_buf_ops' has initializer but incomplete type fs/splice.c:153: error: unknown field 'can_merge' specified in initializer fs/splice.c:153: warning: excess elements in struct initializer fs/splice.c:153: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:154: error: unknown field 'map' specified in initializer fs/splice.c:154: warning: excess elements in struct initializer fs/splice.c:154: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:155: error: unknown field 'unmap' specified in initializer fs/splice.c:155: warning: excess elements in struct initializer fs/splice.c:155: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:156: error: unknown field 'confirm' specified in initializer fs/splice.c:156: error: 'generic_pipe_buf_confirm' undeclared here (not in a function) fs/splice.c:156: warning: excess elements in struct initializer fs/splice.c:156: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:157: error: unknown field 'release' specified in initializer fs/splice.c:157: warning: excess elements in struct initializer fs/splice.c:157: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:158: error: unknown field 'steal' specified in initializer fs/splice.c:158: warning: excess elements in struct initializer fs/splice.c:158: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:159: error: unknown field 'get' specified in initializer fs/splice.c:159: warning: excess elements in struct initializer fs/splice.c:159: warning: (near initialization for 'user_page_pipe_buf_ops') fs/splice.c:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splice_to_pipe' fs/splice.c:263: warning: 'struct splice_pipe_desc' declared inside parameter list fs/splice.c: In function 'spd_release_page': fs/splice.c:265: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:269: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:270: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:271: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c:271: warning: 'struct file' declared inside parameter list fs/splice.c: In function '__generic_file_splice_read': fs/splice.c:273: error: dereferencing pointer to incomplete type fs/splice.c:275: error: 'PIPE_BUFFERS' undeclared (first use in this function) fs/splice.c:278: error: 'pgoff_t' undeclared (first use in this function) fs/splice.c:278: error: expected ';' before 'index' fs/splice.c:279: error: 'loff_t' undeclared (first use in this function) fs/splice.c:279: error: expected ';' before 'isize' fs/splice.c:280: warning: ISO C90 forbids mixed declarations and code fs/splice.c:281: error: variable 'spd' has initializer but incomplete type fs/splice.c:282: error: unknown field 'pages' specified in initializer fs/splice.c:282: warning: excess elements in struct initializer fs/splice.c:282: warning: (near initialization for 'spd') fs/splice.c:283: error: unknown field 'partial' specified in initializer fs/splice.c:283: warning: excess elements in struct initializer fs/splice.c:283: warning: (near initialization for 'spd') fs/splice.c:284: error: unknown field 'flags' specified in initializer fs/splice.c:284: warning: excess elements in struct initializer fs/splice.c:284: warning: (near initialization for 'spd') fs/splice.c:285: error: unknown field 'ops' specified in initializer fs/splice.c:285: warning: excess elements in struct initializer fs/splice.c:285: warning: (near initialization for 'spd') fs/splice.c:286: error: unknown field 'spd_release' specified in initializer fs/splice.c:286: warning: excess elements in struct initializer fs/splice.c:286: warning: (near initialization for 'spd') fs/splice.c:281: error: storage size of 'spd' isn't known fs/splice.c:289: error: 'index' undeclared (first use in this function) fs/splice.c:289: error: 'ppos' undeclared (first use in this function) fs/splice.c:289: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) fs/splice.c:290: error: 'PAGE_CACHE_MASK' undeclared (first use in this function) fs/splice.c:291: error: 'len' undeclared (first use in this function) fs/splice.c:291: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/splice.c:292: error: implicit declaration of function 'min' fs/splice.c:297: error: implicit declaration of function 'find_get_pages_contig' fs/splice.c:305: error: implicit declaration of function 'page_cache_sync_readahead'cc1: error: include/linux/autoconf.h: No such file or directory kernel/ksysfs.c:11:27: error: linux/kobject.h: No such file or directory kernel/ksysfs.c:12:26: error: linux/string.h: No such file or directory kernel/ksysfs.c:13:25: error: linux/sysfs.h: No such file or directory kernel/ksysfs.c:14:26: error: linux/module.h: No such file or directory kernel/ksysfs.c:15:24: error: linux/init.h: No such file or directory kernel/ksysfs.c:16:25: error: linux/kexec.h: No such file or directory kernel/ksysfs.c:17:25: error: linux/sched.h: No such file or directory fs/splice.c:305: error: dereferencing pointer to incomplete type fs/splice.c:314: error: implicit declaration of function 'find_get_page' fs/splice.c:314: warning: assignment makes pointer from integer without a cast fs/splice.c:319: error: implicit declaration of function 'page_cache_alloc_cold' fs/splice.c:319: warning: assignment makes pointer from integer without a cast fs/splice.c:323: error: implicit declaration of function 'add_to_page_cache_lru' fs/splice.c:324: error: implicit declaration of function 'mapping_gfp_mask' fs/splice.c:325: error: implicit declaration of function 'unlikely' fs/splice.c:327: error: 'EEXIST' undeclared (first use in this function) fs/splice.c:358: error: implicit declaration of function 'min_t' fs/splice.c:358: error: expected expression before 'unsigned' kernel/ksysfs.c:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notes_read' kernel/ksysfs.c:96: error: variable 'notes_attr' has initializer but incomplete type kernel/ksysfs.c:97: error: unknown field 'attr' specified in initializer kernel/ksysfs.c:97: error: extra brace group at end of initializer kernel/ksysfs.c:97: error: (near initialization for 'notes_attr') kernel/ksysfs.c:99: error: 'S_IRUGO' undeclared here (not in a function) kernel/ksysfs.c:100: warning: excess elements in struct initializer kernel/ksysfs.c:100: warning: (near initialization for 'notes_attr') kernel/ksysfs.c:101: error: unknown field 'read' specified in initializer kernel/ksysfs.c:101: error: 'notes_read' undeclared here (not in a function) kernel/ksysfs.c:101: warning: excess elements in struct initializer kernel/ksysfs.c:101: warning: (near initialization for 'notes_attr') kernel/ksysfs.c:105: warning: data definition has no type or storage class kernel/ksysfs.c:105: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/ksysfs.c:105: warning: parameter names (without types) in function declaration kernel/ksysfs.c:117: error: 'NULL' undeclared here (not in a function) kernel/ksysfs.c:120: error: variable 'kernel_attr_group' has initializer but incomplete type kernel/ksysfs.c:121: error: unknown field 'attrs' specified in initializer kernel/ksysfs.c:121: warning: excess elements in struct initializer kernel/ksysfs.c:121: warning: (near initialization for 'kernel_attr_group') kernel/ksysfs.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ksysfs_init' kernel/ksysfs.c:162: warning: data definition has no type or storage class kernel/ksysfs.c:162: warning: type defaults to 'int' in declaration of 'core_initcall' kernel/ksysfs.c:162: warning: parameter names (without types) in function declaration scripts/Makefile.build:41: /usr/builds/linux-next-20080722/crypto/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/builds/linux-next-20080722/crypto/Makefile'. make[1]: Failed to remake makefile `/usr/builds/linux-next-20080722/crypto/Makefile'. fs/splice.c:361: error: implicit declaration of function 'PageReadahead' fs/splice.c:362: error: implicit declaration of function 'page_cache_async_readahead' fs/splice.c:362: error: dereferencing pointer to incomplete type fs/splice.c:373: error: 'SPLICE_F_NONBLOCK' undeclared (first use in this function) fs/splice.c:374: error: implicit declaration of function 'TestSetPageLocked' fs/splice.c:375: error: 'EAGAIN' undeclared (first use in this function) fs/splice.c:387: error: dereferencing pointer to incomplete type fs/splice.c:389: error: implicit declaration of function 'find_or_create_page' fs/splice.c:390: warning: assignment makes pointer from integer without a cast fs/splice.c:393: error: 'ENOMEM' undeclared (first use in this function) fs/splice.c:410: error: dereferencing pointer to incomplete type fs/splice.c:418: error: 'AOP_TRUNCATED_PAGE' undeclared (first use in this function) fs/splice.c:428: error: 'isize' undeclared (first use in this function) fs/splice.c:428: error: implicit declaration of function 'i_size_read' fs/splice.c:428: error: dereferencing pointer to incomplete type fs/splice.c:429: error: 'end_index' undeclared (first use in this function) fs/splice.c:468: error: dereferencing pointer to incomplete type fs/splice.c:468: error: expected ';' before 'index' fs/splice.c:471: error: implicit declaration of function 'splice_to_pipe' fs/splice.c:281: warning: unused variable 'spd' fs/splice.c:276: warning: unused variable 'partial' fs/splice.c:275: warning: unused variable 'pages' fs/splice.c: At top level: fs/splice.c:490: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_splice_read' fs/splice.c:512: warning: data definition has no type or storage class fs/splice.c:512: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:512: warning: parameter names (without types) in function declaration fs/splice.c:519: warning: 'struct splice_desc' declared inside parameter list fs/splice.c:519: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:519: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'pipe_to_sendpage': fs/splice.c:521: error: dereferencing pointer to incomplete type fs/splice.c:522: error: 'loff_t' undeclared (first use in this function) fs/splice.c:522: error: expected ';' before 'pos' fs/splice.c:523: warning: ISO C90 forbids mixed declarations and code fs/splice.c:525: error: dereferencing pointer to incomplete type fs/splice.c:527: error: dereferencing pointer to incomplete type fs/splice.c:527: error: 'SPLICE_F_MORE' undeclared (first use in this function) fs/splice.c:527: error: dereferencing pointer to incomplete type fs/splice.c:527: error: dereferencing pointer to incomplete type fs/splice.c:529: error: dereferencing pointer to incomplete type fs/splice.c:529: error: dereferencing pointer to incomplete type fs/splice.c:529: error: dereferencing pointer to incomplete type fs/splice.c:530: error: dereferencing pointer to incomplete type fs/splice.c:530: error: 'pos' undeclared (first use in this function) fs/splice.c: At top level: fs/splice.c:557: warning: 'struct splice_desc' declared inside parameter list fs/splice.c:557: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c:557: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'pipe_to_file': fs/splice.c:559: error: dereferencing pointer to incomplete type fs/splice.c:560: error: dereferencing pointer to incomplete type fs/splice.c:569: error: dereferencing pointer to incomplete type fs/splice.c:573: error: dereferencing pointer to incomplete type fs/splice.c:573: error: 'PAGE_CACHE_MASK' undeclared (first use in this function) fs/splice.c:575: error: dereferencing pointer to incomplete type fs/splice.c:576: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) fs/splice.c:579: error: implicit declaration of function 'pagecache_write_begin' fs/splice.c:579: error: dereferencing pointer to incomplete type fs/splice.c:580: error: 'AOP_FLAG_UNINTERRUPTIBLE' undeclared (first use in this function) fs/splice.c:584: error: dereferencing pointer to incomplete type fs/splice.c:588: error: dereferencing pointer to incomplete type fs/splice.c:589: error: implicit declaration of function 'kmap_atomic' fs/splice.c:589: error: 'KM_USER1' undeclared (first use in this function) fs/splice.c:589: warning: initialization makes pointer from integer without a cast fs/splice.c:591: error: implicit declaration of function 'memcpy' fs/splice.c:591: error: dereferencing pointer to incomplete type fs/splice.c:592: error: implicit declaration of function 'flush_dcache_page' fs/splice.c:593: error: implicit declaration of function 'kunmap_atomic' fs/splice.c:594: error: dereferencing pointer to incomplete type fs/splice.c:596: error: implicit declaration of function 'pagecache_write_end' fs/splice.c:596: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:615: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__splice_from_pipe' fs/splice.c:704: warning: data definition has no type or storage class fs/splice.c:704: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:704: warning: parameter names (without types) in function declaration fs/splice.c:720: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splice_from_pipe' fs/splice.c:761: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_splice_write_nolock' fs/splice.c:803: warning: data definition has no type or storage class fs/splice.c:803: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:803: warning: parameter names (without types) in function declaration fs/splice.c:819: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_file_splice_write' fs/splice.c:864: warning: data definition has no type or storage class fs/splice.c:864: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:864: warning: parameter names (without types) in function declaration fs/splice.c:879: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'generic_splice_sendpage' fs/splice.c:885: warning: data definition has no type or storage class fs/splice.c:885: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:885: warning: parameter names (without types) in function declaration fs/splice.c:891: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:891: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:891: warning: 'struct file' declared inside parameter list fs/splice.c:891: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'do_splice_from': fs/splice.c:895: error: dereferencing pointer to incomplete type fs/splice.c:895: error: dereferencing pointer to incomplete type fs/splice.c:896: error: 'EINVAL' undeclared (first use in this function) fs/splice.c:898: error: dereferencing pointer to incomplete type fs/splice.c:898: error: 'FMODE_WRITE' undeclared (first use in this function) fs/splice.c:899: error: 'EBADF' undeclared (first use in this function) fs/splice.c:901: error: implicit declaration of function 'rw_verify_area' fs/splice.c:901: error: 'WRITE' undeclared (first use in this function) fs/splice.c:901: error: 'ppos' undeclared (first use in this function) fs/splice.c:901: error: 'len' undeclared (first use in this function) fs/splice.c:905: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:911: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:912: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:913: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c:913: warning: 'struct file' declared inside parameter list fs/splice.c: In function 'do_splice_to': fs/splice.c:917: error: dereferencing pointer to incomplete type fs/splice.c:917: error: dereferencing pointer to incomplete type fs/splice.c:918: error: 'EINVAL' undeclared (first use in this function) fs/splice.c:920: error: dereferencing pointer to incomplete type fs/splice.c:920: error: 'FMODE_READ' undeclared (first use in this function) fs/splice.c:921: error: 'EBADF' undeclared (first use in this function) fs/splice.c:923: error: 'READ' undeclared (first use in this function) fs/splice.c:923: error: 'ppos' undeclared (first use in this function) fs/splice.c:923: error: 'len' undeclared (first use in this function) fs/splice.c:927: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:943: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splice_direct_to_actor' fs/splice.c:1050: warning: data definition has no type or storage class fs/splice.c:1050: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' fs/splice.c:1050: warning: parameter names (without types) in function declaration fs/splice.c:1053: warning: 'struct splice_desc' declared inside parameter list fs/splice.c:1053: warning: 'struct pipe_inode_info' declared inside parameter list fs/splice.c: In function 'direct_splice_actor': fs/splice.c:1055: error: dereferencing pointer to incomplete type fs/splice.c:1057: error: dereferencing pointer to incomplete type fs/splice.c:1057: error: dereferencing pointer to incomplete type fs/splice.c:1057: error: dereferencing pointer to incomplete type fs/splice.c:1057: warning: passing argument 1 of 'do_splice_from' from incompatible pointer type fs/splice.c:1057: warning: passing argument 2 of 'do_splice_from' from incompatible pointer type fs/splice.c:1057: error: too many arguments to function 'do_splice_from' fs/splice.c: At top level: fs/splice.c:1075: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:1076: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:1076: warning: 'struct file' declared inside parameter list fs/splice.c: In function 'do_splice_direct': fs/splice.c:1078: error: variable 'sd' has initializer but incomplete type fs/splice.c:1079: error: unknown field 'len' specified in initializer fs/splice.c:1079: error: 'len' undeclared (first use in this function) fs/splice.c:1079: warning: excess elements in struct initializer fs/splice.c:1079: warning: (near initialization for 'sd') fs/splice.c:1080: error: unknown field 'total_len' specified in initializer fs/splice.c:1080: warning: excess elements in struct initializer fs/splice.c:1080: warning: (near initialization for 'sd') fs/splice.c:1081: error: unknown field 'flags' specified in initializer fs/splice.c:1081: warning: excess elements in struct initializer fs/splice.c:1081: warning: (near initialization for 'sd') fs/splice.c:1082: error: unknown field 'pos' specified in initializer fs/splice.c:1082: error: 'ppos' undeclared (first use in this function) fs/splice.c:1082: warning: excess elements in struct initializer fs/splice.c:1082: warning: (near initialization for 'sd') fs/splice.c:1083: error: unknown field 'u' specified in initializer fs/splice.c:1083: warning: excess elements in struct initializer fs/splice.c:1083: warning: (near initialization for 'sd') fs/splice.c:1078: error: storage size of 'sd' isn't known fs/splice.c:1087: error: implicit declaration of function 'splice_direct_to_actor' fs/splice.c:1078: warning: unused variable 'sd' fs/splice.c: At top level: fs/splice.c:1099: warning: 'struct inode' declared inside parameter list fs/splice.c: In function 'pipe_info': fs/splice.c:1101: error: implicit declaration of function 'S_ISFIFO' fs/splice.c:1101: error: dereferencing pointer to incomplete type fs/splice.c:1102: error: dereferencing pointer to incomplete type fs/splice.c:1104: error: 'NULL' undeclared (first use in this function) fs/splice.c: At top level: fs/splice.c:1110: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:1111: error: expected declaration specifiers or '...' before 'loff_t' fs/splice.c:1112: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:1112: warning: 'struct file' declared inside parameter list fs/splice.c: In function 'do_splice': fs/splice.c:1115: error: 'loff_t' undeclared (first use in this function) fs/splice.c:1115: error: expected ';' before 'offset' fs/splice.c:1116: warning: ISO C90 forbids mixed declarations and code fs/splice.c:1118: error: dereferencing pointer to incomplete type fs/splice.c:1120: error: 'off_in' undeclared (first use in this function) fs/splice.c:1121: error: 'ESPIPE' undeclared (first use in this function) fs/splice.c:1122: error: 'off_out' undeclared (first use in this function) fs/splice.c:1123: error: dereferencing pointer to incomplete type fs/splice.c:1123: error: 'no_llseek' undeclared (first use in this function) fs/splice.c:1124: error: 'EINVAL' undeclared (first use in this function) fs/splice.c:1125: error: implicit declaration of function 'copy_from_user' fs/splice.c:1125: error: 'offset' undeclared (first use in this function) fs/splice.c:1126: error: 'EFAULT' undeclared (first use in this function) fs/splice.c:1127: error: 'off' undeclared (first use in this function) fs/splice.c:1129: error: dereferencing pointer to incomplete type fs/splice.c:1131: error: 'len' undeclared (first use in this function) fs/splice.c:1131: warning: passing argument 1 of 'do_splice_from' from incompatible pointer type fs/splice.c:1131: warning: passing argument 2 of 'do_splice_from' from incompatible pointer type fs/splice.c:1131: error: too many arguments to function 'do_splice_from' fs/splice.c:1133: error: implicit declaration of function 'copy_to_user' fs/splice.c:1139: error: dereferencing pointer to incomplete type fs/splice.c:1144: error: dereferencing pointer to incomplete type fs/splice.c:1150: error: dereferencing pointer to incomplete type fs/splice.c:1152: warning: passing argument 1 of 'do_splice_to' from incompatible pointer type fs/splice.c:1152: warning: passing argument 3 of 'do_splice_to' makes integer from pointer without a cast fs/splice.c:1152: error: too many arguments to function 'do_splice_to' fs/splice.c: At top level: fs/splice.c:1170: error: expected ';', ',' or ')' before '*' token fs/splice.c:1200: error: expected ';', ',' or ')' before '*' token fs/splice.c:1300: warning: 'struct splice_desc' declared inside parameter list fs/splice.c:1300: warning: 'struct pipe_buffer' declared inside parameter list fs/splice.c: In function 'pipe_to_user': fs/splice.c:1305: error: dereferencing pointer to incomplete type fs/splice.c:1313: error: implicit declaration of function 'fault_in_pages_writeable' fs/splice.c:1313: error: dereferencing pointer to incomplete type fs/splice.c:1313: error: dereferencing pointer to incomplete type fs/splice.c:1314: error: dereferencing pointer to incomplete type fs/splice.c:1315: error: implicit declaration of function '__copy_to_user_inatomic' fs/splice.c:1315: error: dereferencing pointer to incomplete type fs/splice.c:1315: error: dereferencing pointer to incomplete type fs/splice.c:1316: error: dereferencing pointer to incomplete type fs/splice.c:1317: error: dereferencing pointer to incomplete type fs/splice.c:1319: error: dereferencing pointer to incomplete type fs/splice.c:1327: error: dereferencing pointer to incomplete type fs/splice.c:1329: error: dereferencing pointer to incomplete type fs/splice.c:1330: error: dereferencing pointer to incomplete type fs/splice.c:1330: error: dereferencing pointer to incomplete type fs/splice.c:1330: error: dereferencing pointer to incomplete type fs/splice.c:1331: error: 'EFAULT' undeclared (first use in this function) fs/splice.c:1333: error: dereferencing pointer to incomplete type fs/splice.c:1336: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:1344: error: expected ';', ',' or ')' before '*' token fs/splice.c:1427: error: expected ';', ',' or ')' before '*' token fs/splice.c:1469: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/splice.c:1495: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' fs/splice.c: In function 'link_ipipe_prep': fs/splice.c:1538: error: dereferencing pointer to incomplete type fs/splice.c:1542: error: implicit declaration of function 'mutex_lock' fs/splice.c:1542: error: dereferencing pointer to incomplete type fs/splice.c:1544: error: dereferencing pointer to incomplete type fs/splice.c:1545: error: implicit declaration of function 'signal_pending' fs/splice.c:1545: error: 'current' undeclared (first use in this function) fs/splice.c:1546: error: 'ERESTARTSYS' undeclared (first use in this function) fs/splice.c:1549: error: dereferencing pointer to incomplete type fs/splice.c:1551: error: dereferencing pointer to incomplete type fs/splice.c:1552: error: 'SPLICE_F_NONBLOCK' undeclared (first use in this function) fs/splice.c:1553: error: 'EAGAIN' undeclared (first use in this function) fs/splice.c:1557: error: implicit declaration of function 'pipe_wait' fs/splice.c:1560: error: implicit declaration of function 'mutex_unlock' fs/splice.c:1560: error: dereferencing pointer to incomplete type cc1: error: fs/splice.c: In function 'link_opipe_prep': fs/splice.c:1576: error: dereferencing pointer to incomplete type fs/splice.c:1576: error: 'PIPE_BUFFERS' undeclared (first use in this function) fs/splice.c:1580: error: dereferencing pointer to incomplete type fs/splice.c:1582: error: dereferencing pointer to incomplete type fs/splice.c:1583: error: dereferencing pointer to incomplete type fs/splice.c:1584: error: implicit declaration of function 'send_sig' fs/splice.c:1584: error: 'SIGPIPE' undeclared (first use in this function) fs/splice.c:1584: error: 'current' undeclared (first use in this function) fs/splice.c:1585: error: 'EPIPE' undeclared (first use in this function) fs/splice.c:1588: error: 'SPLICE_F_NONBLOCK' undeclared (first use in this function) fs/splice.c:1589: error: 'EAGAIN' undeclared (first use in this function) fs/splice.c:1593: error: 'ERESTARTSYS' undeclared (first use in this function) fs/splice.c:1596: error: dereferencing pointer to incomplete type fs/splice.c:1598: error: dereferencing pointer to incomplete type fs/splice.c:1601: error: dereferencing pointer to incomplete type fs/splice.c: At top level: fs/splice.c:1610: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c: In function 'link_pipe': fs/splice.c:1620: error: implicit declaration of function 'inode_double_lock' fs/splice.c:1620: error: dereferencing pointer to incomplete type fs/splice.c:1620: error: dereferencing pointer to incomplete type fs/splice.c:1623: error: dereferencing pointer to incomplete type fs/splice.c:1624: error: 'SIGPIPE' undeclared (first use in this function) fs/splice.c:1624: error: 'current' undeclared (first use in this function) fs/splice.c:1626: error: 'EPIPE' undeclared (first use in this function) fs/splice.c:1634: error: dereferencing pointer to incomplete type fs/splice.c:1634: error: dereferencing pointer to incomplete type include/linux/autoconf.h: No such file or directorymake[1]: /bin/sh: crypto/modules.order: No such file or directory *** [kernel/ksysfs.o] Error 1 kernel/pm_qos_params.c:30:33: error: linux/pm_qos_params.h: No such file or directory kernel/pm_qos_params.c:31:25: error: linux/sched.h: No such file or directory kernel/pm_qos_params.c:32:28: error: linux/smp_lock.h: No such file or directory kernel/pm_qos_params.c:33:28: error: linux/spinlock.h: No such file or directory kernel/pm_qos_params.c:34:24: error: linux/slab.h: No such file or directory kernel/pm_qos_params.c:35:24: error: linux/time.h: No such file or directory kernel/pm_qos_params.c:36:22: error: linux/fs.h: No such file or directory kernel/pm_qos_params.c:37:26: error: linux/device.h: No such file or directory kernel/pm_qos_params.c:38:30: error: linux/miscdevice.h: No such file or directory kernel/pm_qos_params.c:39:26: error: linux/string.h: No such file or directory kernel/pm_qos_params.c:40:35: error: linux/platform_device.h: No such file or directory kernel/pm_qos_params.c:41:24: error: linux/init.h: No such file or directory kernel/pm_qos_params.c:43:27: error: linux/uaccess.h: No such file or directory kernel/pm_qos_params.c:51: error: field 'list' has incomplete type kernel/pm_qos_params.c:53: error: expected specifier-qualifier-list before 's32' kernel/pm_qos_params.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'max_compare' kernel/pm_qos_params.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'min_compare' kernel/pm_qos_params.c:66: error: field 'pm_qos_power_miscdev' has incomplete type kernel/pm_qos_params.c:68: error: expected specifier-qualifier-list before 's32' kernel/pm_qos_params.c:74: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD' kernel/pm_qos_params.c:74: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:76: error: implicit declaration of function 'LIST_HEAD_INIT' kernel/pm_qos_params.c:77: error: 'cpu_dma_lat_notifier' undeclared here (not in a function) kernel/pm_qos_params.c:79: error: unknown field 'default_value' specified in initializer kernel/pm_qos_params.c:79: error: 'USEC_PER_SEC' undeclared here (not in a function) kernel/pm_qos_params.c:79: warning: excess elements in struct initializer kernel/pm_qos_params.c:79: warning: (near initialization for 'cpu_dma_pm_qos') kernel/pm_qos_params.c:80: error: unknown field 'target_value' specified in initializer kernel/pm_qos_params.c:80: warning: excess elements in struct initializer kernel/pm_qos_params.c:80: warning: (near initialization for 'cpu_dma_pm_qos') kernel/pm_qos_params.c:81: error: unknown field 'comparitor' specified in initializer kernel/pm_qos_params.c:81: error: 'min_compare' undeclared here (not in a function) kernel/pm_qos_params.c:82: warning: excess elements in struct initializer kernel/pm_qos_params.c:82: warning: (near initialization for 'cpu_dma_pm_qos') kernel/pm_qos_params.c:84: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD' kernel/pm_qos_params.c:84: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:87: error: 'network_lat_notifier' undeclared here (not in a function) kernel/pm_qos_params.c:89: error: unknown field 'default_value' specified in initializer kernel/pm_qos_params.c:89: warning: excess elements in struct initializer kernel/pm_qos_params.c:89: warning: (near initialization for 'network_lat_pm_qos') kernel/pm_qos_params.c:90: error: unknown field 'target_value' specified in initializer kernel/pm_qos_params.c:90: warning: excess elements in struct initializer kernel/pm_qos_params.c:90: warning: (near initialization for 'network_lat_pm_qos') kernel/pm_qos_params.c:91: error: unknown field 'comparitor' specified in initializer kernel/pm_qos_params.c:92: warning: excess elements in struct initializer kernel/pm_qos_params.c:92: warning: (near initialization for 'network_lat_pm_qos') kernel/pm_qos_params.c:95: warning: type defaults to 'int' in declaration of 'BLOCKING_NOTIFIER_HEAD' kernel/pm_qos_params.c:95: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:99: error: 'network_throughput_notifier' undeclared here (not in a function) kernel/pm_qos_params.c:101: error: unknown field 'default_value' specified in initializer kernel/pm_qos_params.c:101: warning: excess elements in struct initializer kernel/pm_qos_params.c:101: warning: (near initialization for 'network_throughput_pm_qos') kernel/pm_qos_params.c:102: error: unknown field 'target_value' specified in initializer kernel/pm_qos_params.c:102: warning: excess elements in struct initializer kernel/pm_qos_params.c:102: warning: (near initialization for 'network_throughput_pm_qos') kernel/pm_qos_params.c:103: error: unknown field 'comparitor' specified in initializer kernel/pm_qos_params.c:103: error: 'max_compare' undeclared here (not in a function) kernel/pm_qos_params.c:104: warning: excess elements in struct initializer kernel/pm_qos_params.c:104: warning: (near initialization for 'network_throughput_pm_qos') kernel/pm_qos_params.c:114: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/pm_qos_params.c:114: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm_qos_power_write' kernel/pm_qos_params.c:118: warning: 'struct file' declared inside parameter list kernel/pm_qos_params.c:118: warning: its scope is only this definition or declaration, which is probably not what you want kernel/pm_qos_params.c:118: warning: 'struct inode' declared inside parameter list kernel/pm_qos_params.c:119: warning: 'struct file' declared inside parameter list kernel/pm_qos_params.c:119: warning: 'struct inode' declared inside parameter list kernel/pm_qos_params.c:121: error: variable 'pm_qos_power_fops' has initializer but incomplete type kernel/pm_qos_params.c:122: error: unknown field 'write' specified in initializer kernel/pm_qos_params.c:122: error: 'pm_qos_power_write' undeclared here (not in a function) kernel/pm_qos_params.c:122: warning: excess elements in struct initializer kernel/pm_qos_params.c:122: warning: (near initialization for 'pm_qos_power_fops') kernel/pm_qos_params.c:123: error: unknown field 'open' specified in initializer kernel/pm_qos_params.c:123: warning: excess elements in struct initializer kernel/pm_qos_params.c:123: warning: (near initialization for 'pm_qos_power_fops') kernel/pm_qos_params.c:124: error: unknown field 'release' specified in initializer kernel/pm_qos_params.c:124: warning: excess elements in struct initializer kernel/pm_qos_params.c:124: warning: (near initialization for 'pm_qos_power_fops') kernel/pm_qos_params.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'max_compare' kernel/pm_qos_params.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'min_compare' kernel/pm_qos_params.c: In function 'update_target': kernel/pm_qos_params.c:141: error: 's32' undeclared (first use in this function) kernel/pm_qos_params.c:141: error: (Each undeclared identifier is reported only once kernel/pm_qos_params.c:141: error: for each function it appears in.) kernel/pm_qos_params.c:141: error: expected ';' before 'extreme_value' kernel/pm_qos_params.c:142: warning: ISO C90 forbids mixed declarations and code kernel/pm_qos_params.c:146: error: implicit declaration of function 'spin_lock_irqsave' kernel/pm_qos_params.c:146: error: 'pm_qos_lock' undeclared (first use in this function) kernel/pm_qos_params.c:147: error: 'extreme_value' undeclared (first use in this function) kernel/pm_qos_params.c:147: error: 'struct pm_qos_object' has no member named 'default_value' kernel/pm_qos_params.c:148: error: implicit declaration of function 'list_for_each_entry' kernel/pm_qos_params.c:149: error: 'list' undeclared (first use in this function) kernel/pm_qos_params.c:149: error: expected ';' before '{' token kernel/pm_qos_params.c:162: error: implicit declaration of function 'blocking_notifier_call_chain' kernel/pm_qos_params.c:163: error: 'NULL' undeclared (first use in this function) kernel/pm_qos_params.c: In function 'register_pm_qos_misc': kernel/pm_qos_params.c:168: error: 'MISC_DYNAMIC_MINOR' undeclared (first use in this function) kernel/pm_qos_params.c:172: error: implicit declaration of function 'misc_register' kernel/pm_qos_params.c: In function 'find_pm_qos_object_by_minor': kernel/pm_qos_params.c:180: error: 'PM_QOS_NUM_CLASSES' undeclared (first use in this function) kernel/pm_qos_params.c: In function 'pm_qos_requirement': kernel/pm_qos_params.c:199: error: 'pm_qos_lock' undeclared (first use in this function) kernel/pm_qos_params.c:200: error: 'struct pm_qos_object' has no member named 'target_value' kernel/pm_qos_params.c:201: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:205: warning: data definition has no type or storage class kernel/pm_qos_params.c:205: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:205: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:217: error: expected declaration specifiers or '...' before 's32' kernel/pm_qos_params.c: In function 'pm_qos_add_requirement': kernel/pm_qos_params.c:222: error: implicit declaration of function 'kzalloc' kernel/pm_qos_params.c:222: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/pm_qos_params.c:222: warning: assignment makes pointer from integer without a cast kernel/pm_qos_params.c:224: error: 'value' undeclared (first use in this function) kernel/pm_qos_params.c:224: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function) kernel/pm_qos_params.c:225: error: 'struct requirement_list' has no member named 'value' kernel/pm_qos_params.c:225: error: 'struct pm_qos_object' has no member named 'default_value' kernel/pm_qos_params.c:227: error: 'struct requirement_list' has no member named 'value' kernel/pm_qos_params.c:228: error: implicit declaration of function 'kstrdup' kernel/pm_qos_params.c:228: warning: assignment makes pointer from integer without a cast kernel/pm_qos_params.c:232: error: 'pm_qos_lock' undeclared (first use in this function) kernel/pm_qos_params.c:233: error: implicit declaration of function 'list_add' kernel/pm_qos_params.c:242: error: implicit declaration of function 'kfree' kernel/pm_qos_params.c:243: error: 'ENOMEM' undeclared (first use in this function) kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:245: warning: data definition has no type or storage class kernel/pm_qos_params.c:245: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:245: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:258: error: expected declaration specifiers or '...' before 's32' kernel/pm_qos_params.c: In function 'pm_qos_update_requirement': kernel/pm_qos_params.c:264: error: 'pm_qos_lock' undeclared (first use in this function) kernel/pm_qos_params.c:266: error: 'list' undeclared (first use in this function) kernel/pm_qos_params.c:266: error: expected ';' before '{' token kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:283: warning: data definition has no type or storage class kernel/pm_qos_params.c:283: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:283: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c: In function 'pm_qos_remove_requirement': kernel/pm_qos_params.c:299: error: 'pm_qos_lock' undeclared (first use in this function) kernel/pm_qos_params.c:301: error: 'list' undeclared (first use in this function) kernel/pm_qos_params.c:301: error: expected ';' before '{' token kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:314: warning: data definition has no type or storage class kernel/pm_qos_params.c:314: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:314: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:324: warning: 'struct notifier_block' declared inside parameter list kernel/pm_qos_params.c: In function 'pm_qos_add_notifier': kernel/pm_qos_params.c:328: error: implicit declaration of function 'blocking_notifier_chain_register' kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:333: warning: data definition has no type or storage class kernel/pm_qos_params.c:333: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:333: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:343: warning: 'struct notifier_block' declared inside parameter list kernel/pm_qos_params.c: In function 'pm_qos_remove_notifier': kernel/pm_qos_params.c:347: error: implicit declaration of function 'blocking_notifier_chain_unregister' kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:352: warning: data definition has no type or storage class kernel/pm_qos_params.c:352: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/pm_qos_params.c:352: warning: parameter names (without types) in function declaration kernel/pm_qos_params.c:357: warning: 'struct file' declared inside parameter list kernel/pm_qos_params.c:357: warning: 'struct inode' declared inside parameter list kernel/pm_qos_params.c:358: error: conflicting types for 'pm_qos_power_open' kernel/pm_qos_params.c:118: error: previous declaration of 'pm_qos_power_open' was here kernel/pm_qos_params.c: In function 'pm_qos_power_open': kernel/pm_qos_params.c:362: error: implicit declaration of function 'lock_kernel' kernel/pm_qos_params.c:363: error: implicit declaration of function 'iminor' kernel/pm_qos_params.c:365: error: dereferencing pointer to incomplete type kernel/pm_qos_params.c:366: error: implicit declaration of function 'sprintf' kernel/pm_qos_params.c:366: error: 'current' undeclared (first use in this function) kernel/pm_qos_params.c:368: error: 'PM_QOS_DEFAULT_VALUE' undeclared (first use in this function) kernel/pm_qos_params.c:368: error: too many arguments to function 'pm_qos_add_requirement' kernel/pm_qos_params.c:370: error: implicit declaration of function 'unlock_kernel' kernel/pm_qos_params.c:376: error: 'EPERM' undeclared (first use in this function) kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:379: warning: 'struct file' declared inside parameter list kernel/pm_qos_params.c:379: warning: 'struct inode' declared inside parameter list kernel/pm_qos_params.c:380: error: conflicting types for 'pm_qos_power_release' kernel/pm_qos_params.c:119: error: previous declaration of 'pm_qos_power_release' was here kernel/pm_qos_params.c: In function 'pm_qos_power_release': kernel/pm_qos_params.c:383: error: dereferencing pointer to incomplete type kernel/pm_qos_params.c:384: error: 'current' undeclared (first use in this function) kernel/pm_qos_params.c: At top level: kernel/pm_qos_params.c:390: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm_qos_power_write' kernel/pm_qos_params.c:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm_qos_power_init' kernel/pm_qos_params.c:430: warning: data definition has no type or storage class kernel/pm_qos_params.c:430: warning: type defaults to 'int' in declaration of 'late_initcall' kernel/pm_qos_params.c:430: warning: parameter names (without types) in function declaration fs/splice.c:1634: error: 'PIPE_BUFFERS' undeclared (first use in this function) fs/splice.c:1637: error: dereferencing pointer to incomplete type fs/splice.c:1637: error: dereferencing pointer to incomplete type fs/splice.c:1638: error: dereferencing pointer to incomplete type fs/splice.c:1638: error: dereferencing pointer to incomplete type fs/splice.c:1644: error: dereferencing pointer to incomplete type fs/splice.c:1646: error: dereferencing pointer to incomplete type fs/splice.c:1647: error: dereferencing pointer to incomplete type fs/splice.c:1647: error: dereferencing pointer to incomplete type fs/splice.c:1653: error: dereferencing pointer to incomplete type fs/splice.c:1653: error: 'PIPE_BUF_FLAG_GIFT' undeclared (first use in this function) fs/splice.c:1655: error: dereferencing pointer to incomplete type fs/splice.c:1655: error: 'len' undeclared (first use in this function) fs/splice.c:1656: error: dereferencing pointer to incomplete type fs/splice.c:1658: error: dereferencing pointer to incomplete type fs/splice.c:1659: error: dereferencing pointer to incomplete type fs/splice.c:1660: error: dereferencing pointer to incomplete type fs/splice.c:1668: error: dereferencing pointer to incomplete type fs/splice.c:1668: error: 'SPLICE_F_NONBLOCK' undeclared (first use in this function) fs/splice.c:1669: error: 'EAGAIN' undeclared (first use in this function) fs/splice.c:1671: error: implicit declaration of function 'inode_double_unlock' fs/splice.c:1671: error: dereferencing pointer to incomplete type fs/splice.c:1671: error: dereferencing pointer to incomplete type fs/splice.c:1677: error: implicit declaration of function 'smp_mb' fs/splice.c:1678: error: implicit declaration of function 'waitqueue_active' fs/splice.c:1678: error: dereferencing pointer to incomplete type fs/splice.c:1679: error: implicit declaration of function 'wake_up_interruptible' fs/splice.c:1679: error: dereferencing pointer to incomplete type fs/splice.c:1680: error: implicit declaration of function 'kill_fasync' fs/splice.c:1680: error: dereferencing pointer to incomplete type fs/splice.c:1680: error: 'SIGIO' undeclared (first use in this function) fs/splice.c:1680: error: 'POLL_IN' undeclared (first use in this function) fs/splice.c: At top level: fs/splice.c:1692: error: expected declaration specifiers or '...' before 'size_t' fs/splice.c:1693: warning: 'struct file' declared inside parameter list fs/splice.c: In function 'do_tee': fs/splice.c:1695: error: dereferencing pointer to incomplete type fs/splice.c:1696: error: dereferencing pointer to incomplete type fs/splice.c:1697: error: 'EINVAL' undeclared (first use in this function) fs/splice.c:1712: error: 'len' undeclared (first use in this function) fs/splice.c:1712: error: too many arguments to function 'link_pipe' fs/splice.c: At top level: fs/splice.c:1719: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' make[1]: *** [kernel/pm_qos_params.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory mm/dmapool.c:25:26: error: linux/device.h: No such file or directory mm/dmapool.c:26:31: error: linux/dma-mapping.h: No such file or directory mm/dmapool.c:27:27: error: linux/dmapool.h: No such file or directory make[1]: mm/dmapool.c:28:26: error: linux/kernel.h: No such file or directory mm/dmapool.c:29:24: error: linux/list.h: No such file or directory mm/dmapool.c:30:26: error: linux/module.h: No such file or directory mm/dmapool.c:31:25: error: linux/mutex.h: No such file or directory mm/dmapool.c:32:26: error: linux/poison.h: No such file or directory mm/dmapool.c:33:25: error: linux/sched.h: No such file or directory mm/dmapool.c:34:24: error: linux/slab.h: No such file or directory mm/dmapool.c:35:28: error: linux/spinlock.h: No such file or directory mm/dmapool.c:36:26: error: linux/string.h: No such file or directory mm/dmapool.c:37:25: error: linux/types.h: No such file or directory mm/dmapool.c:38:24: error: linux/wait.h: No such file or directory mm/dmapool.c:45: error: field 'page_list' has incomplete type mm/dmapool.c:46: error: expected specifier-qualifier-list before 'spinlock_t' mm/dmapool.c:57: error: field 'page_list' has incomplete type mm/dmapool.c:59: error: expected specifier-qualifier-list before 'dma_addr_t' mm/dmapool.c:66: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' mm/dmapool.c:66: warning: parameter names (without types) in function declaration mm/dmapool.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'show_pools' mm/dmapool.c:107: warning: type defaults to 'int' in declaration of 'DEVICE_ATTR' mm/dmapool.c:107: warning: parameter names (without types) in function declaration CC kernel/sched_clock.o *** [crypto/modules.order] Error 1 make[1]: Target `__build' not remade because of errors. mm/dmapool.c:131: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:131: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:131: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:131: warning: 'struct device' declared inside parameter list mm/dmapool.c:131: warning: its scope is only this definition or declaration, which is probably not what you want mm/dmapool.c: In function 'dma_pool_create': mm/dmapool.c:134: error: 'size_t' undeclared (first use in this function) mm/dmapool.c:134: error: (Each undeclared identifier is reported only once mm/dmapool.c:134: error: for each function it appears in.) mm/dmapool.c:134: error: expected ';' before 'allocation' mm/dmapool.c:136: error: 'align' undeclared (first use in this function) mm/dmapool.c:139: error: 'NULL' undeclared (first use in this function) mm/dmapool.c:142: error: 'size' undeclared (first use in this function) mm/dmapool.c:149: error: implicit declaration of function 'ALIGN' mm/dmapool.c:151: error: 'allocation' undeclared (first use in this function) mm/dmapool.c:151: error: implicit declaration of function 'max_t' mm/dmapool.c:151: error: 'PAGE_SIZE' undeclared (first use in this function) mm/dmapool.c:153: error: 'boundary' undeclared (first use in this function) mm/dmapool.c:159: error: implicit declaration of function 'kmalloc_node' mm/dmapool.c:159: error: 'GFP_KERNEL' undeclared (first use in this function) mm/dmapool.c:159: error: implicit declaration of function 'dev_to_node' mm/dmapool.c:159: warning: assignment makes pointer from integer without a cast mm/dmapool.c:163: error: implicit declaration of function 'strlcpy' mm/dmapool.c:163: error: 'struct dma_pool' has no member named 'name' mm/dmapool.c:163: error: 'struct dma_pool' has no member named 'name' mm/dmapool.c:165: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:167: error: implicit declaration of function 'INIT_LIST_HEAD' mm/dmapool.c:168: error: implicit declaration of function 'spin_lock_init' mm/dmapool.c:168: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:169: error: 'struct dma_pool' has no member named 'size' mm/dmapool.c:170: error: 'struct dma_pool' has no member named 'boundary' mm/dmapool.c:171: error: 'struct dma_pool' has no member named 'allocation' mm/dmapool.c:172: error: implicit declaration of function 'init_waitqueue_head' mm/dmapool.c:172: error: 'struct dma_pool' has no member named 'waitq' mm/dmapool.c:177: error: implicit declaration of function 'mutex_lock' mm/dmapool.c:177: error: 'pools_lock' undeclared (first use in this function) mm/dmapool.c:178: error: implicit declaration of function 'list_empty' mm/dmapool.c:178: error: dereferencing pointer to incomplete type mm/dmapool.c:179: error: implicit declaration of function 'device_create_file' mm/dmapool.c:179: error: 'dev_attr_pools' undeclared (first use in this function) mm/dmapool.c:184: error: implicit declaration of function 'list_add' mm/dmapool.c:184: error: 'struct dma_pool' has no member named 'pools' mm/dmapool.c:184: error: dereferencing pointer to incomplete type mm/dmapool.c:186: error: implicit declaration of function 'kfree' mm/dmapool.c:189: error: implicit declaration of function 'mutex_unlock' mm/dmapool.c:191: error: 'struct dma_pool' has no member named 'pools' mm/dmapool.c: At top level: mm/dmapool.c:195: warning: data definition has no type or storage class mm/dmapool.c:195: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:195: warning: parameter names (without types) in function declaration mm/dmapool.c: In function 'pool_initialise_page': mm/dmapool.c:200: error: 'struct dma_pool' has no member named 'boundary' mm/dmapool.c:203: error: 'struct dma_pool' has no member named 'size' mm/dmapool.c:204: error: implicit declaration of function 'unlikely' mm/dmapool.c:204: error: 'struct dma_pool' has no member named 'size' mm/dmapool.c:206: error: 'struct dma_pool' has no member named 'boundary' make[1]: *** [fs/splice.o] Error 1 mm/dmapool.c:210: error: 'struct dma_pool' has no member named 'allocation' mm/dmapool.c: At top level: mm/dmapool.c:213: error: expected declaration specifiers or '...' before 'gfp_t' mm/dmapool.c: In function 'pool_alloc_page': mm/dmapool.c:217: error: implicit declaration of function 'kmalloc' mm/dmapool.c:217: error: 'mem_flags' undeclared (first use in this function) mm/dmapool.c:217: warning: assignment makes pointer from integer without a cast mm/dmapool.c:219: error: 'NULL' undeclared (first use in this function) mm/dmapool.c:220: error: implicit declaration of function 'dma_alloc_coherent' mm/dmapool.c:220: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:220: error: 'struct dma_pool' has no member named 'allocation' mm/dmapool.c:221: error: 'struct dma_page' has no member named 'dma' mm/dmapool.c:221: warning: assignment makes pointer from integer without a cast make[1]: *** No rule to make target `fs/utimes.c', needed by `fs/utimes.o'. mm/dmapool.c:228: error: 'struct dma_page' has no member named 'in_use' mm/dmapool.c:229: error: 'struct dma_page' has no member named 'offset' mm/dmapool.c: In function 'is_page_busy': mm/dmapool.c:239: error: 'struct dma_page' has no member named 'in_use' mm/dmapool.c: In function 'pool_free_page': mm/dmapool.c:244: error: 'dma_addr_t' undeclared (first use in this function) mm/dmapool.c:244: error: expected ';' before 'dma' mm/dmapool.c:249: error: implicit declaration of function 'dma_free_coherent' mm/dmapool.c:249: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:249: error: 'struct dma_pool' has no member named 'allocation' mm/dmapool.c:249: error: 'dma' undeclared (first use in this function) mm/dmapool.c:250: error: implicit declaration of function 'list_del' mm/dmapool.c: In function 'dma_pool_destroy': mm/dmapool.c:264: error: 'pools_lock' undeclared (first use in this function) mm/dmapool.c:265: error: 'struct dma_pool' has no member named 'pools' mm/dmapool.c:266: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:266: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:267: error: implicit declaration of function 'device_remove_file' mm/dmapool.c:267: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:267: error: 'dev_attr_pools' undeclared (first use in this function) mm/dmapool.c:272: error: implicit declaration of function 'list_entry' mm/dmapool.c:273: error: expected expression before 'struct' mm/dmapool.c:273: warning: assignment makes pointer from integer without a cast mm/dmapool.c:275: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:276: error: implicit declaration of function 'dev_err' mm/dmapool.c:276: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:278: error: 'struct dma_pool' has no member named 'name' mm/dmapool.c:280: error: implicit declaration of function 'printk' mm/dmapool.c:280: error: 'KERN_ERR' undeclared (first use in this function) mm/dmapool.c:281: error: expected ')' before string constant mm/dmapool.c: At top level: mm/dmapool.c:292: warning: data definition has no type or storage class mm/dmapool.c:292: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:292: warning: parameter names (without types) in function declaration mm/dmapool.c:304: error: expected declaration specifiers or '...' before 'gfp_t' mm/dmapool.c:305: error: expected declaration specifiers or '...' before 'dma_addr_t' mm/dmapool.c: In function 'dma_pool_alloc': mm/dmapool.c:309: error: 'size_t' undeclared (first use in this function) mm/dmapool.c:309: error: expected ';' before 'offset' mm/dmapool.c:310: warning: ISO C90 forbids mixed declarations and code mm/dmapool.c:312: error: implicit declaration of function 'spin_lock_irqsave' mm/dmapool.c:312: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:314: error: implicit declaration of function 'list_for_each_entry' mm/dmapool.c:314: error: 'page_list' undeclared (first use in this function) mm/dmapool.c:314: error: expected ';' before '{' token mm/dmapool.c:320: error: 'mem_flags' undeclared (first use in this function) mm/dmapool.c:320: error: '__GFP_WAIT' undeclared (first use in this function) mm/dmapool.c:321: error: implicit declaration of function 'DECLARE_WAITQUEUE' mm/dmapool.c:321: error: 'wait' undeclared (first use in this function) mm/dmapool.c:321: error: 'current' undeclared (first use in this function) mm/dmapool.c:323: error: implicit declaration of function '__set_current_state' mm/dmapool.c:323: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) mm/dmapool.c:324: error: implicit declaration of function '__add_wait_queue' mm/dmapool.c:324: error: 'struct dma_pool' has no member named 'waitq' mm/dmapool.c:325: error: implicit declaration of function 'spin_unlock_irqrestore' mm/dmapool.c:325: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:327: error: implicit declaration of function 'schedule_timeout' mm/dmapool.c:327: error: 'HZ' undeclared (first use in this function) mm/dmapool.c:329: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:330: error: implicit declaration of function '__remove_wait_queue' mm/dmapool.c:330: error: 'struct dma_pool' has no member named 'waitq' mm/dmapool.c:333: error: 'NULL' undeclared (first use in this function) mm/dmapool.c:338: error: 'struct dma_page' has no member named 'in_use' mm/dmapool.c:339: error: 'offset' undeclared (first use in this function) mm/dmapool.c:339: error: 'struct dma_page' has no member named 'offset' mm/dmapool.c:340: error: 'struct dma_page' has no member named 'offset' mm/dmapool.c:342: error: 'handle' undeclared (first use in this function) mm/dmapool.c:342: error: 'struct dma_page' has no member named 'dma' mm/dmapool.c:347: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:337: warning: label 'ready' defined but not used mm/dmapool.c: At top level: mm/dmapool.c:350: warning: data definition has no type or storage class mm/dmapool.c:350: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:350: warning: parameter names (without types) in function declaration mm/dmapool.c:352: error: expected declaration specifiers or '...' before 'dma_addr_t' mm/dmapool.c: In function 'pool_find_page': mm/dmapool.c:357: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:358: error: 'page_list' undeclared (first use in this function) mm/dmapool.c:358: error: expected ';' before '{' token mm/dmapool.c:366: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:365: warning: label 'done' defined but not used mm/dmapool.c: At top level: mm/dmapool.c:379: error: expected declaration specifiers or '...' before 'dma_addr_t' CC fs/sync.o mm/dmapool.c: In function 'dma_pool_free': mm/dmapool.c:385: error: 'dma' undeclared (first use in this function) mm/dmapool.c:385: error: too many arguments to function 'pool_find_page' mm/dmapool.c:387: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:388: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:390: error: 'struct dma_pool' has no member named 'name' mm/dmapool.c:392: error: 'KERN_ERR' undeclared (first use in this function) mm/dmapool.c:392: error: expected ')' before string constant mm/dmapool.c:431: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c:432: error: 'struct dma_page' has no member named 'in_use' mm/dmapool.c:433: error: 'struct dma_page' has no member named 'offset' mm/dmapool.c:434: error: 'struct dma_page' has no member named 'offset' mm/dmapool.c:435: error: implicit declaration of function 'waitqueue_active' mm/dmapool.c:435: error: 'struct dma_pool' has no member named 'waitq' mm/dmapool.c:436: error: implicit declaration of function 'wake_up_locked' mm/dmapool.c:436: error: 'struct dma_pool' has no member named 'waitq' mm/dmapool.c:442: error: 'struct dma_pool' has no member named 'lock' mm/dmapool.c: At top level: mm/dmapool.c:444: warning: data definition has no type or storage class mm/dmapool.c:444: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:444: warning: parameter names (without types) in function declaration mm/dmapool.c:449: warning: 'struct device' declared inside parameter list mm/dmapool.c:456: warning: 'struct device' declared inside parameter list mm/dmapool.c:473: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:473: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:473: error: expected declaration specifiers or '...' before 'size_t' mm/dmapool.c:473: warning: 'struct device' declared inside parameter list mm/dmapool.c: In function 'dmam_pool_create': mm/dmapool.c:477: error: implicit declaration of function 'devres_alloc' mm/dmapool.c:477: error: 'GFP_KERNEL' undeclared (first use in this function) mm/dmapool.c:477: warning: assignment makes pointer from integer without a cast mm/dmapool.c:479: error: 'NULL' undeclared (first use in this function) mm/dmapool.c:481: error: 'size' undeclared (first use in this function) mm/dmapool.c:481: error: 'align' undeclared (first use in this function) mm/dmapool.c:481: error: 'allocation' undeclared (first use in this function) mm/dmapool.c:481: warning: passing argument 2 of 'dma_pool_create' from incompatible pointer type mm/dmapool.c:481: error: too many arguments to function 'dma_pool_create' mm/dmapool.c:483: error: implicit declaration of function 'devres_add' mm/dmapool.c:485: error: implicit declaration of function 'devres_free' mm/dmapool.c: At top level: mm/dmapool.c:489: warning: data definition has no type or storage class mm/dmapool.c:489: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:489: warning: parameter names (without types) in function declaration mm/dmapool.c: In function 'dmam_pool_destroy': mm/dmapool.c:499: error: 'struct dma_pool' has no member named 'dev' mm/dmapool.c:502: error: implicit declaration of function 'WARN_ON' mm/dmapool.c:502: error: implicit declaration of function 'devres_destroy' mm/dmapool.c: At top level: mm/dmapool.c:504: warning: data definition has no type or storage class mm/dmapool.c:504: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/dmapool.c:504: warning: parameter names (without types) in function declaration make[1]: *** [mm/dmapool.o] Error 1 gcc: fs/sync.c: No such file or directory gcc: no input files make[1]: *** [fs/sync.o] Error 1 make[1]: *** No rule to make target `fs/no-block.c', needed by `fs/no-block.o'. CC mm/shmem.o CC fs/stack.o cc1: error: include/linux/autoconf.h: No such file or directory kernel/sched_clock.c:29:25: error: linux/sched.h: No such file or directory kernel/sched_clock.c:30:26: error: linux/percpu.h: No such file or directory kernel/sched_clock.c:31:28: error: linux/spinlock.h: No such file or directory kernel/sched_clock.c:32:25: error: linux/ktime.h: No such file or directory kernel/sched_clock.c:33:26: error: linux/module.h: No such file or directory kernel/sched_clock.c: In function 'sched_clock': kernel/sched_clock.c:331: error: 'jiffies' undeclared (first use in this function) kernel/sched_clock.c:331: error: (Each undeclared identifier is reported only once kernel/sched_clock.c:331: error: for each function it appears in.) kernel/sched_clock.c:331: error: 'NSEC_PER_SEC' undeclared (first use in this function) kernel/sched_clock.c:331: error: 'HZ' undeclared (first use in this function) kernel/sched_clock.c: In function 'cpu_clock': kernel/sched_clock.c:339: error: implicit declaration of function 'local_irq_save' kernel/sched_clock.c:340: error: implicit declaration of function 'sched_clock_cpu' kernel/sched_clock.c:341: error: implicit declaration of function 'local_irq_restore' kernel/sched_clock.c: At top level: kernel/sched_clock.c:345: warning: data definition has no type or storage class kernel/sched_clock.c:345: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' kernel/sched_clock.c:345: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory cc1: error: include/linux/autoconf.h: No such file or directory fs/stack.c:1:26: error: linux/module.h: No such file or directory mm/shmem.c:26:26: error: fs/stack.c:2:22: error: linux/fs.h: No such file or directory linux/module.h: No such file or directory fs/stack.c:3:28: error: linux/fs_stack.h: No such file or directory mm/shmem.c:27:24: error: linux/init.h: No such file or directory mm/shmem.c:28:22: error: linux/fs.h: No such file or directoryfs/stack.c:10: warning: 'struct inode' declared inside parameter list mm/shmem.c:29:25: error: linux/xattr.h: No such file or directory mm/shmem.c:30:28: error: linux/exportfs.h: No such file or directory mm/shmem.c:31:31: error: linux/generic_acl.h: No such file or directory mm/shmem.c:32:22: error: fs/stack.c:10: warning: its scope is only this definition or declaration, which is probably not what you want linux/mm.h: No such file or directory mm/shmem.c:33:24: error: linux/mman.h: No such file or directory fs/stack.c: In function 'fsstack_copy_inode_size': fs/stack.c:12: error: implicit declaration of function 'i_size_write' mm/shmem.c:34:24: error: linux/file.h: No such file or directory mm/shmem.c:35:24: error: linux/swap.h: No such file or directory fs/stack.c:12: error: implicit declaration of function 'i_size_read' mm/shmem.c:36:27: error: linux/pagemap.h: No such file or directory mm/shmem.c:37:26: error: linux/string.h: No such file or directory fs/stack.c:13: error: dereferencing pointer to incomplete type mm/shmem.c:38:24: error: linux/slab.h: No such file or directory fs/stack.c:13: error: dereferencing pointer to incomplete type mm/shmem.c:39:31: error: linux/backing-dev.h: No such file or directory mm/shmem.c:40:28: error: linux/shmem_fs.h: No such file or directory mm/shmem.c:41:25: error: linux/mount.h: No such file or directory fs/stack.c: At top level: mm/shmem.c:42:29: error: fs/stack.c:15: warning: data definition has no type or storage class linux/writeback.h: No such file or directory fs/stack.c:15: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' mm/shmem.c:43:23: error: linux/vfs.h: No such file or directory fs/stack.c:15: warning: parameter names (without types) in function declaration mm/shmem.c:44:26: error: linux/blkdev.h: No such file or directory mm/shmem.c:45:28: error: linux/security.h: No such file or directory fs/stack.c:21: warning: 'struct inode' declared inside parameter list mm/shmem.c:46:27: error: linux/swapops.h: No such file or directory fs/stack.c: In function 'fsstack_copy_attr_all': fs/stack.c:23: error: dereferencing pointer to incomplete type mm/shmem.c:47:29: fs/stack.c:23: error: dereferencing pointer to incomplete type error: fs/stack.c:24: error: dereferencing pointer to incomplete type linux/mempolicy.h: No such file or directory fs/stack.c:24: error: dereferencing pointer to incomplete type mm/shmem.c:48:25: error: linux/namei.h: No such file or directoryfs/stack.c:25: error: dereferencing pointer to incomplete type fs/stack.c:25: error: dereferencing pointer to incomplete type mm/shmem.c:49:25: error: linux/ctype.h: No such file or directory fs/stack.c:26: error: dereferencing pointer to incomplete type mm/shmem.c:50:27: fs/stack.c:26: error: dereferencing pointer to incomplete type error: fs/stack.c:27: error: dereferencing pointer to incomplete type linux/migrate.h: No such file or directory mm/shmem.c:51:27: error: linux/highmem.h: No such file or directory mm/shmem.c:52:28: error: linux/seq_file.h: No such file or directory mm/shmem.c:54:25: error: asm/uaccess.h: No such file or directory mm/shmem.c:55:23: error: asm/div64.h: No such file or directory mm/shmem.c:56:25: error: asm/pgtable.h: No such file or directory make[1]: *** [kernel/sched_clock.o] Error 1 mm/shmem.c:101: warning: 'struct page' declared inside parameter list mm/shmem.c:101: warning: its scope is only this definition or declaration, which is probably not what you want mm/shmem.c:101: warning: 'struct inode' declared inside parameter list mm/shmem.c:103: error: expected ')' before 'gfp_mask' mm/shmem.c: In function 'shmem_dir_free': mm/shmem.c:118: error: implicit declaration of function '__free_pages' mm/shmem.c:118: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/shmem.c:118: error: (Each undeclared identifier is reported only once mm/shmem.c:118: error: for each function it appears in.) mm/shmem.c:118: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/shmem.c: In function 'shmem_dir_map': mm/shmem.c:123: error: implicit declaration of function 'kmap_atomic' mm/shmem.c:123: error: 'KM_USER0' undeclared (first use in this function) mm/shmem.c: In function 'shmem_dir_unmap': mm/shmem.c:128: error: implicit declaration of function 'kunmap_atomic' mm/shmem.c:128: error: 'KM_USER0' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/shmem.c: In function 'shmem_swp_balance_unmap': mm/shmem.c:145: error: implicit declaration of function 'ZERO_PAGE' mm/shmem.c:145: error: 'KM_USER1' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:148: error: expected ')' before '*' token mm/shmem.c:153: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'SHMEM_SB': mm/shmem.c:155: error: dereferencing pointer to incomplete type mm/shmem.c: At top level: mm/shmem.c:164: error: expected declaration specifiers or '...' before 'loff_t' mm/shmem.c: In function 'shmem_acct_size': mm/shmem.c:166: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/shmem.c:167: error: implicit declaration of function 'security_vm_enough_memory' mm/shmem.c:167: error: implicit declaration of function 'PAGE_CACHE_ALIGN' mm/shmem.c:167: error: 'size' undeclared (first use in this function) mm/shmem.c:167: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:170: error: expected declaration specifiers or '...' before 'loff_t' mm/shmem.c: In function 'shmem_unacct_size': mm/shmem.c:172: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/shmem.c:173: error: implicit declaration of function 'vm_unacct_memory' fs/stack.c:27: error: dereferencing pointer to incomplete type mm/shmem.c:173: error: 'size' undeclared (first use in this function) fs/stack.c:28: error: dereferencing pointer to incomplete type mm/shmem.c:173: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/shmem.c: In function 'shmem_acct_block': mm/shmem.c:184: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/shmem.c:185: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:185: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/shmem.c: In function 'shmem_unacct_blocks': mm/shmem.c:190: error: 'VM_ACCOUNT' undeclared (first use in this function) mm/shmem.c:191: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:191: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' mm/shmem.c:208: warning: type defaults to 'int' in declaration of 'LIST_HEAD' mm/shmem.c:208: warning: parameter names (without types) in function declaration mm/shmem.c:209: warning: type defaults to 'int' in declaration of 'DEFINE_MUTEX' mm/shmem.c:209: warning: parameter names (without types) in function declaration mm/shmem.c:211: warning: 'struct inode' declared inside parameter list mm/shmem.c: In function 'shmem_free_blocks': mm/shmem.c:213: error: dereferencing pointer to incomplete type mm/shmem.c:214: error: dereferencing pointer to incomplete type mm/shmem.c:215: error: implicit declaration of function 'spin_lock' mm/shmem.c:215: error: dereferencing pointer to incomplete type mm/shmem.c:216: error: dereferencing pointer to incomplete type mm/shmem.c:217: error: dereferencing pointer to incomplete type mm/shmem.c:217: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:218: error: implicit declaration of function 'spin_unlock' mm/shmem.c:218: error: dereferencing pointer to incomplete type mm/shmem.c: At top level: mm/shmem.c:222: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_reserve_inode': mm/shmem.c:224: warning: passing argument 1 of 'SHMEM_SB' from incompatible pointer type mm/shmem.c:225: error: dereferencing pointer to incomplete type mm/shmem.c:226: error: dereferencing pointer to incomplete type mm/shmem.c:227: error: dereferencing pointer to incomplete type mm/shmem.c:228: error: dereferencing pointer to incomplete type mm/shmem.c:229: error: 'ENOSPC' undeclared (first use in this function) mm/shmem.c:231: error: dereferencing pointer to incomplete type mm/shmem.c:232: error: dereferencing pointer to incomplete type CC kernel/sysctl_check.o mm/shmem.c: At top level: mm/shmem.c:237: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_free_inode': mm/shmem.c:239: warning: passing argument 1 of 'SHMEM_SB' from incompatible pointer type mm/shmem.c:240: error: dereferencing pointer to incomplete type mm/shmem.c:241: error: dereferencing pointer to incomplete type mm/shmem.c:242: error: dereferencing pointer to incomplete type mm/shmem.c:243: error: dereferencing pointer to incomplete type mm/shmem.c: At top level: mm/shmem.c:259: warning: 'struct inode' declared inside parameter list mm/shmem.c: In function 'shmem_recalc_inode': mm/shmem.c:261: error: implicit declaration of function 'SHMEM_I' mm/shmem.c:261: warning: initialization makes pointer from integer without a cast mm/shmem.c:264: error: dereferencing pointer to incomplete type mm/shmem.c:264: error: dereferencing pointer to incomplete type mm/shmem.c:264: error: dereferencing pointer to incomplete type mm/shmem.c:266: error: dereferencing pointer to incomplete type mm/shmem.c:267: error: dereferencing pointer to incomplete type mm/shmem.c:268: warning: passing argument 1 of 'shmem_free_blocks' from incompatible pointer type mm/shmem.c: At top level: mm/shmem.c:309: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mm/shmem.c:363: error: expected declaration specifiers or '...' before 'swp_entry_t' fs/stack.c:28: error: dereferencing pointer to incomplete typemm/shmem.c:363: warning: 'struct shmem_inode_info' declared inside parameter list fs/stack.c:29: error: dereferencing pointer to incomplete type mm/shmem.c: In function 'shmem_swp_set': fs/stack.c:29: error: dereferencing pointer to incomplete type mm/shmem.c:367: error: 'entry' undeclared (first use in this function)fs/stack.c:30: error: dereferencing pointer to incomplete type fs/stack.c:30: error: dereferencing pointer to incomplete type mm/shmem.c:368: error: dereferencing pointer to incomplete type fs/stack.c:31: error: dereferencing pointer to incomplete type mm/shmem.c:369: error: dereferencing pointer to incomplete type fs/stack.c:31: error: dereferencing pointer to incomplete type mm/shmem.c:369: error: 'SHMEM_NR_DIRECT' undeclared (first use in this function) mm/shmem.c:370: error: implicit declaration of function 'kmap_atomic_to_page' fs/stack.c:38: error: dereferencing pointer to incomplete type mm/shmem.c:370: warning: initialization makes pointer from integer without a cast fs/stack.c:38: error: dereferencing pointer to incomplete type mm/shmem.c:371: error: implicit declaration of function 'set_page_private'fs/stack.c:40: error: dereferencing pointer to incomplete type mm/shmem.c:371: error: implicit declaration of function 'page_private' fs/stack.c: At top level: mm/shmem.c: At top level: fs/stack.c:42: warning: data definition has no type or storage class mm/shmem.c:383: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token fs/stack.c:42: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' fs/stack.c:42: warning: parameter names (without types) in function declaration mm/shmem.c:447: error: expected ')' before '*' token mm/shmem.c:474: error: expected declaration specifiers or '...' before 'spinlock_t' mm/shmem.c: In function 'shmem_map_and_free_swp': mm/shmem.c:476: error: 'swp_entry_t' undeclared (first use in this function) mm/shmem.c:476: error: 'ptr' undeclared (first use in this function) mm/shmem.c:477: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:479: error: implicit declaration of function 'shmem_swp_map' mm/shmem.c:484: error: implicit declaration of function 'shmem_free_swp' mm/shmem.c:485: error: 'punch_lock' undeclared (first use in this function) mm/shmem.c:486: error: implicit declaration of function 'need_resched' mm/shmem.c:487: error: implicit declaration of function 'shmem_swp_unmap' mm/shmem.c:490: error: 'NULL' undeclared (first use in this function) mm/shmem.c:492: error: implicit declaration of function 'cond_resched' mm/shmem.c: At top level: mm/shmem.c:500: warning: 'struct list_head' declared inside parameter list mm/shmem.c: In function 'shmem_free_pages': mm/shmem.c:506: error: implicit declaration of function 'container_of' mm/shmem.c:506: error: expected expression before 'struct' mm/shmem.c:506: warning: assignment makes pointer from integer without a cast mm/shmem.c:507: error: dereferencing pointer to incomplete type mm/shmem.c: At top level: mm/shmem.c:517: error: expected declaration specifiers or '...' before 'loff_t' mm/shmem.c:517: error: expected declaration specifiers or '...' before 'loff_t' mm/shmem.c:517: warning: 'struct inode' declared inside parameter list mm/shmem.c: In function 'shmem_truncate_range': mm/shmem.c:519: warning: initialization makes pointer from integer without a cast mm/shmem.c:529: error: 'swp_entry_t' undeclared (first use in this function) mm/shmem.c:529: error: 'ptr' undeclared (first use in this function) mm/shmem.c:530: error: 'pages_to_free' undeclared (first use in this function) mm/shmem.c:531: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:536: error: 'spinlock_t' undeclared (first use in this function) mm/shmem.c:536: error: 'needs_lock' undeclared (first use in this function) mm/shmem.c:537: error: 'punch_lock' undeclared (first use in this function) mm/shmem.c:538: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:540: error: dereferencing pointer to incomplete type mm/shmem.c:540: error: dereferencing pointer to incomplete type mm/shmem.c:540: error: 'CURRENT_TIME' undeclared (first use in this function) mm/shmem.c:541: error: 'start' undeclared (first use in this function) mm/shmem.c:541: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:541: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/shmem.c:542: error: dereferencing pointer to incomplete type mm/shmem.c:545: error: dereferencing pointer to incomplete type mm/shmem.c:546: error: dereferencing pointer to incomplete type mm/shmem.c:546: error: 'VM_WRITE' undeclared (first use in this function) mm/shmem.c:547: error: implicit declaration of function 'likely' mm/shmem.c:547: error: 'end' undeclared (first use in this function) mm/shmem.c:547: error: 'loff_t' undeclared (first use in this function) mm/shmem.c:548: error: dereferencing pointer to incomplete type mm/shmem.c:549: error: 'SHMEM_NR_DIRECT' undeclared (first use in this function) mm/shmem.c:550: error: dereferencing pointer to incomplete type mm/shmem.c:551: error: 'NULL' undeclared (first use in this function) mm/shmem.c:554: error: dereferencing pointer to incomplete type mm/shmem.c:555: error: dereferencing pointer to incomplete type mm/shmem.c:562: error: dereferencing pointer to incomplete type mm/shmem.c:566: error: dereferencing pointer to incomplete type mm/shmem.c:568: error: dereferencing pointer to incomplete type mm/shmem.c:570: error: implicit declaration of function 'list_add' mm/shmem.c:570: error: dereferencing pointer to incomplete type mm/shmem.c:572: error: dereferencing pointer to incomplete type mm/shmem.c:574: error: dereferencing pointer to incomplete type mm/shmem.c:575: error: dereferencing pointer to incomplete type mm/shmem.c:631: error: dereferencing pointer to incomplete type mm/shmem.c:642: warning: left-hand operand of comma expression has no effect mm/shmem.c:643: error: implicit declaration of function 'unlikely' mm/shmem.c:656: error: dereferencing pointer to incomplete type mm/shmem.c:666: error: dereferencing pointer to incomplete type mm/shmem.c:684: error: dereferencing pointer to incomplete type mm/shmem.c:691: error: too many arguments to function 'shmem_map_and_free_swp' mm/shmem.c:696: error: dereferencing pointer to incomplete type mm/shmem.c:699: error: dereferencing pointer to incomplete type mm/shmem.c:701: error: implicit declaration of function 'BUG_ON' mm/shmem.c:708: error: dereferencing pointer to incomplete type mm/shmem.c:708: error: dereferencing pointer to incomplete type mm/shmem.c:708: error: 'VM_READ' undeclared (first use in this function) mm/shmem.c:721: error: implicit declaration of function 'truncate_inode_pages_range' make: mm/shmem.c:721: error: dereferencing pointer to incomplete type *** [crypto] Error 2 mm/shmem.c:723: error: implicit declaration of function 'unmap_mapping_range' mm/shmem.c:723: error: dereferencing pointer to incomplete type mm/shmem.c:727: error: dereferencing pointer to incomplete type mm/shmem.c:728: error: dereferencing pointer to incomplete type mm/shmem.c:729: error: dereferencing pointer to incomplete type mm/shmem.c:731: warning: passing argument 1 of 'shmem_free_blocks' from incompatible pointer type mm/shmem.c:732: warning: passing argument 1 of 'shmem_recalc_inode' from incompatible pointer type mm/shmem.c:733: error: dereferencing pointer to incomplete type mm/shmem.c:738: error: implicit declaration of function 'list_empty' mm/shmem.c: At top level: mm/shmem.c:744: warning: 'struct inode' declared inside parameter list mm/shmem.c: In function 'shmem_truncate': mm/shmem.c:746: error: dereferencing pointer to incomplete type mm/shmem.c:746: error: 'loff_t' undeclared (first use in this function) mm/shmem.c:746: warning: passing argument 1 of 'shmem_truncate_range' from incompatible pointer type mm/shmem.c:746: error: too many arguments to function 'shmem_truncate_range' mm/shmem.c: At top level: mm/shmem.c:749: warning: 'struct iattr' declared inside parameter list mm/shmem.c:749: warning: 'struct dentry' declared inside parameter list mm/shmem.c: In function 'shmem_notify_change': mm/shmem.c:751: error: dereferencing pointer to incomplete type mm/shmem.c:752: error: 'NULL' undeclared (first use in this function) mm/shmem.c:755: error: implicit declaration of function 'S_ISREG' mm/shmem.c:755: error: dereferencing pointer to incomplete type mm/shmem.c:755: error: dereferencing pointer to incomplete type mm/shmem.c:755: error: 'ATTR_SIZE' undeclared (first use in this function) mm/shmem.c:756: error: dereferencing pointer to incomplete type make[1]: mm/shmem.c:756: error: dereferencing pointer to incomplete type *** [fs/stack.o] Error 1 mm/shmem.c:764: error: dereferencing pointer to incomplete type mm/shmem.c:764: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:766: error: dereferencing pointer to incomplete type mm/shmem.c:766: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/shmem.c:767: warning: passing argument 1 of 'shmem_getpage' from incompatible pointer type mm/shmem.c:767: warning: passing argument 3 of 'shmem_getpage' from incompatible pointer type mm/shmem.c:769: error: implicit declaration of function 'unlock_page' mm/shmem.c:778: error: dereferencing pointer to incomplete type mm/shmem.c:779: warning: initialization makes pointer from integer without a cast mm/shmem.c:780: error: dereferencing pointer to incomplete type mm/shmem.c:781: error: dereferencing pointer to incomplete type mm/shmem.c:781: error: 'VM_READ' undeclared (first use in this function) mm/shmem.c:782: error: dereferencing pointer to incomplete type mm/shmem.c:787: error: implicit declaration of function 'inode_change_ok' mm/shmem.c:789: error: implicit declaration of function 'inode_setattr' mm/shmem.c:795: error: implicit declaration of function 'page_cache_release' mm/shmem.c: At top level: mm/shmem.c:799: warning: 'struct inode' declared inside parameter list mm/shmem.c: In function 'shmem_delete_inode': mm/shmem.c:801: warning: initialization makes pointer from integer without a cast mm/shmem.c:803: error: dereferencing pointer to incomplete type mm/shmem.c:804: error: implicit declaration of function 'truncate_inode_pages' mm/shmem.c:804: error: dereferencing pointer to incomplete type mm/shmem.c:805: error: dereferencing pointer to incomplete type mm/shmem.c:805: error: dereferencing pointer to incomplete type mm/shmem.c:805: error: too many arguments to function 'shmem_unacct_size' mm/shmem.c:806: error: dereferencing pointer to incomplete type mm/shmem.c:807: warning: passing argument 1 of 'shmem_truncate' from incompatible pointer type mm/shmem.c:808: error: dereferencing pointer to incomplete type mm/shmem.c:809: error: implicit declaration of function 'mutex_lock' mm/shmem.c:809: error: 'shmem_swaplist_mutex' undeclared (first use in this function) mm/shmem.c:810: error: implicit declaration of function 'list_del_init' mm/shmem.c:810: error: dereferencing pointer to incomplete type mm/shmem.c:811: error: implicit declaration of function 'mutex_unlock' mm/shmem.c:814: error: dereferencing pointer to incomplete type mm/shmem.c:815: error: dereferencing pointer to incomplete type mm/shmem.c:816: error: implicit declaration of function 'clear_inode' mm/shmem.c: At top level: mm/shmem.c:819: error: expected ')' before 'entry' mm/shmem.c:830: error: expected declaration specifiers or '...' before 'swp_entry_t' mm/shmem.c:830: warning: 'struct shmem_inode_info' declared inside parameter list mm/shmem.c: In function 'shmem_unuse_inode': mm/shmem.c:839: error: 'swp_entry_t' undeclared (first use in this function) mm/shmem.c:839: error: 'ptr' undeclared (first use in this function) mm/shmem.c:840: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:844: error: dereferencing pointer to incomplete type mm/shmem.c:845: error: dereferencing pointer to incomplete type mm/shmem.c:846: error: dereferencing pointer to incomplete type mm/shmem.c:847: error: dereferencing pointer to incomplete type mm/shmem.c:850: error: dereferencing pointer to incomplete type mm/shmem.c:852: error: 'SHMEM_NR_DIRECT' undeclared (first use in this function) mm/shmem.c:854: error: implicit declaration of function 'shmem_find_swp' mm/shmem.c:854: error: 'entry' undeclared (first use in this function) mm/shmem.c:857: error: dereferencing pointer to incomplete type mm/shmem.c:860: error: dereferencing pointer to incomplete type mm/shmem.c:861: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:863: warning: left-hand operand of comma expression has no effect mm/shmem.c:866: error: implicit declaration of function 'cond_resched_lock' mm/shmem.c:866: error: dereferencing pointer to incomplete type mm/shmem.c:868: error: dereferencing pointer to incomplete type mm/shmem.c:869: error: dereferencing pointer to incomplete type mm/shmem.c:874: error: dereferencing pointer to incomplete type mm/shmem.c:904: error: dereferencing pointer to incomplete type mm/shmem.c:908: error: implicit declaration of function 'igrab' mm/shmem.c:908: error: dereferencing pointer to incomplete type mm/shmem.c:908: warning: assignment makes pointer from integer without a cast mm/shmem.c:909: error: dereferencing pointer to incomplete type mm/shmem.c:918: error: 'shmem_swaplist' undeclared (first use in this function) mm/shmem.c:918: error: dereferencing pointer to incomplete type mm/shmem.c:919: error: implicit declaration of function 'list_move_tail' mm/shmem.c:919: error: dereferencing pointer to incomplete type mm/shmem.c:920: error: 'shmem_swaplist_mutex' undeclared (first use in this function) mm/shmem.c:926: error: implicit declaration of function 'mem_cgroup_cache_charge' mm/shmem.c:926: error: 'current' undeclared (first use in this function) mm/shmem.c:926: error: 'GFP_KERNEL' undeclared (first use in this function) mm/shmem.c:929: error: implicit declaration of function 'radix_tree_preload' mm/shmem.c:934: error: dereferencing pointer to incomplete type mm/shmem.c:935: error: implicit declaration of function 'shmem_swp_entry' mm/shmem.c:935: error: 'NULL' undeclared (first use in this function) mm/shmem.c:937: error: implicit declaration of function 'add_to_page_cache' mm/shmem.c:937: error: dereferencing pointer to incomplete type mm/shmem.c:938: error: 'GFP_NOWAIT' undeclared (first use in this function) mm/shmem.c:939: error: 'EEXIST' undeclared (first use in this function) mm/shmem.c:940: error: implicit declaration of function 'find_get_page' mm/shmem.c:940: error: dereferencing pointer to incomplete type mm/shmem.c:940: warning: initialization makes pointer from integer without a cast mm/shmem.c:947: error: implicit declaration of function 'PageUptodate' mm/shmem.c:953: error: implicit declaration of function 'delete_from_swap_cache' mm/shmem.c:954: error: implicit declaration of function 'set_page_dirty' CC fs/binfmt_script.o mm/shmem.c:955: error: dereferencing pointer to incomplete type mm/shmem.c:955: error: 'VM_READ' undeclared (first use in this function) mm/shmem.c:956: warning: passing argument 1 of 'shmem_swp_set' from incompatible pointer type mm/shmem.c:956: error: too many arguments to function 'shmem_swp_set' mm/shmem.c:957: error: implicit declaration of function 'swap_free' mm/shmem.c:962: error: dereferencing pointer to incomplete type mm/shmem.c:963: error: implicit declaration of function 'radix_tree_preload_end' mm/shmem.c:965: error: implicit declaration of function 'mem_cgroup_uncharge_page' mm/shmem.c:969: error: implicit declaration of function 'iput' mm/shmem.c: At top level: mm/shmem.c:976: error: expected ')' before 'entry' mm/shmem.c:997: warning: 'struct writeback_control' declared inside parameter list mm/shmem.c: In function 'shmem_writepage': mm/shmem.c:1000: error: 'swp_entry_t' undeclared (first use in this function) mm/shmem.c:1000: error: 'entry' undeclared (first use in this function) mm/shmem.c:1000: error: 'swap' undeclared (first use in this function) mm/shmem.c:1000: warning: left-hand operand of comma expression has no effect mm/shmem.c:1001: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:1005: error: implicit declaration of function 'PageLocked' mm/shmem.c:1006: error: dereferencing pointer to incomplete type mm/shmem.c:1007: error: dereferencing pointer to incomplete type mm/shmem.c:1008: error: dereferencing pointer to incomplete type mm/shmem.c:1009: warning: assignment makes pointer from integer without a cast mm/shmem.c:1010: error: dereferencing pointer to incomplete type mm/shmem.c:1010: error: 'VM_LOCKED' undeclared (first use in this function) mm/shmem.c:1012: error: 'total_swap_pages' undeclared (first use in this function) mm/shmem.c:1023: error: dereferencing pointer to incomplete type mm/shmem.c:1024: error: implicit declaration of function 'get_swap_page' mm/shmem.c:1028: error: dereferencing pointer to incomplete type mm/shmem.c:1029: error: dereferencing pointer to incomplete type mm/shmem.c:1030: error: dereferencing pointer to incomplete type mm/shmem.c:1030: error: 'VM_WRITE' undeclared (first use in this function) mm/shmem.c:1033: error: 'NULL' undeclared (first use in this function) mm/shmem.c:1039: error: implicit declaration of function 'free_swap_and_cache' mm/shmem.c:1040: warning: passing argument 1 of 'shmem_swp_set' from incompatible pointer type mm/shmem.c:1040: error: too many arguments to function 'shmem_swp_set' mm/shmem.c:1042: warning: passing argument 1 of 'shmem_recalc_inode' from incompatible pointer type mm/shmem.c:1044: error: implicit declaration of function 'add_to_swap_cache' mm/shmem.c:1044: error: 'GFP_ATOMIC' undeclared (first use in this function) mm/shmem.c:1045: error: implicit declaration of function 'remove_from_page_cache' mm/shmem.c:1046: warning: passing argument 1 of 'shmem_swp_set' from incompatible pointer type mm/shmem.c:1046: error: too many arguments to function 'shmem_swp_set' mm/shmem.c:1048: error: dereferencing pointer to incomplete type mm/shmem.c:1049: warning: assignment makes pointer from integer without a cast mm/shmem.c:1052: error: dereferencing pointer to incomplete type mm/shmem.c:1053: error: implicit declaration of function 'swap_duplicate' mm/shmem.c:1054: error: implicit declaration of function 'page_mapped' mm/shmem.c:1059: error: 'shmem_swaplist_mutex' undeclared (first use in this function) mm/shmem.c:1061: error: dereferencing pointer to incomplete type mm/shmem.c:1061: error: 'shmem_swaplist' undeclared (first use in this function) mm/shmem.c:1070: error: dereferencing pointer to incomplete type mm/shmem.c:1074: error: dereferencing pointer to incomplete type mm/shmem.c:1075: error: 'AOP_WRITEPAGE_ACTIVATE' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:1149: error: expected ')' before 'entry' mm/shmem.c:1155: error: expected ')' before 'gfp' mm/shmem.c: In function 'shmem_get_sbmpol': mm/shmem.c:1165: error: 'NULL' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:1177: warning: 'struct inode' declared inside parameter list mm/shmem.c:1178: error: conflicting types for 'shmem_getpage' mm/shmem.c:101: error: previous declaration of 'shmem_getpage' was here mm/shmem.c: In function 'shmem_getpage': mm/shmem.c:1179: error: dereferencing pointer to incomplete type mm/shmem.c:1180: warning: initialization makes pointer from integer without a cast mm/shmem.c:1184: error: 'swp_entry_t' undeclared (first use in this function) mm/shmem.c:1184: error: 'entry' undeclared (first use in this function) mm/shmem.c:1185: error: expected ';' before 'swap' mm/shmem.c:1186: error: 'gfp_t' undeclared (first use in this function) mm/shmem.c:1186: error: expected ';' before 'gfp' mm/shmem.c:1187: warning: ISO C90 forbids mixed declarations and code mm/shmem.c:1189: error: 'SHMEM_NR_DIRECT' undeclared (first use in this function) mm/shmem.c:1189: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:1190: error: 'EFBIG' undeclared (first use in this function) mm/shmem.c:1205: error: implicit declaration of function 'find_lock_page' mm/shmem.c:1205: warning: assignment makes pointer from integer without a cast mm/shmem.c:1209: error: 'gfp' undeclared (first use in this function) mm/shmem.c:1209: error: implicit declaration of function 'mapping_gfp_mask' mm/shmem.c:1215: error: '__GFP_HIGHMEM' undeclared (first use in this function) mm/shmem.c:1221: error: dereferencing pointer to incomplete type mm/shmem.c:1222: warning: passing argument 1 of 'shmem_recalc_inode' from incompatible pointer type mm/shmem.c:1223: error: implicit declaration of function 'shmem_swp_alloc' mm/shmem.c:1224: error: implicit declaration of function 'IS_ERR' mm/shmem.c:1225: error: dereferencing pointer to incomplete type mm/shmem.c:1226: error: implicit declaration of function 'PTR_ERR' mm/shmem.c:1229: error: 'swap' undeclared (first use in this function) mm/shmem.c:1233: error: implicit declaration of function 'lookup_swap_cache' mm/shmem.c:1233: warning: assignment makes pointer from integer without a cast mm/shmem.c:1237: error: 'VM_FAULT_MAJOR' undeclared (first use in this function) scripts/Makefile.build:41: mm/shmem.c:1238: error: implicit declaration of function '__count_vm_event' mm/shmem.c:1238: error: 'PGMAJFAULT' undeclared (first use in this function) mm/shmem.c:1241: error: dereferencing pointer to incomplete type mm/shmem.c:1242: error: implicit declaration of function 'shmem_swapin' mm/shmem.c:1242: warning: assignment makes pointer from integer without a cast mm/shmem.c:1244: error: dereferencing pointer to incomplete type mm/shmem.c:1250: error: 'ENOMEM' undeclared (first use in this function) mm/shmem.c:1253: error: dereferencing pointer to incomplete type mm/shmem.c:1258: error: implicit declaration of function 'wait_on_page_locked' mm/shmem.c:1264: error: implicit declaration of function 'TestSetPageLocked' mm/shmem.c:1266: error: dereferencing pointer to incomplete type mm/shmem.c:1271: error: implicit declaration of function 'PageWriteback' mm/shmem.c:1273: error: dereferencing pointer to incomplete type mm/shmem.c:1274: error: implicit declaration of function 'wait_on_page_writeback' mm/shmem.c:1281: error: dereferencing pointer to incomplete type mm/shmem.c:1284: error: 'EIO' undeclared (first use in this function) mm/shmem.c:1289: warning: passing argument 1 of 'shmem_swp_set' from incompatible pointer type mm/shmem.c:1289: error: too many arguments to function 'shmem_swp_set' mm/shmem.c:1292: error: dereferencing pointer to incomplete type mm/shmem.c:1293: error: implicit declaration of function 'copy_highpage' mm/shmem.c:1296: error: implicit declaration of function 'flush_dcache_page' mm/shmem.c:1297: error: implicit declaration of function 'SetPageUptodate' mm/shmem.c:1301: error: 'GFP_NOWAIT' undeclared (first use in this function) mm/shmem.c:1302: error: dereferencing pointer to incomplete type mm/shmem.c:1302: error: 'VM_READ' undeclared (first use in this function) mm/shmem.c:1303: warning: passing argument 1 of 'shmem_swp_set' from incompatible pointer type mm/shmem.c:1303: error: too many arguments to function 'shmem_swp_set' mm/shmem.c:1306: error: dereferencing pointer to incomplete type mm/shmem.c:1312: error: dereferencing pointer to incomplete type mm/shmem.c:1317: error: 'current' undeclared (first use in this function) mm/shmem.c:1329: warning: assignment makes pointer from integer without a cast mm/shmem.c:1332: error: dereferencing pointer to incomplete type mm/shmem.c:1335: error: 'NULL' undeclared (first use in this function) mm/shmem.c:1338: error: dereferencing pointer to incomplete type mm/shmem.c:1341: error: dereferencing pointer to incomplete type mm/shmem.c:1342: error: dereferencing pointer to incomplete type mm/shmem.c:1343: error: dereferencing pointer to incomplete type mm/shmem.c:1344: error: dereferencing pointer to incomplete type mm/shmem.c:1345: error: dereferencing pointer to incomplete type mm/shmem.c:1346: error: dereferencing pointer to incomplete type mm/shmem.c:1347: error: dereferencing pointer to incomplete type mm/shmem.c:1348: error: 'ENOSPC' undeclared (first use in this function) mm/shmem.c:1351: error: dereferencing pointer to incomplete type mm/shmem.c:1352: error: dereferencing pointer to incomplete type mm/shmem.c:1353: error: dereferencing pointer to incomplete type mm/shmem.c:1354: error: dereferencing pointer to incomplete type mm/shmem.c:1355: error: dereferencing pointer to incomplete type mm/shmem.c:1361: error: dereferencing pointer to incomplete type mm/shmem.c:1362: error: implicit declaration of function 'shmem_alloc_page' mm/shmem.c:1362: warning: assignment makes pointer from integer without a cast mm/shmem.c:1364: error: dereferencing pointer to incomplete type mm/shmem.c:1365: warning: passing argument 1 of 'shmem_free_blocks' from incompatible pointer type mm/shmem.c:1375: error: dereferencing pointer to incomplete type mm/shmem.c:1376: warning: passing argument 1 of 'shmem_free_blocks' from incompatible pointer type mm/shmem.c:1381: error: dereferencing pointer to incomplete type mm/shmem.c:1389: error: implicit declaration of function 'add_to_page_cache_lru' mm/shmem.c:1391: error: dereferencing pointer to incomplete type mm/shmem.c:1394: error: dereferencing pointer to incomplete type mm/shmem.c:1395: warning: passing argument 1 of 'shmem_free_blocks' from incompatible pointer type mm/shmem.c:1402: error: dereferencing pointer to incomplete type mm/shmem.c:1405: error: dereferencing pointer to incomplete type mm/shmem.c:1406: error: dereferencing pointer to incomplete type mm/shmem.c:1407: error: implicit declaration of function 'clear_highpage' mm/shmem.c: At top level: mm/shmem.c:1425: warning: 'struct vm_fault' declared inside parameter list mm/shmem.c:1425: warning: 'struct vm_area_struct' declared inside parameter list mm/shmem.c: In function 'shmem_fault': mm/shmem.c:1427: error: dereferencing pointer to incomplete type mm/shmem.c:1431: error: 'loff_t' undeclared (first use in this function) mm/shmem.c:1431: error: expected ')' before 'vmf' mm/shmem.c:1431: error: implicit declaration of function 'i_size_read' mm/shmem.c:1432: error: 'VM_FAULT_SIGBUS' undeclared (first use in this function) mm/shmem.c:1434: error: dereferencing pointer to incomplete type mm/shmem.c:1434: error: dereferencing pointer to incomplete type mm/shmem.c:1434: warning: passing argument 1 of 'shmem_getpage' from incompatible pointer type mm/shmem.c:1436: error: 'ENOMEM' undeclared (first use in this function) mm/shmem.c:1436: error: 'VM_FAULT_OOM' undeclared (first use in this function) mm/shmem.c:1438: error: implicit declaration of function 'mark_page_accessed' mm/shmem.c:1438: error: dereferencing pointer to incomplete type mm/shmem.c:1439: error: 'VM_FAULT_LOCKED' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:1460: warning: 'struct user_struct' declared inside parameter list mm/shmem.c:1460: warning: 'struct file' declared inside parameter list mm/shmem.c: In function 'shmem_lock': mm/shmem.c:1462: error: dereferencing pointer to incomplete type mm/shmem.c:1463: warning: initialization makes pointer from integer without a cast mm/shmem.c:1464: error: 'ENOMEM' undeclared (first use in this function) mm/shmem.c:1466: error: dereferencing pointer to incomplete type mm/shmem.c:1467: error: dereferencing pointer to incomplete type mm/shmem.c:1467: error: 'VM_LOCKED' undeclared (first use in this function) mm/shmem.c:1468: error: implicit declaration of function 'user_shm_lock' mm/shmem.c:1468: error: dereferencing pointer to incomplete type mm/shmem.c:1470: error: dereferencing pointer to incomplete type mm/shmem.c:1472: error: dereferencing pointer to incomplete type mm/shmem.c:1473: error: implicit declaration of function 'user_shm_unlock' mm/shmem.c:1473: error: dereferencing pointer to incomplete type mm/shmem.c:1474: error: dereferencing pointer to incomplete type mm/shmem.c:1478: error: dereferencing pointer to incomplete type mm/shmem.c: At top level: mm/shmem.c:1482: warning: 'struct vm_area_struct' declared inside parameter list mm/shmem.c:1482: warning: 'struct file' declared inside parameter list mm/shmem.c: In function 'shmem_mmap': mm/shmem.c:1484: error: implicit declaration of function 'file_accessed' mm/shmem.c:1485: error: dereferencing pointer to incomplete type mm/shmem.c:1486: error: dereferencing pointer to incomplete type mm/shmem.c:1486: error: 'VM_CAN_NONLINEAR' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:1491: error: expected declaration specifiers or '...' before 'dev_t' mm/shmem.c:1491: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_get_inode': mm/shmem.c:1495: warning: passing argument 1 of 'SHMEM_SB' from incompatible pointer type mm/shmem.c:1497: warning: passing argument 1 of 'shmem_reserve_inode' from incompatible pointer type mm/shmem.c:1498: error: 'NULL' undeclared (first use in this function) mm/shmem.c:1500: error: implicit declaration of function 'new_inode' mm/shmem.c:1500: warning: assignment makes pointer from integer without a cast mm/shmem.c:1502: error: dereferencing pointer to incomplete type mm/shmem.c:1503: error: dereferencing pointer to incomplete type mm/shmem.c:1503: error: 'current' undeclared (first use in this function) mm/shmem.c:1504: error: dereferencing pointer to incomplete type mm/shmem.c:1505: error: dereferencing pointer to incomplete type mm/shmem.c:1506: error: dereferencing pointer to incomplete type mm/shmem.c:1507: error: dereferencing pointer to incomplete type mm/shmem.c:1507: error: 'shmem_backing_dev_info' undeclared (first use in this function) mm/shmem.c:1508: error: dereferencing pointer to incomplete type mm/shmem.c:1508: error: dereferencing pointer to incomplete type mm/shmem.c:1508: error: dereferencing pointer to incomplete type mm/shmem.c:1508: error: 'CURRENT_TIME' undeclared (first use in this function) mm/shmem.c:1509: error: dereferencing pointer to incomplete type mm/shmem.c:1509: error: implicit declaration of function 'get_seconds' mm/shmem.c:1510: warning: assignment makes pointer from integer without a cast mm/shmem.c:1511: error: implicit declaration of function 'memset' mm/shmem.c:1512: error: implicit declaration of function 'spin_lock_init' mm/shmem.c:1512: error: dereferencing pointer to incomplete type mm/shmem.c:1513: error: implicit declaration of function 'INIT_LIST_HEAD' mm/shmem.c:1513: error: dereferencing pointer to incomplete type mm/shmem.c:1515: error: 'S_IFMT' undeclared (first use in this function) mm/shmem.c:1517: error: dereferencing pointer to incomplete type mm/shmem.c:1518: error: implicit declaration of function 'init_special_inode' mm/shmem.c:1518: error: 'dev' undeclared (first use in this function) mm/shmem.c:1520: error: 'S_IFREG' undeclared (first use in this function) mm/shmem.c:1521: error: dereferencing pointer to incomplete type mm/shmem.c:1522: error: dereferencing pointer to incomplete type mm/shmem.c:1523: error: implicit declaration of function 'mpol_shared_policy_init' mm/shmem.c:1523: error: dereferencing pointer to incomplete type mm/shmem.c:1526: error: 'S_IFDIR' undeclared (first use in this function) mm/shmem.c:1527: error: implicit declaration of function 'inc_nlink' mm/shmem.c:1529: error: dereferencing pointer to incomplete type mm/shmem.c:1530: error: dereferencing pointer to incomplete type mm/shmem.c:1531: error: dereferencing pointer to incomplete type mm/shmem.c:1531: error: 'simple_dir_operations' undeclared (first use in this function) mm/shmem.c:1533: error: 'S_IFLNK' undeclared (first use in this function) mm/shmem.c:1538: error: dereferencing pointer to incomplete type mm/shmem.c:1542: warning: passing argument 1 of 'shmem_free_inode' from incompatible pointer type mm/shmem.c: At top level: mm/shmem.c:2232: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_put_super': mm/shmem.c:2234: error: implicit declaration of function 'kfree' mm/shmem.c:2234: error: dereferencing pointer to incomplete type mm/shmem.c:2235: error: dereferencing pointer to incomplete type mm/shmem.c:2235: error: 'NULL' undeclared (first use in this function) mm/shmem.c: At top level: mm/shmem.c:2239: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_fill_super': mm/shmem.c:2244: error: 'ENOMEM' undeclared (first use in this function) mm/shmem.c:2247: error: implicit declaration of function 'kmalloc' mm/shmem.c:2247: error: implicit declaration of function 'max' mm/shmem.c:2247: error: invalid application of 'sizeof' to incomplete type 'struct shmem_sb_info' mm/shmem.c:2248: error: 'L1_CACHE_BYTES' undeclared (first use in this function) mm/shmem.c:2248: error: 'GFP_KERNEL' undeclared (first use in this function) mm/shmem.c:2248: warning: assignment makes pointer from integer without a cast mm/shmem.c:2252: error: dereferencing pointer to incomplete type mm/shmem.c:2253: error: dereferencing pointer to incomplete type mm/shmem.c:2254: error: dereferencing pointer to incomplete type mm/shmem.c:2254: error: 'S_IRWXUGO' undeclared (first use in this function) mm/shmem.c:2254: error: 'S_ISVTX' undeclared (first use in this function) mm/shmem.c:2255: error: dereferencing pointer to incomplete type mm/shmem.c:2255: error: 'current' undeclared (first use in this function) mm/shmem.c:2256: error: dereferencing pointer to incomplete type mm/shmem.c:2257: error: dereferencing pointer to incomplete type mm/shmem.c:2257: error: 'NULL' undeclared (first use in this function) mm/shmem.c:2258: error: dereferencing pointer to incomplete type mm/shmem.c:2276: error: dereferencing pointer to incomplete type mm/shmem.c:2276: error: 'MS_NOUSER' undeclared (first use in this function) mm/shmem.c:2279: error: dereferencing pointer to incomplete type mm/shmem.c:2280: error: dereferencing pointer to incomplete type mm/shmem.c:2280: error: dereferencing pointer to incomplete type mm/shmem.c:2281: error: dereferencing pointer to incomplete type mm/shmem.c:2281: error: dereferencing pointer to incomplete type mm/shmem.c:2283: error: dereferencing pointer to incomplete type mm/shmem.c:2283: error: 'SHMEM_NR_DIRECT' undeclared (first use in this function) mm/shmem.c:2283: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function) mm/shmem.c:2283: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function) mm/shmem.c:2284: error: dereferencing pointer to incomplete type mm/shmem.c:2285: error: dereferencing pointer to incomplete type mm/shmem.c:2286: error: dereferencing pointer to incomplete type mm/shmem.c:2287: error: dereferencing pointer to incomplete type mm/shmem.c:2288: error: dereferencing pointer to incomplete type mm/shmem.c:2294: error: 'S_IFDIR' undeclared (first use in this function) mm/shmem.c:2294: error: dereferencing pointer to incomplete type mm/shmem.c:2294: warning: passing argument 1 of 'shmem_get_inode' from incompatible pointer type mm/shmem.c:2294: error: too many arguments to function 'shmem_get_inode' mm/shmem.c:2297: error: dereferencing pointer to incomplete type mm/shmem.c:2297: error: dereferencing pointer to incomplete type mm/shmem.c:2298: error: dereferencing pointer to incomplete type mm/shmem.c:2298: error: dereferencing pointer to incomplete type mm/shmem.c:2299: error: implicit declaration of function 'd_alloc_root' mm/shmem.c:2299: warning: assignment makes pointer from integer without a cast mm/shmem.c:2302: error: dereferencing pointer to incomplete type mm/shmem.c:2308: warning: passing argument 1 of 'shmem_put_super' from incompatible pointer type mm/shmem.c: At top level: mm/shmem.c:2314: warning: 'struct super_block' declared inside parameter list mm/shmem.c: In function 'shmem_alloc_inode': mm/shmem.c:2317: error: implicit declaration of function 'kmem_cache_alloc' mm/shmem.c:2317: error: 'GFP_KERNEL' undeclared (first use in this function) mm/shmem.c:2319: error: 'NULL' undeclared (first use in this function) mm/shmem.c:2320: error: dereferencing pointer to incomplete type mm/shmem.c: In function 'shmem_destroy_inode': mm/shmem.c:2325: error: dereferencing pointer to incomplete type mm/shmem.c:2325: error: 'S_IFMT' undeclared (first use in this function) mm/shmem.c:2325: error: 'S_IFREG' undeclared (first use in this function) mm/shmem.c:2327: error: implicit declaration of function 'mpol_free_shared_policy' mm/shmem.c:2327: error: invalid type argument of '->' mm/shmem.c:2329: error: implicit declaration of function 'shmem_acl_destroy_inode' mm/shmem.c:2330: error: implicit declaration of function 'kmem_cache_free' mm/shmem.c: In function 'init_once': mm/shmem.c:2337: error: implicit declaration of function 'inode_init_once' mm/shmem.c:2337: error: dereferencing pointer to incomplete type mm/shmem.c: In function 'init_inodecache': mm/shmem.c:2346: error: implicit declaration of function 'kmem_cache_create' mm/shmem.c:2347: error: invalid application of 'sizeof' to incomplete type 'struct shmem_inode_info' mm/shmem.c:2348: error: 'SLAB_PANIC' undeclared (first use in this function) mm/shmem.c:2348: warning: assignment makes pointer from integer without a cast mm/shmem.c: In function 'destroy_inodecache': mm/shmem.c:2354: error: implicit declaration of function 'kmem_cache_destroy' mm/shmem.c: At top level: mm/shmem.c:2357: error: variable 'shmem_aops' has initializer but incomplete type mm/shmem.c:2358: error: unknown field 'writepage' specified in initializer mm/shmem.c:2358: warning: excess elements in struct initializer mm/shmem.c:2358: warning: (near initialization for 'shmem_aops') mm/shmem.c:2359: error: unknown field 'set_page_dirty' specified in initializer mm/shmem.c:2359: error: '__set_page_dirty_no_writeback' undeclared here (not in a function) mm/shmem.c:2359: warning: excess elements in struct initializer mm/shmem.c:2359: warning: (near initialization for 'shmem_aops') cc1: error: include/linux/autoconf.h: No such file or directory kernel/sysctl_check.c:1:24: error: linux/stat.h: No such file or directory kernel/sysctl_check.c:2:26: error: linux/sysctl.h: No such file or directory kernel/sysctl_check.c:4:32: error: linux/sunrpc/debug.h: No such file or directory kernel/sysctl_check.c:5:26: error: linux/string.h: No such file or directory kernel/sysctl_check.c:6:23: error: net/ip_vs.h: No such file or directory kernel/sysctl_check.c:15: error: 'RANDOM_POOLSIZE' undeclared here (not in a function) kernel/sysctl_check.c:16: error: 'RANDOM_ENTROPY_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:17: error: 'RANDOM_READ_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:18: error: 'RANDOM_WRITE_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:19: error: 'RANDOM_BOOT_ID' undeclared here (not in a function) kernel/sysctl_check.c:20: error: 'RANDOM_UUID' undeclared here (not in a function) kernel/sysctl_check.c:25: error: 'PTY_MAX' undeclared here (not in a function) kernel/sysctl_check.c:25: error: initializer element is not constant kernel/sysctl_check.c:25: error: (near initialization for 'trans_pty_table[0].ctl_name') kernel/sysctl_check.c:26: error: 'PTY_NR' undeclared here (not in a function) kernel/sysctl_check.c:26: error: initializer element is not constant kernel/sysctl_check.c:26: error: (near initialization for 'trans_pty_table[1].ctl_name') kernel/sysctl_check.c:31: error: 'KERN_OSTYPE' undeclared here (not in a function) kernel/sysctl_check.c:31: error: initializer element is not constant kernel/sysctl_check.c:31: error: (near initialization for 'trans_kern_table[0].ctl_name') kernel/sysctl_check.c:32: error: 'KERN_OSRELEASE' undeclared here (not in a function) kernel/sysctl_check.c:32: error: initializer element is not constant kernel/sysctl_check.c:32: error: (near initialization for 'trans_kern_table[1].ctl_name') kernel/sysctl_check.c:34: error: 'KERN_VERSION' undeclared here (not in a function) kernel/sysctl_check.c:34: error: initializer element is not constant kernel/sysctl_check.c:34: error: (near initialization for 'trans_kern_table[2].ctl_name') kernel/sysctl_check.c:37: error: 'KERN_NODENAME' undeclared here (not in a function) kernel/sysctl_check.c:37: error: initializer element is not constant kernel/sysctl_check.c:37: error: (near initialization for 'trans_kern_table[3].ctl_name') kernel/sysctl_check.c:38: error: 'KERN_DOMAINNAME' undeclared here (not in a function) kernel/sysctl_check.c:38: error: initializer element is not constant kernel/sysctl_check.c:38: error: (near initialization for 'trans_kern_table[4].ctl_name') kernel/sysctl_check.c:40: error: 'KERN_PANIC' undeclared here (not in a function) kernel/sysctl_check.c:40: error: initializer element is not constant kernel/sysctl_check.c:40: error: (near initialization for 'trans_kern_table[5].ctl_name') kernel/sysctl_check.c:41: error: 'KERN_REALROOTDEV' undeclared here (not in a function) kernel/sysctl_check.c:41: error: initializer element is not constant kernel/sysctl_check.c:41: error: (near initialization for 'trans_kern_table[6].ctl_name') kernel/sysctl_check.c:43: error: 'KERN_SPARC_REBOOT' undeclared here (not in a function) kernel/sysctl_check.c:43: error: initializer element is not constant kernel/sysctl_check.c:43: error: (near initialization for 'trans_kern_table[7].ctl_name') kernel/sysctl_check.c:44: error: 'KERN_CTLALTDEL' undeclared here (not in a function) kernel/sysctl_check.c:44: error: initializer element is not constant kernel/sysctl_check.c:44: error: (near initialization for 'trans_kern_table[8].ctl_name') kernel/sysctl_check.c:45: error: 'KERN_PRINTK' undeclared here (not in a function) kernel/sysctl_check.c:45: error: initializer element is not constant kernel/sysctl_check.c:45: error: (near initialization for 'trans_kern_table[9].ctl_name') kernel/sysctl_check.c:50: error: 'KERN_PPC_POWERSAVE_NAP' undeclared here (not in a function) kernel/sysctl_check.c:50: error: initializer element is not constant kernel/sysctl_check.c:50: error: (near initialization for 'trans_kern_table[10].ctl_name') kernel/sysctl_check.c:52: error: 'KERN_MODPROBE' undeclared here (not in a function) kernel/sysctl_check.c:52: error: initializer element is not constant kernel/sysctl_check.c:52: error: (near initialization for 'trans_kern_table[11].ctl_name') kernel/sysctl_check.c:53: error: 'KERN_SG_BIG_BUFF' undeclared here (not in a function) kernel/sysctl_check.c:53: error: initializer element is not constant kernel/sysctl_check.c:53: error: (near initialization for 'trans_kern_table[12].ctl_name') kernel/sysctl_check.c:54: error: 'KERN_ACCT' undeclared here (not in a function) kernel/sysctl_check.c:54: error: initializer element is not constant kernel/sysctl_check.c:54: error: (near initialization for 'trans_kern_table[13].ctl_name') kernel/sysctl_check.c:55: error: 'KERN_PPC_L2CR' undeclared here (not in a function) kernel/sysctl_check.c:55: error: initializer element is not constant kernel/sysctl_check.c:55: error: (near initialization for 'trans_kern_table[14].ctl_name') kernel/sysctl_check.c:60: error: 'KERN_SHMMAX' undeclared here (not in a function) kernel/sysctl_check.c:60: error: initializer element is not constant kernel/sysctl_check.c:60: error: (near initialization for 'trans_kern_table[15].ctl_name') kernel/sysctl_check.c:61: error: 'KERN_MSGMAX' undeclared here (not in a function) kernel/sysctl_check.c:61: error: initializer element is not constant kernel/sysctl_check.c:61: error: (near initialization for 'trans_kern_table[16].ctl_name') kernel/sysctl_check.c:62: error: 'KERN_MSGMNB' undeclared here (not in a function) kernel/sysctl_check.c:62: error: initializer element is not constant kernel/sysctl_check.c:62: error: (near initialization for 'trans_kern_table[17].ctl_name') kernel/sysctl_check.c:64: error: 'KERN_SYSRQ' undeclared here (not in a function) kernel/sysctl_check.c:64: error: initializer element is not constant kernel/sysctl_check.c:64: error: (near initialization for 'trans_kern_table[18].ctl_name') kernel/sysctl_check.c:65: error: 'KERN_MAX_THREADS' undeclared here (not in a function) kernel/sysctl_check.c:65: error: initializer element is not constant kernel/sysctl_check.c:65: error: (near initialization for 'trans_kern_table[19].ctl_name') kernel/sysctl_check.c:66: error: 'KERN_RANDOM' undeclared here (not in a function) kernel/sysctl_check.c:66: error: initializer element is not constant kernel/sysctl_check.c:66: error: (near initialization for 'trans_kern_table[20].ctl_name') kernel/sysctl_check.c:67: error: 'KERN_SHMALL' undeclared here (not in a function) kernel/sysctl_check.c:67: error: initializer element is not constant kernel/sysctl_check.c:67: error: (near initialization for 'trans_kern_table[21].ctl_name') kernel/sysctl_check.c:68: error: 'KERN_MSGMNI' undeclared here (not in a function) kernel/sysctl_check.c:68: error: initializer element is not constant kernel/sysctl_check.c:68: error: (near initialization for 'trans_kern_table[22].ctl_name') kernel/sysctl_check.c:69: error: 'KERN_SEM' undeclared here (not in a function) kernel/sysctl_check.c:69: error: initializer element is not constant kernel/sysctl_check.c:69: error: (near initialization for 'trans_kern_table[23].ctl_name') kernel/sysctl_check.c:70: error: 'KERN_SPARC_STOP_A' undeclared here (not in a function) kernel/sysctl_check.c:70: error: initializer element is not constant kernel/sysctl_check.c:70: error: (near initialization for 'trans_kern_table[24].ctl_name') kernel/sysctl_check.c:71: error: 'KERN_SHMMNI' undeclared here (not in a function) kernel/sysctl_check.c:71: error: initializer element is not constant kernel/sysctl_check.c:71: error: (near initialization for 'trans_kern_table[25].ctl_name') kernel/sysctl_check.c:73: error: 'KERN_OVERFLOWUID' undeclared here (not in a function) kernel/sysctl_check.c:73: error: initializer element is not constant kernel/sysctl_check.c:73: error: (near initialization for 'trans_kern_table[26].ctl_name') kernel/sysctl_check.c:74: error: 'KERN_OVERFLOWGID' undeclared here (not in a function) kernel/sysctl_check.c:74: error: initializer element is not constant kernel/sysctl_check.c:74: error: (near initialization for 'trans_kern_table[27].ctl_name') kernel/sysctl_check.c:76: error: 'KERN_HOTPLUG' undeclared here (not in a function) kernel/sysctl_check.c:76: error: initializer element is not constant kernel/sysctl_check.c:76: error: (near initialization for 'trans_kern_table[28].ctl_name') /usr/builds/linux-next-20080722/block/Makefile: No such file or directory CC kernel/irq/handle.o mm/shmem.c:2365: error: unknown field 'migratepage' specified in initializer mm/shmem.c:2365: error: 'migrate_page' undeclared here (not in a function) mm/shmem.c:2365: warning: excess elements in struct initializer mm/shmem.c:2365: warning: (near initialization for 'shmem_aops') mm/shmem.c:2368: error: variable 'shmem_file_operations' has initializer but incomplete type mm/shmem.c:2369: error: unknown field 'mmap' specified in initializer mm/shmem.c:2369: warning: excess elements in struct initializer mm/shmem.c:2369: warning: (near initialization for 'shmem_file_operations') mm/shmem.c:2381: error: variable 'shmem_inode_operations' has initializer but incomplete type mm/shmem.c:2382: error: unknown field 'truncate' specified in initializer mm/shmem.c:2382: warning: excess elements in struct initializer mm/shmem.c:2382: warning: (near initialization for 'shmem_inode_operations') mm/shmem.c:2383: error: unknown field 'setattr' specified in initializer mm/shmem.c:2383: warning: excess elements in struct initializer mm/shmem.c:2383: warning: (near initialization for 'shmem_inode_operations') mm/shmem.c:2384: error: unknown field 'truncate_range' specified in initializer mm/shmem.c:2384: warning: excess elements in struct initializer mm/shmem.c:2384: warning: (near initialization for 'shmem_inode_operations') mm/shmem.c:2395: error: variable 'shmem_dir_inode_operations' has initializer but incomplete type mm/shmem.c:2417: error: variable 'shmem_special_inode_operations' has initializer but incomplete type mm/shmem.c:2428: error: variable 'shmem_ops' has initializer but incomplete type mm/shmem.c:2429: error: unknown field 'alloc_inode' specified in initializer mm/shmem.c:2429: warning: excess elements in struct initializer mm/shmem.c:2429: warning: (near initialization for 'shmem_ops') mm/shmem.c:2430: error: unknown field 'destroy_inode' specified in initializer mm/shmem.c:2430: warning: excess elements in struct initializer mm/shmem.c:2430: warning: (near initialization for 'shmem_ops') mm/shmem.c:2436: error: unknown field 'delete_inode' specified in initializer mm/shmem.c:2436: warning: excess elements in struct initializer mm/shmem.c:2436: warning: (near initialization for 'shmem_ops') mm/shmem.c:2437: error: unknown field 'drop_inode' specified in initializer mm/shmem.c:2437: error: 'generic_delete_inode' undeclared here (not in a function) mm/shmem.c:2437: warning: excess elements in struct initializer mm/shmem.c:2437: warning: (near initialization for 'shmem_ops') mm/shmem.c:2438: error: unknown field 'put_super' specified in initializer mm/shmem.c:2438: warning: excess elements in struct initializer mm/shmem.c:2438: warning: (near initialization for 'shmem_ops') mm/shmem.c:2441: error: variable 'shmem_vm_ops' has initializer but incomplete type mm/shmem.c:2442: error: unknown field 'fault' specified in initializer mm/shmem.c:2442: warning: excess elements in struct initializer mm/shmem.c:2442: warning: (near initialization for 'shmem_vm_ops') make[1]: *** No rule to make target `/usr/builds/linux-next-20080722/block/Makefile'. make[1]: Failed to remake makefile `/usr/builds/linux-next-20080722/block/Makefile'. /bin/sh: block/modules.order: No such file or directory make[1]: *** [block/modules.order] Error 1 make[1]: Target `__build' not remade because of errors. make: *** [block] Error 2 kernel/sysctl_check.c:77: error: 'KERN_IEEE_EMULATION_WARNINGS' undeclared here (not in a function) kernel/sysctl_check.c:77: error: initializer element is not constant kernel/sysctl_check.c:77: error: (near initialization for 'trans_kern_table[29].ctl_name') kernel/sysctl_check.c:79: error: 'KERN_S390_USER_DEBUG_LOGGING' undeclared here (not in a function) kernel/sysctl_check.c:79: error: initializer element is not constant kernel/sysctl_check.c:79: error: (near initialization for 'trans_kern_table[30].ctl_name') kernel/sysctl_check.c:80: error: 'KERN_CORE_USES_PID' undeclared here (not in a function) kernel/sysctl_check.c:80: error: initializer element is not constant kernel/sysctl_check.c:80: error: (near initialization for 'trans_kern_table[31].ctl_name') kernel/sysctl_check.c:81: error: 'KERN_TAINTED' undeclared here (not in a function) kernel/sysctl_check.c:81: error: initializer element is not constant kernel/sysctl_check.c:81: error: (near initialization for 'trans_kern_table[32].ctl_name') kernel/sysctl_check.c:82: error: 'KERN_CADPID' undeclared here (not in a function) kernel/sysctl_check.c:82: error: initializer element is not constant kernel/sysctl_check.c:82: error: (near initialization for 'trans_kern_table[33].ctl_name') kernel/sysctl_check.c:83: error: 'KERN_PIDMAX' undeclared here (not in a function) kernel/sysctl_check.c:83: error: initializer element is not constant kernel/sysctl_check.c:83: error: (near initialization for 'trans_kern_table[34].ctl_name') kernel/sysctl_check.c:84: error: 'KERN_CORE_PATTERN' undeclared here (not in a function) kernel/sysctl_check.c:84: error: initializer element is not constant kernel/sysctl_check.c:84: error: (near initialization for 'trans_kern_table[35].ctl_name') kernel/sysctl_check.c:85: error: 'KERN_PANIC_ON_OOPS' undeclared here (not in a function) kernel/sysctl_check.c:85: error: initializer element is not constant kernel/sysctl_check.c:85: error: (near initialization for 'trans_kern_table[36].ctl_name') kernel/sysctl_check.c:86: error: 'KERN_HPPA_PWRSW' undeclared here (not in a function) kernel/sysctl_check.c:86: error: initializer element is not constant kernel/sysctl_check.c:86: error: (near initialization for 'trans_kern_table[37].ctl_name') kernel/sysctl_check.c:87: error: 'KERN_HPPA_UNALIGNED' undeclared here (not in a function) kernel/sysctl_check.c:87: error: initializer element is not constant kernel/sysctl_check.c:87: error: (near initialization for 'trans_kern_table[38].ctl_name') kernel/sysctl_check.c:89: error: 'KERN_PRINTK_RATELIMIT' undeclared here (not in a function) kernel/sysctl_check.c:89: error: initializer element is not constant kernel/sysctl_check.c:89: error: (near initialization for 'trans_kern_table[39].ctl_name') kernel/sysctl_check.c:90: error: 'KERN_PRINTK_RATELIMIT_BURST' undeclared here (not in a function) kernel/sysctl_check.c:90: error: initializer element is not constant kernel/sysctl_check.c:90: error: (near initialization for 'trans_kern_table[40].ctl_name') kernel/sysctl_check.c:92: error: 'KERN_PTY' undeclared here (not in a function) kernel/sysctl_check.c:92: error: initializer element is not constant kernel/sysctl_check.c:92: error: (near initialization for 'trans_kern_table[41].ctl_name') kernel/sysctl_check.c:93: error: 'KERN_NGROUPS_MAX' undeclared here (not in a function) kernel/sysctl_check.c:93: error: initializer element is not constant kernel/sysctl_check.c:93: error: (near initialization for 'trans_kern_table[42].ctl_name') kernel/sysctl_check.c:94: error: 'KERN_SPARC_SCONS_PWROFF' undeclared here (not in a function) kernel/sysctl_check.c:94: error: initializer element is not constant kernel/sysctl_check.c:94: error: (near initialization for 'trans_kern_table[43].ctl_name') kernel/sysctl_check.c:95: error: 'KERN_HZ_TIMER' undeclared here (not in a function) kernel/sysctl_check.c:95: error: initializer element is not constant kernel/sysctl_check.c:95: error: (near initialization for 'trans_kern_table[44].ctl_name') kernel/sysctl_check.c:96: error: 'KERN_UNKNOWN_NMI_PANIC' undeclared here (not in a function) kernel/sysctl_check.c:96: error: initializer element is not constant kernel/sysctl_check.c:96: error: (near initialization for 'trans_kern_table[45].ctl_name') kernel/sysctl_check.c:97: error: 'KERN_BOOTLOADER_TYPE' undeclared here (not in a function) kernel/sysctl_check.c:97: error: initializer element is not constant kernel/sysctl_check.c:97: error: (near initialization for 'trans_kern_table[46].ctl_name') kernel/sysctl_check.c:98: error: 'KERN_RANDOMIZE' undeclared here (not in a function) kernel/sysctl_check.c:98: error: initializer element is not constant kernel/sysctl_check.c:98: error: (near initialization for 'trans_kern_table[47].ctl_name') kernel/sysctl_check.c:100: error: 'KERN_SPIN_RETRY' undeclared here (not in a function) kernel/sysctl_check.c:100: error: initializer element is not constant kernel/sysctl_check.c:100: error: (near initialization for 'trans_kern_table[48].ctl_name') kernel/sysctl_check.c:101: error: 'KERN_ACPI_VIDEO_FLAGS' undeclared here (not in a function) kernel/sysctl_check.c:101: error: initializer element is not constant kernel/sysctl_check.c:101: error: (near initialization for 'trans_kern_table[49].ctl_name') kernel/sysctl_check.c:102: error: 'KERN_IA64_UNALIGNED' undeclared here (not in a function) kernel/sysctl_check.c:102: error: initializer element is not constant kernel/sysctl_check.c:102: error: (near initialization for 'trans_kern_table[50].ctl_name') kernel/sysctl_check.c:103: error: 'KERN_COMPAT_LOG' undeclared here (not in a function) kernel/sysctl_check.c:103: error: initializer element is not constant kernel/sysctl_check.c:103: error: (near initialization for 'trans_kern_table[51].ctl_name') kernel/sysctl_check.c:104: error: 'KERN_MAX_LOCK_DEPTH' undeclared here (not in a function) kernel/sysctl_check.c:104: error: initializer element is not constant kernel/sysctl_check.c:104: error: (near initialization for 'trans_kern_table[52].ctl_name') kernel/sysctl_check.c:105: error: 'KERN_NMI_WATCHDOG' undeclared here (not in a function) kernel/sysctl_check.c:105: error: initializer element is not constant kernel/sysctl_check.c:105: error: (near initialization for 'trans_kern_table[53].ctl_name') kernel/sysctl_check.c:106: error: 'KERN_PANIC_ON_NMI' undeclared here (not in a function) kernel/sysctl_check.c:106: error: initializer element is not constant kernel/sysctl_check.c:106: error: (near initialization for 'trans_kern_table[54].ctl_name') kernel/sysctl_check.c:111: error: 'VM_OVERCOMMIT_MEMORY' undeclared here (not in a function) kernel/sysctl_check.c:111: error: initializer element is not constant kernel/sysctl_check.c:111: error: (near initialization for 'trans_vm_table[0].ctl_name') kernel/sysctl_check.c:112: error: 'VM_PAGE_CLUSTER' undeclared here (not in a function) kernel/sysctl_check.c:112: error: initializer element is not constant kernel/sysctl_check.c:112: error: (near initialization for 'trans_vm_table[1].ctl_name') kernel/sysctl_check.c:113: error: 'VM_DIRTY_BACKGROUND' undeclared here (not in a function) kernel/sysctl_check.c:113: error: initializer element is not constant kernel/sysctl_check.c:113: error: (near initialization for 'trans_vm_table[2].ctl_name') kernel/sysctl_check.c:114: error: 'VM_DIRTY_RATIO' undeclared here (not in a function) kernel/sysctl_check.c:114: error: initializer element is not constant kernel/sysctl_check.c:114: error: (near initialization for 'trans_vm_table[3].ctl_name') kernel/sysctl_check.c:115: error: 'VM_DIRTY_WB_CS' undeclared here (not in a function) kernel/sysctl_check.c:115: error: initializer element is not constant kernel/sysctl_check.c:115: error: (near initialization for 'trans_vm_table[4].ctl_name') kernel/sysctl_check.c:116: error: 'VM_DIRTY_EXPIRE_CS' undeclared here (not in a function) kernel/sysctl_check.c:116: error: initializer element is not constant kernel/sysctl_check.c:116: error: (near initialization for 'trans_vm_table[5].ctl_name') kernel/sysctl_check.c:117: error: 'VM_NR_PDFLUSH_THREADS' undeclared here (not in a function) kernel/sysctl_check.c:117: error: initializer element is not constant kernel/sysctl_check.c:117: error: (near initialization for 'trans_vm_table[6].ctl_name') kernel/sysctl_check.c:118: error: 'VM_OVERCOMMIT_RATIO' undeclared here (not in a function) kernel/sysctl_check.c:118: error: initializer element is not constant kernel/sysctl_check.c:118: error: (near initialization for 'trans_vm_table[7].ctl_name') kernel/sysctl_check.c:120: error: 'VM_HUGETLB_PAGES' undeclared here (not in a function) kernel/sysctl_check.c:120: error: initializer element is not constant kernel/sysctl_check.c:120: error: (near initialization for 'trans_vm_table[8].ctl_name') kernel/sysctl_check.c:121: error: 'VM_SWAPPINESS' undeclared here (not in a function) kernel/sysctl_check.c:121: error: initializer element is not constant kernel/sysctl_check.c:121: error: (near initialization for 'trans_vm_table[9].ctl_name') kernel/sysctl_check.c:122: error: 'VM_LOWMEM_RESERVE_RATIO' undeclared here (not in a function) kernel/sysctl_check.c:122: error: initializer element is not constant kernel/sysctl_check.c:122: error: (near initialization for 'trans_vm_table[10].ctl_name') kernel/sysctl_check.c:123: error: 'VM_MIN_FREE_KBYTES' undeclared here (not in a function)cc1: error: include/linux/autoconf.h: No such file or directory fs/binfmt_script.c:8:26: error: linux/module.h: No such file or directory fs/binfmt_script.c:9:26: error: linux/string.h: No such file or directory fs/binfmt_script.c:10:24: error: linux/stat.h: No such file or directory fs/binfmt_script.c:11:24: error: linux/slab.h: No such file or directory fs/binfmt_script.c:12:27: error: linux/binfmts.h: No such file or directory fs/binfmt_script.c:13:24: error: linux/init.h: No such file or directory fs/binfmt_script.c:14:24: error: linux/file.h: No such file or directory fs/binfmt_script.c:15:23: error: linux/err.h: No such file or directory fs/binfmt_script.c:16:22: error: linux/fs.h: No such file or directory fs/binfmt_script.c:18: warning: 'struct pt_regs' declared inside parameter list fs/binfmt_script.c:18: warning: its scope is only this definition or declaration, which is probably not what you want fs/binfmt_script.c:18: warning: 'struct linux_binprm' declared inside parameter list fs/binfmt_script.c: In function 'load_script': fs/binfmt_script.c:22: error: 'BINPRM_BUF_SIZE' undeclared (first use in this function) fs/binfmt_script.c:22: error: (Each undeclared identifier is reported only once fs/binfmt_script.c:22: error: for each function it appears in.) fs/binfmt_script.c:25: error: dereferencing pointer to incomplete type fs/binfmt_script.c:25: error: dereferencing pointer to incomplete type fs/binfmt_script.c:25: error: dereferencing pointer to incomplete type fs/binfmt_script.c:26: error: 'ENOEXEC' undeclared (first use in this function) fs/binfmt_script.c:32: error: dereferencing pointer to incomplete type fs/binfmt_script.c:33: error: implicit declaration of function 'allow_write_access' fs/binfmt_script.c:33: error: dereferencing pointer to incomplete type fs/binfmt_script.c:34: error: implicit declaration of function 'fput' fs/binfmt_script.c:34: error: dereferencing pointer to incomplete type fs/binfmt_script.c:35: error: dereferencing pointer to incomplete type fs/binfmt_script.c:35: error: 'NULL' undeclared (first use in this function) fs/binfmt_script.c:37: error: dereferencing pointer to incomplete type fs/binfmt_script.c:38: error: implicit declaration of function 'strchr' fs/binfmt_script.c:38: error: dereferencing pointer to incomplete type fs/binfmt_script.c:38: warning: assignment makes pointer from integer without a cast fs/binfmt_script.c:39: error: dereferencing pointer to incomplete type fs/binfmt_script.c:41: error: dereferencing pointer to incomplete type fs/binfmt_script.c:48: error: dereferencing pointer to incomplete type fs/binfmt_script.c:59: error: implicit declaration of function 'strcpy' fs/binfmt_script.c:70: error: implicit declaration of function 'remove_arg_zero' fs/binfmt_script.c:73: error: implicit declaration of function 'copy_strings_kernel' fs/binfmt_script.c:73: error: dereferencing pointer to incomplete type fs/binfmt_script.c:75: error: dereferencing pointer to incomplete type mm/shmem.c:2451: warning: 'struct vfsmount' declared inside parameter listfs/binfmt_script.c:79: error: dereferencing pointer to incomplete type CC kernel/time/timekeeping.o kernel/sysctl_check.c:123: error: initializer element is not constant kernel/sysctl_check.c:123: error: (near initialization for 'trans_vm_table[11].ctl_name') kernel/sysctl_check.c:124: error: 'VM_MAX_MAP_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:124: error: initializer element is not constant kernel/sysctl_check.c:124: error: (near initialization for 'trans_vm_table[12].ctl_name') kernel/sysctl_check.c:125: error: 'VM_LAPTOP_MODE' undeclared here (not in a function) fs/binfmt_script.c:83: error: dereferencing pointer to incomplete type fs/binfmt_script.c:84: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:125: error: initializer element is not constant kernel/sysctl_check.c:125: error: (near initialization for 'trans_vm_table[13].ctl_name') fs/binfmt_script.c:89: error: implicit declaration of function 'open_exec' kernel/sysctl_check.c:126: error: 'VM_BLOCK_DUMP' undeclared here (not in a function) fs/binfmt_script.c:89: warning: assignment makes pointer from integer without a cast kernel/sysctl_check.c:126: error: initializer element is not constant fs/binfmt_script.c:90: error: implicit declaration of function 'IS_ERR' kernel/sysctl_check.c:126: error: (near initialization for 'trans_vm_table[14].ctl_name') fs/binfmt_script.c:91: error: implicit declaration of function 'PTR_ERR' kernel/sysctl_check.c:127: error: 'VM_HUGETLB_GROUP' undeclared here (not in a function) fs/binfmt_script.c:93: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:127: error: initializer element is not constant fs/binfmt_script.c:94: error: implicit declaration of function 'prepare_binprm' kernel/sysctl_check.c:127: error: (near initialization for 'trans_vm_table[15].ctl_name') fs/binfmt_script.c:97: error: implicit declaration of function 'search_binary_handler'kernel/sysctl_check.c:128: error: 'VM_VFS_CACHE_PRESSURE' undeclared here (not in a function) kernel/sysctl_check.c:128: error: initializer element is not constant kernel/sysctl_check.c:128: error: (near initialization for 'trans_vm_table[16].ctl_name') kernel/sysctl_check.c:129: error: 'VM_LEGACY_VA_LAYOUT' undeclared here (not in a function) kernel/sysctl_check.c:129: error: initializer element is not constant kernel/sysctl_check.c:129: error: (near initialization for 'trans_vm_table[17].ctl_name') fs/binfmt_script.c:22: warning: unused variable 'interp' kernel/sysctl_check.c:131: error: 'VM_DROP_PAGECACHE' undeclared here (not in a function) kernel/sysctl_check.c:131: error: initializer element is not constant kernel/sysctl_check.c:131: error: (near initialization for 'trans_vm_table[18].ctl_name') kernel/sysctl_check.c:132: error: 'VM_PERCPU_PAGELIST_FRACTION' undeclared here (not in a function) kernel/sysctl_check.c:132: error: initializer element is not constant kernel/sysctl_check.c:132: error: (near initialization for 'trans_vm_table[19].ctl_name') kernel/sysctl_check.c:133: error: 'VM_ZONE_RECLAIM_MODE' undeclared here (not in a function) kernel/sysctl_check.c:133: error: initializer element is not constant kernel/sysctl_check.c:133: error: (near initialization for 'trans_vm_table[20].ctl_name') kernel/sysctl_check.c:134: error: 'VM_MIN_UNMAPPED' undeclared here (not in a function) kernel/sysctl_check.c:134: error: initializer element is not constant kernel/sysctl_check.c:134: error: (near initialization for 'trans_vm_table[21].ctl_name') kernel/sysctl_check.c:135: error: 'VM_PANIC_ON_OOM' undeclared here (not in a function) kernel/sysctl_check.c:135: error: initializer element is not constant kernel/sysctl_check.c:135: error: (near initialization for 'trans_vm_table[22].ctl_name') kernel/sysctl_check.c:136: error: 'VM_VDSO_ENABLED' undeclared here (not in a function) kernel/sysctl_check.c:136: error: initializer element is not constant kernel/sysctl_check.c:136: error: (near initialization for 'trans_vm_table[23].ctl_name') kernel/sysctl_check.c:137: error: 'VM_MIN_SLAB' undeclared here (not in a function) kernel/sysctl_check.c:137: error: initializer element is not constant kernel/sysctl_check.c:137: error: (near initialization for 'trans_vm_table[24].ctl_name') fs/binfmt_script.c: At top level: fs/binfmt_script.c:100: error: variable 'script_format' has initializer but incomplete type kernel/sysctl_check.c:143: error: 'NET_CORE_WMEM_MAX' undeclared here (not in a function) fs/binfmt_script.c:101: error: unknown field 'module' specified in initializer kernel/sysctl_check.c:143: error: initializer element is not constant fs/binfmt_script.c:101: error: 'THIS_MODULE' undeclared here (not in a function) fs/binfmt_script.c:101: warning: excess elements in struct initializer fs/binfmt_script.c:101: warning: (near initialization for 'script_format') fs/binfmt_script.c:102: error: unknown field 'load_binary' specified in initializer fs/binfmt_script.c:102: warning: excess elements in struct initializer fs/binfmt_script.c:102: warning: (near initialization for 'script_format') fs/binfmt_script.c:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_script_binfmt' fs/binfmt_script.c:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'exit_script_binfmt' fs/binfmt_script.c:115: warning: data definition has no type or storage class fs/binfmt_script.c:115: warning: type defaults to 'int' in declaration of 'core_initcall' fs/binfmt_script.c:115: warning: parameter names (without types) in function declaration fs/binfmt_script.c:116: warning: data definition has no type or storage class fs/binfmt_script.c:116: warning: type defaults to 'int' in declaration of 'module_exit' fs/binfmt_script.c:116: warning: parameter names (without types) in function declaration fs/binfmt_script.c:117: error: expected declaration specifiers or '...' before string constant fs/binfmt_script.c:117: warning: data definition has no type or storage class mm/shmem.c:2451: warning: 'struct file_system_type' declared inside parameter list kernel/sysctl_check.c:143: error: (near initialization for 'trans_net_core_table[0].ctl_name') cc1: fs/binfmt_script.c:117: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' error: kernel/sysctl_check.c:144: error: 'NET_CORE_RMEM_MAX' undeclared here (not in a function)mm/shmem.c: In function 'shmem_get_sb': fs/binfmt_script.c:117: warning: function declaration isn't a prototypeinclude/linux/autoconf.h: No such file or directory mm/shmem.c:2453: error: implicit declaration of function 'get_sb_nodev' kernel/sysctl_check.c:144: error: initializer element is not constant kernel/sysctl_check.c:144: error: (near initialization for 'trans_net_core_table[1].ctl_name') kernel/sysctl_check.c:145: error: 'NET_CORE_WMEM_DEFAULT' undeclared here (not in a function) kernel/sysctl_check.c:145: error: initializer element is not constant kernel/sysctl_check.c:145: error: (near initialization for 'trans_net_core_table[2].ctl_name') kernel/sysctl_check.c:146: error: 'NET_CORE_RMEM_DEFAULT' undeclared here (not in a function) kernel/irq/handle.c:13:23: error: linux/irq.h: No such file or directory kernel/irq/handle.c:14:26: error: linux/module.h: No such file or directory kernel/irq/handle.c:15:26: error: linux/random.h: No such file or directory kernel/irq/handle.c:16:29: error: linux/interrupt.h: No such file or directory mm/shmem.c: At top level:kernel/sysctl_check.c:146: error: initializer element is not constant kernel/sysctl_check.c:146: error: (near initialization for 'trans_net_core_table[3].ctl_name') kernel/sysctl_check.c:148: error: 'NET_CORE_MAX_BACKLOG' undeclared here (not in a function) kernel/irq/handle.c:17:31: kernel/sysctl_check.c:148: error: initializer element is not constant mm/shmem.c:2456: error: variable 'tmpfs_fs_type' has initializer but incomplete typeerror: kernel/sysctl_check.c:148: error: (near initialization for 'trans_net_core_table[4].ctl_name') linux/kernel_stat.h: No such file or directory kernel/sysctl_check.c:150: error: 'NET_CORE_MSG_COST' undeclared here (not in a function) kernel/sysctl_check.c:150: error: initializer element is not constant kernel/sysctl_check.c:150: error: (near initialization for 'trans_net_core_table[5].ctl_name') kernel/sysctl_check.c:151: error: 'NET_CORE_MSG_BURST' undeclared here (not in a function) kernel/sysctl_check.c:151: error: initializer element is not constant kernel/sysctl_check.c:151: error: (near initialization for 'trans_net_core_table[6].ctl_name') kernel/sysctl_check.c:152: error: 'NET_CORE_OPTMEM_MAX' undeclared here (not in a function) kernel/sysctl_check.c:152: error: initializer element is not constant kernel/sysctl_check.c:152: error: (near initialization for 'trans_net_core_table[7].ctl_name') In file included from kernel/irq/handle.c:19: kernel/irq/internals.h:8: warning: 'struct irq_chip' declared inside parameter list kernel/sysctl_check.c:159: error: 'NET_CORE_DEV_WEIGHT' undeclared here (not in a function) kernel/irq/internals.h:8: warning: its scope is only this definition or declaration, which is probably not what you want kernel/sysctl_check.c:159: error: initializer element is not constant kernel/sysctl_check.c:159: error: (near initialization for 'trans_net_core_table[8].ctl_name') kernel/irq/internals.h:11: warning: 'struct irq_desc' declared inside parameter list kernel/sysctl_check.c:160: error: 'NET_CORE_SOMAXCONN' undeclared here (not in a function) kernel/sysctl_check.c:160: error: initializer element is not constant kernel/sysctl_check.c:160: error: (near initialization for 'trans_net_core_table[9].ctl_name') kernel/sysctl_check.c:161: error: 'NET_CORE_BUDGET' undeclared here (not in a function) kernel/sysctl_check.c:161: error: initializer element is not constant kernel/sysctl_check.c:161: error: (near initialization for 'trans_net_core_table[10].ctl_name') kernel/sysctl_check.c:162: error: 'NET_CORE_AEVENT_ETIME' undeclared here (not in a function) kernel/irq/internals.h:20: warning: 'struct irqaction' declared inside parameter list kernel/sysctl_check.c:162: error: initializer element is not constant kernel/sysctl_check.c:162: error: (near initialization for 'trans_net_core_table[11].ctl_name') kernel/irq/internals.h:22: warning: 'struct irqaction' declared inside parameter list kernel/sysctl_check.c:163: error: 'NET_CORE_AEVENT_RSEQTH' undeclared here (not in a function) kernel/sysctl_check.c:163: error: initializer element is not constant kernel/sysctl_check.c:163: error: (near initialization for 'trans_net_core_table[12].ctl_name')In file included from kernel/irq/handle.c:19: kernel/irq/internals.h:29:28: error: linux/kallsyms.h: No such file or directory kernel/irq/internals.h:33: warning: 'struct irq_desc' declared inside parameter list kernel/sysctl_check.c:164: error: 'NET_CORE_WARNINGS' undeclared here (not in a function) kernel/sysctl_check.c:164: error: initializer element is not constantkernel/irq/internals.h: In function 'print_irq_desc': kernel/irq/internals.h:35: error: implicit declaration of function 'printk' kernel/sysctl_check.c:164: error: (near initialization for 'trans_net_core_table[13].ctl_name') kernel/sysctl_check.c:171: error: 'NET_UNIX_MAX_DGRAM_QLEN' undeclared here (not in a function) kernel/irq/internals.h:36: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:171: error: initializer element is not constantkernel/irq/internals.h:36: error: dereferencing pointer to incomplete type kernel/irq/internals.h:36: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:171: error: (near initialization for 'trans_net_unix_table[0].ctl_name') kernel/irq/internals.h:37: error: dereferencing pointer to incomplete typekernel/sysctl_check.c:176: error: 'NET_IPV4_ROUTE_FLUSH' undeclared here (not in a function)mm/shmem.c:2457: error: unknown field 'owner' specified in initializer kernel/irq/internals.h:38: error: implicit declaration of function 'print_symbol' kernel/sysctl_check.c:176: error: initializer element is not constant kernel/sysctl_check.c:176: error: (near initialization for 'trans_net_ipv4_route_table[0].ctl_name') kernel/irq/internals.h:38: error: dereferencing pointer to incomplete type kernel/irq/internals.h:39: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:177: error: 'NET_IPV4_ROUTE_MIN_DELAY' undeclared here (not in a function) kernel/irq/internals.h:40: error: dereferencing pointer to incomplete type make[1]: kernel/irq/internals.h:41: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:177: error: initializer element is not constantkernel/irq/internals.h:42: error: dereferencing pointer to incomplete type *** [fs/binfmt_script.o] Error 1 kernel/irq/internals.h:43: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:177: error: (near initialization for 'trans_net_ipv4_route_table[1].ctl_name') kernel/irq/internals.h:44: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:178: error: 'NET_IPV4_ROUTE_MAX_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:178: error: initializer element is not constant kernel/irq/internals.h:47: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:178: error: (near initialization for 'trans_net_ipv4_route_table[2].ctl_name') kernel/irq/internals.h:47: error: 'IRQ_INPROGRESS' undeclared (first use in this function) kernel/irq/internals.h:47: error: (Each undeclared identifier is reported only once kernel/sysctl_check.c:179: error: 'NET_IPV4_ROUTE_GC_THRESH' undeclared here (not in a function) kernel/irq/internals.h:47: error: for each function it appears in.) kernel/irq/internals.h:48: error: dereferencing pointer to incomplete type kernel/irq/internals.h:48: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/internals.h:49: error: dereferencing pointer to incomplete type kernel/irq/internals.h:49: error: 'IRQ_PENDING' undeclared (first use in this function) kernel/irq/internals.h:50: error: dereferencing pointer to incomplete type kernel/irq/internals.h:50: error: 'IRQ_REPLAY' undeclared (first use in this function) kernel/irq/internals.h:51: error: dereferencing pointer to incomplete type kernel/irq/internals.h:51: error: 'IRQ_AUTODETECT' undeclared (first use in this function) kernel/irq/internals.h:52: error: dereferencing pointer to incomplete type kernel/irq/internals.h:52: error: 'IRQ_WAITING' undeclared (first use in this function) kernel/irq/internals.h:53: error: dereferencing pointer to incomplete type kernel/irq/internals.h:53: error: 'IRQ_LEVEL' undeclared (first use in this function) kernel/irq/internals.h:54: error: dereferencing pointer to incomplete type kernel/irq/internals.h:54: error: 'IRQ_MASKED' undeclared (first use in this function) kernel/irq/internals.h:58: error: dereferencing pointer to incomplete type kernel/irq/internals.h:58: error: 'IRQ_NOPROBE' undeclared (first use in this function) kernel/irq/internals.h:59: error: dereferencing pointer to incomplete type kernel/irq/internals.h:59: error: 'IRQ_NOREQUEST' undeclared (first use in this function) kernel/irq/internals.h:60: error: dereferencing pointer to incomplete type kernel/irq/internals.h:60: error: 'IRQ_NOAUTOEN' undeclared (first use in this function) kernel/irq/handle.c: At top level: kernel/irq/handle.c:29: warning: 'struct irq_desc' declared inside parameter list kernel/irq/handle.c: In function 'handle_bad_irq': kernel/irq/handle.c:31: warning: passing argument 2 of 'print_irq_desc' from incompatible pointer type kernel/irq/handle.c:32: error: 'kstat_this_cpu' undeclared (first use in this function) kernel/irq/handle.c:33: error: implicit declaration of function 'ack_bad_irq' kernel/irq/handle.c: At top level: kernel/irq/handle.c:50: error: 'NR_IRQS' undeclared here (not in a function) kernel/irq/handle.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned_in_smp' kernel/irq/handle.c: In function 'ack_bad': kernel/irq/handle.c:69: error: 'irq_desc' undeclared (first use in this function) kernel/irq/handle.c: At top level: kernel/irq/handle.c:88: error: variable 'no_irq_chip' has initializer but incomplete type kernel/irq/handle.c:89: error: unknown field 'name' specified in initializer kernel/irq/handle.c:89: warning: excess elements in struct initializer kernel/irq/handle.c:89: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:90: error: unknown field 'startup' specified in initializer kernel/irq/handle.c:90: warning: excess elements in struct initializer kernel/irq/handle.c:90: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:91: error: unknown field 'shutdown' specified in initializer kernel/irq/handle.c:91: warning: excess elements in struct initializer kernel/irq/handle.c:91: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:92: error: unknown field 'enable' specified in initializer kernel/irq/handle.c:92: warning: excess elements in struct initializer kernel/irq/handle.c:92: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:93: error: unknown field 'disable' specified in initializer kernel/irq/handle.c:93: warning: excess elements in struct initializer kernel/irq/handle.c:93: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:94: error: unknown field 'ack' specified in initializer kernel/irq/handle.c:94: warning: excess elements in struct initializer kernel/irq/handle.c:94: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:95: error: unknown field 'end' specified in initializer kernel/irq/handle.c:95: warning: excess elements in struct initializer kernel/irq/handle.c:95: warning: (near initialization for 'no_irq_chip') kernel/irq/handle.c:102: error: variable 'dummy_irq_chip' has initializer but incomplete type kernel/irq/handle.c:103: error: unknown field 'name' specified in initializer kernel/irq/handle.c:103: warning: excess elements in struct initializer kernel/irq/handle.c:103: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:104: error: unknown field 'startup' specified in initializer kernel/irq/handle.c:104: warning: excess elements in struct initializer kernel/irq/handle.c:104: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:105: error: unknown field 'shutdown' specified in initializer kernel/irq/handle.c:105: warning: excess elements in struct initializer kernel/irq/handle.c:105: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:106: error: unknown field 'enable' specified in initializer kernel/irq/handle.c:106: warning: excess elements in struct initializer kernel/irq/handle.c:106: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:107: error: unknown field 'disable' specified in initializer kernel/irq/handle.c:107: warning: excess elements in struct initializer kernel/irq/handle.c:107: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:108: error: unknown field 'ack' specified in initializer kernel/irq/handle.c:108: warning: excess elements in struct initializer kernel/irq/handle.c:108: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:109: error: unknown field 'mask' specified in initializer kernel/irq/handle.c:109: warning: excess elements in struct initializer kernel/irq/handle.c:109: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:110: error: unknown field 'unmask' specified in initializer kernel/irq/handle.c:110: warning: excess elements in struct initializer kernel/irq/handle.c:110: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:111: error: unknown field 'end' specified in initializer kernel/irq/handle.c:111: warning: excess elements in struct initializer kernel/irq/handle.c:111: warning: (near initialization for 'dummy_irq_chip') kernel/irq/handle.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_action' kernel/irq/handle.c:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'handle_IRQ_event' kernel/irq/handle.c: In function '__do_IRQ': kernel/irq/handle.c:168: error: 'irq_desc' undeclared (first use in this function) kernel/irq/handle.c:172: error: 'kstat_this_cpu' undeclared (first use in this function) kernel/irq/handle.c:173: error: implicit declaration of function 'CHECK_IRQ_PER_CPU' kernel/irq/handle.c:173: error: dereferencing pointer to incomplete type kernel/irq/handle.c:174: error: 'irqreturn_t' undeclared (first use in this function) kernel/irq/handle.c:174: error: expected ';' before 'action_ret' kernel/irq/handle.c:179: error: dereferencing pointer to incomplete type kernel/irq/handle.c:180: error: dereferencing pointer to incomplete type kernel/irq/handle.c:181: error: implicit declaration of function 'likely' kernel/irq/handle.c:181: error: dereferencing pointer to incomplete type kernel/irq/handle.c:181: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/handle.c:182: error: 'action_ret' undeclared (first use in this function) kernel/irq/handle.c:182: error: implicit declaration of function 'handle_IRQ_event' kernel/irq/handle.c:182: error: dereferencing pointer to incomplete type kernel/irq/handle.c:184: error: implicit declaration of function 'note_interrupt' kernel/irq/handle.c:186: error: dereferencing pointer to incomplete type kernel/irq/handle.c:190: error: implicit declaration of function 'spin_lock' kernel/irq/handle.c:190: error: dereferencing pointer to incomplete type kernel/irq/handle.c:191: error: dereferencing pointer to incomplete type kernel/irq/handle.c:192: error: dereferencing pointer to incomplete type kernel/irq/handle.c:197: error: dereferencing pointer to incomplete type kernel/irq/handle.c:197: error: 'IRQ_REPLAY' undeclared (first use in this function) kernel/irq/handle.c:197: error: 'IRQ_WAITING' undeclared (first use in this function) kernel/irq/handle.c:198: error: 'IRQ_PENDING' undeclared (first use in this function) kernel/irq/handle.c:204: error: 'NULL' undeclared (first use in this function) kernel/irq/handle.c:205: error: 'IRQ_INPROGRESS' undeclared (first use in this function) kernel/irq/handle.c:206: error: dereferencing pointer to incomplete type kernel/irq/handle.c:210: error: dereferencing pointer to incomplete type kernel/irq/handle.c:218: error: implicit declaration of function 'unlikely' kernel/irq/handle.c:232: error: expected ';' before 'action_ret' kernel/irq/handle.c:234: error: implicit declaration of function 'spin_unlock' kernel/irq/handle.c:234: error: dereferencing pointer to incomplete type kernel/irq/handle.c:240: error: dereferencing pointer to incomplete type kernel/irq/handle.c:241: error: dereferencing pointer to incomplete type kernel/irq/handle.c:243: error: dereferencing pointer to incomplete type kernel/irq/handle.c:245: error: dereferencing pointer to incomplete type kernel/irq/handle.c:252: error: dereferencing pointer to incomplete type kernel/irq/handle.c:253: error: dereferencing pointer to incomplete type LD fs/devpts/built-in.o mm/shmem.c:2457: error: 'THIS_MODULE' undeclared here (not in a function)kernel/sysctl_check.c:179: error: initializer element is not constant kernel/sysctl_check.c:179: error: (near initialization for 'trans_net_ipv4_route_table[3].ctl_name') kernel/sysctl_check.c:180: error: 'NET_IPV4_ROUTE_MAX_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:180: error: initializer element is not constant kernel/sysctl_check.c:180: error: (near initialization for 'trans_net_ipv4_route_table[4].ctl_name') kernel/sysctl_check.c:181: error: 'NET_IPV4_ROUTE_GC_MIN_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:181: error: initializer element is not constant kernel/sysctl_check.c:181: error: (near initialization for 'trans_net_ipv4_route_table[5].ctl_name') kernel/sysctl_check.c:182: error: 'NET_IPV4_ROUTE_GC_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:182: error: initializer element is not constant kernel/sysctl_check.c:182: error: (near initialization for 'trans_net_ipv4_route_table[6].ctl_name') kernel/sysctl_check.c:183: error: 'NET_IPV4_ROUTE_GC_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:183: error: initializer element is not constant kernel/sysctl_check.c:183: error: (near initialization for 'trans_net_ipv4_route_table[7].ctl_name') ar: fs/devpts/built-in.o: No such file or directory kernel/sysctl_check.c:184: error: 'NET_IPV4_ROUTE_REDIRECT_LOAD' undeclared here (not in a function) kernel/sysctl_check.c:184: error: initializer element is not constant kernel/sysctl_check.c:184: error: (near initialization for 'trans_net_ipv4_route_table[8].ctl_name') kernel/sysctl_check.c:185: error: 'NET_IPV4_ROUTE_REDIRECT_NUMBER' undeclared here (not in a function) kernel/sysctl_check.c:185: error: initializer element is not constant kernel/sysctl_check.c:185: error: (near initialization for 'trans_net_ipv4_route_table[9].ctl_name') kernel/sysctl_check.c:186: error: 'NET_IPV4_ROUTE_REDIRECT_SILENCE' undeclared here (not in a function) kernel/sysctl_check.c:186: error: initializer element is not constant kernel/sysctl_check.c:186: error: (near initialization for 'trans_net_ipv4_route_table[10].ctl_name') kernel/sysctl_check.c:187: error: 'NET_IPV4_ROUTE_ERROR_COST' undeclared here (not in a function) kernel/sysctl_check.c:187: error: initializer element is not constant kernel/sysctl_check.c:187: error: (near initialization for 'trans_net_ipv4_route_table[11].ctl_name') kernel/sysctl_check.c:188: error: 'NET_IPV4_ROUTE_ERROR_BURST' undeclared here (not in a function) kernel/sysctl_check.c:188: error: initializer element is not constant kernel/sysctl_check.c:188: error: (near initialization for 'trans_net_ipv4_route_table[12].ctl_name') make[2]: kernel/sysctl_check.c:189: error: 'NET_IPV4_ROUTE_GC_ELASTICITY' undeclared here (not in a function) *** [kernel/irq/handle.o] Error 1kernel/sysctl_check.c:189: error: initializer element is not constant kernel/sysctl_check.c:189: error: (near initialization for 'trans_net_ipv4_route_table[13].ctl_name') kernel/sysctl_check.c:190: error: 'NET_IPV4_ROUTE_MTU_EXPIRES' undeclared here (not in a function) kernel/sysctl_check.c:190: error: initializer element is not constant kernel/sysctl_check.c:190: error: (near initialization for 'trans_net_ipv4_route_table[14].ctl_name') kernel/sysctl_check.c:191: error: 'NET_IPV4_ROUTE_MIN_PMTU' undeclared here (not in a function) kernel/sysctl_check.c:191: error: initializer element is not constant kernel/sysctl_check.c:191: error: (near initialization for 'trans_net_ipv4_route_table[15].ctl_name') kernel/sysctl_check.c:192: error: 'NET_IPV4_ROUTE_MIN_ADVMSS' undeclared here (not in a function) kernel/sysctl_check.c:192: error: initializer element is not constant kernel/sysctl_check.c:192: error: (near initialization for 'trans_net_ipv4_route_table[16].ctl_name') kernel/sysctl_check.c:193: error: 'NET_IPV4_ROUTE_SECRET_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:193: error: initializer element is not constant kernel/sysctl_check.c:193: error: (near initialization for 'trans_net_ipv4_route_table[17].ctl_name') kernel/sysctl_check.c:194: error: 'NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS' undeclared here (not in a function) kernel/sysctl_check.c:194: error: initializer element is not constant kernel/sysctl_check.c:194: error: (near initialization for 'trans_net_ipv4_route_table[18].ctl_name') kernel/sysctl_check.c:199: error: 'NET_IPV4_CONF_FORWARDING' undeclared here (not in a function) kernel/sysctl_check.c:199: error: initializer element is not constant kernel/sysctl_check.c:199: error: (near initialization for 'trans_net_ipv4_conf_vars_table[0].ctl_name') kernel/sysctl_check.c:200: error: 'NET_IPV4_CONF_MC_FORWARDING' undeclared here (not in a function) kernel/sysctl_check.c:200: error: initializer element is not constant kernel/sysctl_check.c:200: error: (near initialization for 'trans_net_ipv4_conf_vars_table[1].ctl_name') kernel/sysctl_check.c:202: error: 'NET_IPV4_CONF_PROXY_ARP' undeclared here (not in a function) kernel/sysctl_check.c:202: error: initializer element is not constant kernel/sysctl_check.c:202: error: (near initialization for 'trans_net_ipv4_conf_vars_table[2].ctl_name') kernel/sysctl_check.c:203: error: 'NET_IPV4_CONF_ACCEPT_REDIRECTS' undeclared here (not in a function) kernel/sysctl_check.c:203: error: initializer element is not constant kernel/sysctl_check.c:203: error: (near initialization for 'trans_net_ipv4_conf_vars_table[3].ctl_name') kernel/sysctl_check.c:204: error: 'NET_IPV4_CONF_SECURE_REDIRECTS' undeclared here (not in a function) kernel/sysctl_check.c:204: error: initializer element is not constant kernel/sysctl_check.c:204: error: (near initialization for 'trans_net_ipv4_conf_vars_table[4].ctl_name') kernel/sysctl_check.c:205: error: 'NET_IPV4_CONF_SEND_REDIRECTS' undeclared here (not in a function) kernel/sysctl_check.c:205: error: initializer element is not constant kernel/sysctl_check.c:205: error: (near initialization for 'trans_net_ipv4_conf_vars_table[5].ctl_name') kernel/sysctl_check.c:206: error: 'NET_IPV4_CONF_SHARED_MEDIA' undeclared here (not in a function) kernel/sysctl_check.c:206: error: initializer element is not constant kernel/sysctl_check.c:206: error: (near initialization for 'trans_net_ipv4_conf_vars_table[6].ctl_name') kernel/sysctl_check.c:207: error: 'NET_IPV4_CONF_RP_FILTER' undeclared here (not in a function) kernel/sysctl_check.c:207: error: initializer element is not constant kernel/sysctl_check.c:207: error: (near initialization for 'trans_net_ipv4_conf_vars_table[7].ctl_name') kernel/sysctl_check.c:208: error: 'NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE' undeclared here (not in a function) kernel/sysctl_check.c:208: error: initializer element is not constant kernel/sysctl_check.c:208: error: (near initialization for 'trans_net_ipv4_conf_vars_table[8].ctl_name') kernel/sysctl_check.c:209: error: 'NET_IPV4_CONF_BOOTP_RELAY' undeclared here (not in a function) kernel/sysctl_check.c:209: error: initializer element is not constant kernel/sysctl_check.c:209: error: (near initialization for 'trans_net_ipv4_conf_vars_table[9].ctl_name') kernel/sysctl_check.c:210: error: 'NET_IPV4_CONF_LOG_MARTIANS' undeclared here (not in a function) kernel/sysctl_check.c:210: error: initializer element is not constant kernel/sysctl_check.c:210: error: (near initialization for 'trans_net_ipv4_conf_vars_table[10].ctl_name') kernel/sysctl_check.c:211: error: 'NET_IPV4_CONF_TAG' undeclared here (not in a function) kernel/sysctl_check.c:211: error: initializer element is not constant kernel/sysctl_check.c:211: error: (near initialization for 'trans_net_ipv4_conf_vars_table[11].ctl_name') kernel/sysctl_check.c:212: error: 'NET_IPV4_CONF_ARPFILTER' undeclared here (not in a function) kernel/sysctl_check.c:212: error: initializer element is not constant kernel/sysctl_check.c:212: error: (near initialization for 'trans_net_ipv4_conf_vars_table[12].ctl_name') kernel/sysctl_check.c:213: error: 'NET_IPV4_CONF_MEDIUM_ID' undeclared here (not in a function) kernel/sysctl_check.c:213: error: initializer element is not constant kernel/sysctl_check.c:213: error: (near initialization for 'trans_net_ipv4_conf_vars_table[13].ctl_name') kernel/sysctl_check.c:214: error: 'NET_IPV4_CONF_NOXFRM' undeclared here (not in a function) kernel/sysctl_check.c:214: error: initializer element is not constant kernel/sysctl_check.c:214: error: (near initialization for 'trans_net_ipv4_conf_vars_table[14].ctl_name') kernel/sysctl_check.c:215: error: 'NET_IPV4_CONF_NOPOLICY' undeclared here (not in a function) kernel/sysctl_check.c:215: error: initializer element is not constant kernel/sysctl_check.c:215: error: (near initialization for 'trans_net_ipv4_conf_vars_table[15].ctl_name') kernel/sysctl_check.c:216: error: 'NET_IPV4_CONF_FORCE_IGMP_VERSION' undeclared here (not in a function) kernel/sysctl_check.c:216: error: initializer element is not constant kernel/sysctl_check.c:216: error: (near initialization for 'trans_net_ipv4_conf_vars_table[16].ctl_name') kernel/sysctl_check.c:218: error: 'NET_IPV4_CONF_ARP_ANNOUNCE' undeclared here (not in a function) kernel/sysctl_check.c:218: error: initializer element is not constant kernel/sysctl_check.c:218: error: (near initialization for 'trans_net_ipv4_conf_vars_table[17].ctl_name') kernel/sysctl_check.c:219: error: 'NET_IPV4_CONF_ARP_IGNORE' undeclared here (not in a function) kernel/sysctl_check.c:219: error: initializer element is not constant kernel/sysctl_check.c:219: error: (near initialization for 'trans_net_ipv4_conf_vars_table[18].ctl_name') kernel/sysctl_check.c:220: error: 'NET_IPV4_CONF_PROMOTE_SECONDARIES' undeclared here (not in a function) kernel/sysctl_check.c:220: error: initializer element is not constant kernel/sysctl_check.c:220: error: (near initialization for 'trans_net_ipv4_conf_vars_table[19].ctl_name') kernel/sysctl_check.c:221: error: 'NET_IPV4_CONF_ARP_ACCEPT' undeclared here (not in a function) kernel/sysctl_check.c:221: error: initializer element is not constant kernel/sysctl_check.c:221: error: (near initialization for 'trans_net_ipv4_conf_vars_table[20].ctl_name') kernel/sysctl_check.c:226: error: 'NET_PROTO_CONF_ALL' undeclared here (not in a function) kernel/sysctl_check.c:226: error: initializer element is not constant kernel/sysctl_check.c:226: error: (near initialization for 'trans_net_ipv4_conf_table[0].ctl_name') kernel/sysctl_check.c:227: error: 'NET_PROTO_CONF_DEFAULT' undeclared here (not in a function) kernel/sysctl_check.c:227: error: initializer element is not constant kernel/sysctl_check.c:227: error: (near initialization for 'trans_net_ipv4_conf_table[1].ctl_name') kernel/sysctl_check.c:228: error: 'NULL' undeclared here (not in a function) kernel/sysctl_check.c:228: error: initializer element is not constant kernel/sysctl_check.c:228: error: (near initialization for 'trans_net_ipv4_conf_table[2].procname') kernel/sysctl_check.c:233: error: 'NET_NEIGH_MCAST_SOLICIT' undeclared here (not in a function) kernel/sysctl_check.c:233: error: initializer element is not constant kernel/sysctl_check.c:233: error: (near initialization for 'trans_net_neigh_vars_table[0].ctl_name') kernel/sysctl_check.c:234: error: 'NET_NEIGH_UCAST_SOLICIT' undeclared here (not in a function) kernel/sysctl_check.c:234: error: initializer element is not constant kernel/sysctl_check.c:234: error: (near initialization for 'trans_net_neigh_vars_table[1].ctl_name') kernel/sysctl_check.c:235: error: 'NET_NEIGH_APP_SOLICIT' undeclared here (not in a function) kernel/sysctl_check.c:235: error: initializer element is not constant kernel/sysctl_check.c:235: error: (near initialization for 'trans_net_neigh_vars_table[2].ctl_name') kernel/sysctl_check.c:236: error: 'NET_NEIGH_RETRANS_TIME' undeclared here (not in a function) kernel/sysctl_check.c:236: error: initializer element is not constant kernel/sysctl_check.c:236: error: (near initialization for 'trans_net_neigh_vars_table[3].ctl_name') kernel/sysctl_check.c:237: error: 'NET_NEIGH_REACHABLE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:237: error: initializer element is not constant kernel/sysctl_check.c:237: error: (near initialization for 'trans_net_neigh_vars_table[4].ctl_name') kernel/sysctl_check.c:238: error: 'NET_NEIGH_DELAY_PROBE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:238: error: initializer element is not constant kernel/sysctl_check.c:238: error: (near initialization for 'trans_net_neigh_vars_table[5].ctl_name') kernel/sysctl_check.c:239: error: 'NET_NEIGH_GC_STALE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:239: error: initializer element is not constant kernel/sysctl_check.c:239: error: (near initialization for 'trans_net_neigh_vars_table[6].ctl_name') kernel/sysctl_check.c:240: error: 'NET_NEIGH_UNRES_QLEN' undeclared here (not in a function) kernel/sysctl_check.c:240: error: initializer element is not constant kernel/sysctl_check.c:240: error: (near initialization for 'trans_net_neigh_vars_table[7].ctl_name') kernel/sysctl_check.c:241: error: 'NET_NEIGH_PROXY_QLEN' undeclared here (not in a function) kernel/sysctl_check.c:241: error: initializer element is not constant kernel/sysctl_check.c:241: error: (near initialization for 'trans_net_neigh_vars_table[8].ctl_name') CC kernel/irq/manage.o make[2]: *** [fs/devpts/built-in.o] Error 1 cc1: error: include/linux/autoconf.h: No such file or directory kernel/time/timekeeping.c:11:26: error: linux/module.h: No such file or directory kernel/time/timekeeping.c:12:29: error: linux/interrupt.h: No such file or directory kernel/time/timekeeping.c:13:26: error: linux/percpu.h: No such file or directory kernel/time/timekeeping.c:14:24: error: linux/init.h: No such file or directory kernel/time/timekeeping.c:15:22: error: linux/mm.h: No such file or directory kernel/time/timekeeping.c:16:26: error: linux/sysdev.h: No such file or directory kernel/time/timekeeping.c:17:31: error: linux/clocksource.h: No such file or directory kernel/time/timekeeping.c:18:27: error: linux/jiffies.h: No such file or directory kernel/time/timekeeping.c:19:24: error: linux/time.h: No such file or directory kernel/time/timekeeping.c:20:24: error: linux/tick.h: No such file or directory /bin/sh: fs/devpts/modules.order: No such file or directory kernel/time/timekeeping.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DEFINE_SEQLOCK' kernel/time/timekeeping.c:50: error: expected ')' before 'nsec' make[2]: *** [fs/devpts/modules.order] Error 1 make[2]: Target `__build' not remade because of errors. kernel/sysctl_check.c:242: error: 'NET_NEIGH_ANYCAST_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:242: error: initializer element is not constant kernel/sysctl_check.c:242: error: (near initialization for 'trans_net_neigh_vars_table[9].ctl_name') kernel/sysctl_check.c:243: error: 'NET_NEIGH_PROXY_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:243: error: initializer element is not constant kernel/sysctl_check.c:243: error: (near initialization for 'trans_net_neigh_vars_table[10].ctl_name') kernel/sysctl_check.c:244: error: 'NET_NEIGH_LOCKTIME' undeclared here (not in a function) kernel/sysctl_check.c:244: error: initializer element is not constant kernel/sysctl_check.c:244: error: (near initialization for 'trans_net_neigh_vars_table[11].ctl_name') kernel/sysctl_check.c:245: error: 'NET_NEIGH_GC_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:245: error: initializer element is not constant kernel/sysctl_check.c:245: error: (near initialization for 'trans_net_neigh_vars_table[12].ctl_name') kernel/sysctl_check.c:246: error: 'NET_NEIGH_GC_THRESH1' undeclared here (not in a function) kernel/sysctl_check.c:246: error: initializer element is not constant kernel/sysctl_check.c:246: error: (near initialization for 'trans_net_neigh_vars_table[13].ctl_name') kernel/sysctl_check.c:247: error: 'NET_NEIGH_GC_THRESH2' undeclared here (not in a function) kernel/sysctl_check.c:247: error: initializer element is not constant kernel/sysctl_check.c:247: error: (near initialization for 'trans_net_neigh_vars_table[14].ctl_name') kernel/sysctl_check.c:248: error: 'NET_NEIGH_GC_THRESH3' undeclared here (not in a function) kernel/sysctl_check.c:248: error: initializer element is not constant kernel/sysctl_check.c:248: error: (near initialization for 'trans_net_neigh_vars_table[15].ctl_name') kernel/sysctl_check.c:249: error: 'NET_NEIGH_RETRANS_TIME_MS' undeclared here (not in a function) kernel/sysctl_check.c:249: error: initializer element is not constant kernel/sysctl_check.c:249: error: (near initialization for 'trans_net_neigh_vars_table[16].ctl_name') kernel/sysctl_check.c:250: error: 'NET_NEIGH_REACHABLE_TIME_MS' undeclared here (not in a function) kernel/sysctl_check.c:250: error: initializer element is not constant kernel/sysctl_check.c:250: error: (near initialization for 'trans_net_neigh_vars_table[17].ctl_name') kernel/sysctl_check.c:255: error: initializer element is not constant kernel/sysctl_check.c:255: error: (near initialization for 'trans_net_neigh_table[0].ctl_name') kernel/sysctl_check.c:256: error: initializer element is not constant kernel/sysctl_check.c:256: error: (near initialization for 'trans_net_neigh_table[1].procname') kernel/sysctl_check.c:261: error: 'NET_IPV4_NF_CONNTRACK_MAX' undeclared here (not in a function) kernel/sysctl_check.c:261: error: initializer element is not constant kernel/sysctl_check.c:261: error: (near initialization for 'trans_net_ipv4_netfilter_table[0].ctl_name') kernel/sysctl_check.c:263: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT' undeclared here (not in a function) kernel/sysctl_check.c:263: error: initializer element is not constant kernel/sysctl_check.c:263: error: (near initialization for 'trans_net_ipv4_netfilter_table[1].ctl_name') kernel/sysctl_check.c:264: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV' undeclared here (not in a function) kernel/sysctl_check.c:264: error: initializer element is not constant kernel/sysctl_check.c:264: error: (near initialization for 'trans_net_ipv4_netfilter_table[2].ctl_name') kernel/sysctl_check.c:265: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED' undeclared here (not in a function) kernel/sysctl_check.c:265: error: initializer element is not constant kernel/sysctl_check.c:265: error: (near initialization for 'trans_net_ipv4_netfilter_table[3].ctl_name') kernel/sysctl_check.c:266: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:266: error: initializer element is not constant kernel/sysctl_check.c:266: error: (near initialization for 'trans_net_ipv4_netfilter_table[4].ctl_name') kernel/sysctl_check.c:267: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:267: error: initializer element is not constant kernel/sysctl_check.c:267: error: (near initialization for 'trans_net_ipv4_netfilter_table[5].ctl_name') kernel/sysctl_check.c:268: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK' undeclared here (not in a function) kernel/sysctl_check.c:268: error: initializer element is not constant kernel/sysctl_check.c:268: error: (near initialization for 'trans_net_ipv4_netfilter_table[6].ctl_name') kernel/sysctl_check.c:269: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:269: error: initializer element is not constant kernel/sysctl_check.c:269: error: (near initialization for 'trans_net_ipv4_netfilter_table[7].ctl_name') kernel/sysctl_check.c:270: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE' undeclared here (not in a function) kernel/sysctl_check.c:270: error: initializer element is not constant kernel/sysctl_check.c:270: error: (near initialization for 'trans_net_ipv4_netfilter_table[8].ctl_name') kernel/sysctl_check.c:272: error: 'NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:272: error: initializer element is not constant kernel/sysctl_check.c:272: error: (near initialization for 'trans_net_ipv4_netfilter_table[9].ctl_name') kernel/sysctl_check.c:273: error: 'NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM' undeclared here (not in a function) kernel/sysctl_check.c:273: error: initializer element is not constant kernel/sysctl_check.c:273: error: (near initialization for 'trans_net_ipv4_netfilter_table[10].ctl_name') kernel/sysctl_check.c:274: error: 'NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:274: error: initializer element is not constant kernel/sysctl_check.c:274: error: (near initialization for 'trans_net_ipv4_netfilter_table[11].ctl_name') kernel/sysctl_check.c:275: error: 'NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:275: error: initializer element is not constant kernel/sysctl_check.c:275: error: (near initialization for 'trans_net_ipv4_netfilter_table[12].ctl_name') kernel/sysctl_check.c:277: error: 'NET_IPV4_NF_CONNTRACK_BUCKETS' undeclared here (not in a function) kernel/sysctl_check.c:277: error: initializer element is not constant kernel/sysctl_check.c:277: error: (near initialization for 'trans_net_ipv4_netfilter_table[13].ctl_name') kernel/sysctl_check.c:278: error: 'NET_IPV4_NF_CONNTRACK_LOG_INVALID' undeclared here (not in a function) kernel/sysctl_check.c:278: error: initializer element is not constant kernel/sysctl_check.c:278: error: (near initialization for 'trans_net_ipv4_netfilter_table[14].ctl_name') kernel/sysctl_check.c:279: error: 'NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS' undeclared here (not in a function) kernel/sysctl_check.c:279: error: initializer element is not constant kernel/sysctl_check.c:279: error: (near initialization for 'trans_net_ipv4_netfilter_table[15].ctl_name') kernel/sysctl_check.c:280: error: 'NET_IPV4_NF_CONNTRACK_TCP_LOOSE' undeclared here (not in a function) kernel/sysctl_check.c:280: error: initializer element is not constant kernel/sysctl_check.c:280: error: (near initialization for 'trans_net_ipv4_netfilter_table[16].ctl_name') kernel/sysctl_check.c:281: error: 'NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL' undeclared here (not in a function) kernel/sysctl_check.c:281: error: initializer element is not constant kernel/sysctl_check.c:281: error: (near initialization for 'trans_net_ipv4_netfilter_table[17].ctl_name') kernel/sysctl_check.c:282: error: 'NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS' undeclared here (not in a function) kernel/sysctl_check.c:282: error: initializer element is not constant kernel/sysctl_check.c:282: error: (near initialization for 'trans_net_ipv4_netfilter_table[18].ctl_name') kernel/sysctl_check.c:284: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED' undeclared here (not in a function) kernel/sysctl_check.c:284: error: initializer element is not constant kernel/sysctl_check.c:284: error: (near initialization for 'trans_net_ipv4_netfilter_table[19].ctl_name') kernel/sysctl_check.c:285: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:285: error: initializer element is not constant kernel/sysctl_check.c:285: error: (near initialization for 'trans_net_ipv4_netfilter_table[20].ctl_name') kernel/sysctl_check.c:286: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED' undeclared here (not in a function) kernel/sysctl_check.c:286: error: initializer element is not constant kernel/sysctl_check.c:286: error: (near initialization for 'trans_net_ipv4_netfilter_table[21].ctl_name') kernel/sysctl_check.c:287: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED' undeclared here (not in a function) kernel/sysctl_check.c:287: error: initializer element is not constant kernel/sysctl_check.c:287: error: (near initialization for 'trans_net_ipv4_netfilter_table[22].ctl_name') kernel/sysctl_check.c:288: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT' undeclared here (not in a function) kernel/sysctl_check.c:288: error: initializer element is not constant kernel/sysctl_check.c:288: error: (near initialization for 'trans_net_ipv4_netfilter_table[23].ctl_name') kernel/sysctl_check.c:289: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD' undeclared here (not in a function) kernel/sysctl_check.c:289: error: initializer element is not constant kernel/sysctl_check.c:289: error: (near initialization for 'trans_net_ipv4_netfilter_table[24].ctl_name') kernel/sysctl_check.c:290: error: 'NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT' undeclared here (not in a function) kernel/sysctl_check.c:290: error: initializer element is not constant kernel/sysctl_check.c:290: error: (near initialization for 'trans_net_ipv4_netfilter_table[25].ctl_name') kernel/sysctl_check.c:292: error: 'NET_IPV4_NF_CONNTRACK_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:292: error: initializer element is not constant kernel/sysctl_check.c:292: error: (near initialization for 'trans_net_ipv4_netfilter_table[26].ctl_name') kernel/sysctl_check.c:293: error: 'NET_IPV4_NF_CONNTRACK_CHECKSUM' undeclared here (not in a function) kernel/sysctl_check.c:293: error: initializer element is not constantkernel/time/timekeeping.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__get_nsec_offset'make[1]: *** [fs/devpts] Error 2 mm/shmem.c:2457: warning: excess elements in struct initializer mm/shmem.c:2457: warning: (near initialization for 'tmpfs_fs_type') mm/shmem.c:2458: error: unknown field 'name' specified in initializer mm/shmem.c:2458: warning: excess elements in struct initializer mm/shmem.c:2458: warning: (near initialization for 'tmpfs_fs_type') mm/shmem.c:2459: error: unknown field 'get_sb' specified in initializer mm/shmem.c:2459: warning: excess elements in struct initializer mm/shmem.c:2459: warning: (near initialization for 'tmpfs_fs_type') LD fs/partitions/built-in.o mm/shmem.c:2460: error: unknown field 'kill_sb' specified in initializer mm/shmem.c:2460: error: 'kill_litter_super' undeclared here (not in a function) mm/shmem.c:2460: warning: excess elements in struct initializer mm/shmem.c:2460: warning: (near initialization for 'tmpfs_fs_type') mm/shmem.c:2464: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_tmpfs' mm/shmem.c:2509: warning: return type defaults to 'int' mm/shmem.c:2509: warning: function declaration isn't a prototype mm/shmem.c: In function 'module_init': mm/shmem.c:2509: error: expected declaration specifiers or '...' before 'loff_t' mm/shmem.c:2510: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/shmem.c:2566: warning: 'struct vm_area_struct' declared inside parameter list mm/shmem.c:2567: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token mm/shmem.c:2580: error: expected '{' at end of input kernel/sysctl_check.c:293: error: (near initialization for 'trans_net_ipv4_netfilter_table[27].ctl_name') kernel/sysctl_check.c:298: error: 'NET_IPV4_FORWARD' undeclared here (not in a function) kernel/sysctl_check.c:298: error: initializer element is not constant kernel/sysctl_check.c:298: error: (near initialization for 'trans_net_ipv4_table[0].ctl_name') kernel/sysctl_check.c:299: error: 'NET_IPV4_DYNADDR' undeclared here (not in a function) kernel/sysctl_check.c:299: error: initializer element is not constant kernel/sysctl_check.c:299: error: (near initialization for 'trans_net_ipv4_table[1].ctl_name') kernel/sysctl_check.c:301: error: 'NET_IPV4_CONF' undeclared here (not in a function) kernel/sysctl_check.c:301: error: initializer element is not constant kernel/sysctl_check.c:301: error: (near initialization for 'trans_net_ipv4_table[2].ctl_name') kernel/sysctl_check.c:302: error: 'NET_IPV4_NEIGH' undeclared here (not in a function) kernel/sysctl_check.c:302: error: initializer element is not constant kernel/sysctl_check.c:302: error: (near initialization for 'trans_net_ipv4_table[3].ctl_name') kernel/sysctl_check.c:303: error: 'NET_IPV4_ROUTE' undeclared here (not in a function) kernel/sysctl_check.c:303: error: initializer element is not constant kernel/sysctl_check.c:303: error: (near initialization for 'trans_net_ipv4_table[4].ctl_name') kernel/sysctl_check.c:305: error: 'NET_IPV4_NETFILTER' undeclared here (not in a function) kernel/sysctl_check.c:305: error: initializer element is not constant kernel/sysctl_check.c:305: error: (near initialization for 'trans_net_ipv4_table[5].ctl_name') kernel/sysctl_check.c:307: error: 'NET_IPV4_TCP_TIMESTAMPS' undeclared here (not in a function) kernel/sysctl_check.c:307: error: initializer element is not constant kernel/sysctl_check.c:307: error: (near initialization for 'trans_net_ipv4_table[6].ctl_name') kernel/sysctl_check.c:308: error: 'NET_IPV4_TCP_WINDOW_SCALING' undeclared here (not in a function) kernel/sysctl_check.c:308: error: initializer element is not constant kernel/sysctl_check.c:308: error: (near initialization for 'trans_net_ipv4_table[7].ctl_name') kernel/sysctl_check.c:309: error: 'NET_IPV4_TCP_SACK' undeclared here (not in a function) kernel/sysctl_check.c:309: error: initializer element is not constant kernel/sysctl_check.c:309: error: (near initialization for 'trans_net_ipv4_table[8].ctl_name') kernel/sysctl_check.c:310: error: 'NET_IPV4_TCP_RETRANS_COLLAPSE' undeclared here (not in a function) kernel/sysctl_check.c:310: error: initializer element is not constant kernel/sysctl_check.c:310: error: (near initialization for 'trans_net_ipv4_table[9].ctl_name') kernel/sysctl_check.c:311: error: 'NET_IPV4_DEFAULT_TTL' undeclared here (not in a function) kernel/sysctl_check.c:311: error: initializer element is not constant kernel/sysctl_check.c:311: error: (near initialization for 'trans_net_ipv4_table[10].ctl_name') kernel/sysctl_check.c:313: error: 'NET_IPV4_NO_PMTU_DISC' undeclared here (not in a function) kernel/sysctl_check.c:313: error: initializer element is not constant kernel/sysctl_check.c:313: error: (near initialization for 'trans_net_ipv4_table[11].ctl_name') kernel/sysctl_check.c:314: error: 'NET_IPV4_TCP_SYN_RETRIES' undeclared here (not in a function) kernel/sysctl_check.c:314: error: initializer element is not constant kernel/sysctl_check.c:314: error: (near initialization for 'trans_net_ipv4_table[12].ctl_name') kernel/sysctl_check.c:315: error: 'NET_IPV4_IPFRAG_HIGH_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:315: error: initializer element is not constant kernel/sysctl_check.c:315: error: (near initialization for 'trans_net_ipv4_table[13].ctl_name') kernel/sysctl_check.c:316: error: 'NET_IPV4_IPFRAG_LOW_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:316: error: initializer element is not constant kernel/sysctl_check.c:316: error: (near initialization for 'trans_net_ipv4_table[14].ctl_name') kernel/sysctl_check.c:317: error: 'NET_IPV4_IPFRAG_TIME' undeclared here (not in a function) kernel/sysctl_check.c:317: error: initializer element is not constant kernel/sysctl_check.c:317: error: (near initialization for 'trans_net_ipv4_table[15].ctl_name') kernel/sysctl_check.c:319: error: 'NET_IPV4_TCP_KEEPALIVE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:319: error: initializer element is not constant kernel/sysctl_check.c:319: error: (near initialization for 'trans_net_ipv4_table[16].ctl_name') kernel/sysctl_check.c:320: error: 'NET_IPV4_TCP_KEEPALIVE_PROBES' undeclared here (not in a function) kernel/sysctl_check.c:320: error: initializer element is not constant kernel/sysctl_check.c:320: error: (near initialization for 'trans_net_ipv4_table[17].ctl_name') kernel/sysctl_check.c:321: error: 'NET_IPV4_TCP_RETRIES1' undeclared here (not in a function) kernel/sysctl_check.c:321: error: initializer element is not constant kernel/sysctl_check.c:321: error: (near initialization for 'trans_net_ipv4_table[18].ctl_name') kernel/sysctl_check.c:322: error: 'NET_IPV4_TCP_RETRIES2' undeclared here (not in a function) kernel/sysctl_check.c:322: error: initializer element is not constant kernel/sysctl_check.c:322: error: (near initialization for 'trans_net_ipv4_table[19].ctl_name') kernel/sysctl_check.c:323: error: 'NET_IPV4_TCP_FIN_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:323: error: initializer element is not constant kernel/sysctl_check.c:323: error: (near initialization for 'trans_net_ipv4_table[20].ctl_name') kernel/sysctl_check.c:325: error: 'NET_TCP_SYNCOOKIES' undeclared here (not in a function) kernel/sysctl_check.c:325: error: initializer element is not constant kernel/sysctl_check.c:325: error: (near initialization for 'trans_net_ipv4_table[21].ctl_name') kernel/sysctl_check.c:326: error: 'NET_TCP_STDURG' undeclared here (not in a function) kernel/sysctl_check.c:326: error: initializer element is not constant kernel/sysctl_check.c:326: error: (near initialization for 'trans_net_ipv4_table[22].ctl_name') kernel/sysctl_check.c:327: error: 'NET_TCP_RFC1337' undeclared here (not in a function) kernel/sysctl_check.c:327: error: initializer element is not constant kernel/sysctl_check.c:327: error: (near initialization for 'trans_net_ipv4_table[23].ctl_name') kernel/sysctl_check.c:329: error: 'NET_TCP_MAX_SYN_BACKLOG' undeclared here (not in a function) kernel/sysctl_check.c:329: error: initializer element is not constant kernel/sysctl_check.c:329: error: (near initialization for 'trans_net_ipv4_table[24].ctl_name') kernel/sysctl_check.c:330: error: 'NET_IPV4_LOCAL_PORT_RANGE' undeclared here (not in a function) kernel/sysctl_check.c:330: error: initializer element is not constant kernel/sysctl_check.c:330: error: (near initialization for 'trans_net_ipv4_table[25].ctl_name') kernel/sysctl_check.c:331: error: 'NET_IPV4_ICMP_ECHO_IGNORE_ALL' undeclared here (not in a function) kernel/sysctl_check.c:331: error: initializer element is not constant kernel/sysctl_check.c:331: error: (near initialization for 'trans_net_ipv4_table[26].ctl_name') kernel/sysctl_check.c:332: error: 'NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS' undeclared here (not in a function) kernel/sysctl_check.c:332: error: initializer element is not constant kernel/sysctl_check.c:332: error: (near initialization for 'trans_net_ipv4_table[27].ctl_name') kernel/sysctl_check.c:338: error: 'NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES' undeclared here (not in a function) kernel/sysctl_check.c:338: error: initializer element is not constant kernel/sysctl_check.c:338: error: (near initialization for 'trans_net_ipv4_table[28].ctl_name') kernel/sysctl_check.c:339: error: 'NET_IPV4_IGMP_MAX_MEMBERSHIPS' undeclared here (not in a function) kernel/sysctl_check.c:339: error: initializer element is not constant kernel/sysctl_check.c:339: error: (near initialization for 'trans_net_ipv4_table[29].ctl_name') kernel/sysctl_check.c:340: error: 'NET_TCP_TW_RECYCLE' undeclared here (not in a function) kernel/sysctl_check.c:340: error: initializer element is not constant kernel/sysctl_check.c:340: error: (near initialization for 'trans_net_ipv4_table[30].ctl_name') kernel/sysctl_check.c:342: error: 'NET_IPV4_TCP_KEEPALIVE_INTVL' undeclared here (not in a function) kernel/sysctl_check.c:342: error: initializer element is not constant kernel/sysctl_check.c:342: error: (near initialization for 'trans_net_ipv4_table[31].ctl_name') kernel/sysctl_check.c:343: error: 'NET_IPV4_INET_PEER_THRESHOLD' undeclared here (not in a function) kernel/sysctl_check.c:343: error: initializer element is not constant kernel/sysctl_check.c:343: error: (near initialization for 'trans_net_ipv4_table[32].ctl_name') kernel/sysctl_check.c:344: error: 'NET_IPV4_INET_PEER_MINTTL' undeclared here (not in a function) kernel/sysctl_check.c:344: error: initializer element is not constant kernel/sysctl_check.c:344: error: (near initialization for 'trans_net_ipv4_table[33].ctl_name') kernel/sysctl_check.c:345: error: 'NET_IPV4_INET_PEER_MAXTTL' undeclared here (not in a function) kernel/time/timekeeping.c: In function 'timekeeping_valid_for_hres': kernel/time/timekeeping.c:216: error: implicit declaration of function 'read_seqbegin' kernel/time/timekeeping.c:216: error: 'xtime_lock' undeclared (first use in this function) kernel/time/timekeeping.c:216: error: (Each undeclared identifier is reported only once kernel/time/timekeeping.c:216: error: for each function it appears in.) kernel/time/timekeeping.c:218: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:218: error: 'CLOCK_SOURCE_VALID_FOR_HRES' undeclared (first use in this function) kernel/time/timekeeping.c:220: error: implicit declaration of function 'read_seqretry' cc1: error: include/linux/autoconf.h: No such file or directory kernel/irq/manage.c:10:23: error: linux/irq.h: No such file or directory kernel/irq/manage.c:11:26: error: linux/module.h: No such file or directory kernel/irq/manage.c:12:26: error: linux/random.h: No such file or directory kernel/irq/manage.c:13:29: error: linux/interrupt.h: No such file or directory kernel/irq/manage.c:14:24: error: linux/slab.h: No such file or directory kernel/sysctl_check.c:345: error: initializer element is not constantkernel/time/timekeeping.c: At top level: In file included from kernel/irq/manage.c:16: kernel/irq/internals.h:8: warning: 'struct irq_chip' declared inside parameter list kernel/time/timekeeping.c:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timekeeping_init' kernel/irq/internals.h:8: warning: its scope is only this definition or declaration, which is probably not what you want kernel/irq/internals.h:11: warning: 'struct irq_desc' declared inside parameter list kernel/time/timekeeping.c:269: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timekeeping_suspend_nsecs' kernel/time/timekeeping.c:279: warning: 'struct sys_device' declared inside parameter list kernel/sysctl_check.c:345: error: (near initialization for 'trans_net_ipv4_table[34].ctl_name')kernel/time/timekeeping.c:279: warning: its scope is only this definition or declaration, which is probably not what you want kernel/irq/internals.h:20: warning: 'struct irqaction' declared inside parameter list kernel/time/timekeeping.c: In function 'timekeeping_resume': kernel/time/timekeeping.c:284: error: implicit declaration of function 'clocksource_resume' kernel/irq/internals.h:22: warning: 'struct irqaction' declared inside parameter list kernel/time/timekeeping.c:286: error: implicit declaration of function 'write_seqlock_irqsave' kernel/sysctl_check.c:346: error: 'NET_IPV4_INET_PEER_GC_MINTIME' undeclared here (not in a function)In file included from kernel/irq/manage.c:16: kernel/time/timekeeping.c:286: error: 'xtime_lock' undeclared (first use in this function) kernel/irq/internals.h:29:28: error: kernel/sysctl_check.c:346: error: initializer element is not constant linux/kallsyms.h: No such file or directory kernel/time/timekeeping.c:291: error: invalid use of undefined type 'struct timespec' kernel/sysctl_check.c:346: error: (near initialization for 'trans_net_ipv4_table[35].ctl_name')kernel/time/timekeeping.c:292: error: invalid use of undefined type 'struct timespec' kernel/irq/internals.h:33: warning: 'struct irq_desc' declared inside parameter list kernel/time/timekeeping.c:296: error: implicit declaration of function 'timespec_add_ns' kernel/irq/internals.h: In function 'print_irq_desc': kernel/irq/internals.h:35: error: implicit declaration of function 'printk' make[1]: *** [mm/shmem.o] Error 1 kernel/time/timekeeping.c:296: error: 'timekeeping_suspend_nsecs' undeclared (first use in this function) kernel/time/timekeeping.c:297: error: implicit declaration of function 'update_xtime_cache' kernel/time/timekeeping.c:299: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:300: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:300: error: implicit declaration of function 'clocksource_read' kernel/time/timekeeping.c:301: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:303: error: implicit declaration of function 'write_sequnlock_irqrestore' kernel/time/timekeeping.c:305: error: implicit declaration of function 'touch_softlockup_watchdog' kernel/time/timekeeping.c:307: error: implicit declaration of function 'clockevents_notify' kernel/time/timekeeping.c:307: error: 'CLOCK_EVT_NOTIFY_RESUME' undeclared (first use in this function) kernel/time/timekeeping.c:307: error: 'NULL' undeclared (first use in this function) kernel/time/timekeeping.c:310: error: implicit declaration of function 'hres_timers_resume' kernel/time/timekeeping.c: At top level: kernel/time/timekeeping.c:315: error: expected declaration specifiers or '...' before 'pm_message_t' kernel/time/timekeeping.c:315: warning: 'struct sys_device' declared inside parameter list kernel/time/timekeeping.c: In function 'timekeeping_suspend': kernel/time/timekeeping.c:321: error: 'xtime_lock' undeclared (first use in this function) kernel/time/timekeeping.c:323: error: 'timekeeping_suspend_nsecs' undeclared (first use in this function) kernel/time/timekeeping.c:323: error: implicit declaration of function '__get_nsec_offset' kernel/time/timekeeping.c:327: error: 'CLOCK_EVT_NOTIFY_SUSPEND' undeclared (first use in this function) kernel/time/timekeeping.c:327: error: 'NULL' undeclared (first use in this function) kernel/time/timekeeping.c: At top level: kernel/time/timekeeping.c:333: error: variable 'timekeeping_sysclass' has initializer but incomplete type kernel/time/timekeeping.c:334: error: unknown field 'name' specified in initializer kernel/time/timekeeping.c:334: warning: excess elements in struct initializer kernel/time/timekeeping.c:334: warning: (near initialization for 'timekeeping_sysclass') kernel/time/timekeeping.c:335: error: unknown field 'resume' specified in initializer kernel/time/timekeeping.c:335: warning: excess elements in struct initializer kernel/time/timekeeping.c:335: warning: (near initialization for 'timekeeping_sysclass') kernel/time/timekeeping.c:336: error: unknown field 'suspend' specified in initializer kernel/time/timekeeping.c:336: warning: excess elements in struct initializer kernel/time/timekeeping.c:336: warning: (near initialization for 'timekeeping_sysclass') kernel/time/timekeeping.c:339: error: variable 'device_timer' has initializer but incomplete type kernel/time/timekeeping.c:340: error: unknown field 'id' specified in initializer kernel/time/timekeeping.c:340: warning: excess elements in struct initializer kernel/time/timekeeping.c:340: warning: (near initialization for 'device_timer') kernel/time/timekeeping.c:341: error: unknown field 'cls' specified in initializer kernel/time/timekeeping.c:341: warning: excess elements in struct initializer kernel/time/timekeeping.c:341: warning: (near initialization for 'device_timer') kernel/time/timekeeping.c:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timekeeping_init_device' kernel/time/timekeeping.c:352: warning: data definition has no type or storage class kernel/time/timekeeping.c:352: warning: type defaults to 'int' in declaration of 'device_initcall' kernel/time/timekeeping.c:352: warning: parameter names (without types) in function declaration kernel/time/timekeeping.c:358: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' kernel/time/timekeeping.c:409: error: expected ')' before 'offset' kernel/time/timekeeping.c: In function 'update_wall_time': kernel/time/timekeeping.c:446: error: 'cycle_t' undeclared (first use in this function) kernel/time/timekeeping.c:446: error: expected ';' before 'offset' kernel/time/timekeeping.c:449: error: implicit declaration of function 'unlikely' kernel/time/timekeeping.c:455: error: 'offset' undeclared (first use in this function) kernel/time/timekeeping.c:455: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:457: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:457: error: 's64' undeclared (first use in this function) kernel/time/timekeeping.c:457: error: expected ';' before 'xtime' kernel/time/timekeeping.c:462: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:464: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:464: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:465: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:465: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:466: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:468: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:468: error: 'u64' undeclared (first use in this function) kernel/time/timekeeping.c:468: error: expected ')' before 'NSEC_PER_SEC' kernel/time/timekeeping.c:469: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:469: error: expected ';' before 'NSEC_PER_SEC' kernel/time/timekeeping.c:470: error: invalid use of undefined type 'struct timespec' kernel/time/timekeeping.c:471: error: implicit declaration of function 'second_overflow' kernel/time/timekeeping.c:475: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:475: error: 'tick_length' undeclared (first use in this function) kernel/time/timekeeping.c:476: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:476: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:476: error: 'NTP_SCALE_SHIFT' undeclared (first use in this function) kernel/time/timekeeping.c:476: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:480: error: implicit declaration of function 'clocksource_adjust' CC mm/slub.o kernel/sysctl_check.c:347: error: 'NET_IPV4_INET_PEER_GC_MAXTIME' undeclared here (not in a function) kernel/irq/internals.h:36: error: dereferencing pointer to incomplete typekernel/sysctl_check.c:347: error: initializer element is not constantkernel/time/timekeeping.c:483: error: invalid use of undefined type 'struct timespec' kernel/time/timekeeping.c:483: error: expected ';' before 'clock' kernel/irq/internals.h:36: error: dereferencing pointer to incomplete typekernel/time/timekeeping.c:484: error: dereferencing pointer to incomplete type kernel/irq/internals.h:36: error: dereferencing pointer to incomplete typekernel/time/timekeeping.c:484: error: expected ';' before 'xtime' kernel/time/timekeeping.c:486: error: implicit declaration of function 'cyc2ns' kernel/time/timekeeping.c:490: error: implicit declaration of function 'update_vsyscall' kernel/time/timekeeping.c: In function 'getboottime': kernel/time/timekeeping.c:506: error: implicit declaration of function 'set_normalized_timespec' kernel/time/timekeeping.c:507: error: invalid use of undefined type 'struct timespec' kernel/time/timekeeping.c:508: error: invalid use of undefined type 'struct timespec' kernel/time/timekeeping.c: In function 'monotonic_to_bootbased': kernel/time/timekeeping.c:517: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c: In function 'get_seconds': kernel/time/timekeeping.c:522: error: invalid use of undefined type 'struct timespec' kernel/time/timekeeping.c: At top level: kernel/time/timekeeping.c:524: warning: data definition has no type or storage class kernel/time/timekeeping.c:524: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/time/timekeeping.c:524: warning: parameter names (without types) in function declaration kernel/time/timekeeping.c:528: error: return type is an incomplete type kernel/sysctl_check.c:347: error: (near initialization for 'trans_net_ipv4_table[36].ctl_name') kernel/time/timekeeping.c: In function 'current_kernel_time': kernel/time/timekeeping.c:529: error: storage size of 'now' isn't known kernel/time/timekeeping.c:533: error: 'xtime_lock' undeclared (first use in this function) kernel/irq/internals.h:37: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c:538: warning: 'return' with a value, in function returning void kernel/irq/internals.h:38: error: implicit declaration of function 'print_symbol' kernel/time/timekeeping.c:529: warning: unused variable 'now' kernel/irq/internals.h:38: error: dereferencing pointer to incomplete type kernel/time/timekeeping.c: At top level: kernel/sysctl_check.c:348: error: 'NET_TCP_ORPHAN_RETRIES' undeclared here (not in a function) kernel/sysctl_check.c:348: error: initializer element is not constant kernel/irq/internals.h:39: error: dereferencing pointer to incomplete typekernel/sysctl_check.c:348: error: (near initialization for 'trans_net_ipv4_table[37].ctl_name') kernel/time/timekeeping.c:540: warning: data definition has no type or storage class kernel/sysctl_check.c:349: error: 'NET_TCP_ABORT_ON_OVERFLOW' undeclared here (not in a function) kernel/irq/internals.h:40: error: dereferencing pointer to incomplete typekernel/sysctl_check.c:349: error: initializer element is not constant kernel/time/timekeeping.c:540: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl_check.c:349: error: (near initialization for 'trans_net_ipv4_table[38].ctl_name') kernel/time/timekeeping.c:540: warning: parameter names (without types) in function declaration kernel/irq/internals.h:41: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:350: error: 'NET_TCP_SYNACK_RETRIES' undeclared here (not in a function) kernel/irq/internals.h:42: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:350: error: initializer element is not constant kernel/sysctl_check.c:350: error: (near initialization for 'trans_net_ipv4_table[39].ctl_name') kernel/irq/internals.h:43: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:351: error: 'NET_TCP_MAX_ORPHANS' undeclared here (not in a function) kernel/irq/internals.h:44: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:351: error: initializer element is not constant kernel/sysctl_check.c:351: error: (near initialization for 'trans_net_ipv4_table[40].ctl_name') kernel/irq/internals.h:47: error: dereferencing pointer to incomplete type kernel/irq/internals.h:47: error: 'IRQ_INPROGRESS' undeclared (first use in this function) kernel/sysctl_check.c:352: error: 'NET_TCP_MAX_TW_BUCKETS' undeclared here (not in a function) kernel/irq/internals.h:47: error: (Each undeclared identifier is reported only once kernel/sysctl_check.c:352: error: initializer element is not constant kernel/sysctl_check.c:352: error: (near initialization for 'trans_net_ipv4_table[41].ctl_name') kernel/irq/internals.h:47: error: for each function it appears in.) kernel/irq/internals.h:48: error: dereferencing pointer to incomplete type kernel/irq/internals.h:48: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/internals.h:49: error: dereferencing pointer to incomplete type kernel/irq/internals.h:49: error: 'IRQ_PENDING' undeclared (first use in this function) kernel/irq/internals.h:50: error: dereferencing pointer to incomplete type kernel/irq/internals.h:50: error: 'IRQ_REPLAY' undeclared (first use in this function) kernel/irq/internals.h:51: error: dereferencing pointer to incomplete type kernel/irq/internals.h:51: error: 'IRQ_AUTODETECT' undeclared (first use in this function) kernel/irq/internals.h:52: error: dereferencing pointer to incomplete type kernel/irq/internals.h:52: error: 'IRQ_WAITING' undeclared (first use in this function) kernel/irq/internals.h:53: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:353: error: 'NET_TCP_FACK' undeclared here (not in a function) kernel/sysctl_check.c:353: error: initializer element is not constant kernel/sysctl_check.c:353: error: (near initialization for 'trans_net_ipv4_table[42].ctl_name') kernel/sysctl_check.c:354: error: 'NET_TCP_REORDERING' undeclared here (not in a function) kernel/sysctl_check.c:354: error: initializer element is not constant kernel/sysctl_check.c:354: error: (near initialization for 'trans_net_ipv4_table[43].ctl_name') kernel/sysctl_check.c:355: error: 'NET_TCP_ECN' undeclared here (not in a function) kernel/sysctl_check.c:355: error: initializer element is not constant kernel/sysctl_check.c:355: error: (near initialization for 'trans_net_ipv4_table[44].ctl_name') kernel/sysctl_check.c:356: error: 'NET_TCP_DSACK' undeclared here (not in a function) kernel/sysctl_check.c:356: error: initializer element is not constant kernel/sysctl_check.c:356: error: (near initialization for 'trans_net_ipv4_table[45].ctl_name') kernel/sysctl_check.c:357: error: 'NET_TCP_MEM' undeclared here (not in a function) kernel/sysctl_check.c:357: error: initializer element is not constant kernel/sysctl_check.c:357: error: (near initialization for 'trans_net_ipv4_table[46].ctl_name') kernel/sysctl_check.c:358: error: 'NET_TCP_WMEM' undeclared here (not in a function) kernel/sysctl_check.c:358: error: initializer element is not constant kernel/sysctl_check.c:358: error: (near initialization for 'trans_net_ipv4_table[47].ctl_name') kernel/sysctl_check.c:359: error: 'NET_TCP_RMEM' undeclared here (not in a function) kernel/sysctl_check.c:359: error: initializer element is not constant kernel/sysctl_check.c:359: error: (near initialization for 'trans_net_ipv4_table[48].ctl_name') kernel/sysctl_check.c:360: error: 'NET_TCP_APP_WIN' undeclared here (not in a function) kernel/sysctl_check.c:360: error: initializer element is not constant kernel/sysctl_check.c:360: error: (near initialization for 'trans_net_ipv4_table[49].ctl_name') kernel/sysctl_check.c:361: error: 'NET_TCP_ADV_WIN_SCALE' undeclared here (not in a function) kernel/sysctl_check.c:361: error: initializer element is not constant kernel/sysctl_check.c:361: error: (near initialization for 'trans_net_ipv4_table[50].ctl_name') kernel/sysctl_check.c:362: error: 'NET_IPV4_NONLOCAL_BIND' undeclared here (not in a function) kernel/sysctl_check.c:362: error: initializer element is not constant kernel/sysctl_check.c:362: error: (near initialization for 'trans_net_ipv4_table[51].ctl_name') kernel/sysctl_check.c:363: error: 'NET_IPV4_ICMP_RATELIMIT' undeclared here (not in a function) kernel/sysctl_check.c:363: error: initializer element is not constant kernel/sysctl_check.c:363: error: (near initialization for 'trans_net_ipv4_table[52].ctl_name') kernel/sysctl_check.c:364: error: 'NET_IPV4_ICMP_RATEMASK' undeclared here (not in a function) kernel/sysctl_check.c:364: error: initializer element is not constant kernel/sysctl_check.c:364: error: (near initialization for 'trans_net_ipv4_table[53].ctl_name') kernel/sysctl_check.c:365: error: 'NET_TCP_TW_REUSE' undeclared here (not in a function) kernel/sysctl_check.c:365: error: initializer element is not constant kernel/sysctl_check.c:365: error: (near initialization for 'trans_net_ipv4_table[54].ctl_name') kernel/sysctl_check.c:366: error: 'NET_TCP_FRTO' undeclared here (not in a function) kernel/sysctl_check.c:366: error: initializer element is not constant kernel/sysctl_check.c:366: error: (near initialization for 'trans_net_ipv4_table[55].ctl_name') kernel/sysctl_check.c:367: error: 'NET_TCP_LOW_LATENCY' undeclared here (not in a function) kernel/sysctl_check.c:367: error: initializer element is not constant kernel/sysctl_check.c:367: error: (near initialization for 'trans_net_ipv4_table[56].ctl_name') kernel/sysctl_check.c:368: error: 'NET_IPV4_IPFRAG_SECRET_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:368: error: initializer element is not constant kernel/sysctl_check.c:368: error: (near initialization for 'trans_net_ipv4_table[57].ctl_name') kernel/sysctl_check.c:369: error: 'NET_IPV4_IGMP_MAX_MSF' undeclared here (not in a function) kernel/sysctl_check.c:369: error: initializer element is not constant kernel/sysctl_check.c:369: error: (near initialization for 'trans_net_ipv4_table[58].ctl_name') kernel/sysctl_check.c:370: error: 'NET_TCP_NO_METRICS_SAVE' undeclared here (not in a function) kernel/sysctl_check.c:370: error: initializer element is not constant kernel/sysctl_check.c:370: error: (near initialization for 'trans_net_ipv4_table[59].ctl_name') kernel/sysctl_check.c:372: error: 'NET_TCP_MODERATE_RCVBUF' undeclared here (not in a function) kernel/sysctl_check.c:372: error: initializer element is not constant kernel/sysctl_check.c:372: error: (near initialization for 'trans_net_ipv4_table[60].ctl_name') kernel/sysctl_check.c:373: error: 'NET_TCP_TSO_WIN_DIVISOR' undeclared here (not in a function) kernel/sysctl_check.c:373: error: initializer element is not constant kernel/sysctl_check.c:373: error: (near initialization for 'trans_net_ipv4_table[61].ctl_name') kernel/sysctl_check.c:375: error: 'NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR' undeclared here (not in a function) kernel/sysctl_check.c:375: error: initializer element is not constant kernel/sysctl_check.c:375: error: (near initialization for 'trans_net_ipv4_table[62].ctl_name') kernel/sysctl_check.c:376: error: 'NET_TCP_CONG_CONTROL' undeclared here (not in a function) scripts/Makefile.build:41: /usr/builds/linux-next-20080722/fs/ramfs/Makefile: No such file or directory make[2]: *** [kernel/time/timekeeping.o] Error 1 make[2]: *** No rule to make target `/usr/builds/linux-next-20080722/fs/ramfs/Makefile'. make[2]: Failed to remake makefile `/usr/builds/linux-next-20080722/fs/ramfs/Makefile'. /bin/sh: fs/ramfs/modules.order: No such file or directory CC kernel/time/ntp.o make[2]: *** [fs/ramfs/modules.order] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [fs/ramfs] Error 2 make[1]: Target `__build' not remade because of errors. make: *** [fs] Error 2 kernel/irq/internals.h:53: error: 'IRQ_LEVEL' undeclared (first use in this function) kernel/irq/internals.h:54: error: dereferencing pointer to incomplete type kernel/irq/internals.h:54: error: 'IRQ_MASKED' undeclared (first use in this function) kernel/irq/internals.h:58: error: dereferencing pointer to incomplete type kernel/irq/internals.h:58: error: 'IRQ_NOPROBE' undeclared (first use in this function) kernel/irq/internals.h:59: error: dereferencing pointer to incomplete type kernel/irq/internals.h:59: error: 'IRQ_NOREQUEST' undeclared (first use in this function) kernel/irq/internals.h:60: error: dereferencing pointer to incomplete type kernel/irq/internals.h:60: error: 'IRQ_NOAUTOEN' undeclared (first use in this function) kernel/irq/manage.c: In function 'disable_irq_nosync': kernel/irq/manage.c:143: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:146: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:149: error: implicit declaration of function 'spin_lock_irqsave' kernel/irq/manage.c:149: error: dereferencing pointer to incomplete type CC kernel/futex.o kernel/sysctl_check.c:376: error: initializer element is not constantkernel/irq/manage.c:150: error: dereferencing pointer to incomplete type kernel/irq/manage.c:151: error: dereferencing pointer to incomplete type kernel/irq/manage.c:151: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/manage.c:152: error: dereferencing pointer to incomplete type kernel/irq/manage.c:154: error: implicit declaration of function 'spin_unlock_irqrestore' kernel/irq/manage.c:154: error: dereferencing pointer to incomplete type kernel/irq/manage.c: At top level: kernel/irq/manage.c:156: warning: data definition has no type or storage class kernel/irq/manage.c:156: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:156: warning: parameter names (without types) in function declaration kernel/irq/manage.c: In function 'disable_irq': kernel/irq/manage.c:172: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:174: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:178: error: dereferencing pointer to incomplete type kernel/irq/manage.c:179: error: implicit declaration of function 'synchronize_irq' kernel/irq/manage.c: At top level: kernel/irq/manage.c:181: warning: data definition has no type or storage class kernel/irq/manage.c:181: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:181: warning: parameter names (without types) in function declaration kernel/irq/manage.c:183: warning: 'struct irq_desc' declared inside parameter list kernel/irq/manage.c: In function '__enable_irq': kernel/irq/manage.c:185: error: dereferencing pointer to incomplete type kernel/irq/manage.c:187: error: 'KERN_WARNING' undeclared (first use in this function) kernel/irq/manage.c:187: error: expected ')' before string constant kernel/irq/manage.c:188: error: implicit declaration of function 'WARN_ON' kernel/irq/manage.c:191: error: dereferencing pointer to incomplete type kernel/irq/manage.c:191: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/manage.c:194: error: dereferencing pointer to incomplete type kernel/irq/manage.c:194: error: 'IRQ_NOPROBE' undeclared (first use in this function) kernel/irq/manage.c:195: error: implicit declaration of function 'check_irq_resend' kernel/irq/manage.c:199: error: dereferencing pointer to incomplete type kernel/irq/manage.c: In function 'enable_irq': kernel/irq/manage.c:215: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:218: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:221: error: dereferencing pointer to incomplete type kernel/irq/manage.c:222: warning: passing argument 1 of '__enable_irq' from incompatible pointer type kernel/irq/manage.c:223: error: dereferencing pointer to incomplete type kernel/irq/manage.c: At top level: kernel/irq/manage.c:225: warning: data definition has no type or storage class kernel/irq/manage.c:225: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:225: warning: parameter names (without types) in function declaration kernel/irq/manage.c: In function 'set_irq_wake': kernel/irq/manage.c:241: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:243: error: 'ENXIO' undeclared (first use in this function) kernel/irq/manage.c:244: error: dereferencing pointer to incomplete type kernel/irq/manage.c:249: error: dereferencing pointer to incomplete type kernel/irq/manage.c:251: error: dereferencing pointer to incomplete type kernel/irq/manage.c:252: error: dereferencing pointer to incomplete type kernel/irq/manage.c:252: error: 'IRQ_WAKEUP' undeclared (first use in this function) kernel/irq/manage.c:254: error: 'NULL' undeclared (first use in this function) kernel/irq/manage.c:256: error: dereferencing pointer to incomplete type kernel/irq/manage.c:257: error: 'KERN_WARNING' undeclared (first use in this function) kernel/irq/manage.c:257: error: expected ')' before string constant kernel/irq/manage.c:260: error: dereferencing pointer to incomplete type kernel/irq/manage.c:261: error: dereferencing pointer to incomplete type kernel/irq/manage.c:266: error: dereferencing pointer to incomplete type kernel/irq/manage.c:267: error: dereferencing pointer to incomplete type kernel/irq/manage.c: At top level: kernel/irq/manage.c:270: warning: data definition has no type or storage class kernel/irq/manage.c:270: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:270: warning: parameter names (without types) in function declaration kernel/irq/manage.c: In function 'can_request_irq': kernel/irq/manage.c:281: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:281: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:281: error: 'IRQ_NOREQUEST' undeclared (first use in this function) kernel/irq/manage.c:286: error: dereferencing pointer to incomplete type kernel/irq/manage.c:286: error: 'IRQF_SHARED' undeclared (first use in this function) kernel/irq/manage.c:287: error: 'NULL' undeclared (first use in this function) kernel/irq/manage.c: At top level: kernel/irq/manage.c:292: warning: 'struct irq_desc' declared inside parameter list kernel/irq/manage.c:293: error: conflicting types for 'compat_irq_chip_set_default_handler' kernel/irq/internals.h:11: error: previous declaration of 'compat_irq_chip_set_default_handler' was here kernel/irq/manage.c: In function 'compat_irq_chip_set_default_handler': kernel/irq/manage.c:299: error: dereferencing pointer to incomplete type kernel/irq/manage.c:299: error: 'handle_bad_irq' undeclared (first use in this function) kernel/irq/manage.c:300: error: dereferencing pointer to incomplete type kernel/irq/manage.c:300: error: 'NULL' undeclared (first use in this function) kernel/irq/manage.c: At top level: kernel/irq/manage.c:307: warning: 'struct irqaction' declared inside parameter list kernel/irq/manage.c: In function 'setup_irq': kernel/irq/manage.c:309: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:311: error: 'NULL' undeclared (first use in this function) kernel/irq/manage.c:315: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:316: error: 'EINVAL' undeclared (first use in this function) kernel/irq/manage.c:318: error: dereferencing pointer to incomplete type kernel/irq/manage.c:318: error: 'no_irq_chip' undeclared (first use in this function) kernel/irq/manage.c:319: error: 'ENOSYS' undeclared (first use in this function) kernel/irq/manage.c:325: error: dereferencing pointer to incomplete type kernel/irq/manage.c:325: error: 'IRQF_SAMPLE_RANDOM' undeclared (first use in this function) kernel/irq/manage.c:334: error: implicit declaration of function 'rand_initialize_irq' kernel/irq/manage.c:340: error: dereferencing pointer to incomplete type kernel/irq/manage.c:341: error: dereferencing pointer to incomplete type kernel/irq/manage.c:350: error: dereferencing pointer to incomplete type kernel/irq/manage.c:350: error: dereferencing pointer to incomplete type kernel/irq/manage.c:350: error: 'IRQF_SHARED' undeclared (first use in this function) kernel/irq/manage.c:351: error: dereferencing pointer to incomplete type kernel/irq/manage.c:351: error: dereferencing pointer to incomplete type kernel/irq/manage.c:351: error: 'IRQF_TRIGGER_MASK' undeclared (first use in this function) kernel/irq/manage.c:352: error: dereferencing pointer to incomplete type kernel/irq/manage.c:365: error: dereferencing pointer to incomplete type kernel/irq/manage.c:374: error: dereferencing pointer to incomplete type kernel/irq/manage.c:374: error: 'IRQF_NOBALANCING' undeclared (first use in this function) kernel/irq/manage.c:375: error: dereferencing pointer to incomplete type kernel/irq/manage.c:375: error: 'IRQ_NO_BALANCING' undeclared (first use in this function) kernel/irq/manage.c:378: error: dereferencing pointer to incomplete type kernel/irq/manage.c:386: error: dereferencing pointer to incomplete type kernel/irq/manage.c:387: error: dereferencing pointer to incomplete type kernel/irq/manage.c:388: error: dereferencing pointer to incomplete type kernel/irq/manage.c:389: error: dereferencing pointer to incomplete type kernel/irq/manage.c:395: error: 'KERN_WARNING' undeclared (first use in this function) kernel/irq/manage.c:395: error: expected ')' before string constant kernel/irq/manage.c:399: warning: passing argument 1 of 'compat_irq_chip_set_default_handler' from incompatible pointer type kernel/irq/manage.c:401: error: dereferencing pointer to incomplete type kernel/irq/manage.c:401: error: 'IRQ_AUTODETECT' undeclared (first use in this function) kernel/irq/manage.c:401: error: 'IRQ_WAITING' undeclared (first use in this function) kernel/irq/manage.c:402: error: 'IRQ_INPROGRESS' undeclared (first use in this function) kernel/irq/manage.c:402: error: 'IRQ_SPURIOUS_DISABLED' undeclared (first use in this function) kernel/irq/manage.c:404: error: dereferencing pointer to incomplete type kernel/irq/manage.c:404: error: 'IRQ_NOAUTOEN' undeclared (first use in this function) kernel/irq/manage.c:405: error: dereferencing pointer to incomplete type kernel/irq/manage.c:406: error: dereferencing pointer to incomplete type kernel/irq/manage.c:406: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/manage.c:407: error: dereferencing pointer to incomplete type kernel/irq/manage.c:408: error: dereferencing pointer to incomplete type kernel/irq/manage.c:410: error: dereferencing pointer to incomplete type kernel/irq/manage.c:413: error: dereferencing pointer to incomplete type kernel/irq/manage.c:416: error: implicit declaration of function 'irq_select_affinity' kernel/irq/manage.c:419: error: dereferencing pointer to incomplete type kernel/irq/manage.c:420: error: dereferencing pointer to incomplete type kernel/irq/manage.c:426: error: dereferencing pointer to incomplete type kernel/irq/manage.c:427: error: dereferencing pointer to incomplete type kernel/irq/manage.c:428: warning: passing argument 1 of '__enable_irq' from incompatible pointer type kernel/irq/manage.c:431: error: dereferencing pointer to incomplete type kernel/irq/manage.c:433: error: dereferencing pointer to incomplete type kernel/irq/manage.c:435: error: dereferencing pointer to incomplete type kernel/irq/manage.c:436: warning: passing argument 2 of 'register_handler_proc' from incompatible pointer type kernel/irq/manage.c:449: error: dereferencing pointer to incomplete type kernel/irq/manage.c:450: error: 'EBUSY' undeclared (first use in this function) kernel/irq/manage.c: In function 'free_irq': kernel/irq/manage.c:473: error: implicit declaration of function 'in_interrupt' kernel/irq/manage.c:474: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:477: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:478: error: dereferencing pointer to incomplete type kernel/irq/manage.c:479: error: dereferencing pointer to incomplete type kernel/irq/manage.c:486: error: dereferencing pointer to incomplete type kernel/irq/manage.c:487: error: dereferencing pointer to incomplete type kernel/irq/manage.c:491: error: dereferencing pointer to incomplete type kernel/irq/manage.c:499: error: dereferencing pointer to incomplete type kernel/irq/manage.c:500: error: dereferencing pointer to incomplete type kernel/irq/manage.c:500: error: 'IRQ_DISABLED' undeclared (first use in this function) cc1: error: include/linux/autoconf.h: No such file or directory kernel/irq/manage.c:501: error: dereferencing pointer to incomplete type kernel/irq/manage.c:502: error: dereferencing pointer to incomplete type kernel/irq/manage.c:504: error: dereferencing pointer to incomplete type kernel/irq/manage.c:506: error: dereferencing pointer to incomplete type kernel/irq/manage.c:507: warning: passing argument 2 of 'unregister_handler_proc' from incompatible pointer type kernel/irq/manage.c:526: error: implicit declaration of function 'kfree' kernel/irq/manage.c:529: error: 'KERN_ERR' undeclared (first use in this function) kernel/irq/manage.c:529: error: expected ')' before string constant kernel/irq/manage.c:533: error: dereferencing pointer to incomplete type kernel/irq/manage.c: At top level: kernel/irq/manage.c:537: warning: data definition has no type or storage class kernel/irq/manage.c:537: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:537: warning: parameter names (without types) in function declaration kernel/irq/manage.c:568: error: expected declaration specifiers or '...' before 'irq_handler_t' kernel/irq/manage.c: In function 'request_irq': kernel/irq/manage.c:586: error: 'IRQF_SHARED' undeclared (first use in this function) kernel/irq/manage.c:587: error: 'EINVAL' undeclared (first use in this function) kernel/irq/manage.c:588: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/manage.c:590: error: 'irq_desc' undeclared (first use in this function) kernel/irq/manage.c:590: error: 'IRQ_NOREQUEST' undeclared (first use in this function) kernel/irq/manage.c:592: error: 'handler' undeclared (first use in this function) kernel/irq/manage.c:595: error: implicit declaration of function 'kmalloc' kernel/irq/manage.c:595: error: invalid application of 'sizeof' to incomplete type 'struct irqaction' kernel/irq/manage.c:595: error: 'GFP_ATOMIC' undeclared (first use in this function) kernel/irq/manage.c:595: warning: assignment makes pointer from integer without a cast kernel/irq/manage.c:597: error: 'ENOMEM' undeclared (first use in this function) kernel/irq/manage.c:599: error: dereferencing pointer to incomplete type kernel/irq/manage.c:600: error: dereferencing pointer to incomplete type kernel/irq/manage.c:601: error: implicit declaration of function 'cpus_clear' kernel/irq/manage.c:601: error: dereferencing pointer to incomplete type kernel/irq/manage.c:602: error: dereferencing pointer to incomplete type kernel/irq/manage.c:603: error: dereferencing pointer to incomplete type kernel/irq/manage.c:603: error: 'NULL' undeclared (first use in this function) kernel/irq/manage.c:604: error: dereferencing pointer to incomplete type kernel/irq/manage.c:622: warning: passing argument 2 of 'setup_irq' from incompatible pointer type kernel/irq/manage.c: At top level: kernel/irq/manage.c:628: warning: data definition has no type or storage class kernel/irq/manage.c:628: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/irq/manage.c:628: warning: parameter names (without types) in function declaration kernel/sysctl_check.c:376: error: (near initialization for 'trans_net_ipv4_table[63].ctl_name') kernel/sysctl_check.c:377: error: 'NET_TCP_ABC' undeclared here (not in a function) kernel/sysctl_check.c:377: error: initializer element is not constant kernel/sysctl_check.c:377: error: (near initialization for 'trans_net_ipv4_table[64].ctl_name') kernel/sysctl_check.c:378: error: 'NET_IPV4_IPFRAG_MAX_DIST' undeclared here (not in a function) kernel/sysctl_check.c:378: error: initializer element is not constant kernel/sysctl_check.c:378: error: (near initialization for 'trans_net_ipv4_table[65].ctl_name') kernel/sysctl_check.c:379: error: 'NET_TCP_MTU_PROBING' undeclared here (not in a function) kernel/sysctl_check.c:379: error: initializer element is not constant kernel/sysctl_check.c:379: error: (near initialization for 'trans_net_ipv4_table[66].ctl_name') kernel/sysctl_check.c:380: error: 'NET_TCP_BASE_MSS' undeclared here (not in a function) kernel/sysctl_check.c:380: error: initializer element is not constant kernel/sysctl_check.c:380: error: (near initialization for 'trans_net_ipv4_table[67].ctl_name') kernel/sysctl_check.c:381: error: 'NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS' undeclared here (not in a function) kernel/sysctl_check.c:381: error: initializer element is not constant kernel/sysctl_check.c:381: error: (near initialization for 'trans_net_ipv4_table[68].ctl_name') kernel/sysctl_check.c:382: error: 'NET_TCP_DMA_COPYBREAK' undeclared here (not in a function) kernel/sysctl_check.c:382: error: initializer element is not constant kernel/sysctl_check.c:382: error: (near initialization for 'trans_net_ipv4_table[69].ctl_name') kernel/sysctl_check.c:383: error: 'NET_TCP_SLOW_START_AFTER_IDLE' undeclared here (not in a function) kernel/sysctl_check.c:383: error: initializer element is not constant kernel/sysctl_check.c:383: error: (near initialization for 'trans_net_ipv4_table[70].ctl_name') kernel/sysctl_check.c:384: error: 'NET_CIPSOV4_CACHE_ENABLE' undeclared here (not in a function) kernel/sysctl_check.c:384: error: initializer element is not constant kernel/sysctl_check.c:384: error: (near initialization for 'trans_net_ipv4_table[71].ctl_name') kernel/sysctl_check.c:385: error: 'NET_CIPSOV4_CACHE_BUCKET_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:385: error: initializer element is not constant kernel/sysctl_check.c:385: error: (near initialization for 'trans_net_ipv4_table[72].ctl_name') kernel/sysctl_check.c:386: error: 'NET_CIPSOV4_RBM_OPTFMT' undeclared here (not in a function) kernel/sysctl_check.c:386: error: initializer element is not constant kernel/sysctl_check.c:386: error: (near initialization for 'trans_net_ipv4_table[73].ctl_name') kernel/sysctl_check.c:387: error: 'NET_CIPSOV4_RBM_STRICTVALID' undeclared here (not in a function) kernel/sysctl_check.c:387: error: initializer element is not constant kernel/sysctl_check.c:387: error: (near initialization for 'trans_net_ipv4_table[74].ctl_name') kernel/sysctl_check.c:388: error: 'NET_TCP_AVAIL_CONG_CONTROL' undeclared here (not in a function) kernel/sysctl_check.c:388: error: initializer element is not constant kernel/sysctl_check.c:388: error: (near initialization for 'trans_net_ipv4_table[75].ctl_name') kernel/sysctl_check.c:389: error: 'NET_TCP_ALLOWED_CONG_CONTROL' undeclared here (not in a function) kernel/sysctl_check.c:389: error: initializer element is not constant kernel/sysctl_check.c:389: error: (near initialization for 'trans_net_ipv4_table[76].ctl_name') kernel/sysctl_check.c:390: error: 'NET_TCP_MAX_SSTHRESH' undeclared here (not in a function) kernel/sysctl_check.c:390: error: initializer element is not constant kernel/sysctl_check.c:390: error: (near initialization for 'trans_net_ipv4_table[77].ctl_name') kernel/sysctl_check.c:391: error: 'NET_TCP_FRTO_RESPONSE' undeclared here (not in a function) kernel/sysctl_check.c:391: error: initializer element is not constant kernel/sysctl_check.c:391: error: (near initialization for 'trans_net_ipv4_table[78].ctl_name') kernel/sysctl_check.c:397: error: 'NET_IPX_PPROP_BROADCASTING' undeclared here (not in a function) kernel/sysctl_check.c:397: error: initializer element is not constant kernel/sysctl_check.c:397: error: (near initialization for 'trans_net_ipx_table[0].ctl_name') kernel/sysctl_check.c:403: error: 'NET_ATALK_AARP_EXPIRY_TIME' undeclared here (not in a function) kernel/sysctl_check.c:403: error: initializer element is not constant kernel/sysctl_check.c:403: error: (near initialization for 'trans_net_atalk_table[0].ctl_name') kernel/sysctl_check.c:404: error: 'NET_ATALK_AARP_TICK_TIME' undeclared here (not in a function) kernel/sysctl_check.c:404: error: initializer element is not constant kernel/sysctl_check.c:404: error: (near initialization for 'trans_net_atalk_table[1].ctl_name') kernel/sysctl_check.c:405: error: 'NET_ATALK_AARP_RETRANSMIT_LIMIT' undeclared here (not in a function) kernel/sysctl_check.c:405: error: initializer element is not constant kernel/sysctl_check.c:405: error: (near initialization for 'trans_net_atalk_table[2].ctl_name') kernel/sysctl_check.c:406: error: 'NET_ATALK_AARP_RESOLVE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:406: error: initializer element is not constant kernel/sysctl_check.c:406: error: (near initialization for 'trans_net_atalk_table[3].ctl_name') kernel/sysctl_check.c:411: error: 'NET_NETROM_DEFAULT_PATH_QUALITY' undeclared here (not in a function) kernel/sysctl_check.c:411: error: initializer element is not constant kernel/sysctl_check.c:411: error: (near initialization for 'trans_net_netrom_table[0].ctl_name') kernel/sysctl_check.c:412: error: 'NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER' undeclared here (not in a function) kernel/sysctl_check.c:412: error: initializer element is not constant kernel/sysctl_check.c:412: error: (near initialization for 'trans_net_netrom_table[1].ctl_name') kernel/sysctl_check.c:413: error: 'NET_NETROM_NETWORK_TTL_INITIALISER' undeclared here (not in a function) kernel/sysctl_check.c:413: error: initializer element is not constant kernel/sysctl_check.c:413: error: (near initialization for 'trans_net_netrom_table[2].ctl_name') kernel/sysctl_check.c:414: error: 'NET_NETROM_TRANSPORT_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:414: error: initializer element is not constant kernel/sysctl_check.c:414: error: (near initialization for 'trans_net_netrom_table[3].ctl_name') kernel/sysctl_check.c:415: error: 'NET_NETROM_TRANSPORT_MAXIMUM_TRIES' undeclared here (not in a function) kernel/sysctl_check.c:415: error: initializer element is not constant kernel/sysctl_check.c:415: error: (near initialization for 'trans_net_netrom_table[4].ctl_name') kernel/sysctl_check.c:416: error: 'NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:416: error: initializer element is not constant kernel/sysctl_check.c:416: error: (near initialization for 'trans_net_netrom_table[5].ctl_name') kernel/sysctl_check.c:417: error: 'NET_NETROM_TRANSPORT_BUSY_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:417: error: initializer element is not constant kernel/sysctl_check.c:417: error: (near initialization for 'trans_net_netrom_table[6].ctl_name') kernel/sysctl_check.c:418: error: 'NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:418: error: initializer element is not constant kernel/sysctl_check.c:418: error: (near initialization for 'trans_net_netrom_table[7].ctl_name') kernel/sysctl_check.c:419: error: 'NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:419: error: initializer element is not constant kernel/sysctl_check.c:419: error: (near initialization for 'trans_net_netrom_table[8].ctl_name') kernel/sysctl_check.c:420: error: 'NET_NETROM_ROUTING_CONTROL' undeclared here (not in a function) kernel/sysctl_check.c:420: error: initializer element is not constant kernel/sysctl_check.c:420: error: (near initialization for 'trans_net_netrom_table[9].ctl_name') kernel/sysctl_check.c:421: error: 'NET_NETROM_LINK_FAILS_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:421: error: initializer element is not constant kernel/sysctl_check.c:421: error: (near initialization for 'trans_net_netrom_table[10].ctl_name') kernel/sysctl_check.c:422: error: 'NET_NETROM_RESET' undeclared here (not in a function) kernel/sysctl_check.c:422: error: initializer element is not constant kernel/sysctl_check.c:422: error: (near initialization for 'trans_net_netrom_table[11].ctl_name') kernel/sysctl_check.c:427: error: 'NET_AX25_IP_DEFAULT_MODE' undeclared here (not in a function) kernel/sysctl_check.c:427: error: initializer element is not constant kernel/sysctl_check.c:427: error: (near initialization for 'trans_net_ax25_param_table[0].ctl_name') kernel/sysctl_check.c:428: error: 'NET_AX25_DEFAULT_MODE' undeclared here (not in a function) kernel/sysctl_check.c:428: error: initializer element is not constant kernel/sysctl_check.c:428: error: (near initialization for 'trans_net_ax25_param_table[1].ctl_name') kernel/sysctl_check.c:429: error: 'NET_AX25_BACKOFF_TYPE' undeclared here (not in a function) kernel/sysctl_check.c:429: error: initializer element is not constant kernel/sysctl_check.c:429: error: (near initialization for 'trans_net_ax25_param_table[2].ctl_name') kernel/sysctl_check.c:430: error: 'NET_AX25_CONNECT_MODE' undeclared here (not in a function) kernel/sysctl_check.c:430: error: initializer element is not constant kernel/sysctl_check.c:430: error: (near initialization for 'trans_net_ax25_param_table[3].ctl_name') kernel/sysctl_check.c:431: error: 'NET_AX25_STANDARD_WINDOW' undeclared here (not in a function) kernel/sysctl_check.c:431: error: initializer element is not constant kernel/sysctl_check.c:431: error: (near initialization for 'trans_net_ax25_param_table[4].ctl_name') kernel/sysctl_check.c:432: error: 'NET_AX25_EXTENDED_WINDOW' undeclared here (not in a function) kernel/sysctl_check.c:432: error: initializer element is not constant kernel/sysctl_check.c:432: error: (near initialization for 'trans_net_ax25_param_table[5].ctl_name') kernel/sysctl_check.c:433: error: 'NET_AX25_T1_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:433: error: initializer element is not constant kernel/sysctl_check.c:433: error: (near initialization for 'trans_net_ax25_param_table[6].ctl_name') kernel/sysctl_check.c:434: error: 'NET_AX25_T2_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:434: error: initializer element is not constant kernel/sysctl_check.c:434: error: (near initialization for 'trans_net_ax25_param_table[7].ctl_name') kernel/sysctl_check.c:435: error: 'NET_AX25_T3_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:435: error: initializer element is not constant kernel/sysctl_check.c:435: error: (near initialization for 'trans_net_ax25_param_table[8].ctl_name') kernel/sysctl_check.c:436: error: 'NET_AX25_IDLE_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:436: error: initializer element is not constant kernel/sysctl_check.c:436: error: (near initialization for 'trans_net_ax25_param_table[9].ctl_name') kernel/sysctl_check.c:437: error: 'NET_AX25_N2' undeclared here (not in a function) kernel/sysctl_check.c:437: error: initializer element is not constant kernel/sysctl_check.c:437: error: (near initialization for 'trans_net_ax25_param_table[10].ctl_name') kernel/sysctl_check.c:438: error: 'NET_AX25_PACLEN' undeclared here (not in a function) kernel/sysctl_check.c:438: error: initializer element is not constant kernel/sysctl_check.c:438: error: (near initialization for 'trans_net_ax25_param_table[11].ctl_name') kernel/sysctl_check.c:439: error: 'NET_AX25_PROTOCOL' undeclared here (not in a function) kernel/sysctl_check.c:439: error: initializer element is not constant kernel/sysctl_check.c:439: error: (near initialization for 'trans_net_ax25_param_table[12].ctl_name') kernel/sysctl_check.c:440: error: 'NET_AX25_DAMA_SLAVE_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:440: error: initializer element is not constant kernel/sysctl_check.c:440: error: (near initialization for 'trans_net_ax25_param_table[13].ctl_name') kernel/sysctl_check.c:445: error: initializer element is not constant kernel/sysctl_check.c:445: error: (near initialization for 'trans_net_ax25_table[0].procname') kernel/sysctl_check.c:450: error: 'NET_BRIDGE_NF_CALL_ARPTABLES' undeclared here (not in a function) kernel/sysctl_check.c:450: error: initializer element is not constant kernel/sysctl_check.c:450: error: (near initialization for 'trans_net_bridge_table[0].ctl_name') kernel/sysctl_check.c:451: error: 'NET_BRIDGE_NF_CALL_IPTABLES' undeclared here (not in a function) kernel/sysctl_check.c:451: error: initializer element is not constant kernel/sysctl_check.c:451: error: (near initialization for 'trans_net_bridge_table[1].ctl_name') kernel/sysctl_check.c:452: error: 'NET_BRIDGE_NF_CALL_IP6TABLES' undeclared here (not in a function) kernel/sysctl_check.c:452: error: initializer element is not constant kernel/sysctl_check.c:452: error: (near initialization for 'trans_net_bridge_table[2].ctl_name') kernel/sysctl_check.c:453: error: 'NET_BRIDGE_NF_FILTER_VLAN_TAGGED' undeclared here (not in a function) kernel/sysctl_check.c:453: error: initializer element is not constant kernel/sysctl_check.c:453: error: (near initialization for 'trans_net_bridge_table[3].ctl_name') kernel/sysctl_check.c:454: error: 'NET_BRIDGE_NF_FILTER_PPPOE_TAGGED' undeclared here (not in a function) kernel/sysctl_check.c:454: error: initializer element is not constant kernel/sysctl_check.c:454: error: (near initialization for 'trans_net_bridge_table[4].ctl_name') kernel/sysctl_check.c:459: error: 'NET_ROSE_RESTART_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:459: error: initializer element is not constant kernel/sysctl_check.c:459: error: (near initialization for 'trans_net_rose_table[0].ctl_name') kernel/sysctl_check.c:460: error: 'NET_ROSE_CALL_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:460: error: initializer element is not constant kernel/sysctl_check.c:460: error: (near initialization for 'trans_net_rose_table[1].ctl_name') kernel/sysctl_check.c:461: error: 'NET_ROSE_RESET_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:461: error: initializer element is not constant kernel/sysctl_check.c:461: error: (near initialization for 'trans_net_rose_table[2].ctl_name') kernel/sysctl_check.c:462: error: 'NET_ROSE_CLEAR_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:462: error: initializer element is not constant kernel/sysctl_check.c:462: error: (near initialization for 'trans_net_rose_table[3].ctl_name') kernel/sysctl_check.c:463: error: 'NET_ROSE_ACK_HOLD_BACK_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:463: error: initializer element is not constant kernel/sysctl_check.c:463: error: (near initialization for 'trans_net_rose_table[4].ctl_name') kernel/sysctl_check.c:464: error: 'NET_ROSE_ROUTING_CONTROL' undeclared here (not in a function) kernel/sysctl_check.c:464: error: initializer element is not constant kernel/sysctl_check.c:464: error: (near initialization for 'trans_net_rose_table[5].ctl_name') kernel/sysctl_check.c:465: error: 'NET_ROSE_LINK_FAIL_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:465: error: initializer element is not constant kernel/sysctl_check.c:465: error: (near initialization for 'trans_net_rose_table[6].ctl_name') kernel/sysctl_check.c:466: error: 'NET_ROSE_MAX_VCS' undeclared here (not in a function) kernel/sysctl_check.c:466: error: initializer element is not constant kernel/sysctl_check.c:466: error: (near initialization for 'trans_net_rose_table[7].ctl_name') kernel/sysctl_check.c:467: error: 'NET_ROSE_WINDOW_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:467: error: initializer element is not constant kernel/sysctl_check.c:467: error: (near initialization for 'trans_net_rose_table[8].ctl_name') kernel/sysctl_check.c:468: error: 'NET_ROSE_NO_ACTIVITY_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:468: error: initializer element is not constant kernel/sysctl_check.c:468: error: (near initialization for 'trans_net_rose_table[9].ctl_name') kernel/sysctl_check.c:473: error: 'NET_IPV6_FORWARDING' undeclared here (not in a function) kernel/sysctl_check.c:473: error: initializer element is not constant kernel/sysctl_check.c:473: error: (near initialization for 'trans_net_ipv6_conf_var_table[0].ctl_name') kernel/sysctl_check.c:474: error: 'NET_IPV6_HOP_LIMIT' undeclared here (not in a function) kernel/sysctl_check.c:474: error: initializer element is not constant kernel/sysctl_check.c:474: error: (near initialization for 'trans_net_ipv6_conf_var_table[1].ctl_name') kernel/sysctl_check.c:475: error: 'NET_IPV6_MTU' undeclared here (not in a function) kernel/sysctl_check.c:475: error: initializer element is not constant kernel/sysctl_check.c:475: error: (near initialization for 'trans_net_ipv6_conf_var_table[2].ctl_name') kernel/sysctl_check.c:476: error: 'NET_IPV6_ACCEPT_RA' undeclared here (not in a function) kernel/sysctl_check.c:476: error: initializer element is not constant kernel/sysctl_check.c:476: error: (near initialization for 'trans_net_ipv6_conf_var_table[3].ctl_name') kernel/sysctl_check.c:477: error: 'NET_IPV6_ACCEPT_REDIRECTS' undeclared here (not in a function) kernel/sysctl_check.c:477: error: initializer element is not constant kernel/sysctl_check.c:477: error: (near initialization for 'trans_net_ipv6_conf_var_table[4].ctl_name') kernel/sysctl_check.c:478: error: 'NET_IPV6_AUTOCONF' undeclared here (not in a function) kernel/sysctl_check.c:478: error: initializer element is not constant kernel/sysctl_check.c:478: error: (near initialization for 'trans_net_ipv6_conf_var_table[5].ctl_name') kernel/sysctl_check.c:479: error: 'NET_IPV6_DAD_TRANSMITS' undeclared here (not in a function) kernel/sysctl_check.c:479: error: initializer element is not constant kernel/sysctl_check.c:479: error: (near initialization for 'trans_net_ipv6_conf_var_table[6].ctl_name') kernel/sysctl_check.c:480: error: 'NET_IPV6_RTR_SOLICITS' undeclared here (not in a function) kernel/sysctl_check.c:480: error: initializer element is not constant kernel/sysctl_check.c:480: error: (near initialization for 'trans_net_ipv6_conf_var_table[7].ctl_name') kernel/sysctl_check.c:481: error: 'NET_IPV6_RTR_SOLICIT_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:481: error: initializer element is not constant kernel/sysctl_check.c:481: error: (near initialization for 'trans_net_ipv6_conf_var_table[8].ctl_name') kernel/sysctl_check.c:482: error: 'NET_IPV6_RTR_SOLICIT_DELAY' undeclared here (not in a function) kernel/sysctl_check.c:482: error: initializer element is not constant kernel/sysctl_check.c:482: error: (near initialization for 'trans_net_ipv6_conf_var_table[9].ctl_name') kernel/sysctl_check.c:483: error: 'NET_IPV6_USE_TEMPADDR' undeclared here (not in a function) kernel/sysctl_check.c:483: error: initializer element is not constant kernel/sysctl_check.c:483: error: (near initialization for 'trans_net_ipv6_conf_var_table[10].ctl_name') kernel/sysctl_check.c:484: error: 'NET_IPV6_TEMP_VALID_LFT' undeclared here (not in a function) kernel/sysctl_check.c:484: error: initializer element is not constant kernel/sysctl_check.c:484: error: (near initialization for 'trans_net_ipv6_conf_var_table[11].ctl_name') kernel/sysctl_check.c:485: error: 'NET_IPV6_TEMP_PREFERED_LFT' undeclared here (not in a function) kernel/sysctl_check.c:485: error: initializer element is not constant kernel/sysctl_check.c:485: error: (near initialization for 'trans_net_ipv6_conf_var_table[12].ctl_name') kernel/sysctl_check.c:486: error: 'NET_IPV6_REGEN_MAX_RETRY' undeclared here (not in a function) kernel/sysctl_check.c:486: error: initializer element is not constant kernel/sysctl_check.c:486: error: (near initialization for 'trans_net_ipv6_conf_var_table[13].ctl_name') kernel/sysctl_check.c:487: error: 'NET_IPV6_MAX_DESYNC_FACTOR' undeclared here (not in a function) kernel/sysctl_check.c:487: error: initializer element is not constant kernel/sysctl_check.c:487: error: (near initialization for 'trans_net_ipv6_conf_var_table[14].ctl_name') kernel/sysctl_check.c:488: error: 'NET_IPV6_MAX_ADDRESSES' undeclared here (not in a function) kernel/sysctl_check.c:488: error: initializer element is not constant kernel/sysctl_check.c:488: error: (near initialization for 'trans_net_ipv6_conf_var_table[15].ctl_name') kernel/sysctl_check.c:489: error: 'NET_IPV6_FORCE_MLD_VERSION' undeclared here (not in a function) kernel/sysctl_check.c:489: error: initializer element is not constant kernel/sysctl_check.c:489: error: (near initialization for 'trans_net_ipv6_conf_var_table[16].ctl_name') kernel/sysctl_check.c:490: error: 'NET_IPV6_ACCEPT_RA_DEFRTR' undeclared here (not in a function) kernel/sysctl_check.c:490: error: initializer element is not constant kernel/sysctl_check.c:490: error: (near initialization for 'trans_net_ipv6_conf_var_table[17].ctl_name') kernel/sysctl_check.c:491: error: 'NET_IPV6_ACCEPT_RA_PINFO' undeclared here (not in a function) kernel/sysctl_check.c:491: error: initializer element is not constant kernel/sysctl_check.c:491: error: (near initialization for 'trans_net_ipv6_conf_var_table[18].ctl_name') mm/slub.c:11:22:kernel/sysctl_check.c:492: error: 'NET_IPV6_ACCEPT_RA_RTR_PREF' undeclared here (not in a function) kernel/sysctl_check.c:492: error: initializer element is not constant kernel/sysctl_check.c:492: error: (near initialization for 'trans_net_ipv6_conf_var_table[19].ctl_name') kernel/sysctl_check.c:493: error: 'NET_IPV6_RTR_PROBE_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:493: error: initializer element is not constant kernel/sysctl_check.c:493: error: (near initialization for 'trans_net_ipv6_conf_var_table[20].ctl_name') kernel/sysctl_check.c:494: error: 'NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN' undeclared here (not in a function) kernel/sysctl_check.c:494: error: initializer element is not constant kernel/sysctl_check.c:494: error: (near initialization for 'trans_net_ipv6_conf_var_table[21].ctl_name') kernel/sysctl_check.c:495: error: 'NET_IPV6_PROXY_NDP' undeclared here (not in a function) kernel/sysctl_check.c:495: error: initializer element is not constant kernel/sysctl_check.c:495: error: (near initialization for 'trans_net_ipv6_conf_var_table[22].ctl_name') kernel/sysctl_check.c:496: error: 'NET_IPV6_ACCEPT_SOURCE_ROUTE' undeclared here (not in a function) kernel/sysctl_check.c:496: error: initializer element is not constant kernel/sysctl_check.c:496: error: (near initialization for 'trans_net_ipv6_conf_var_table[23].ctl_name') kernel/sysctl_check.c:501: error: initializer element is not constant kernel/sysctl_check.c:501: error: (near initialization for 'trans_net_ipv6_conf_table[0].ctl_name') kernel/sysctl_check.c:502: error: initializer element is not constant kernel/sysctl_check.c:502: error: (near initialization for 'trans_net_ipv6_conf_table[1].ctl_name') kernel/sysctl_check.c:503: error: initializer element is not constant kernel/sysctl_check.c:503: error: (near initialization for 'trans_net_ipv6_conf_table[2].procname') error: linux/mm.h: No such file or directory kernel/sysctl_check.c:508: error: 'NET_IPV6_ROUTE_FLUSH' undeclared here (not in a function) mm/slub.c:12:26: make[2]: *** [kernel/irq/manage.o] Error 1 kernel/sysctl_check.c:508: error: initializer element is not constant kernel/sysctl_check.c:508: error: (near initialization for 'trans_net_ipv6_route_table[0].ctl_name') kernel/sysctl_check.c:509: error: 'NET_IPV6_ROUTE_GC_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:509: error: initializer element is not constant kernel/sysctl_check.c:509: error: (near initialization for 'trans_net_ipv6_route_table[1].ctl_name') kernel/sysctl_check.c:510: error: 'NET_IPV6_ROUTE_MAX_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:510: error: initializer element is not constant kernel/sysctl_check.c:510: error: (near initialization for 'trans_net_ipv6_route_table[2].ctl_name') kernel/sysctl_check.c:511: error: 'NET_IPV6_ROUTE_GC_MIN_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:511: error: initializer element is not constant kernel/sysctl_check.c:511: error: (near initialization for 'trans_net_ipv6_route_table[3].ctl_name') kernel/sysctl_check.c:512: error: 'NET_IPV6_ROUTE_GC_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:512: error: initializer element is not constant kernel/sysctl_check.c:512: error: (near initialization for 'trans_net_ipv6_route_table[4].ctl_name') kernel/sysctl_check.c:513: error: 'NET_IPV6_ROUTE_GC_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:513: error: initializer element is not constant kernel/sysctl_check.c:513: error: (near initialization for 'trans_net_ipv6_route_table[5].ctl_name') kernel/sysctl_check.c:514: error: 'NET_IPV6_ROUTE_GC_ELASTICITY' undeclared here (not in a function) kernel/sysctl_check.c:514: error: initializer element is not constant kernel/sysctl_check.c:514: error: (near initialization for 'trans_net_ipv6_route_table[6].ctl_name') kernel/sysctl_check.c:515: error: 'NET_IPV6_ROUTE_MTU_EXPIRES' undeclared here (not in a function) kernel/sysctl_check.c:515: error: initializer element is not constant kernel/sysctl_check.c:515: error: (near initialization for 'trans_net_ipv6_route_table[7].ctl_name') kernel/sysctl_check.c:516: error: 'NET_IPV6_ROUTE_MIN_ADVMSS' undeclared here (not in a function) kernel/sysctl_check.c:516: error: initializer element is not constant kernel/sysctl_check.c:516: error: (near initialization for 'trans_net_ipv6_route_table[8].ctl_name') kernel/sysctl_check.c:517: error: 'NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS' undeclared here (not in a function) kernel/sysctl_check.c:517: error: initializer element is not constant kernel/sysctl_check.c:517: error: (near initialization for 'trans_net_ipv6_route_table[9].ctl_name') kernel/sysctl_check.c:522: error: 'NET_IPV6_ICMP_RATELIMIT' undeclared here (not in a function) kernel/sysctl_check.c:522: error: initializer element is not constant kernel/sysctl_check.c:522: error: (near initialization for 'trans_net_ipv6_icmp_table[0].ctl_name') kernel/sysctl_check.c:527: error: 'NET_IPV6_CONF' undeclared here (not in a function) kernel/sysctl_check.c:527: error: initializer element is not constant kernel/sysctl_check.c:527: error: (near initialization for 'trans_net_ipv6_table[0].ctl_name') kernel/sysctl_check.c:528: error: 'NET_IPV6_NEIGH' undeclared here (not in a function) kernel/sysctl_check.c:528: error: initializer element is not constant kernel/sysctl_check.c:528: error: (near initialization for 'trans_net_ipv6_table[1].ctl_name') kernel/sysctl_check.c:529: error: 'NET_IPV6_ROUTE' undeclared here (not in a function) kernel/sysctl_check.c:529: error: initializer element is not constant kernel/sysctl_check.c:529: error: (near initialization for 'trans_net_ipv6_table[2].ctl_name') kernel/sysctl_check.c:530: error: 'NET_IPV6_ICMP' undeclared here (not in a function) kernel/sysctl_check.c:530: error: initializer element is not constant kernel/sysctl_check.c:530: error: (near initialization for 'trans_net_ipv6_table[3].ctl_name') kernel/sysctl_check.c:531: error: 'NET_IPV6_BINDV6ONLY' undeclared here (not in a function) kernel/sysctl_check.c:531: error: initializer element is not constant kernel/sysctl_check.c:531: error: (near initialization for 'trans_net_ipv6_table[4].ctl_name') kernel/sysctl_check.c:532: error: 'NET_IPV6_IP6FRAG_HIGH_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:532: error: initializer element is not constant kernel/sysctl_check.c:532: error: (near initialization for 'trans_net_ipv6_table[5].ctl_name') kernel/sysctl_check.c:533: error: 'NET_IPV6_IP6FRAG_LOW_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:533: error: initializer element is not constant kernel/sysctl_check.c:533: error: (near initialization for 'trans_net_ipv6_table[6].ctl_name') kernel/sysctl_check.c:534: error: 'NET_IPV6_IP6FRAG_TIME' undeclared here (not in a function) kernel/sysctl_check.c:534: error: initializer element is not constant kernel/sysctl_check.c:534: error: (near initialization for 'trans_net_ipv6_table[7].ctl_name') kernel/sysctl_check.c:535: error: 'NET_IPV6_IP6FRAG_SECRET_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:535: error: initializer element is not constant kernel/sysctl_check.c:535: error: (near initialization for 'trans_net_ipv6_table[8].ctl_name') kernel/sysctl_check.c:536: error: 'NET_IPV6_MLD_MAX_MSF' undeclared here (not in a function) kernel/sysctl_check.c:536: error: initializer element is not constant kernel/sysctl_check.c:536: error: (near initialization for 'trans_net_ipv6_table[9].ctl_name') kernel/sysctl_check.c:542: error: 'NET_X25_RESTART_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:542: error: initializer element is not constant kernel/sysctl_check.c:542: error: (near initialization for 'trans_net_x25_table[0].ctl_name') kernel/sysctl_check.c:543: error: 'NET_X25_CALL_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:543: error: initializer element is not constant kernel/sysctl_check.c:543: error: (near initialization for 'trans_net_x25_table[1].ctl_name') kernel/sysctl_check.c:544: error: 'NET_X25_RESET_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:544: error: initializer element is not constant kernel/sysctl_check.c:544: error: (near initialization for 'trans_net_x25_table[2].ctl_name') kernel/sysctl_check.c:545: error: 'NET_X25_CLEAR_REQUEST_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:545: error: initializer element is not constant kernel/sysctl_check.c:545: error: (near initialization for 'trans_net_x25_table[3].ctl_name') kernel/sysctl_check.c:546: error: 'NET_X25_ACK_HOLD_BACK_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:546: error: initializer element is not constant kernel/sysctl_check.c:546: error: (near initialization for 'trans_net_x25_table[4].ctl_name') kernel/sysctl_check.c:547: error: 'NET_X25_FORWARD' undeclared here (not in a function) kernel/sysctl_check.c:547: error: initializer element is not constant kernel/sysctl_check.c:547: error: (near initialization for 'trans_net_x25_table[5].ctl_name') kernel/sysctl_check.c:552: error: 'NET_TR_RIF_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:552: error: initializer element is not constant kernel/sysctl_check.c:552: error: (near initialization for 'trans_net_tr_table[0].ctl_name') kernel/sysctl_check.c:558: error: 'NET_DECNET_CONF_DEV_FORWARDING' undeclared here (not in a function) kernel/sysctl_check.c:558: error: initializer element is not constant kernel/sysctl_check.c:558: error: (near initialization for 'trans_net_decnet_conf_vars[0].ctl_name') kernel/sysctl_check.c:559: error: 'NET_DECNET_CONF_DEV_PRIORITY' undeclared here (not in a function) kernel/sysctl_check.c:559: error: initializer element is not constant kernel/sysctl_check.c:559: error: (near initialization for 'trans_net_decnet_conf_vars[1].ctl_name') kernel/sysctl_check.c:560: error: 'NET_DECNET_CONF_DEV_T2' undeclared here (not in a function) kernel/sysctl_check.c:560: error: initializer element is not constant kernel/sysctl_check.c:560: error: (near initialization for 'trans_net_decnet_conf_vars[2].ctl_name') kernel/sysctl_check.c:561: error: 'NET_DECNET_CONF_DEV_T3' undeclared here (not in a function) kernel/sysctl_check.c:561: error: initializer element is not constant kernel/sysctl_check.c:561: error: (near initialization for 'trans_net_decnet_conf_vars[3].ctl_name') kernel/sysctl_check.c:566: error: initializer element is not constant kernel/sysctl_check.c:566: error: (near initialization for 'trans_net_decnet_conf[0].procname') kernel/sysctl_check.c:571: error: 'NET_DECNET_CONF' undeclared here (not in a function) kernel/sysctl_check.c:571: error: initializer element is not constant kernel/sysctl_check.c:571: error: (near initialization for 'trans_net_decnet_table[0].ctl_name') kernel/sysctl_check.c:572: error: 'NET_DECNET_NODE_ADDRESS' undeclared here (not in a function) kernel/sysctl_check.c:572: error: initializer element is not constant kernel/sysctl_check.c:572: error: (near initialization for 'trans_net_decnet_table[1].ctl_name') kernel/sysctl_check.c:573: error: 'NET_DECNET_NODE_NAME' undeclared here (not in a function) kernel/sysctl_check.c:573: error: initializer element is not constant kernel/sysctl_check.c:573: error: (near initialization for 'trans_net_decnet_table[2].ctl_name') kernel/sysctl_check.c:574: error: 'NET_DECNET_DEFAULT_DEVICE' undeclared here (not in a function) kernel/sysctl_check.c:574: error: initializer element is not constant kernel/sysctl_check.c:574: error: (near initialization for 'trans_net_decnet_table[3].ctl_name') kernel/sysctl_check.c:575: error: 'NET_DECNET_TIME_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:575: error: initializer element is not constant kernel/sysctl_check.c:575: error: (near initialization for 'trans_net_decnet_table[4].ctl_name') kernel/sysctl_check.c:576: error: 'NET_DECNET_DN_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:576: error: initializer element is not constant kernel/sysctl_check.c:576: error: (near initialization for 'trans_net_decnet_table[5].ctl_name') kernel/sysctl_check.c:577: error: 'NET_DECNET_DI_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:577: error: initializer element is not constant kernel/sysctl_check.c:577: error: (near initialization for 'trans_net_decnet_table[6].ctl_name') kernel/sysctl_check.c:578: error: 'NET_DECNET_DR_COUNT' undeclared here (not in a function) kernel/sysctl_check.c:578: error: initializer element is not constant kernel/sysctl_check.c:578: error: (near initialization for 'trans_net_decnet_table[7].ctl_name') kernel/sysctl_check.c:579: error: 'NET_DECNET_DST_GC_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:579: error: initializer element is not constant kernel/sysctl_check.c:579: error: (near initialization for 'trans_net_decnet_table[8].ctl_name') kernel/sysctl_check.c:580: error: 'NET_DECNET_NO_FC_MAX_CWND' undeclared here (not in a function) kernel/sysctl_check.c:580: error: initializer element is not constant kernel/sysctl_check.c:580: error: (near initialization for 'trans_net_decnet_table[9].ctl_name') kernel/sysctl_check.c:581: error: 'NET_DECNET_MEM' undeclared here (not in a function) kernel/sysctl_check.c:581: error: initializer element is not constant kernel/sysctl_check.c:581: error: (near initialization for 'trans_net_decnet_table[10].ctl_name') kernel/sysctl_check.c:582: error: 'NET_DECNET_RMEM' undeclared here (not in a function) kernel/sysctl_check.c:582: error: initializer element is not constant kernel/sysctl_check.c:582: error: (near initialization for 'trans_net_decnet_table[11].ctl_name') kernel/sysctl_check.c:583: error: 'NET_DECNET_WMEM' undeclared here (not in a function) kernel/sysctl_check.c:583: error: initializer element is not constant kernel/sysctl_check.c:583: error: (near initialization for 'trans_net_decnet_table[12].ctl_name') kernel/sysctl_check.c:584: error: 'NET_DECNET_DEBUG_LEVEL' undeclared here (not in a function) kernel/sysctl_check.c:584: error: initializer element is not constant kernel/sysctl_check.c:584: error: (near initialization for 'trans_net_decnet_table[13].ctl_name') kernel/sysctl_check.c:589: error: 'NET_SCTP_RTO_INITIAL' undeclared here (not in a function) kernel/sysctl_check.c:589: error: initializer element is not constant kernel/sysctl_check.c:589: error: (near initialization for 'trans_net_sctp_table[0].ctl_name') kernel/sysctl_check.c:590: error: 'NET_SCTP_RTO_MIN' undeclared here (not in a function) kernel/sysctl_check.c:590: error: initializer element is not constant kernel/sysctl_check.c:590: error: (near initialization for 'trans_net_sctp_table[1].ctl_name') kernel/sysctl_check.c:591: error: 'NET_SCTP_RTO_MAX' undeclared here (not in a function) kernel/sysctl_check.c:591: error: initializer element is not constant kernel/sysctl_check.c:591: error: (near initialization for 'trans_net_sctp_table[2].ctl_name') kernel/sysctl_check.c:592: error: 'NET_SCTP_RTO_ALPHA' undeclared here (not in a function) kernel/sysctl_check.c:592: error: initializer element is not constant kernel/sysctl_check.c:592: error: (near initialization for 'trans_net_sctp_table[3].ctl_name') kernel/sysctl_check.c:593: error: 'NET_SCTP_RTO_BETA' undeclared here (not in a function) kernel/sysctl_check.c:593: error: initializer element is not constant kernel/sysctl_check.c:593: error: (near initialization for 'trans_net_sctp_table[4].ctl_name') kernel/sysctl_check.c:594: error: 'NET_SCTP_VALID_COOKIE_LIFE' undeclared here (not in a function) kernel/sysctl_check.c:594: error: initializer element is not constant kernel/sysctl_check.c:594: error: (near initialization for 'trans_net_sctp_table[5].ctl_name') kernel/sysctl_check.c:595: error: 'NET_SCTP_ASSOCIATION_MAX_RETRANS' undeclared here (not in a function) kernel/sysctl_check.c:595: error: initializer element is not constant kernel/sysctl_check.c:595: error: (near initialization for 'trans_net_sctp_table[6].ctl_name') kernel/sysctl_check.c:596: error: 'NET_SCTP_PATH_MAX_RETRANS' undeclared here (not in a function) kernel/sysctl_check.c:596: error: initializer element is not constant kernel/sysctl_check.c:596: error: (near initialization for 'trans_net_sctp_table[7].ctl_name') kernel/sysctl_check.c:597: error: 'NET_SCTP_MAX_INIT_RETRANSMITS' undeclared here (not in a function) kernel/sysctl_check.c:597: error: initializer element is not constant kernel/sysctl_check.c:597: error: (near initialization for 'trans_net_sctp_table[8].ctl_name') kernel/sysctl_check.c:598: error: 'NET_SCTP_HB_INTERVAL' undeclared here (not in a function) kernel/sysctl_check.c:598: error: initializer element is not constant kernel/sysctl_check.c:598: error: (near initialization for 'trans_net_sctp_table[9].ctl_name') kernel/sysctl_check.c:599: error: 'NET_SCTP_PRESERVE_ENABLE' undeclared here (not in a function) kernel/sysctl_check.c:599: error: initializer element is not constant kernel/sysctl_check.c:599: error: (near initialization for 'trans_net_sctp_table[10].ctl_name') kernel/sysctl_check.c:600: error: 'NET_SCTP_MAX_BURST' undeclared here (not in a function) kernel/sysctl_check.c:600: error: initializer element is not constant kernel/sysctl_check.c:600: error: (near initialization for 'trans_net_sctp_table[11].ctl_name') kernel/sysctl_check.c:601: error: 'NET_SCTP_ADDIP_ENABLE' undeclared here (not in a function) kernel/sysctl_check.c:601: error: initializer element is not constant kernel/sysctl_check.c:601: error: (near initialization for 'trans_net_sctp_table[12].ctl_name') kernel/sysctl_check.c:602: error: 'NET_SCTP_PRSCTP_ENABLE' undeclared here (not in a function) kernel/sysctl_check.c:602: error: initializer element is not constant kernel/sysctl_check.c:602: error: (near initialization for 'trans_net_sctp_table[13].ctl_name') kernel/sysctl_check.c:603: error: 'NET_SCTP_SNDBUF_POLICY' undeclared here (not in a function) kernel/sysctl_check.c:603: error: initializer element is not constant kernel/sysctl_check.c:603: error: (near initialization for 'trans_net_sctp_table[14].ctl_name') kernel/sysctl_check.c:604: error: 'NET_SCTP_SACK_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:604: error: initializer element is not constant kernel/sysctl_check.c:604: error: (near initialization for 'trans_net_sctp_table[15].ctl_name') kernel/sysctl_check.c:605: error: 'NET_SCTP_RCVBUF_POLICY' undeclared here (not in a function) kernel/sysctl_check.c:605: error: initializer element is not constant kernel/sysctl_check.c:605: error: (near initialization for 'trans_net_sctp_table[16].ctl_name') kernel/sysctl_check.c:610: error: 'NET_LLC2_ACK_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:610: error: initializer element is not constant kernel/sysctl_check.c:610: error: (near initialization for 'trans_net_llc_llc2_timeout_table[0].ctl_name') kernel/sysctl_check.c:611: error: 'NET_LLC2_P_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:611: error: initializer element is not constant kernel/sysctl_check.c:611: error: (near initialization for 'trans_net_llc_llc2_timeout_table[1].ctl_name') kernel/sysctl_check.c:612: error: 'NET_LLC2_REJ_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:612: error: initializer element is not constant kernel/sysctl_check.c:612: error: (near initialization for 'trans_net_llc_llc2_timeout_table[2].ctl_name') kernel/sysctl_check.c:613: error: 'NET_LLC2_BUSY_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:613: error: initializer element is not constant kernel/sysctl_check.c:613: error: (near initialization for 'trans_net_llc_llc2_timeout_table[3].ctl_name') kernel/sysctl_check.c:618: error: 'NET_LLC_STATION_ACK_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:618: error: initializer element is not constant error: CC kernel/irq/spurious.o cc1: error: include/linux/autoconf.h: No such file or directory kernel/futex.c:43:24: error: linux/slab.h: No such file or directory kernel/futex.c:44:24: error: linux/poll.h: No such file or directory kernel/futex.c:45:22: error: linux/fs.h: No such file or directory kernel/futex.c:46:24: error: linux/file.h: No such file or directory kernel/futex.c:47:25: error: linux/jhash.h: No such file or directory kernel/futex.c:48:24: error: linux/init.h: No such file or directory kernel/futex.c:49:25: error: linux/futex.h: No such file or directory kernel/futex.c:50:25: error: linux/mount.h: No such file or directory kernel/futex.c:51:27: error: linux/pagemap.h: No such file or directory kernel/futex.c:52:28: error: linux/syscalls.h: No such file or directory kernel/futex.c:53:26: error: linux/signal.h: No such file or directory kernel/futex.c:54:26: error: linux/module.h: No such file or directory kernel/futex.c:55:25: error: linux/magic.h: No such file or directory kernel/futex.c:56:23: error: linux/pid.h: No such file or directory kernel/futex.c:57:27: error: linux/nsproxy.h: No such file or directory kernel/futex.c:59:23: error: asm/futex.h: No such file or directory In file included from kernel/futex.c:61: kernel/rtmutex_common.h:15:27: error: linux/rtmutex.h: No such file or directory In file included from kernel/futex.c:61: kernel/rtmutex_common.h:48: error: field 'list_entry' has incomplete type kernel/rtmutex_common.h:49: error: field 'pi_list_entry' has incomplete type kernel/rtmutex_common.h: In function 'rt_mutex_has_waiters': kernel/rtmutex_common.h:64: error: implicit declaration of function 'plist_head_empty' kernel/rtmutex_common.h:64: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h: In function 'rt_mutex_top_waiter': kernel/rtmutex_common.h:72: error: implicit declaration of function 'plist_first_entry' kernel/rtmutex_common.h:72: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h:72: error: expected expression before 'struct' kernel/rtmutex_common.h:73: warning: assignment makes pointer from integer without a cast kernel/rtmutex_common.h:74: error: implicit declaration of function 'BUG_ON' kernel/rtmutex_common.h: In function 'task_has_pi_waiters': kernel/rtmutex_common.h:81: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h: In function 'task_top_pi_waiter': kernel/rtmutex_common.h:87: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h:87: error: expected expression before 'struct' kernel/rtmutex_common.h:88: warning: return makes pointer from integer without a cast kernel/rtmutex_common.h: In function 'rt_mutex_owner': kernel/rtmutex_common.h:101: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h: In function 'rt_mutex_real_owner': kernel/rtmutex_common.h:107: error: dereferencing pointer to incomplete type kernel/rtmutex_common.h: In function 'rt_mutex_owner_pending': kernel/rtmutex_common.h:112: error: dereferencing pointer to incomplete type kernel/futex.c: At top level: kernel/futex.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'futex_cmpxchg_enabled' kernel/futex.c:75: error: field 'list' has incomplete type kernel/futex.c:80: error: field 'pi_mutex' has incomplete type kernel/futex.c:83: error: expected specifier-qualifier-list before 'atomic_t' kernel/futex.c:98: error: field 'list' has incomplete type kernel/futex.c:99: error: expected specifier-qualifier-list before 'wait_queue_head_t' kernel/futex.c:119: error: expected specifier-qualifier-list before 'spinlock_t' kernel/futex.c:123: error: 'CONFIG_BASE_SMALL' undeclared here (not in a function) kernel/futex.c:128: warning: 'struct rw_semaphore' declared inside parameter list kernel/futex.c:128: warning: its scope is only this definition or declaration, which is probably not what you want kernel/futex.c: In function 'futex_lock_mm': kernel/futex.c:131: error: implicit declaration of function 'down_read' kernel/futex.c: At top level: kernel/futex.c:137: warning: 'struct rw_semaphore' declared inside parameter list kernel/futex.c: In function 'futex_unlock_mm': kernel/futex.c:140: error: implicit declaration of function 'up_read' kernel/futex.c: At top level: kernel/futex.c:146: warning: 'union futex_key' declared inside parameter list kernel/futex.c: In function 'hash_futex': kernel/futex.c:148: error: 'u32' undeclared (first use in this function) kernel/futex.c:148: error: (Each undeclared identifier is reported only once kernel/futex.c:148: error: for each function it appears in.) kernel/futex.c:148: error: expected ';' before 'hash' kernel/futex.c:151: error: 'hash' undeclared (first use in this function) kernel/futex.c: At top level: kernel/futex.c:157: warning: 'union futex_key' declared inside parameter list kernel/futex.c: In function 'match_futex': kernel/futex.c:159: error: dereferencing pointer to incomplete type kernel/futex.c:159: error: dereferencing pointer to incomplete type kernel/futex.c:160: error: dereferencing pointer to incomplete type kernel/futex.c:160: error: dereferencing pointer to incomplete type kernel/futex.c:161: error: dereferencing pointer to incomplete type kernel/futex.c:161: error: dereferencing pointer to incomplete type kernel/futex.c: At top level: kernel/futex.c:182: error: expected ')' before '__user' kernel/futex.c:275: warning: 'union futex_key' declared inside parameter list kernel/futex.c: In function 'get_futex_key_refs': kernel/futex.c:277: error: dereferencing pointer to incomplete type kernel/futex.c:277: error: 'NULL' undeclared (first use in this function) kernel/futex.c:279: error: dereferencing pointer to incomplete type kernel/futex.c:279: error: 'FUT_OFF_INODE' undeclared (first use in this function) kernel/futex.c:279: error: 'FUT_OFF_MMSHARED' undeclared (first use in this function) kernel/futex.c:281: error: implicit declaration of function 'atomic_inc' kernel/futex.c:281: error: dereferencing pointer to incomplete type kernel/futex.c:284: error: dereferencing pointer to incomplete type kernel/futex.c: At top level: kernel/futex.c:293: warning: 'union futex_key' declared inside parameter list kernel/futex.c: In function 'drop_futex_key_refs': kernel/futex.c:295: error: dereferencing pointer to incomplete type kernel/futex.c:297: error: dereferencing pointer to incomplete type kernel/futex.c:297: error: 'FUT_OFF_INODE' undeclared (first use in this function) kernel/futex.c:297: error: 'FUT_OFF_MMSHARED' undeclared (first use in this function) kernel/futex.c:299: error: implicit declaration of function 'iput' kernel/futex.c:299: error: dereferencing pointer to incomplete type kernel/futex.c:302: error: implicit declaration of function 'mmdrop' kernel/futex.c:302: error: dereferencing pointer to incomplete type kernel/futex.c: At top level: kernel/futex.c:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cmpxchg_futex_value_locked' kernel/futex.c:318: error: expected ')' before '*' token kernel/futex.c:334: warning: 'struct rw_semaphore' declared inside parameter list kernel/futex.c: In function 'futex_handle_fault': kernel/futex.c:337: error: 'current' undeclared (first use in this function) kernel/futex.c:338: error: 'EFAULT' undeclared (first use in this function) kernel/futex.c:344: error: dereferencing pointer to incomplete type kernel/futex.c:345: error: implicit declaration of function 'find_vma' kernel/futex.c:345: warning: assignment makes pointer from integer without a cast kernel/futex.c:346: error: dereferencing pointer to incomplete type kernel/futex.c:347: error: dereferencing pointer to incomplete type kernel/futex.c:347: error: 'VM_WRITE' undeclared (first use in this function) kernel/futex.c:349: error: implicit declaration of function 'handle_mm_fault' kernel/futex.c:350: error: implicit declaration of function 'unlikely' kernel/futex.c:350: error: 'VM_FAULT_ERROR' undeclared (first use in this function) kernel/futex.c:358: error: 'VM_FAULT_MAJOR' undeclared (first use in this function) kernel/futex.c:365: error: dereferencing pointer to incomplete type kernel/futex.c: In function 'refill_pi_state_cache': kernel/futex.c:376: error: implicit declaration of function 'likely' kernel/futex.c:376: error: 'current' undeclared (first use in this function) kernel/futex.c:379: error: implicit declaration of function 'kzalloc' kernel/futex.c:379: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/futex.c:379: warning: assignment makes pointer from integer without a cast kernel/futex.c:382: error: 'ENOMEM' undeclared (first use in this function) kernel/futex.c:384: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/futex.c:386: error: 'NULL' undeclared (first use in this function) kernel/futex.c:387: error: implicit declaration of function 'atomic_set' kernel/futex.c:387: error: 'struct futex_pi_state' has no member named 'refcount' kernel/futex.c: In function 'alloc_pi_state': kernel/futex.c:396: error: 'current' undeclared (first use in this function) kernel/futex.c:398: error: implicit declaration of function 'WARN_ON' kernel/futex.c:399: error: 'NULL' undeclared (first use in this function) kernel/futex.c: In function 'free_pi_state': kernel/futex.c:406: error: implicit declaration of function 'atomic_dec_and_test' kernel/futex.c:406: error: 'struct futex_pi_state' has no member named 'refcount' kernel/futex.c:414: error: implicit declaration of function 'spin_lock_irq' kernel/futex.c:414: error: dereferencing pointer to incomplete type kernel/futex.c:415: error: implicit declaration of function 'list_del_init' kernel/futex.c:416: error: implicit declaration of function 'spin_unlock_irq' kernel/futex.c:416: error: dereferencing pointer to incomplete type kernel/futex.c:421: error: 'current' undeclared (first use in this function) kernel/futex.c:422: error: implicit declaration of function 'kfree' kernel/futex.c:429: error: 'NULL' undeclared (first use in this function) kernel/futex.c:430: error: 'struct futex_pi_state' has no member named 'refcount' kernel/futex.c: At top level: kernel/futex.c:439: error: expected ')' before 'pid' kernel/futex.c: In function 'exit_pi_state_list': kernel/futex.c:462: error: dereferencing pointer to incomplete type kernel/futex.c:465: error: storage size of 'key' isn't known kernel/futex.c:467: error: 'futex_cmpxchg_enabled' undeclared (first use in this function) kernel/futex.c:474: error: dereferencing pointer to incomplete type kernel/futex.c:475: error: implicit declaration of function 'list_empty' kernel/futex.c:477: error: dereferencing pointer to incomplete type kernel/futex.c:478: error: implicit declaration of function 'list_entry' kernel/futex.c:478: error: expected expression before 'struct' kernel/futex.c:478: warning: assignment makes pointer from integer without a cast kernel/futex.c:479: error: 'struct futex_pi_state' has no member named 'key' kernel/futex.c:481: error: dereferencing pointer to incomplete type kernel/futex.c:483: error: implicit declaration of function 'spin_lock' kernel/futex.c:483: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:485: error: dereferencing pointer to incomplete type kernel/futex.c:490: error: dereferencing pointer to incomplete type kernel/futex.c:491: error: implicit declaration of function 'spin_unlock' kernel/futex.c:491: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:498: error: 'NULL' undeclared (first use in this function) kernel/futex.c:499: error: dereferencing pointer to incomplete type kernel/futex.c:501: error: implicit declaration of function 'rt_mutex_unlock' kernel/futex.c:503: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:505: error: dereferencing pointer to incomplete type kernel/futex.c:507: error: dereferencing pointer to incomplete type kernel/futex.c:465: warning: unused variable 'key' kernel/futex.c: At top level: kernel/futex.c:511: error: expected ')' before 'uval' kernel/futex.c: In function 'wake_futex': kernel/futex.c:605: error: implicit declaration of function 'plist_del' kernel/futex.c:610: error: implicit declaration of function 'wake_up_all' kernel/futex.c:610: error: 'struct futex_q' has no member named 'waiters' kernel/futex.c:620: error: implicit declaration of function 'smp_wmb' kernel/futex.c:621: error: 'struct futex_q' has no member named 'lock_ptr' kernel/futex.c:621: error: 'NULL' undeclared (first use in this function) kernel/futex.c: At top level: kernel/futex.c:624: error: expected ')' before '__user' kernel/futex.c:684: error: expected ')' before '__user' kernel/futex.c: In function 'double_lock_hb': kernel/futex.c:709: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:711: error: implicit declaration of function 'spin_lock_nested' kernel/futex.c:711: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:711: error: 'SINGLE_DEPTH_NESTING' undeclared (first use in this function) kernel/futex.c:713: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:714: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c: At top level: kernel/futex.c:722: error: expected ')' before '__user' kernel/futex.c:772: error: expected ')' before '__user' kernel/futex.c:885: error: expected ')' before '__user' kernel/futex.c: In function 'queue_lock': kernel/futex.c:986: error: implicit declaration of function 'init_waitqueue_head' kernel/futex.c:986: error: 'struct futex_q' has no member named 'waiters' kernel/futex.c:988: error: 'struct futex_q' has no member named 'key' kernel/futex.c:989: error: 'struct futex_q' has no member named 'key' kernel/futex.c:990: error: 'struct futex_q' has no member named 'lock_ptr' kernel/futex.c:990: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:992: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c: In function 'queue_me': kernel/futex.c:1008: error: implicit declaration of function 'min' kernel/futex.c:1008: error: 'current' undeclared (first use in this function) kernel/futex.c:1008: error: 'MAX_RT_PRIO' undeclared (first use in this function) kernel/futex.c:1010: error: implicit declaration of function 'plist_node_init' kernel/futex.c:1014: error: implicit declaration of function 'plist_add' kernel/futex.c:1014: error: 'struct futex_hash_bucket' has no member named 'chain' kernel/futex.c:1015: error: 'struct futex_q' has no member named 'task' kernel/futex.c:1016: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c: In function 'queue_unlock': kernel/futex.c:1022: error: 'struct futex_hash_bucket' has no member named 'lock' kernel/futex.c:1023: error: 'struct futex_q' has no member named 'key' kernel/futex.c: In function 'unqueue_me': kernel/futex.c:1034: error: 'spinlock_t' undeclared (first use in this function) kernel/futex.c:1034: error: 'lock_ptr' undeclared (first use in this function) kernel/futex.c:1035: warning: ISO C90 forbids mixed declarations and code kernel/futex.c:1039: error: 'struct futex_q' has no member named 'lock_ptr' kernel/futex.c:1040: error: implicit declaration of function 'barrier' kernel/futex.c:1041: error: 'NULL' undeclared (first use in this function) kernel/futex.c:1056: error: 'struct futex_q' has no member named 'lock_ptr' kernel/futex.c:1060: error: implicit declaration of function 'plist_node_empty' kernel/futex.c:1063: error: 'struct futex_q' has no member named 'pi_state' kernel/futex.c:1069: error: 'struct futex_q' has no member named 'key' kernel/futex.c: In function 'unqueue_me_pi': kernel/futex.c:1083: error: 'struct futex_q' has no member named 'pi_state' kernel/futex.c:1084: error: 'struct futex_q' has no member named 'pi_state' kernel/futex.c:1085: error: 'struct futex_q' has no member named 'pi_state' kernel/futex.c:1085: error: 'NULL' undeclared (first use in this function) kernel/futex.c:1087: error: 'struct futex_q' has no member named 'lock_ptr' kernel/futex.c:1089: error: 'struct futex_q' has no member named 'key' kernel/futex.c: At top level: kernel/futex.c:1098: error: expected ')' before '__user' kernel/futex.c:1201: warning: 'struct restart_block' declared inside parameter list kernel/futex.c:1203: error: expected ')' before '__user' kernel/futex.c:1368: warning: 'struct restart_block' declared inside parameter list kernel/futex.c:1369: error: conflicting types for 'futex_wait_restart' kernel/futex.c:1201: error: previous declaration of 'futex_wait_restart' was here kernel/futex.c: In function 'futex_wait_restart': kernel/futex.c:1370: error: 'u32' undeclared (first use in this function) kernel/futex.c:1370: error: expected ';' before '__user' kernel/futex.c:1371: error: 'NULL' undeclared (first use in this function) kernel/futex.c:1371: warning: ISO C90 forbids mixed declarations and code kernel/futex.c:1372: error: 'ktime_t' undeclared (first use in this function) kernel/futex.c:1372: error: expected ';' before 't' kernel/futex.c:1374: error: 't' undeclared (first use in this function) kernel/futex.c:1374: error: dereferencing pointer to incomplete type kernel/futex.c:1375: error: dereferencing pointer to incomplete type kernel/futex.c:1375: error: 'do_no_restart_syscall' undeclared (first use in this function) kernel/futex.c:1376: error: dereferencing pointer to incomplete type kernel/futex.c:1377: error: 'current' undeclared (first use in this function) kernel/futex.c:1378: error: implicit declaration of function 'futex_wait' kernel/futex.c:1378: error: 'uaddr' undeclared (first use in this function) kernel/futex.c:1378: error: dereferencing pointer to incomplete type kernel/futex.c:1379: error: dereferencing pointer to incomplete type kernel/futex.c: At top level: kernel/futex.c:1389: error: expected ')' before '__user' kernel/futex.c:1668: error: expected ')' before '__user' kernel/futex.c:1800: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/futex.c:1823: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/futex.c:1865: error: expected ')' before '__user' kernel/futex.c:1907: error: expected ';', ',' or ')' before '*' token kernel/futex.c: In function 'exit_robust_list': kernel/futex.c:1930: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/futex.c:1930: error: 'head' undeclared (first use in this function) kernel/futex.c:1930: error: dereferencing pointer to incomplete type kernel/futex.c:1931: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token kernel/futex.c:1931: warning: ISO C90 forbids mixed declarations and code kernel/futex.c:1931: error: 'entry' undeclared (first use in this function) kernel/futex.c:1931: error: 'next_entry' undeclared (first use in this function) kernel/futex.c:1931: warning: left-hand operand of comma expression has no effect kernel/futex.c:1931: error: 'pending' undeclared (first use in this function) kernel/futex.c:1931: warning: left-hand operand of comma expression has no effect kernel/futex.c:1932: error: 'ROBUST_LIST_LIMIT' undeclared (first use in this function) kernel/futex.c:1932: warning: ISO C90 forbids mixed declarations and code kernel/futex.c:1936: error: 'futex_cmpxchg_enabled' undeclared (first use in this function) kernel/futex.c:1943: error: implicit declaration of function 'fetch_robust_entry' kernel/futex.c:1948: error: implicit declaration of function 'get_user' kernel/futex.c:1957: error: 'NULL' undeclared (first use in this function) kernel/futex.c:1969: error: implicit declaration of function 'handle_futex_death' kernel/futex.c:1969: error: expected ')' before '__user' kernel/futex.c:1982: error: implicit declaration of function 'cond_resched' kernel/futex.c:1986: error: expected ')' before '__user' kernel/futex.c: At top level: kernel/futex.c:1990: error: expected ')' before '__user' kernel/futex.c:2039: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long' kernel/futex.c:2071: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'futex_init' kernel/futex.c:2097: warning: data definition has no type or storage class kernel/futex.c:2097: warning: type defaults to 'int' in declaration of '__initcall' kernel/futex.c:2097: warning: parameter names (without types) in function declaration cc1: error: include/linux/autoconf.h: No such file or directory kernel/time/ntp.c:11:22: error: linux/mm.h: No such file or directory kernel/time/ntp.c:12:24: error: linux/time.h: No such file or directory kernel/time/ntp.c:13:25: error: linux/timer.h: No such file or directory kernel/time/ntp.c:14:25: error: linux/timex.h: No such file or directory kernel/time/ntp.c:15:27: error: linux/jiffies.h: No such file or directory kernel/time/ntp.c:16:27: error: linux/hrtimer.h: No such file or directory kernel/time/ntp.c:17:30: error: linux/capability.h: No such file or directory kernel/time/ntp.c:18:26: error: linux/math64.h: No such file or directory kernel/time/ntp.c:19:31: error: linux/clocksource.h: No such file or directory kernel/time/ntp.c:20:23: error: asm/timex.h: No such file or directory kernel/time/ntp.c:25: error: 'TICK_USEC' undeclared here (not in a function) kernel/time/ntp.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tick_length' kernel/time/ntp.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tick_length_base' kernel/time/ntp.c:40: error: 'TIME_OK' undeclared here (not in a function) kernel/time/ntp.c:41: error: 'STA_UNSYNC' undeclared here (not in a function) kernel/time/ntp.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_offset' kernel/time/ntp.c:45: error: 'NTP_PHASE_LIMIT' undeclared here (not in a function) kernel/time/ntp.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_freq' kernel/time/ntp.c: In function 'ntp_update_frequency': kernel/time/ntp.c:54: error: 'u64' undeclared (first use in this function) kernel/time/ntp.c:54: error: (Each undeclared identifier is reported only once kernel/time/ntp.c:54: error: for each function it appears in.) kernel/time/ntp.c:54: error: expected ';' before 'second_length' kernel/time/ntp.c:56: error: 'second_length' undeclared (first use in this function) kernel/time/ntp.c:56: error: 's64' undeclared (first use in this function) kernel/time/ntp.c:56: error: expected ';' before 'ntp_tick_adj' kernel/time/ntp.c:57: error: 'time_freq' undeclared (first use in this function) kernel/time/ntp.c:59: error: 'tick_length_base' undeclared (first use in this function) kernel/time/ntp.c:61: error: implicit declaration of function 'div_u64' kernel/time/ntp.c:61: error: 'HZ' undeclared (first use in this function) kernel/time/ntp.c:61: error: 'NTP_SCALE_SHIFT' undeclared (first use in this function) kernel/time/ntp.c:62: error: 'NTP_INTERVAL_FREQ' undeclared (first use in this function) kernel/time/ntp.c: In function 'ntp_update_offset': kernel/time/ntp.c:68: error: 's64' undeclared (first use in this function) kernel/time/ntp.c:68: error: expected ';' before 'freq_adj' kernel/time/ntp.c:70: error: 'STA_PLL' undeclared (first use in this function) kernel/time/ntp.c:73: error: 'STA_NANO' undeclared (first use in this function) kernel/time/ntp.c:74: error: 'NSEC_PER_USEC' undeclared (first use in this function) kernel/time/ntp.c:80: error: implicit declaration of function 'min' kernel/time/ntp.c:80: error: 'MAXPHASE' undeclared (first use in this function) kernel/time/ntp.c:81: error: implicit declaration of function 'max' kernel/time/ntp.c:87: error: 'STA_FREQHOLD' undeclared (first use in this function) kernel/time/ntp.c:88: error: 'xtime' undeclared (first use in this function) kernel/time/ntp.c:92: error: 'freq_adj' undeclared (first use in this function) kernel/time/ntp.c:92: error: expected ';' before 'offset' kernel/time/ntp.c:93: error: 'NTP_SCALE_SHIFT' undeclared (first use in this function) kernel/time/ntp.c:93: error: 'SHIFT_PLL' undeclared (first use in this function) kernel/time/ntp.c:94: error: 'STA_MODE' undeclared (first use in this function) kernel/time/ntp.c:95: error: 'MINSEC' undeclared (first use in this function) kernel/time/ntp.c:95: error: 'STA_FLL' undeclared (first use in this function) kernel/time/ntp.c:95: error: 'MAXSEC' undeclared (first use in this function) kernel/time/ntp.c:96: error: implicit declaration of function 'div_s64' kernel/time/ntp.c:96: error: expected ')' before 'offset' kernel/time/ntp.c:100: error: 'time_freq' undeclared (first use in this function) kernel/time/ntp.c:101: error: 'MAXFREQ_SCALED' undeclared (first use in this function) kernel/time/ntp.c:104: error: 'time_offset' undeclared (first use in this function) kernel/time/ntp.c:104: error: expected ')' before 'offset' kernel/time/ntp.c: In function 'ntp_clear': kernel/time/ntp.c:121: error: 'tick_length' undeclared (first use in this function) kernel/time/ntp.c:121: error: 'tick_length_base' undeclared (first use in this function) kernel/time/ntp.c:122: error: 'time_offset' undeclared (first use in this function) kernel/time/ntp.c: At top level: kernel/time/ntp.c:131: error: return type is an incomplete type kernel/time/ntp.c: In function 'ntp_leap_second': kernel/time/ntp.c:132: error: variable 'res' has initializer but incomplete type kernel/time/ntp.c:132: error: 'HRTIMER_NORESTART' undeclared (first use in this function) kernel/time/ntp.c:132: error: storage size of 'res' isn't known kernel/time/ntp.c:134: error: implicit declaration of function 'write_seqlock_irq' kernel/time/ntp.c:134: error: 'xtime_lock' undeclared (first use in this function) kernel/time/ntp.c:139: error: 'TIME_INS' undeclared (first use in this function) kernel/time/ntp.c:140: error: 'xtime' undeclared (first use in this function) kernel/time/ntp.c:141: error: 'wall_to_monotonic' undeclared (first use in this function) kernel/sysctl_check.c:618: error: (near initialization for 'trans_net_llc_station_table[0].ctl_name')linux/module.h: No such file or directorycc1: kernel/time/ntp.c:142: error: 'TIME_OOP' undeclared (first use in this function) error: include/linux/autoconf.h: No such file or directory mm/slub.c:13:32: error: linux/bit_spinlock.h: No such file or directory mm/slub.c:14:29: error: linux/interrupt.h: No such file or directory mm/slub.c:15:26: error: linux/bitops.h: No such file or directory mm/slub.c:16:24: error: linux/slab.h: No such file or directory mm/slub.c:17:28: error: linux/seq_file.h: No such file or directory mm/slub.c:18:23: error: linux/cpu.h: No such file or directory mm/slub.c:19:26: error: linux/cpuset.h: No such file or directory mm/slub.c:20:29: error: linux/mempolicy.h: No such file or directory mm/slub.c:21:25: error: linux/ctype.h: No such file or directory mm/slub.c:22:32: error: linux/debugobjects.h: No such file or directory mm/slub.c:23:28: error: linux/kallsyms.h: No such file or directory mm/slub.c:24:26: error: linux/memory.h: No such file or directory mm/slub.c:25:26: error: linux/math64.h: No such file or directory mm/slub.c:26:29: error: linux/kmemcheck.h: No such file or directory kernel/sysctl_check.c:623: error: 'NET_LLC2' undeclared here (not in a function) kernel/sysctl_check.c:623: error: initializer element is not constant kernel/sysctl_check.c:623: error: (near initialization for 'trans_net_llc_llc2_table[0].ctl_name') kernel/sysctl_check.c:628: error: initializer element is not constant kernel/sysctl_check.c:628: error: (near initialization for 'trans_net_llc_table[0].ctl_name') mm/slub.c:114: warning: 'struct page' declared inside parameter list mm/slub.c:114: warning: its scope is only this definition or declaration, which is probably not what you want kernel/time/ntp.c:143: error: implicit declaration of function 'printk' kernel/irq/spurious.c:9:27: error: linux/jiffies.h: No such file or directory kernel/sysctl_check.c:629: error: 'NET_LLC_STATION' undeclared here (not in a function) mm/slub.c: In function 'SlabFrozen': mm/slub.c:116: error: dereferencing pointer to incomplete type kernel/time/ntp.c:143: error: 'KERN_NOTICE' undeclared (first use in this function) mm/slub.c:116: error: 'PG_active' undeclared (first use in this function) kernel/irq/spurious.c:10:23:kernel/sysctl_check.c:629: error: initializer element is not constantkernel/time/ntp.c:143: error: expected ')' before string constant mm/slub.c:116: error: (Each undeclared identifier is reported only once mm/slub.c:116: error: for each function it appears in.) kernel/time/ntp.c:145: error: invalid use of undefined type 'struct hrtimer' kernel/time/ntp.c:145: error: implicit declaration of function 'ktime_add_ns' kernel/time/ntp.c:145: error: invalid use of undefined type 'struct hrtimer' kernel/time/ntp.c:146: error: 'NSEC_PER_SEC' undeclared (first use in this function) kernel/time/ntp.c:147: error: 'HRTIMER_RESTART' undeclared (first use in this function) mm/slub.c: At top level: kernel/time/ntp.c:149: error: 'TIME_DEL' undeclared (first use in this function) mm/slub.c:119: warning: 'struct page' declared inside parameter list kernel/time/ntp.c:153: error: 'TIME_WAIT' undeclared (first use in this function) kernel/sysctl_check.c:629: error: (near initialization for 'trans_net_llc_table[1].ctl_name') kernel/time/ntp.c:154: error: expected ')' before string constant kernel/time/ntp.c:162: error: 'STA_INS' undeclared (first use in this function) kernel/time/ntp.c:162: error: 'STA_DEL' undeclared (first use in this function) kernel/sysctl_check.c:634: error: 'NET_NF_CONNTRACK_MAX' undeclared here (not in a function) error: mm/slub.c: In function 'SetSlabFrozen': kernel/time/ntp.c:166: error: implicit declaration of function 'update_vsyscall' kernel/sysctl_check.c:634: error: initializer element is not constantkernel/time/ntp.c:166: error: 'clock' undeclared (first use in this function) kernel/time/ntp.c:168: error: implicit declaration of function 'write_sequnlock_irq' linux/irq.h: No such file or directorymm/slub.c:121: error: dereferencing pointer to incomplete type mm/slub.c:121: error: 'PG_active' undeclared (first use in this function) kernel/sysctl_check.c:634: error: (near initialization for 'trans_net_netfilter_table[0].ctl_name') mm/slub.c: At top level: mm/slub.c:124: warning: 'struct page' declared inside parameter list mm/slub.c: In function 'ClearSlabFrozen': mm/slub.c:126: error: dereferencing pointer to incomplete type mm/slub.c:126: error: 'PG_active' undeclared (first use in this function) kernel/sysctl_check.c:635: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT' undeclared here (not in a function)mm/slub.c: At top level: mm/slub.c:129: warning: 'struct page' declared inside parameter list mm/slub.c: In function 'SlabDebug': mm/slub.c:131: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:134: warning: 'struct page' declared inside parameter list make[1]: kernel/time/ntp.c:170: warning: 'return' with a value, in function returning void kernel/time/ntp.c:132: warning: unused variable 'res' kernel/irq/spurious.c:11:26: error: linux/module.h: No such file or directory kernel/irq/spurious.c:12:28: error: linux/kallsyms.h: No such file or directory kernel/irq/spurious.c:13:29: error: linux/interrupt.h: No such file or directory kernel/time/ntp.c: In function 'second_overflow': mm/slub.c: In function 'SetSlabDebug': *** [kernel/futex.o] Error 1kernel/irq/spurious.c:14:31: error: linux/moduleparam.h: No such file or directory kernel/time/ntp.c:183: error: 's64' undeclared (first use in this function) kernel/irq/spurious.c:15:25: kernel/time/ntp.c:183: error: expected ';' before 'time_adj' kernel/sysctl_check.c:635: error: initializer element is not constant mm/slub.c:136: error: dereferencing pointer to incomplete type kernel/time/ntp.c:186: error: 'MAXFREQ' undeclared (first use in this function) error: linux/timer.h: No such file or directory kernel/sysctl_check.c:635: error: (near initialization for 'trans_net_netfilter_table[1].ctl_name')mm/slub.c: At top level: mm/slub.c:139: warning: 'struct page' declared inside parameter list kernel/time/ntp.c:186: error: 'NSEC_PER_USEC' undeclared (first use in this function) mm/slub.c: In function 'ClearSlabDebug': mm/slub.c:141: error: dereferencing pointer to incomplete type kernel/time/ntp.c:196: error: 'tick_length' undeclared (first use in this function) kernel/sysctl_check.c:636: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV' undeclared here (not in a function) kernel/time/ntp.c:196: error: 'tick_length_base' undeclared (first use in this function)kernel/sysctl_check.c:636: error: initializer element is not constant mm/slub.c: At top level:kernel/time/ntp.c:197: error: 'time_adj' undeclared (first use in this function) kernel/sysctl_check.c:636: error: (near initialization for 'trans_net_netfilter_table[2].ctl_name') mm/slub.c:192: error: invalid application of 'sizeof' to incomplete type 'struct kmem_cache' kernel/sysctl_check.c:637: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED' undeclared here (not in a function) kernel/sysctl_check.c:637: error: initializer element is not constant kernel/sysctl_check.c:637: error: (near initialization for 'trans_net_netfilter_table[3].ctl_name') kernel/sysctl_check.c:638: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT' undeclared here (not in a function) mm/slub.c:206: warning: type defaults to 'int' in declaration of 'DECLARE_RWSEM' kernel/irq/spurious.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly'kernel/time/ntp.c:197: error: implicit declaration of function 'shift_right' kernel/sysctl_check.c:638: error: initializer element is not constant kernel/time/ntp.c:197: error: 'time_offset' undeclared (first use in this function) kernel/time/ntp.c:197: error: 'SHIFT_PLL' undeclared (first use in this function) kernel/time/ntp.c:201: error: implicit declaration of function 'unlikely' kernel/time/ntp.c:204: error: 'u64' undeclared (first use in this function) kernel/time/ntp.c:204: error: 'NTP_SCALE_SHIFT' undeclared (first use in this function) kernel/time/ntp.c:204: error: 'NTP_INTERVAL_FREQ' undeclared (first use in this function) mm/slub.c:206: warning: parameter names (without types) in function declaration kernel/irq/spurious.c:21: error: expected ')' before numeric constant kernel/time/ntp.c: At top level: kernel/time/ntp.c:277: warning: 'struct timex' declared inside parameter listkernel/sysctl_check.c:638: error: (near initialization for 'trans_net_netfilter_table[4].ctl_name') kernel/sysctl_check.c:639: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT' undeclared here (not in a function)kernel/irq/spurious.c:26: warning: 'struct irq_desc' declared inside parameter list kernel/irq/spurious.c:26: warning: its scope is only this definition or declaration, which is probably not what you want kernel/irq/spurious.c: In function 'try_one_irq': kernel/irq/spurious.c:32: error: implicit declaration of function 'spin_lock' kernel/irq/spurious.c:32: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:34: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:34: error: 'IRQ_INPROGRESS' undeclared (first use in this function) kernel/irq/spurious.c:34: error: (Each undeclared identifier is reported only once kernel/irq/spurious.c:34: error: for each function it appears in.) kernel/irq/spurious.c:39: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:39: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:39: error: 'IRQF_SHARED' undeclared (first use in this function) kernel/irq/spurious.c:40: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:40: error: 'IRQ_PENDING' undeclared (first use in this function) kernel/irq/spurious.c:41: error: implicit declaration of function 'spin_unlock' kernel/irq/spurious.c:41: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:45: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:46: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:47: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:51: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:52: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:52: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:53: error: 'IRQ_HANDLED' undeclared (first use in this function) kernel/irq/spurious.c:56: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:58: error: implicit declaration of function 'local_irq_disable' kernel/irq/spurious.c:60: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:61: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:67: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:72: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:73: error: implicit declaration of function 'handle_IRQ_event' kernel/irq/spurious.c:74: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:75: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:77: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:82: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:82: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:83: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:84: error: dereferencing pointer to incomplete type CC kernel/irq/resend.o kernel/irq/spurious.c: In function 'misrouted_irq': kernel/irq/spurious.c:94: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/spurious.c:95: error: 'irq_desc' undeclared (first use in this function) kernel/irq/spurious.c:100: warning: passing argument 2 of 'try_one_irq' from incompatible pointer type kernel/irq/spurious.c: In function 'poll_spurious_irqs': kernel/irq/spurious.c:110: error: 'NR_IRQS' undeclared (first use in this function) kernel/irq/spurious.c:111: error: 'irq_desc' undeclared (first use in this function) kernel/irq/spurious.c:115: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:116: error: implicit declaration of function 'barrier' kernel/irq/spurious.c:117: error: 'IRQ_SPURIOUS_DISABLED' undeclared (first use in this function) kernel/irq/spurious.c:120: warning: passing argument 2 of 'try_one_irq' from incompatible pointer type kernel/irq/spurious.c:123: error: implicit declaration of function 'mod_timer' kernel/irq/spurious.c:123: error: 'poll_spurious_irq_timer' undeclared (first use in this function) kernel/irq/spurious.c:123: error: 'jiffies' undeclared (first use in this function) kernel/irq/spurious.c:123: error: 'HZ' undeclared (first use in this function) kernel/irq/spurious.c: At top level: kernel/irq/spurious.c:139: error: expected declaration specifiers or '...' before 'irqreturn_t' kernel/irq/spurious.c:139: warning: 'struct irq_desc' declared inside parameter list kernel/irq/spurious.c: In function '__report_bad_irq': kernel/irq/spurious.c:143: error: 'action_ret' undeclared (first use in this function) kernel/irq/spurious.c:143: error: 'IRQ_HANDLED' undeclared (first use in this function) kernel/irq/spurious.c:143: error: 'IRQ_NONE' undeclared (first use in this function) kernel/irq/spurious.c:144: error: implicit declaration of function 'printk' kernel/irq/spurious.c:144: error: 'KERN_ERR' undeclared (first use in this function) kernel/irq/spurious.c:144: error: expected ')' before string constant kernel/irq/spurious.c:147: error: expected ')' before string constant kernel/irq/spurious.c:150: error: implicit declaration of function 'dump_stack' kernel/irq/spurious.c:151: error: expected ')' before string constant kernel/irq/spurious.c:153: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:155: error: expected ')' before string constant kernel/irq/spurious.c:156: error: implicit declaration of function 'print_symbol' kernel/irq/spurious.c:157: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:159: error: dereferencing pointer to incomplete type kernel/irq/spurious.c: At top level: kernel/irq/spurious.c:164: error: expected declaration specifiers or '...' before 'irqreturn_t' kernel/irq/spurious.c:164: warning: 'struct irq_desc' declared inside parameter list kernel/irq/spurious.c: In function 'report_bad_irq': kernel/irq/spurious.c:170: error: 'action_ret' undeclared (first use in this function) kernel/irq/spurious.c:170: warning: passing argument 2 of '__report_bad_irq' from incompatible pointer type kernel/irq/spurious.c:170: error: too many arguments to function '__report_bad_irq' kernel/time/ntp.c:277: warning: its scope is only this definition or declaration, which is probably not what you wantkernel/sysctl_check.c:639: error: initializer element is not constantmm/slub.c:207: warning: type defaults to 'int' in declaration of 'LIST_HEAD' kernel/irq/spurious.c: At top level: mm/slub.c:207: warning: parameter names (without types) in function declaration kernel/time/ntp.c: In function 'do_adjtimex': kernel/time/ntp.c:279: error: storage size of 'ts' isn't known kernel/time/ntp.c:284: error: dereferencing pointer to incomplete type kernel/time/ntp.c:284: error: implicit declaration of function 'capable' kernel/time/ntp.c:284: error: 'CAP_SYS_TIME' undeclared (first use in this function) kernel/time/ntp.c:285: error: 'EPERM' undeclared (first use in this function) mm/slub.c: In function 'sysfs_slab_remove': mm/slub.c:232: error: implicit declaration of function 'kfree' kernel/time/ntp.c:289: error: dereferencing pointer to incomplete type kernel/time/ntp.c:289: error: 'ADJ_OFFSET_SINGLESHOT' undeclared (first use in this function) kernel/time/ntp.c:291: error: dereferencing pointer to incomplete type kernel/time/ntp.c:291: error: 'ADJ_OFFSET_SS_READ' undeclared (first use in this function) mm/slub.c: At top level: kernel/time/ntp.c:292: error: 'EINVAL' undeclared (first use in this function)kernel/irq/spurious.c:174: error: expected declaration specifiers or '...' before 'irqreturn_t' kernel/sysctl_check.c:639: error: (near initialization for 'trans_net_netfilter_table[5].ctl_name') mm/slub.c:237: warning: 'enum stat_item' declared inside parameter list kernel/irq/spurious.c:174: warning: 'struct irq_desc' declared inside parameter listmm/slub.c:237: warning: 'struct kmem_cache_cpu' declared inside parameter list kernel/time/ntp.c:296: error: dereferencing pointer to incomplete typemm/slub.c:237: error: parameter 2 ('si') has incomplete type kernel/time/ntp.c:296: error: 'ADJ_TICK' undeclared (first use in this function) kernel/time/ntp.c:297: error: dereferencing pointer to incomplete type kernel/time/ntp.c:297: error: 'USER_HZ' undeclared (first use in this function) kernel/time/ntp.c:298: error: dereferencing pointer to incomplete type kernel/time/ntp.c:301: error: dereferencing pointer to incomplete type mm/slub.c: In function 'get_node': kernel/time/ntp.c:301: error: 'ADJ_STATUS' undeclared (first use in this function) mm/slub.c:258: error: dereferencing pointer to incomplete type mm/slub.c: In function 'get_cpu_slab': mm/slub.c:267: error: dereferencing pointer to incomplete type kernel/irq/spurious.c: In function 'try_misrouted_irq':kernel/sysctl_check.c:640: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK' undeclared here (not in a function)kernel/time/ntp.c:302: error: implicit declaration of function 'hrtimer_cancel' mm/slub.c: At top level: mm/slub.c:273: warning: 'struct page' declared inside parameter list kernel/time/ntp.c:303: error: implicit declaration of function 'getnstimeofday'kernel/sysctl_check.c:640: error: initializer element is not constant mm/slub.c: In function 'check_valid_pointer': mm/slub.c:280: error: implicit declaration of function 'page_address' mm/slub.c:280: warning: assignment makes pointer from integer without a cast mm/slub.c:281: error: dereferencing pointer to incomplete type mm/slub.c:281: error: dereferencing pointer to incomplete type mm/slub.c:282: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:178: error: 'irqfixup' undeclared (first use in this function) kernel/irq/spurious.c:182: error: 'action_ret' undeclared (first use in this function) kernel/irq/spurious.c:182: error: 'IRQ_NONE' undeclared (first use in this function) mm/slub.c: In function 'get_freepointer':kernel/irq/spurious.c:202: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:204: error: dereferencing pointer to incomplete type kernel/time/ntp.c:305: error: 'xtime_lock' undeclared (first use in this function) kernel/time/ntp.c:311: error: dereferencing pointer to incomplete type kernel/time/ntp.c:312: error: dereferencing pointer to incomplete type kernel/time/ntp.c:313: error: 'STA_PLL' undeclared (first use in this function) kernel/time/ntp.c:314: error: dereferencing pointer to incomplete type kernel/time/ntp.c:319: error: 'STA_RONLY' undeclared (first use in this function) kernel/time/ntp.c:320: error: dereferencing pointer to incomplete type kernel/time/ntp.c:326: error: 'STA_INS' undeclared (first use in this function) kernel/time/ntp.c:327: error: 'TIME_INS' undeclared (first use in this function) kernel/time/ntp.c:329: error: implicit declaration of function 'hrtimer_start' kernel/time/ntp.c:329: error: implicit declaration of function 'ktime_set' kernel/time/ntp.c:329: error: 'HRTIMER_MODE_ABS' undeclared (first use in this function) kernel/time/ntp.c:330: error: 'STA_DEL' undeclared (first use in this function) kernel/time/ntp.c:331: error: 'TIME_DEL' undeclared (first use in this function) kernel/time/ntp.c:341: error: 'TIME_WAIT' undeclared (first use in this function) kernel/time/ntp.c:345: error: 'TIME_OOP' undeclared (first use in this function) kernel/time/ntp.c:346: error: implicit declaration of function 'hrtimer_restart' kernel/time/ntp.c:351: error: dereferencing pointer to incomplete type kernel/time/ntp.c:351: error: 'ADJ_NANO' undeclared (first use in this function) kernel/time/ntp.c:352: error: 'STA_NANO' undeclared (first use in this function) kernel/time/ntp.c:353: error: dereferencing pointer to incomplete type kernel/time/ntp.c:353: error: 'ADJ_MICRO' undeclared (first use in this function) kernel/time/ntp.c:356: error: dereferencing pointer to incomplete type kernel/time/ntp.c:356: error: 'ADJ_FREQUENCY' undeclared (first use in this function) kernel/time/ntp.c:357: error: 'time_freq' undeclared (first use in this function) kernel/time/ntp.c:357: error: 's64' undeclared (first use in this function) kernel/time/ntp.c:357: error: expected ';' before 'txc' kernel/time/ntp.c:358: error: 'MAXFREQ_SCALED' undeclared (first use in this function) kernel/time/ntp.c:362: error: dereferencing pointer to incomplete type kernel/time/ntp.c:362: error: 'ADJ_MAXERROR' undeclared (first use in this function) kernel/time/ntp.c:363: error: dereferencing pointer to incomplete type kernel/time/ntp.c:364: error: dereferencing pointer to incomplete type kernel/time/ntp.c:364: error: 'ADJ_ESTERROR' undeclared (first use in this function) kernel/time/ntp.c:365: error: dereferencing pointer to incomplete type kernel/time/ntp.c:367: error: dereferencing pointer to incomplete type kernel/time/ntp.c:367: error: 'ADJ_TIMECONST' undeclared (first use in this function) kernel/time/ntp.c:368: error: dereferencing pointer to incomplete type kernel/time/ntp.c:371: error: 'MAXTC' undeclared (first use in this function) kernel/time/ntp.c:375: error: dereferencing pointer to incomplete type kernel/time/ntp.c:375: error: 'ADJ_TAI' undeclared (first use in this function) kernel/time/ntp.c:375: error: dereferencing pointer to incomplete type kernel/time/ntp.c:376: error: dereferencing pointer to incomplete type kernel/time/ntp.c:378: error: dereferencing pointer to incomplete type kernel/time/ntp.c:378: error: 'ADJ_OFFSET' undeclared (first use in this function) kernel/time/ntp.c:379: error: dereferencing pointer to incomplete type kernel/time/ntp.c:381: error: dereferencing pointer to incomplete type kernel/time/ntp.c:383: error: dereferencing pointer to incomplete type kernel/time/ntp.c:385: error: dereferencing pointer to incomplete type kernel/time/ntp.c:386: error: dereferencing pointer to incomplete type kernel/time/ntp.c:388: error: dereferencing pointer to incomplete type kernel/time/ntp.c:393: error: 'STA_CLOCKERR' undeclared (first use in this function) kernel/time/ntp.c:394: error: 'TIME_ERROR' undeclared (first use in this function) kernel/time/ntp.c:396: error: dereferencing pointer to incomplete type kernel/time/ntp.c:397: error: dereferencing pointer to incomplete type kernel/time/ntp.c:398: error: dereferencing pointer to incomplete type kernel/time/ntp.c:400: error: dereferencing pointer to incomplete type kernel/time/ntp.c:400: error: 'time_offset' undeclared (first use in this function) kernel/time/ntp.c:400: error: 'NTP_INTERVAL_FREQ' undeclared (first use in this function) kernel/time/ntp.c:401: error: 'NTP_SCALE_SHIFT' undeclared (first use in this function) kernel/time/ntp.c:403: error: dereferencing pointer to incomplete type kernel/time/ntp.c:403: error: 'NSEC_PER_USEC' undeclared (first use in this function) kernel/time/ntp.c:405: error: dereferencing pointer to incomplete type kernel/time/ntp.c:405: error: 's32' undeclared (first use in this function) kernel/time/ntp.c:405: error: 'PPM_SCALE_INV_SHIFT' undeclared (first use in this function) kernel/time/ntp.c:406: error: expected ')' before 'PPM_SCALE_INV' kernel/time/ntp.c:408: error: dereferencing pointer to incomplete type kernel/time/ntp.c:409: error: dereferencing pointer to incomplete type kernel/time/ntp.c:410: error: dereferencing pointer to incomplete type kernel/time/ntp.c:411: error: dereferencing pointer to incomplete type kernel/time/ntp.c:412: error: dereferencing pointer to incomplete type kernel/time/ntp.c:413: error: dereferencing pointer to incomplete type kernel/time/ntp.c:413: error: 'PPM_SCALE' undeclared (first use in this function) kernel/time/ntp.c:414: error: dereferencing pointer to incomplete type kernel/time/ntp.c:415: error: dereferencing pointer to incomplete type kernel/time/ntp.c:418: error: dereferencing pointer to incomplete type kernel/time/ntp.c:419: error: dereferencing pointer to incomplete type kernel/time/ntp.c:420: error: dereferencing pointer to incomplete type kernel/time/ntp.c:421: error: dereferencing pointer to incomplete type kernel/time/ntp.c:422: error: dereferencing pointer to incomplete type kernel/time/ntp.c:423: error: dereferencing pointer to incomplete type kernel/time/ntp.c:424: error: dereferencing pointer to incomplete type kernel/time/ntp.c:425: error: dereferencing pointer to incomplete type kernel/time/ntp.c:428: error: dereferencing pointer to incomplete type kernel/time/ntp.c:429: error: dereferencing pointer to incomplete type kernel/time/ntp.c:431: error: dereferencing pointer to incomplete type kernel/time/ntp.c:279: warning: unused variable 'ts' kernel/time/ntp.c: At top level: kernel/time/ntp.c:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntp_tick_adj_setup' kernel/time/ntp.c:444: error: expected declaration specifiers or '...' before string constant kernel/time/ntp.c:444: error: expected declaration specifiers or '...' before 'ntp_tick_adj_setup' kernel/time/ntp.c:444: warning: data definition has no type or storage class kernel/time/ntp.c:444: warning: type defaults to 'int' in declaration of '__setup' kernel/time/ntp.c:444: warning: function declaration isn't a prototype kernel/time/ntp.c:446: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntp_init' kernel/sysctl_check.c:640: error: (near initialization for 'trans_net_netfilter_table[6].ctl_name') make[2]: *** [kernel/time/ntp.o] Error 1 kernel/irq/spurious.c:204: error: 'IRQF_IRQPOLL' undeclared (first use in this function)mm/slub.c:298: error: dereferencing pointer to incomplete type mm/slub.c: In function 'set_freepointer': mm/slub.c:303: error: dereferencing pointer to incomplete type mm/slub.c: In function 'slab_index': mm/slub.c:318: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:323: error: return type is an incomplete type mm/slub.c: In function 'oo_make': mm/slub.c:324: error: variable 'x' has initializer but incomplete type mm/slub.c:325: error: 'PAGE_SIZE' undeclared (first use in this function) mm/slub.c:326: warning: excess elements in struct initializer mm/slub.c:326: warning: (near initialization for 'x') mm/slub.c:324: error: storage size of 'x' isn't known mm/slub.c:328: warning: 'return' with a value, in function returning void mm/slub.c:324: warning: unused variable 'x' mm/slub.c: At top level: mm/slub.c:331: error: parameter 1 ('x') has incomplete type mm/slub.c:336: error: parameter 1 ('x') has incomplete type mm/slub.c:1061: warning: 'struct page' declared inside parameter list mm/slub.c:1064: warning: 'struct page' declared inside parameter list mm/slub.c:1067: warning: 'struct page' declared inside parameter list mm/slub.c:1069: warning: 'struct page' declared inside parameter list mm/slub.c:1072: warning: 'struct page' declared inside parameter list mm/slub.c:1073: warning: 'struct page' declared inside parameter list mm/slub.c:1093: error: expected ')' before 'flags' mm/slub.c:1104: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'allocate_slab': mm/slub.c:1107: error: variable 'oo' has initializer but incomplete type mm/slub.c:1107: error: dereferencing pointer to incomplete type mm/slub.c:1107: error: storage size of 'oo' isn't known mm/slub.c:1109: error: 'flags' undeclared (first use in this function) mm/slub.c:1109: error: dereferencing pointer to incomplete type mm/slub.c:1111: error: implicit declaration of function 'alloc_slab_page' mm/slub.c:1111: error: '__GFP_NOWARN' undeclared (first use in this function) mm/slub.c:1111: error: '__GFP_NORETRY' undeclared (first use in this function) mm/slub.c:1112: warning: assignment makes pointer from integer without a cast mm/slub.c:1113: error: implicit declaration of function 'unlikely' mm/slub.c:1114: error: dereferencing pointer to incomplete type mm/slub.c:1119: warning: assignment makes pointer from integer without a cast mm/slub.c:1121: error: 'NULL' undeclared (first use in this function) mm/slub.c:1123: error: implicit declaration of function 'raw_smp_processor_id' mm/slub.c:1123: error: 'ORDER_FALLBACK' undeclared (first use in this function) mm/slub.c:1123: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1123: error: type of formal parameter 2 is incomplete CC kernel/time/clocksource.o kernel/irq/spurious.c: At top level: kernel/irq/spurious.c:208: error: expected declaration specifiers or '...' before 'irqreturn_t' kernel/irq/spurious.c:208: warning: 'struct irq_desc' declared inside parameter list kernel/irq/spurious.c: In function 'note_interrupt': kernel/irq/spurious.c:210: error: implicit declaration of function 'unlikely' kernel/sysctl_check.c:641: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:641: error: initializer element is not constant kernel/sysctl_check.c:641: error: (near initialization for 'trans_net_netfilter_table[7].ctl_name') kernel/sysctl_check.c:642: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE' undeclared here (not in a function) kernel/sysctl_check.c:642: error: initializer element is not constant kernel/sysctl_check.c:642: error: (near initialization for 'trans_net_netfilter_table[8].ctl_name') kernel/sysctl_check.c:643: error: 'NET_NF_CONNTRACK_UDP_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:643: error: initializer element is not constant kernel/sysctl_check.c:643: error: (near initialization for 'trans_net_netfilter_table[9].ctl_name') kernel/sysctl_check.c:644: error: 'NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM' undeclared here (not in a function) kernel/sysctl_check.c:644: error: initializer element is not constant kernel/sysctl_check.c:644: error: (near initialization for 'trans_net_netfilter_table[10].ctl_name') kernel/sysctl_check.c:645: error: 'NET_NF_CONNTRACK_ICMP_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:645: error: initializer element is not constant kernel/sysctl_check.c:645: error: (near initialization for 'trans_net_netfilter_table[11].ctl_name') kernel/sysctl_check.c:646: error: 'NET_NF_CONNTRACK_GENERIC_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:646: error: initializer element is not constant kernel/sysctl_check.c:646: error: (near initialization for 'trans_net_netfilter_table[12].ctl_name') kernel/sysctl_check.c:647: error: 'NET_NF_CONNTRACK_BUCKETS' undeclared here (not in a function) kernel/sysctl_check.c:647: error: initializer element is not constant kernel/sysctl_check.c:647: error: (near initialization for 'trans_net_netfilter_table[13].ctl_name') kernel/sysctl_check.c:648: error: 'NET_NF_CONNTRACK_LOG_INVALID' undeclared here (not in a function) kernel/sysctl_check.c:648: error: initializer element is not constant kernel/sysctl_check.c:648: error: (near initialization for 'trans_net_netfilter_table[14].ctl_name') mm/slub.c:1126: error: 'kmemcheck_enabled' undeclared (first use in this function) mm/slub.c:1127: error: dereferencing pointer to incomplete type mm/slub.c:1127: error: 'SLAB_NOTRACK' undeclared (first use in this function) mm/slub.c:1127: error: 'SLAB_DEBUG_FREE' undeclared (first use in this function) mm/slub.c:1127: error: 'SLAB_RED_ZONE' undeclared (first use in this function) mm/slub.c:1127: error: 'SLAB_POISON' undeclared (first use in this function) mm/slub.c:1127: error: 'SLAB_STORE_USER' undeclared (first use in this function) mm/slub.c:1129: error: implicit declaration of function 'kmemcheck_alloc_shadow' mm/slub.c:1129: error: implicit declaration of function 'compound_order' mm/slub.c:1132: error: dereferencing pointer to incomplete type mm/slub.c:1132: error: type of formal parameter 1 is incomplete mm/slub.c:1133: error: implicit declaration of function 'mod_zone_page_state' mm/slub.c:1133: error: implicit declaration of function 'page_zone' mm/slub.c:1134: error: dereferencing pointer to incomplete type mm/slub.c:1134: error: 'SLAB_RECLAIM_ACCOUNT' undeclared (first use in this function) mm/slub.c:1135: error: 'NR_SLAB_RECLAIMABLE' undeclared (first use in this function) mm/slub.c:1135: error: 'NR_SLAB_UNRECLAIMABLE' undeclared (first use in this function) mm/slub.c:1136: error: type of formal parameter 1 is incomplete mm/slub.c:1107: warning: unused variable 'oo' mm/slub.c: In function 'setup_object': mm/slub.c:1144: warning: passing argument 2 of 'setup_object_debug' from incompatible pointer type mm/slub.c:1145: error: dereferencing pointer to incomplete type mm/slub.c:1146: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:1149: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'new_slab': mm/slub.c:1156: error: implicit declaration of function 'BUG_ON' mm/slub.c:1156: error: 'flags' undeclared (first use in this function) mm/slub.c:1156: error: 'GFP_SLAB_BUG_MASK' undeclared (first use in this function) mm/slub.c:1159: error: 'GFP_RECLAIM_MASK' undeclared (first use in this function) mm/slub.c:1159: error: 'GFP_CONSTRAINT_MASK' undeclared (first use in this function) mm/slub.c:1159: error: too many arguments to function 'allocate_slab' mm/slub.c:1163: error: implicit declaration of function 'page_to_nid' mm/slub.c:1163: error: dereferencing pointer to incomplete type mm/slub.c:1164: error: dereferencing pointer to incomplete type mm/slub.c:1165: error: dereferencing pointer to incomplete type mm/slub.c:1165: error: 'PG_slab' undeclared (first use in this function) mm/slub.c:1166: error: dereferencing pointer to incomplete type mm/slub.c:1166: error: 'SLAB_DEBUG_FREE' undeclared (first use in this function) mm/slub.c:1166: error: 'SLAB_RED_ZONE' undeclared (first use in this function) mm/slub.c:1166: error: 'SLAB_POISON' undeclared (first use in this function) mm/slub.c:1167: error: 'SLAB_STORE_USER' undeclared (first use in this function) mm/slub.c:1167: error: 'SLAB_TRACE' undeclared (first use in this function) mm/slub.c:1168: warning: passing argument 1 of 'SetSlabDebug' from incompatible pointer type mm/slub.c:1170: warning: assignment makes pointer from integer without a cast mm/slub.c:1172: error: dereferencing pointer to incomplete type mm/slub.c:1173: error: implicit declaration of function 'memset' mm/slub.c:1173: error: 'POISON_INUSE' undeclared (first use in this function) mm/slub.c:1173: error: 'PAGE_SIZE' undeclared (first use in this function) mm/slub.c:1176: error: dereferencing pointer to incomplete type mm/slub.c:1176: error: dereferencing pointer to incomplete type mm/slub.c:1176: error: dereferencing pointer to incomplete type mm/slub.c:1182: error: 'NULL' undeclared (first use in this function) mm/slub.c:1184: error: dereferencing pointer to incomplete type mm/slub.c:1185: error: dereferencing pointer to incomplete type mm/slub.c: In function '__free_slab': mm/slub.c:1195: warning: passing argument 1 of 'SlabDebug' from incompatible pointer type mm/slub.c:1198: warning: passing argument 2 of 'slab_pad_check' from incompatible pointer type mm/slub.c:1199: warning: assignment makes pointer from integer without a cast mm/slub.c:1199: error: dereferencing pointer to incomplete type mm/slub.c:1199: error: dereferencing pointer to incomplete type mm/slub.c:1199: error: dereferencing pointer to incomplete type mm/slub.c:1201: warning: passing argument 2 of 'check_object' from incompatible pointer type mm/slub.c:1202: warning: passing argument 1 of 'ClearSlabDebug' from incompatible pointer type mm/slub.c:1205: error: implicit declaration of function 'kmemcheck_page_is_tracked' mm/slub.c:1206: error: implicit declaration of function 'kmemcheck_free_shadow' mm/slub.c:1209: error: dereferencing pointer to incomplete type mm/slub.c:1209: error: 'SLAB_RECLAIM_ACCOUNT' undeclared (first use in this function) mm/slub.c:1210: error: 'NR_SLAB_RECLAIMABLE' undeclared (first use in this function) mm/slub.c:1210: error: 'NR_SLAB_UNRECLAIMABLE' undeclared (first use in this function) mm/slub.c:1213: error: implicit declaration of function '__ClearPageSlab' mm/slub.c:1214: error: implicit declaration of function 'reset_page_mapcount' mm/slub.c:1215: error: implicit declaration of function '__free_pages' mm/slub.c: At top level: mm/slub.c:1218: warning: 'struct rcu_head' declared inside parameter list mm/slub.c: In function 'rcu_free_slab': mm/slub.c:1222: error: implicit declaration of function 'container_of' mm/slub.c:1222: error: expected expression before 'struct' mm/slub.c:1222: warning: assignment makes pointer from integer without a cast mm/slub.c:1223: error: dereferencing pointer to incomplete type mm/slub.c: In function 'free_slab': mm/slub.c:1228: error: dereferencing pointer to incomplete type mm/slub.c:1228: error: 'SLAB_DESTROY_BY_RCU' undeclared (first use in this function) mm/slub.c:1232: error: dereferencing pointer to incomplete type mm/slub.c:1234: error: implicit declaration of function 'call_rcu' mm/slub.c: In function 'discard_slab': mm/slub.c:1241: error: dereferencing pointer to incomplete type cc1: kernel/irq/spurious.c:210: error: 'action_ret' undeclared (first use in this function) kernel/sysctl_check.c:649: error: 'NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS' undeclared here (not in a function)kernel/irq/spurious.c:210: error: 'IRQ_HANDLED' undeclared (first use in this function)mm/slub.c: At top level: mm/slub.c:1248: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/slub.c:1253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/slub.c:1258: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' mm/slub.c: In function 'add_partial': mm/slub.c:1272: error: implicit declaration of function 'spin_lock' mm/slub.c:1272: error: dereferencing pointer to incomplete type mm/slub.c:1273: error: dereferencing pointer to incomplete type mm/slub.c:1275: error: implicit declaration of function 'list_add_tail' mm/slub.c:1275: error: dereferencing pointer to incomplete type mm/slub.c:1275: error: dereferencing pointer to incomplete type mm/slub.c:1277: error: implicit declaration of function 'list_add' mm/slub.c:1277: error: dereferencing pointer to incomplete type mm/slub.c:1277: error: dereferencing pointer to incomplete type mm/slub.c:1278: error: implicit declaration of function 'spin_unlock' mm/slub.c:1278: error: dereferencing pointer to incomplete type mm/slub.c: In function 'remove_partial': mm/slub.c:1285: error: dereferencing pointer to incomplete type mm/slub.c:1286: error: implicit declaration of function 'list_del' mm/slub.c:1286: error: dereferencing pointer to incomplete type mm/slub.c:1287: error: dereferencing pointer to incomplete type mm/slub.c:1288: error: dereferencing pointer to incomplete type mm/slub.c: In function 'lock_and_freeze_slab': mm/slub.c:1299: error: implicit declaration of function 'slab_trylock' mm/slub.c:1300: error: dereferencing pointer to incomplete type mm/slub.c:1301: error: dereferencing pointer to incomplete type mm/slub.c:1302: warning: passing argument 1 of 'SetSlabFrozen' from incompatible pointer type mm/slub.c: In function 'get_partial_node': mm/slub.c:1321: error: dereferencing pointer to incomplete type mm/slub.c:1322: error: 'NULL' undeclared (first use in this function) mm/slub.c:1324: error: dereferencing pointer to incomplete type mm/slub.c:1325: error: implicit declaration of function 'list_for_each_entry' mm/slub.c:1325: error: dereferencing pointer to incomplete type mm/slub.c:1325: error: 'lru' undeclared (first use in this function) mm/slub.c:1326: error: expected ';' before 'if' mm/slub.c:1330: error: dereferencing pointer to incomplete type mm/slub.c:1329: warning: label 'out' defined but not used mm/slub.c: At top level: mm/slub.c:1337: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'get_any_partial': mm/slub.c:1382: error: 'NULL' undeclared (first use in this function) mm/slub.c: At top level: mm/slub.c:1388: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'get_partial': mm/slub.c:1391: error: implicit declaration of function 'numa_node_id' mm/slub.c:1394: error: 'flags' undeclared (first use in this function) mm/slub.c:1394: error: '__GFP_THISNODE' undeclared (first use in this function) mm/slub.c:1397: error: too many arguments to function 'get_any_partial' mm/slub.c: In function 'unfreeze_slab': mm/slub.c:1410: error: implicit declaration of function 'smp_processor_id' mm/slub.c:1412: warning: passing argument 1 of 'ClearSlabFrozen' from incompatible pointer type mm/slub.c:1413: error: dereferencing pointer to incomplete type mm/slub.c:1415: error: dereferencing pointer to incomplete type mm/slub.c:1417: error: 'DEACTIVATE_TO_TAIL' undeclared (first use in this function) mm/slub.c:1417: error: 'DEACTIVATE_TO_HEAD' undeclared (first use in this function) mm/slub.c:1417: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1417: error: type of formal parameter 2 is incomplete mm/slub.c:1419: error: 'DEACTIVATE_FULL' undeclared (first use in this function) mm/slub.c:1419: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1419: error: type of formal parameter 2 is incomplete mm/slub.c:1420: warning: passing argument 1 of 'SlabDebug' from incompatible pointer type mm/slub.c:1420: error: dereferencing pointer to incomplete type mm/slub.c:1420: error: 'SLAB_STORE_USER' undeclared (first use in this function) mm/slub.c:1421: warning: passing argument 2 of 'add_full' from incompatible pointer type mm/slub.c:1423: error: implicit declaration of function 'slab_unlock' mm/slub.c:1425: error: 'DEACTIVATE_EMPTY' undeclared (first use in this function) mm/slub.c:1425: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1425: error: type of formal parameter 2 is incomplete mm/slub.c:1426: error: dereferencing pointer to incomplete type mm/slub.c:1441: error: 'FREE_SLAB' undeclared (first use in this function) mm/slub.c:1441: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1441: error: type of formal parameter 2 is incomplete mm/slub.c: In function 'deactivate_slab': mm/slub.c:1452: error: dereferencing pointer to incomplete type mm/slub.c:1455: error: dereferencing pointer to incomplete type mm/slub.c:1456: error: 'DEACTIVATE_REMOTE_FREES' undeclared (first use in this function) mm/slub.c:1456: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1456: error: type of formal parameter 2 is incomplete mm/slub.c:1462: error: dereferencing pointer to incomplete type mm/slub.c:1468: error: dereferencing pointer to incomplete type mm/slub.c:1469: error: dereferencing pointer to incomplete type mm/slub.c:1469: error: dereferencing pointer to incomplete type mm/slub.c:1469: error: dereferencing pointer to incomplete type mm/slub.c:1472: error: dereferencing pointer to incomplete type mm/slub.c:1472: error: dereferencing pointer to incomplete type mm/slub.c:1473: error: dereferencing pointer to incomplete type mm/slub.c:1474: error: dereferencing pointer to incomplete type mm/slub.c:1476: error: dereferencing pointer to incomplete type mm/slub.c:1476: error: 'NULL' undeclared (first use in this function) mm/slub.c: In function 'flush_slab': mm/slub.c:1482: error: 'CPUSLAB_FLUSH' undeclared (first use in this function) mm/slub.c:1482: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1482: error: type of formal parameter 2 is incomplete mm/slub.c:1483: error: implicit declaration of function 'slab_lock' mm/slub.c:1483: error: dereferencing pointer to incomplete type mm/slub.c: In function '__flush_cpu_slab': mm/slub.c:1496: error: implicit declaration of function 'likely' mm/slub.c:1496: error: dereferencing pointer to incomplete type mm/slub.c: In function 'flush_all': mm/slub.c:1509: error: implicit declaration of function 'on_each_cpu' mm/slub.c: At top level: mm/slub.c:1544: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function '__slab_alloc': mm/slub.c:1550: error: 'gfpflags' undeclared (first use in this function) mm/slub.c:1550: error: '__GFP_ZERO' undeclared (first use in this function) mm/slub.c:1552: error: dereferencing pointer to incomplete type mm/slub.c:1555: error: dereferencing pointer to incomplete type mm/slub.c:1559: error: 'ALLOC_REFILL' undeclared (first use in this function) mm/slub.c:1559: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1559: error: type of formal parameter 2 is incomplete mm/slub.c:1562: error: dereferencing pointer to incomplete type mm/slub.c:1565: error: dereferencing pointer to incomplete type mm/slub.c:1568: error: dereferencing pointer to incomplete type mm/slub.c:1568: error: dereferencing pointer to incomplete type mm/slub.c:1569: error: dereferencing pointer to incomplete type mm/slub.c:1569: error: dereferencing pointer to incomplete type mm/slub.c:1570: error: dereferencing pointer to incomplete type mm/slub.c:1570: error: 'NULL' undeclared (first use in this function) mm/slub.c:1571: error: dereferencing pointer to incomplete type mm/slub.c:1571: error: dereferencing pointer to incomplete type mm/slub.c:1573: error: dereferencing pointer to incomplete type mm/slub.c:1574: error: 'ALLOC_SLOWPATH' undeclared (first use in this function) mm/slub.c:1574: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1574: error: type of formal parameter 2 is incomplete mm/slub.c:1581: error: too many arguments to function 'get_partial' mm/slub.c:1583: error: dereferencing pointer to incomplete type mm/slub.c:1584: error: 'ALLOC_FROM_PARTIAL' undeclared (first use in this function) mm/slub.c:1584: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1584: error: type of formal parameter 2 is incomplete mm/slub.c:1588: error: '__GFP_WAIT' undeclared (first use in this function) mm/slub.c:1589: error: implicit declaration of function 'local_irq_enable' mm/slub.c:1591: error: too many arguments to function 'new_slab' mm/slub.c:1594: error: implicit declaration of function 'local_irq_disable' mm/slub.c:1598: error: 'ALLOC_SLAB' undeclared (first use in this function) mm/slub.c:1598: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1598: error: type of formal parameter 2 is incomplete mm/slub.c:1599: error: dereferencing pointer to incomplete type mm/slub.c:1602: warning: passing argument 1 of 'SetSlabFrozen' from incompatible pointer type mm/slub.c:1603: error: dereferencing pointer to incomplete type mm/slub.c:1608: error: dereferencing pointer to incomplete type mm/slub.c:1611: error: dereferencing pointer to incomplete type mm/slub.c:1612: error: dereferencing pointer to incomplete type mm/slub.c:1612: error: dereferencing pointer to incomplete type mm/slub.c:1613: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:1627: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/slub.c:1656: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'kmem_cache_alloc': mm/slub.c:1658: error: implicit declaration of function 'slab_alloc' mm/slub.c:1658: error: 'gfpflags' undeclared (first use in this function) mm/slub.c:1658: warning: return makes pointer from integer without a cast mm/slub.c: At top level: mm/slub.c:1660: warning: data definition has no type or storage class mm/slub.c:1660: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:1660: warning: parameter names (without types) in function declaration mm/slub.c: In function '__slab_free': mm/slub.c:1686: error: 'FREE_SLOWPATH' undeclared (first use in this function) mm/slub.c:1686: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1686: error: type of formal parameter 2 is incomplete mm/slub.c:1689: warning: passing argument 1 of 'SlabDebug' from incompatible pointer type mm/slub.c:1693: error: dereferencing pointer to incomplete type mm/slub.c:1694: error: dereferencing pointer to incomplete type mm/slub.c:1695: error: dereferencing pointer to incomplete type mm/slub.c:1697: warning: passing argument 1 of 'SlabFrozen' from incompatible pointer type mm/slub.c:1698: error: 'FREE_FROZEN' undeclared (first use in this function) mm/slub.c:1698: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1698: error: type of formal parameter 2 is incomplete mm/slub.c:1702: error: dereferencing pointer to incomplete type mm/slub.c:1711: error: 'FREE_ADD_PARTIAL' undeclared (first use in this function) mm/slub.c:1711: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1711: error: type of formal parameter 2 is incomplete mm/slub.c:1724: error: 'FREE_REMOVE_PARTIAL' undeclared (first use in this function) mm/slub.c:1724: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1724: error: type of formal parameter 2 is incomplete mm/slub.c:1727: error: 'FREE_SLAB' undeclared (first use in this function) mm/slub.c:1727: warning: passing argument 1 of 'stat' from incompatible pointer type mm/slub.c:1727: error: type of formal parameter 2 is incomplete mm/slub.c:1732: warning: passing argument 2 of 'free_debug_processing' from incompatible pointer type mm/slub.c: At top level: mm/slub.c:1748: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' mm/slub.c: In function 'kmem_cache_free': mm/slub.c:1775: error: implicit declaration of function 'virt_to_head_page' mm/slub.c:1775: warning: assignment makes pointer from integer without a cast mm/slub.c:1777: error: implicit declaration of function 'slab_free' mm/slub.c: At top level: mm/slub.c:1779: warning: data definition has no type or storage class mm/slub.c:1779: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:1779: warning: parameter names (without types) in function declaration mm/slub.c: In function 'get_object_page': mm/slub.c:1784: warning: initialization makes pointer from integer without a cast mm/slub.c:1786: error: implicit declaration of function 'PageSlab' mm/slub.c:1787: error: 'NULL' undeclared (first use in this function) mm/slub.c: At top level: mm/slub.c:1812: error: 'PAGE_ALLOC_COSTLY_ORDER' undeclared here (not in a function) mm/slub.c: In function 'slab_order': mm/slub.c:1853: error: 'PAGE_SIZE' undeclared (first use in this function) mm/slub.c:1854: error: implicit declaration of function 'get_order' mm/slub.c:1856: error: implicit declaration of function 'max' mm/slub.c:1857: error: implicit declaration of function 'fls' mm/slub.c:1857: error: 'PAGE_SHIFT' undeclared (first use in this function) mm/slub.c: In function 'calculate_order': mm/slub.c:1891: error: 'nr_cpu_ids' undeclared (first use in this function) mm/slub.c:1915: error: 'MAX_ORDER' undeclared (first use in this function) mm/slub.c:1918: error: 'ENOSYS' undeclared (first use in this function) error: include/linux/autoconf.h: No such file or directory mm/slub.c: In function 'calculate_alignment': kernel/sysctl_check.c:649: error: initializer element is not constant mm/slub.c:1934: error: 'SLAB_HWCACHE_ALIGN' undeclared (first use in this function)kernel/sysctl_check.c:649: error: (near initialization for 'trans_net_netfilter_table[15].ctl_name') kernel/irq/spurious.c:217: error: implicit declaration of function 'time_after' kernel/irq/spurious.c:217: error: 'jiffies' undeclared (first use in this function) kernel/irq/spurious.c:217: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:217: error: 'HZ' undeclared (first use in this function) kernel/irq/spurious.c:218: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:220: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:221: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:222: error: 'IRQ_NONE' undeclared (first use in this function) kernel/sysctl_check.c:650: error: 'NET_NF_CONNTRACK_TCP_LOOSE' undeclared here (not in a function)kernel/irq/spurious.c:223: warning: passing argument 2 of 'report_bad_irq' from incompatible pointer type kernel/irq/spurious.c:223: error: too many arguments to function 'report_bad_irq' kernel/irq/spurious.c:226: warning: passing argument 2 of 'try_misrouted_irq' from incompatible pointer typemm/slub.c:1935: error: implicit declaration of function 'cache_line_size' kernel/irq/resend.c:16:23: kernel/irq/spurious.c:226: error: too many arguments to function 'try_misrouted_irq' error: kernel/irq/spurious.c:229: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:650: error: initializer element is not constantkernel/irq/spurious.c:232: error: dereferencing pointer to incomplete type linux/irq.h: No such file or directory kernel/irq/resend.c:17:26: error: linux/module.h: No such file or directory kernel/irq/resend.c:18:26: error: linux/random.h: No such file or directory kernel/irq/resend.c:19:29: error: linux/interrupt.h: No such file or directory kernel/irq/resend.c:21:23: error: internals.h: No such file or directory kernel/irq/resend.c:56: warning: 'struct irq_desc' declared inside parameter list kernel/irq/resend.c:56: warning: its scope is only this definition or declaration, which is probably not what you want kernel/irq/resend.c: In function 'check_irq_resend': kernel/irq/resend.c:58: error: dereferencing pointer to incomplete type kernel/irq/resend.c:63: error: dereferencing pointer to incomplete type kernel/irq/resend.c:70: error: 'IRQ_LEVEL' undeclared (first use in this function) kernel/irq/resend.c:70: error: (Each undeclared identifier is reported only once kernel/irq/resend.c:70: error: for each function it appears in.) kernel/irq/resend.c:70: error: 'IRQ_PENDING' undeclared (first use in this function) kernel/irq/resend.c:70: error: 'IRQ_REPLAY' undeclared (first use in this function) kernel/irq/resend.c:71: error: dereferencing pointer to incomplete type kernel/irq/resend.c:73: error: dereferencing pointer to incomplete type kernel/irq/resend.c:73: error: dereferencing pointer to incomplete type kernel/irq/resend.c:74: error: dereferencing pointer to incomplete type mm/slub.c:1944: error: implicit declaration of function 'ALIGN' kernel/irq/spurious.c:233: error: implicit declaration of function 'likely' kernel/sysctl_check.c:650: error: (near initialization for 'trans_net_netfilter_table[16].ctl_name') kernel/irq/resend.c: At top level: kernel/irq/resend.c:82: fatal error: opening dependency file kernel/irq/.resend.o.d: No such file or directory compilation terminated. kernel/sysctl_check.c:651: error: 'NET_NF_CONNTRACK_TCP_BE_LIBERAL' undeclared here (not in a function) kernel/sysctl_check.c:651: error: initializer element is not constant kernel/sysctl_check.c:651: error: (near initialization for 'trans_net_netfilter_table[17].ctl_name') kernel/sysctl_check.c:652: error: 'NET_NF_CONNTRACK_TCP_MAX_RETRANS' undeclared here (not in a function) kernel/sysctl_check.c:652: error: initializer element is not constant kernel/sysctl_check.c:652: error: (near initialization for 'trans_net_netfilter_table[18].ctl_name') kernel/sysctl_check.c:653: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED' undeclared here (not in a function) kernel/sysctl_check.c:653: error: initializer element is not constant kernel/sysctl_check.c:653: error: (near initialization for 'trans_net_netfilter_table[19].ctl_name') kernel/sysctl_check.c:654: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT' undeclared here (not in a function) kernel/sysctl_check.c:654: error: initializer element is not constant kernel/sysctl_check.c:654: error: (near initialization for 'trans_net_netfilter_table[20].ctl_name') kernel/sysctl_check.c:655: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED' undeclared here (not in a function) kernel/sysctl_check.c:655: error: initializer element is not constant kernel/sysctl_check.c:655: error: (near initialization for 'trans_net_netfilter_table[21].ctl_name') kernel/sysctl_check.c:656: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED' undeclared here (not in a function) kernel/sysctl_check.c:656: error: initializer element is not constant kernel/sysctl_check.c:656: error: (near initialization for 'trans_net_netfilter_table[22].ctl_name') kernel/sysctl_check.c:657: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT' undeclared here (not in a function) kernel/sysctl_check.c:657: error: initializer element is not constant kernel/irq/spurious.c:233: error: dereferencing pointer to incomplete type mm/slub.c: In function 'init_kmem_cache_cpu': kernel/irq/spurious.c:236: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:657: error: (near initialization for 'trans_net_netfilter_table[23].ctl_name')mm/slub.c:1950: error: dereferencing pointer to incomplete type mm/slub.c:1950: error: 'NULL' undeclared (first use in this function) mm/slub.c:1951: error: dereferencing pointer to incomplete type mm/slub.c:1952: error: dereferencing pointer to incomplete type mm/slub.c:1953: error: dereferencing pointer to incomplete type mm/slub.c:1953: error: dereferencing pointer to incomplete type mm/slub.c:1954: error: dereferencing pointer to incomplete typekernel/irq/spurious.c:237: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:241: warning: passing argument 2 of '__report_bad_irq' from incompatible pointer type kernel/irq/spurious.c:241: error: too many arguments to function '__report_bad_irq' kernel/irq/spurious.c:245: error: 'KERN_EMERG' undeclared (first use in this function) kernel/irq/spurious.c:245: error: expected ')' before string constant kernel/irq/spurious.c:246: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:246: error: 'IRQ_DISABLED' undeclared (first use in this function) kernel/irq/spurious.c:246: error: 'IRQ_SPURIOUS_DISABLED' undeclared (first use in this function) kernel/irq/spurious.c:247: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:248: error: dereferencing pointer to incomplete type kernel/irq/spurious.c:250: error: 'poll_spurious_irq_timer' undeclared (first use in this function) kernel/irq/spurious.c:252: error: dereferencing pointer to incomplete type kernel/irq/spurious.c: At top level: kernel/irq/spurious.c:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly' kernel/irq/spurious.c: In function 'noirqdebug_setup': kernel/irq/spurious.c:259: error: 'noirqdebug' undeclared (first use in this function) kernel/irq/spurious.c:260: error: 'KERN_INFO' undeclared (first use in this function) kernel/irq/spurious.c:260: error: expected ')' before string constant kernel/irq/spurious.c: At top level: kernel/irq/spurious.c:265: error: expected declaration specifiers or '...' before string constant kernel/irq/spurious.c:265: error: expected declaration specifiers or '...' before 'noirqdebug_setup' kernel/irq/spurious.c:265: warning: data definition has no type or storage class kernel/irq/spurious.c:265: warning: type defaults to 'int' in declaration of '__setup' kernel/irq/spurious.c:265: warning: function declaration isn't a prototype kernel/irq/spurious.c:266: error: expected ')' before numeric constant kernel/irq/spurious.c:267: error: expected ')' before string constant kernel/irq/spurious.c:269: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'irqfixup_setup' kernel/irq/spurious.c:278: error: expected declaration specifiers or '...' before string constant kernel/irq/spurious.c:278: error: expected declaration specifiers or '...' before 'irqfixup_setup' kernel/irq/spurious.c:278: warning: data definition has no type or storage class kernel/irq/spurious.c:278: warning: type defaults to 'int' in declaration of '__setup' kernel/irq/spurious.c:278: warning: function declaration isn't a prototype kernel/irq/spurious.c:279: error: expected ')' before 'int' kernel/irq/spurious.c:280: error: expected declaration specifiers or '...' before string constant kernel/irq/spurious.c:280: error: expected declaration specifiers or '...' before string constant kernel/irq/spurious.c:280: warning: data definition has no type or storage class kernel/irq/spurious.c:280: warning: type defaults to 'int' in declaration of 'MODULE_PARM_DESC' kernel/irq/spurious.c:280: warning: function declaration isn't a prototype kernel/irq/spurious.c:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'irqpoll_setup' kernel/irq/spurious.c:292: error: expected declaration specifiers or '...' before string constant kernel/irq/spurious.c:292: error: expected declaration specifiers or '...' before 'irqpoll_setup' kernel/irq/spurious.c:292: warning: data definition has no type or storage class kernel/irq/spurious.c:292: warning: type defaults to 'int' in declaration of '__setup' kernel/irq/spurious.c:292: warning: function declaration isn't a prototype cc1: error: include/linux/autoconf.h: No such file or directory kernel/irq/spurious.c:292: fatal error: opening dependency file kernel/irq/.spurious.o.d: No such file or directory compilation terminated. kernel/time/clocksource.c:27:31: error: linux/clocksource.h: No such file or directory kernel/time/clocksource.c:28:26: error: linux/sysdev.h: No such file or directory kernel/time/clocksource.c:29:24: error: linux/init.h: No such file or directory kernel/time/clocksource.c:30:26: error: linux/module.h: No such file or directory kernel/time/clocksource.c:31:80: error: linux/sched.h: No such file or directory kernel/time/clocksource.c:32:24: error: linux/tick.h: No such file or directory kernel/time/clocksource.c:53: warning: type defaults to 'int' in declaration of 'LIST_HEAD' kernel/time/clocksource.c:53: warning: parameter names (without types) in function declaration kernel/time/clocksource.c:54: warning: type defaults to 'int' in declaration of 'DEFINE_SPINLOCK' kernel/time/clocksource.c:54: warning: parameter names (without types) in function declaration kernel/time/clocksource.c:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clocksource_done_booting' kernel/time/clocksource.c:69: warning: data definition has no type or storage class kernel/time/clocksource.c:69: warning: type defaults to 'int' in declaration of 'fs_initcall' kernel/time/clocksource.c:69: warning: parameter names (without types) in function declaration kernel/time/clocksource.c: In function 'clocksource_check_watchdog': kernel/time/clocksource.c:207: error: dereferencing pointer to incomplete type kernel/time/clocksource.c:207: error: 'CLOCK_SOURCE_IS_CONTINUOUS' undeclared (first use in this function) kernel/time/clocksource.c:207: error: (Each undeclared identifier is reported only once kernel/time/clocksource.c:207: error: for each function it appears in.) kernel/time/clocksource.c:208: error: dereferencing pointer to incomplete type kernel/time/clocksource.c:208: error: 'CLOCK_SOURCE_VALID_FOR_HRES' undeclared (first use in this function) kernel/sysctl_check.c:658: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD' undeclared here (not in a function) mm/slub.c:1954: error: dereferencing pointer to incomplete type kernel/time/clocksource.c: In function 'clocksource_resume': mm/slub.c: In function 'init_kmem_cache_node':kernel/sysctl_check.c:658: error: initializer element is not constant kernel/sysctl_check.c:658: error: (near initialization for 'trans_net_netfilter_table[24].ctl_name') mm/slub.c:1962: error: dereferencing pointer to incomplete type mm/slub.c:1963: error: implicit declaration of function 'spin_lock_init' kernel/sysctl_check.c:659: error: 'NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT' undeclared here (not in a function) mm/slub.c:1963: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:659: error: initializer element is not constant kernel/sysctl_check.c:659: error: (near initialization for 'trans_net_netfilter_table[25].ctl_name') mm/slub.c:1964: error: implicit declaration of function 'INIT_LIST_HEAD' kernel/sysctl_check.c:660: error: 'NET_NF_CONNTRACK_COUNT' undeclared here (not in a function) kernel/time/clocksource.c:222: error: implicit declaration of function 'spin_lock_irqsave'mm/slub.c:1964: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:660: error: initializer element is not constant The bug is not reproducible, so it is likely a hardware or OS problem. kernel/sysctl_check.c:660: error: (near initialization for 'trans_net_netfilter_table[26].ctl_name') kernel/sysctl_check.c:661: error: 'NET_NF_CONNTRACK_ICMPV6_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:661: error: initializer element is not constant kernel/sysctl_check.c:661: error: (near initialization for 'trans_net_netfilter_table[27].ctl_name') kernel/sysctl_check.c:662: error: 'NET_NF_CONNTRACK_FRAG6_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:662: error: initializer element is not constant kernel/sysctl_check.c:662: error: (near initialization for 'trans_net_netfilter_table[28].ctl_name') kernel/sysctl_check.c:663: error: 'NET_NF_CONNTRACK_FRAG6_LOW_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:663: error: initializer element is not constant mm/slub.c: At top level: kernel/sysctl_check.c:663: error: (near initialization for 'trans_net_netfilter_table[29].ctl_name') mm/slub.c:2089: error: expected declaration specifiers or '...' before 'gfp_t' kernel/sysctl_check.c:664: error: 'NET_NF_CONNTRACK_FRAG6_HIGH_THRESH' undeclared here (not in a function) kernel/sysctl_check.c:664: error: initializer element is not constant kernel/time/clocksource.c:222: error: 'clocksource_lock' undeclared (first use in this function)mm/slub.c: In function 'alloc_kmem_cache_cpus': kernel/sysctl_check.c:664: error: (near initialization for 'trans_net_netfilter_table[30].ctl_name') mm/slub.c:2091: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:665: error: 'NET_NF_CONNTRACK_CHECKSUM' undeclared here (not in a function) make[2]: *** [kernel/irq/resend.o] Error 1 kernel/sysctl_check.c:665: error: initializer element is not constant mm/slub.c: At top level: mm/slub.c:2200: error: expected declaration specifiers or '...' before 'gfp_t' mm/slub.c: In function 'init_kmem_cache_nodes': mm/slub.c:2202: error: dereferencing pointer to incomplete type mm/slub.c: In function 'calculate_sizes': kernel/sysctl_check.c:665: error: (near initialization for 'trans_net_netfilter_table[31].ctl_name') kernel/sysctl_check.c:671: error: 'NET_DCCP_DEFAULT' undeclared here (not in a function) kernel/sysctl_check.c:671: error: initializer element is not constant kernel/sysctl_check.c:671: error: (near initialization for 'trans_net_dccp_table[0].ctl_name') kernel/sysctl_check.c:676: error: 'NET_IRDA_DISCOVERY' undeclared here (not in a function) kernel/sysctl_check.c:676: error: initializer element is not constant kernel/sysctl_check.c:676: error: (near initialization for 'trans_net_irda_table[0].ctl_name') kernel/sysctl_check.c:677: error: 'NET_IRDA_DEVNAME' undeclared here (not in a function) kernel/sysctl_check.c:677: error: initializer element is not constant kernel/sysctl_check.c:677: error: (near initialization for 'trans_net_irda_table[1].ctl_name') kernel/sysctl_check.c:678: error: 'NET_IRDA_DEBUG' undeclared here (not in a function) kernel/sysctl_check.c:678: error: initializer element is not constant kernel/sysctl_check.c:678: error: (near initialization for 'trans_net_irda_table[2].ctl_name') kernel/sysctl_check.c:679: error: 'NET_IRDA_FAST_POLL' undeclared here (not in a function) kernel/sysctl_check.c:679: error: initializer element is not constant kernel/sysctl_check.c:679: error: (near initialization for 'trans_net_irda_table[3].ctl_name') kernel/sysctl_check.c:680: error: 'NET_IRDA_DISCOVERY_SLOTS' undeclared here (not in a function) kernel/sysctl_check.c:680: error: initializer element is not constant kernel/sysctl_check.c:680: error: (near initialization for 'trans_net_irda_table[4].ctl_name') kernel/sysctl_check.c:681: error: 'NET_IRDA_DISCOVERY_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:681: error: initializer element is not constant kernel/sysctl_check.c:681: error: (near initialization for 'trans_net_irda_table[5].ctl_name') kernel/sysctl_check.c:682: error: 'NET_IRDA_SLOT_TIMEOUT' undeclared here (not in a function) kernel/sysctl_check.c:682: error: initializer element is not constant kernel/sysctl_check.c:682: error: (near initialization for 'trans_net_irda_table[6].ctl_name') kernel/sysctl_check.c:683: error: 'NET_IRDA_MAX_BAUD_RATE' undeclared here (not in a function) kernel/sysctl_check.c:683: error: initializer element is not constant kernel/sysctl_check.c:683: error: (near initialization for 'trans_net_irda_table[7].ctl_name') kernel/sysctl_check.c:684: error: 'NET_IRDA_MIN_TX_TURN_TIME' undeclared here (not in a function) kernel/sysctl_check.c:684: error: initializer element is not constant kernel/sysctl_check.c:684: error: (near initialization for 'trans_net_irda_table[8].ctl_name') kernel/sysctl_check.c:685: error: 'NET_IRDA_MAX_TX_DATA_SIZE' undeclared here (not in a function) kernel/sysctl_check.c:685: error: initializer element is not constant kernel/sysctl_check.c:685: error: (near initialization for 'trans_net_irda_table[9].ctl_name') kernel/sysctl_check.c:686: error: 'NET_IRDA_MAX_TX_WINDOW' undeclared here (not in a function) kernel/sysctl_check.c:686: error: initializer element is not constant kernel/sysctl_check.c:686: error: (near initialization for 'trans_net_irda_table[10].ctl_name') kernel/sysctl_check.c:687: error: 'NET_IRDA_MAX_NOREPLY_TIME' undeclared here (not in a function) kernel/sysctl_check.c:687: error: initializer element is not constant kernel/sysctl_check.c:687: error: (near initialization for 'trans_net_irda_table[11].ctl_name') kernel/sysctl_check.c:688: error: 'NET_IRDA_WARN_NOREPLY_TIME' undeclared here (not in a function) kernel/sysctl_check.c:688: error: initializer element is not constant kernel/sysctl_check.c:688: error: (near initialization for 'trans_net_irda_table[12].ctl_name') kernel/sysctl_check.c:689: error: 'NET_IRDA_LAP_KEEPALIVE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:689: error: initializer element is not constant kernel/sysctl_check.c:689: error: (near initialization for 'trans_net_irda_table[13].ctl_name') kernel/sysctl_check.c:694: error: 'NET_CORE' undeclared here (not in a function) kernel/sysctl_check.c:694: error: initializer element is not constant kernel/sysctl_check.c:694: error: (near initialization for 'trans_net_table[0].ctl_name') kernel/sysctl_check.c:697: error: 'NET_UNIX' undeclared here (not in a function) kernel/sysctl_check.c:697: error: initializer element is not constant kernel/sysctl_check.c:697: error: (near initialization for 'trans_net_table[1].ctl_name') kernel/sysctl_check.c:698: error: 'NET_IPV4' undeclared here (not in a function) kernel/sysctl_check.c:698: error: initializer element is not constant kernel/sysctl_check.c:698: error: (near initialization for 'trans_net_table[2].ctl_name') kernel/sysctl_check.c:699: error: 'NET_IPX' undeclared here (not in a function) kernel/sysctl_check.c:699: error: initializer element is not constant kernel/sysctl_check.c:699: error: (near initialization for 'trans_net_table[3].ctl_name') kernel/sysctl_check.c:700: error: 'NET_ATALK' undeclared here (not in a function) kernel/sysctl_check.c:700: error: initializer element is not constant kernel/sysctl_check.c:700: error: (near initialization for 'trans_net_table[4].ctl_name') kernel/sysctl_check.c:701: error: 'NET_NETROM' undeclared here (not in a function) kernel/sysctl_check.c:701: error: initializer element is not constant kernel/sysctl_check.c:701: error: (near initialization for 'trans_net_table[5].ctl_name') kernel/sysctl_check.c:702: error: 'NET_AX25' undeclared here (not in a function) kernel/sysctl_check.c:702: error: initializer element is not constant kernel/sysctl_check.c:702: error: (near initialization for 'trans_net_table[6].ctl_name') kernel/sysctl_check.c:703: error: 'NET_BRIDGE' undeclared here (not in a function) kernel/sysctl_check.c:703: error: initializer element is not constant kernel/sysctl_check.c:703: error: (near initialization for 'trans_net_table[7].ctl_name') kernel/sysctl_check.c:704: error: 'NET_ROSE' undeclared here (not in a function) kernel/sysctl_check.c:704: error: initializer element is not constant kernel/sysctl_check.c:704: error: (near initialization for 'trans_net_table[8].ctl_name') kernel/sysctl_check.c:705: error: 'NET_IPV6' undeclared here (not in a function) kernel/sysctl_check.c:705: error: initializer element is not constant kernel/sysctl_check.c:705: error: (near initialization for 'trans_net_table[9].ctl_name') kernel/time/clocksource.c:224: error: implicit declaration of function 'list_for_each_entry'mm/slub.c:2213: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:706: error: 'NET_X25' undeclared here (not in a function) mm/slub.c:2214: error: dereferencing pointer to incomplete type mm/slub.c:2215: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:706: error: initializer element is not constant kernel/sysctl_check.c:706: error: (near initialization for 'trans_net_table[10].ctl_name') kernel/time/clocksource.c:224: error: 'clocksource_list' undeclared (first use in this function) mm/slub.c:2251: error: dereferencing pointer to incomplete typeThe bug is not reproducible, so it is likely a hardware or OS problem. kernel/sysctl_check.c:707: error: 'NET_TR' undeclared here (not in a function) kernel/time/clocksource.c:224: error: 'list' undeclared (first use in this function) kernel/sysctl_check.c:707: error: initializer element is not constant mm/slub.c:2253: error: 'SLAB_DESTROY_BY_RCU' undeclared (first use in this function) kernel/time/clocksource.c:224: error: expected ';' before '{' token kernel/sysctl_check.c:707: error: (near initialization for 'trans_net_table[11].ctl_name') kernel/time/clocksource.c:231: error: implicit declaration of function 'spin_unlock_irqrestore' mm/slub.c:2253: error: 'SLAB_POISON' undeclared (first use in this function) kernel/sysctl_check.c:708: error: 'NET_DECNET' undeclared here (not in a function) mm/slub.c:2254: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:708: error: initializer element is not constant mm/slub.c:2263: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:708: error: (near initialization for 'trans_net_table[12].ctl_name') mm/slub.c:2291: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:710: error: 'NET_SCTP' undeclared here (not in a function) kernel/time/clocksource.c: In function 'clocksource_get_next': mm/slub.c:2299: error: dereferencing pointer to incomplete type mm/slub.c:2308: error: dereferencing pointer to incomplete type mm/slub.c:2310: error: dereferencing pointer to incomplete typekernel/sysctl_check.c:710: error: initializer element is not constant kernel/time/clocksource.c:254: error: 'clocksource_lock' undeclared (first use in this function) mm/slub.c:2310: error: '__GFP_COMP' undeclared (first use in this function) mm/slub.c:2312: error: dereferencing pointer to incomplete type mm/slub.c:2312: error: 'SLAB_CACHE_DMA' undeclared (first use in this function)kernel/time/clocksource.c:257: error: 'NULL' undeclared (first use in this function) kernel/sysctl_check.c:710: error: (near initialization for 'trans_net_table[13].ctl_name') mm/slub.c:2313: error: dereferencing pointer to incomplete type mm/slub.c:2313: error: 'SLUB_DMA' undeclared (first use in this function) mm/slub.c:2315: error: dereferencing pointer to incomplete type mm/slub.c:2315: error: 'SLAB_RECLAIM_ACCOUNT' undeclared (first use in this function) mm/slub.c:2316: error: dereferencing pointer to incomplete type kernel/time/clocksource.c: In function 'select_clocksource': mm/slub.c:2316: error: '__GFP_RECLAIMABLE' undeclared (first use in this function) kernel/time/clocksource.c:276: error: implicit declaration of function 'list_empty' mm/slub.c:2321: error: dereferencing pointer to incomplete typekernel/time/clocksource.c:276: error: 'clocksource_list' undeclared (first use in this function) make[2]: kernel/time/clocksource.c:277: error: 'NULL' undeclared (first use in this function) *** [kernel/irq/spurious.o] Error 1kernel/sysctl_check.c:711: error: 'NET_LLC' undeclared here (not in a function) kernel/time/clocksource.c:282: error: implicit declaration of function 'list_entry' kernel/sysctl_check.c:711: error: initializer element is not constant kernel/time/clocksource.c:282: error: expected expression before 'struct'mm/slub.c:2322: error: dereferencing pointer to incomplete type mm/slub.c:2323: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:711: error: (near initialization for 'trans_net_table[14].ctl_name')mm/slub.c:2323: error: type of formal parameter 1 is incomplete mm/slub.c:2323: error: dereferencing pointer to incomplete type mm/slub.c:2323: error: type of formal parameter 1 is incomplete mm/slub.c:2324: error: dereferencing pointer to incomplete type mm/slub.c:2324: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:712: error: 'NET_NETFILTER' undeclared here (not in a function) mm/slub.c:2326: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:712: error: initializer element is not constant mm/slub.c:2326: error: type of formal parameter 1 is incomplete kernel/sysctl_check.c:712: error: (near initialization for 'trans_net_table[15].ctl_name') kernel/sysctl_check.c:713: error: 'NET_DCCP' undeclared here (not in a function) kernel/sysctl_check.c:713: error: initializer element is not constant kernel/sysctl_check.c:713: error: (near initialization for 'trans_net_table[16].ctl_name') mm/slub.c: At top level: kernel/sysctl_check.c:714: error: 'NET_IRDA' undeclared here (not in a function) kernel/time/clocksource.c:283: warning: assignment makes pointer from integer without a castmm/slub.c:2330: error: expected declaration specifiers or '...' before 'gfp_t' kernel/sysctl_check.c:714: error: initializer element is not constant kernel/sysctl_check.c:714: error: (near initialization for 'trans_net_table[17].ctl_name')make[2]: mm/slub.c:2331: error: expected declaration specifiers or '...' before 'size_t' mm/slub.c:2332: error: expected declaration specifiers or '...' before 'size_t' *** No rule to make target `kernel/irq/devres.c', needed by `kernel/irq/devres.o'. mm/slub.c: In function 'kmem_cache_open': mm/slub.c:2336: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:720: error: 'FS_DQ_LOOKUPS' undeclared here (not in a function) mm/slub.c:2337: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:720: error: initializer element is not constantmm/slub.c:2338: error: dereferencing pointer to incomplete type mm/slub.c:2338: error: 'size' undeclared (first use in this function) kernel/sysctl_check.c:720: error: (near initialization for 'trans_fs_quota_table[0].ctl_name')mm/slub.c:2339: error: dereferencing pointer to incomplete type mm/slub.c:2339: error: 'align' undeclared (first use in this function) mm/slub.c:2340: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:721: error: 'FS_DQ_DROPS' undeclared here (not in a function) kernel/sysctl_check.c:721: error: initializer element is not constant mm/slub.c:2345: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:721: error: (near initialization for 'trans_fs_quota_table[1].ctl_name') mm/slub.c:2349: error: 'gfpflags' undeclared (first use in this function) mm/slub.c:2349: error: 'SLUB_DMA' undeclared (first use in this function) kernel/sysctl_check.c:722: error: 'FS_DQ_READS' undeclared here (not in a function) mm/slub.c:2349: error: too many arguments to function 'init_kmem_cache_nodes'kernel/sysctl_check.c:722: error: initializer element is not constant kernel/sysctl_check.c:722: error: (near initialization for 'trans_fs_quota_table[2].ctl_name') mm/slub.c:2352: error: too many arguments to function 'alloc_kmem_cache_cpus' kernel/sysctl_check.c:723: error: 'FS_DQ_WRITES' undeclared here (not in a function) kernel/sysctl_check.c:723: error: initializer element is not constant mm/slub.c:2356: error: 'SLAB_PANIC' undeclared (first use in this function) kernel/sysctl_check.c:723: error: (near initialization for 'trans_fs_quota_table[3].ctl_name') mm/slub.c:2357: error: implicit declaration of function 'panic' kernel/sysctl_check.c:724: error: 'FS_DQ_CACHE_HITS' undeclared here (not in a function) kernel/sysctl_check.c:724: error: initializer element is not constant mm/slub.c:2359: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:724: error: (near initialization for 'trans_fs_quota_table[4].ctl_name') mm/slub.c:2359: error: dereferencing pointer to incomplete type mm/slub.c:2359: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:725: error: 'FS_DQ_ALLOCATED' undeclared here (not in a function) mm/slub.c:2359: error: type of formal parameter 1 is incomplete kernel/sysctl_check.c:725: error: initializer element is not constantmm/slub.c:2360: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:725: error: (near initialization for 'trans_fs_quota_table[5].ctl_name') kernel/sysctl_check.c:726: error: 'FS_DQ_FREE' undeclared here (not in a function) kernel/sysctl_check.c:726: error: initializer element is not constant kernel/sysctl_check.c:726: error: (near initialization for 'trans_fs_quota_table[6].ctl_name') kernel/sysctl_check.c:727: error: 'FS_DQ_SYNCS' undeclared here (not in a function) mm/slub.c: In function 'kmem_ptr_validate': kernel/sysctl_check.c:727: error: initializer element is not constant mm/slub.c:2373: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:727: error: (near initialization for 'trans_fs_quota_table[7].ctl_name') mm/slub.c:2377: warning: passing argument 2 of 'check_valid_pointer' from incompatible pointer type kernel/sysctl_check.c:728: error: 'FS_DQ_WARNINGS' undeclared here (not in a function) kernel/sysctl_check.c:728: error: initializer element is not constant kernel/sysctl_check.c:728: error: (near initialization for 'trans_fs_quota_table[8].ctl_name') mm/slub.c: At top level: mm/slub.c:2388: warning: data definition has no type or storage class mm/slub.c:2388: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:2388: warning: parameter names (without types) in function declaration mm/slub.c: In function 'kmem_cache_size': mm/slub.c:2395: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:2397: warning: data definition has no type or storage class mm/slub.c:2397: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:2397: warning: parameter names (without types) in function declaration mm/slub.c: In function 'kmem_cache_name': mm/slub.c:2401: error: dereferencing pointer to incomplete type mm/slub.c: At top level: mm/slub.c:2403: warning: data definition has no type or storage class mm/slub.c:2403: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl_check.c:764: error: 'INOTIFY_MAX_USER_INSTANCES' undeclared here (not in a function) mm/slub.c:2403: warning: parameter names (without types) in function declaration kernel/sysctl_check.c:764: error: initializer element is not constant kernel/sysctl_check.c:764: error: (near initialization for 'trans_inotify_table[0].ctl_name') kernel/sysctl_check.c:765: error: 'INOTIFY_MAX_USER_WATCHES' undeclared here (not in a function) kernel/sysctl_check.c:765: error: initializer element is not constant kernel/sysctl_check.c:765: error: (near initialization for 'trans_inotify_table[1].ctl_name') mm/slub.c: In function 'free_partial': kernel/sysctl_check.c:766: error: 'INOTIFY_MAX_QUEUED_EVENTS' undeclared here (not in a function) mm/slub.c:2439: error: implicit declaration of function 'spin_lock_irqsave' CC kernel/irq/chip.o kernel/sysctl_check.c:766: error: initializer element is not constant mm/slub.c:2439: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:766: error: (near initialization for 'trans_inotify_table[2].ctl_name') mm/slub.c:2440: error: implicit declaration of function 'list_for_each_entry_safe' mm/slub.c:2440: error: dereferencing pointer to incomplete type mm/slub.c:2440: error: 'lru' undeclared (first use in this function) kernel/sysctl_check.c:771: error: 'FS_NRINODE' undeclared here (not in a function) mm/slub.c:2440: error: expected ';' before '{' tokenkernel/sysctl_check.c:771: error: initializer element is not constant kernel/sysctl_check.c:771: error: (near initialization for 'trans_fs_table[0].ctl_name') kernel/sysctl_check.c:772: error: 'FS_STATINODE' undeclared here (not in a function) kernel/sysctl_check.c:772: error: initializer element is not constant kernel/sysctl_check.c:772: error: (near initialization for 'trans_fs_table[1].ctl_name') mm/slub.c: In function 'kmem_cache_close': kernel/sysctl_check.c:776: error: 'FS_NRFILE' undeclared here (not in a function) mm/slub.c:2464: error: implicit declaration of function 'for_each_node_state' kernel/sysctl_check.c:776: error: initializer element is not constant mm/slub.c:2464: error: 'N_NORMAL_MEMORY' undeclared (first use in this function) kernel/sysctl_check.c:776: error: (near initialization for 'trans_fs_table[2].ctl_name') mm/slub.c:2464: error: expected ';' before '{' token kernel/sysctl_check.c:777: error: 'FS_MAXFILE' undeclared here (not in a function) kernel/sysctl_check.c:777: error: initializer element is not constant kernel/sysctl_check.c:777: error: (near initialization for 'trans_fs_table[3].ctl_name') mm/slub.c: In function 'kmem_cache_destroy': kernel/sysctl_check.c:778: error: 'FS_DENTRY' undeclared here (not in a function) mm/slub.c:2481: error: implicit declaration of function 'down_write' kernel/sysctl_check.c:778: error: initializer element is not constantmm/slub.c:2481: error: 'slub_lock' undeclared (first use in this function) mm/slub.c:2482: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:778: error: (near initialization for 'trans_fs_table[4].ctl_name') mm/slub.c:2483: error: dereferencing pointer to incomplete type mm/slub.c:2484: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:781: error: 'FS_OVERFLOWUID' undeclared here (not in a function) mm/slub.c:2485: error: implicit declaration of function 'up_write' kernel/sysctl_check.c:781: error: initializer element is not constant kernel/sysctl_check.c:781: error: (near initialization for 'trans_fs_table[5].ctl_name') mm/slub.c:2487: error: implicit declaration of function 'printk' kernel/sysctl_check.c:782: error: 'FS_OVERFLOWGID' undeclared here (not in a function) mm/slub.c:2487: error: 'KERN_ERR' undeclared (first use in this function) kernel/sysctl_check.c:782: error: initializer element is not constant mm/slub.c:2487: error: expected ')' before string constant kernel/sysctl_check.c:782: error: (near initialization for 'trans_fs_table[6].ctl_name') mm/slub.c:2489: error: implicit declaration of function 'dump_stack' kernel/sysctl_check.c:783: error: 'FS_LEASES' undeclared here (not in a function) kernel/sysctl_check.c:783: error: initializer element is not constant kernel/sysctl_check.c:783: error: (near initialization for 'trans_fs_table[7].ctl_name') mm/slub.c: At top level: mm/slub.c:2495: warning: data definition has no type or storage class kernel/sysctl_check.c:784: error: 'FS_DIR_NOTIFY' undeclared here (not in a function) mm/slub.c:2495: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'kernel/sysctl_check.c:784: error: initializer element is not constant mm/slub.c:2495: warning: parameter names (without types) in function declaration kernel/time/clocksource.c: In function 'clocksource_enqueue': mm/slub.c:2501: error: 'PAGE_SHIFT' undeclared here (not in a function)kernel/sysctl_check.c:784: error: (near initialization for 'trans_fs_table[8].ctl_name')kernel/time/clocksource.c:296: error: 'clocksource_list' undeclared (first use in this function) mm/slub.c:2501: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned' kernel/time/clocksource.c:298: error: implicit declaration of function 'list_for_each' mm/slub.c:2502: warning: data definition has no type or storage class kernel/time/clocksource.c:298: error: expected ';' before '{' token mm/slub.c:2502: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:2502: warning: parameter names (without types) in function declaration kernel/time/clocksource.c:310: error: implicit declaration of function 'strlen' mm/slub.c:2504: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_slub_min_order' kernel/time/clocksource.c:310: error: dereferencing pointer to incomplete type mm/slub.c:2511: error: expected declaration specifiers or '...' before string constant kernel/time/clocksource.c:311: error: implicit declaration of function 'strcmp' mm/slub.c:2511: error: expected declaration specifiers or '...' before 'setup_slub_min_order' kernel/time/clocksource.c:311: error: dereferencing pointer to incomplete type mm/slub.c:2511: warning: data definition has no type or storage class mm/slub.c:2511: warning: type defaults to 'int' in declaration of '__setup' kernel/time/clocksource.c:296: warning: unused variable 'entry' mm/slub.c:2511: warning: function declaration isn't a prototype mm/slub.c:2513: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_slub_max_order' gcc: mm/slub.c:2520: error: expected declaration specifiers or '...' before string constant kernel/irq/chip.c: No such file or directorymm/slub.c:2520: error: expected declaration specifiers or '...' before 'setup_slub_max_order' kernel/time/clocksource.c: In function 'clocksource_register': kernel/time/clocksource.c:328: error: 'clocksource_lock' undeclared (first use in this function) kernel/time/clocksource.c: At top level: kernel/time/clocksource.c:337: warning: data definition has no type or storage class kernel/time/clocksource.c:337: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/time/clocksource.c:337: warning: parameter names (without types) in function declaration kernel/time/clocksource.c: In function 'clocksource_change_rating': kernel/time/clocksource.c:347: error: 'clocksource_lock' undeclared (first use in this function) kernel/time/clocksource.c:348: error: implicit declaration of function 'list_del' kernel/time/clocksource.c:348: error: dereferencing pointer to incomplete type kernel/time/clocksource.c:349: error: dereferencing pointer to incomplete type kernel/time/clocksource.c: In function 'clocksource_unregister': kernel/time/clocksource.c:362: error: 'clocksource_lock' undeclared (first use in this function) kernel/time/clocksource.c:363: error: dereferencing pointer to incomplete type kernel/time/clocksource.c:365: error: 'NULL' undeclared (first use in this function) kernel/time/clocksource.c: At top level: kernel/time/clocksource.c:520: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boot_override_clocksource' kernel/time/clocksource.c:530: error: expected declaration specifiers or '...' before string constant kernel/time/clocksource.c:530: error: expected declaration specifiers or '...' before 'boot_override_clocksource' kernel/time/clocksource.c:530: warning: data definition has no type or storage class kernel/time/clocksource.c:530: warning: type defaults to 'int' in declaration of '__setup' kernel/time/clocksource.c:530: warning: function declaration isn't a prototype kernel/time/clocksource.c:539: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boot_override_clock' kernel/time/clocksource.c:551: error: expected declaration specifiers or '...' before string constant kernel/time/clocksource.c:551: error: expected declaration specifiers or '...' before 'boot_override_clock' kernel/time/clocksource.c:551: warning: data definition has no type or storage class kernel/time/clocksource.c:551: warning: type defaults to 'int' in declaration of '__setup' kernel/time/clocksource.c:551: warning: function declaration isn't a prototype kernel/sysctl_check.c:785: error: 'FS_LEASE_TIME' undeclared here (not in a function) kernel/sysctl_check.c:785: error: initializer element is not constant mm/slub.c:2520: warning: data definition has no type or storage class mm/slub.c:2520: warning: type defaults to 'int' in declaration of '__setup' mm/slub.c:2520: warning: function declaration isn't a prototype kernel/time/clocksource.c:551: fatal error: opening dependency file kernel/time/.clocksource.o.d: No such file or directory mm/slub.c:2522: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_slub_min_objects' kernel/sysctl_check.c:785: error: (near initialization for 'trans_fs_table[9].ctl_name') mm/slub.c:2529: error: expected declaration specifiers or '...' before string constant kernel/sysctl_check.c:786: error: 'FS_DQSTATS' undeclared here (not in a function) kernel/sysctl_check.c:786: error: initializer element is not constant kernel/sysctl_check.c:786: error: (near initialization for 'trans_fs_table[10].ctl_name') kernel/sysctl_check.c:787: error: 'FS_XFS' undeclared here (not in a function) kernel/sysctl_check.c:787: error: initializer element is not constant kernel/sysctl_check.c:787: error: (near initialization for 'trans_fs_table[11].ctl_name') kernel/sysctl_check.c:788: error: 'FS_AIO_NR' undeclared here (not in a function) kernel/sysctl_check.c:788: error: initializer element is not constant kernel/sysctl_check.c:788: error: (near initialization for 'trans_fs_table[12].ctl_name') kernel/sysctl_check.c:789: error: 'FS_AIO_MAX_NR' undeclared here (not in a function) kernel/sysctl_check.c:789: error: initializer element is not constant kernel/sysctl_check.c:789: error: (near initialization for 'trans_fs_table[13].ctl_name') kernel/sysctl_check.c:790: error: 'FS_INOTIFY' undeclared here (not in a function) kernel/sysctl_check.c:790: error: initializer element is not constant kernel/sysctl_check.c:790: error: (near initialization for 'trans_fs_table[14].ctl_name') kernel/sysctl_check.c:791: error: 'FS_OCFS2' undeclared here (not in a function) kernel/sysctl_check.c:791: error: initializer element is not constant kernel/sysctl_check.c:791: error: (near initialization for 'trans_fs_table[15].ctl_name') kernel/sysctl_check.c:792: error: 'KERN_SETUID_DUMPABLE' undeclared here (not in a function) kernel/sysctl_check.c:792: error: initializer element is not constant kernel/sysctl_check.c:792: error: (near initialization for 'trans_fs_table[16].ctl_name') kernel/sysctl_check.c:801: error: 'DEV_CDROM_INFO' undeclared here (not in a function) kernel/sysctl_check.c:801: error: initializer element is not constant kernel/sysctl_check.c:801: error: (near initialization for 'trans_cdrom_table[0].ctl_name') kernel/sysctl_check.c:802: error: 'DEV_CDROM_AUTOCLOSE' undeclared here (not in a function) kernel/sysctl_check.c:802: error: initializer element is not constant kernel/sysctl_check.c:802: error: (near initialization for 'trans_cdrom_table[1].ctl_name') kernel/sysctl_check.c:803: error: 'DEV_CDROM_AUTOEJECT' undeclared here (not in a function) kernel/sysctl_check.c:803: error: initializer element is not constant kernel/sysctl_check.c:803: error: (near initialization for 'trans_cdrom_table[2].ctl_name') kernel/sysctl_check.c:804: error: 'DEV_CDROM_DEBUG' undeclared here (not in a function) kernel/sysctl_check.c:804: error: initializer element is not constant kernel/sysctl_check.c:804: error: (near initialization for 'trans_cdrom_table[3].ctl_name') kernel/sysctl_check.c:805: error: 'DEV_CDROM_LOCK' undeclared here (not in a function) kernel/sysctl_check.c:805: error: initializer element is not constant kernel/sysctl_check.c:805: error: (near initialization for 'trans_cdrom_table[4].ctl_name') kernel/sysctl_check.c:806: error: 'DEV_CDROM_CHECK_MEDIA' undeclared here (not in a function) kernel/sysctl_check.c:806: error: initializer element is not constant kernel/sysctl_check.c:806: error: (near initialization for 'trans_cdrom_table[5].ctl_name') kernel/sysctl_check.c:811: error: 'DEV_IPMI_POWEROFF_POWERCYCLE' undeclared here (not in a function) kernel/sysctl_check.c:811: error: initializer element is not constant kernel/sysctl_check.c:811: error: (near initialization for 'trans_ipmi_table[0].ctl_name') kernel/sysctl_check.c:818: error: 'DEV_MAC_HID_MOUSE_BUTTON_EMULATION' undeclared here (not in a function) kernel/sysctl_check.c:818: error: initializer element is not constant kernel/sysctl_check.c:818: error: (near initialization for 'trans_mac_hid_files[0].ctl_name') kernel/sysctl_check.c:819: error: 'DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE' undeclared here (not in a function) kernel/sysctl_check.c:819: error: initializer element is not constant kernel/sysctl_check.c:819: error: (near initialization for 'trans_mac_hid_files[1].ctl_name') kernel/sysctl_check.c:820: error: 'DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE' undeclared here (not in a function) kernel/sysctl_check.c:820: error: initializer element is not constant kernel/sysctl_check.c:820: error: (near initialization for 'trans_mac_hid_files[2].ctl_name') kernel/sysctl_check.c:826: error: 'DEV_RAID_SPEED_LIMIT_MIN' undeclared here (not in a function) kernel/sysctl_check.c:826: error: initializer element is not constantcompilation terminated. mm/slub.c:2529: error: expected declaration specifiers or '...' before 'setup_slub_min_objects' mm/slub.c:2529: warning: data definition has no type or storage class kernel/sysctl_check.c:826: error: (near initialization for 'trans_raid_table[0].ctl_name') mm/slub.c:2529: warning: type defaults to 'int' in declaration of '__setup' mm/slub.c:2529: warning: function declaration isn't a prototype kernel/sysctl_check.c:827: error: 'DEV_RAID_SPEED_LIMIT_MAX' undeclared here (not in a function) mm/slub.c:2531: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setup_slub_nomerge' kernel/sysctl_check.c:827: error: initializer element is not constant kernel/sysctl_check.c:827: error: (near initialization for 'trans_raid_table[1].ctl_name') mm/slub.c:2537: error: expected declaration specifiers or '...' before string constant mm/slub.c:2537: error: expected declaration specifiers or '...' before 'setup_slub_nomerge' kernel/sysctl_check.c:832: error: 'DEV_SCSI_LOGGING_LEVEL' undeclared here (not in a function) mm/slub.c:2537: warning: data definition has no type or storage class kernel/sysctl_check.c:832: error: initializer element is not constant mm/slub.c:2537: warning: type defaults to 'int' in declaration of '__setup' kernel/sysctl_check.c:832: error: (near initialization for 'trans_scsi_table[0].ctl_name') mm/slub.c:2537: warning: function declaration isn't a prototype kernel/sysctl_check.c:837: error: 'DEV_PARPORT_DEFAULT_TIMESLICE' undeclared here (not in a function) mm/slub.c:2540: error: expected declaration specifiers or '...' before 'gfp_t' kernel/sysctl_check.c:837: error: initializer element is not constant kernel/sysctl_check.c:837: error: (near initialization for 'trans_parport_default_table[0].ctl_name') mm/slub.c: In function 'create_kmalloc_cache': kernel/sysctl_check.c:838: error: 'DEV_PARPORT_DEFAULT_SPINTIME' undeclared here (not in a function) mm/slub.c:2544: error: 'gfp_flags' undeclared (first use in this function) kernel/sysctl_check.c:838: error: initializer element is not constant mm/slub.c:2544: error: 'SLUB_DMA' undeclared (first use in this function) kernel/sysctl_check.c:838: error: (near initialization for 'trans_parport_default_table[1].ctl_name') mm/slub.c:2545: error: 'SLAB_CACHE_DMA' undeclared (first use in this function) mm/slub.c:2547: error: 'slub_lock' undeclared (first use in this function) kernel/sysctl_check.c:843: error: 'DEV_PARPORT_DEVICE_TIMESLICE' undeclared here (not in a function) mm/slub.c:2549: error: 'NULL' undeclared (first use in this function) kernel/sysctl_check.c:843: error: initializer element is not constant mm/slub.c:2549: warning: passing argument 3 of 'kmem_cache_open' makes integer from pointer without a cast kernel/sysctl_check.c:843: error: (near initialization for 'trans_parport_device_table[0].ctl_name') mm/slub.c:2549: warning: passing argument 4 of 'kmem_cache_open' makes pointer from integer without a cast mm/slub.c:2549: error: too many arguments to function 'kmem_cache_open' kernel/sysctl_check.c:848: error: 'DEV_PARPORT_DEVICES_ACTIVE' undeclared here (not in a function) kernel/sysctl_check.c:848: error: initializer element is not constant mm/slub.c:2552: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:848: error: (near initialization for 'trans_parport_devices_table[0].ctl_name')mm/slub.c:2552: error: 'slab_caches' undeclared (first use in this function) kernel/sysctl_check.c:849: error: initializer element is not constant kernel/sysctl_check.c:849: error: (near initialization for 'trans_parport_devices_table[1].procname') kernel/sysctl_check.c:854: error: 'DEV_PARPORT_SPINTIME' undeclared here (not in a function) kernel/sysctl_check.c:854: error: initializer element is not constant kernel/sysctl_check.c:854: error: (near initialization for 'trans_parport_parport_table[0].ctl_name') kernel/sysctl_check.c:855: error: 'DEV_PARPORT_BASE_ADDR' undeclared here (not in a function) kernel/sysctl_check.c:855: error: initializer element is not constant kernel/sysctl_check.c:855: error: (near initialization for 'trans_parport_parport_table[1].ctl_name') mm/slub.c: At top level: mm/slub.c:2634: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'size_index' kernel/sysctl_check.c:856: error: 'DEV_PARPORT_IRQ' undeclared here (not in a function) kernel/sysctl_check.c:856: error: initializer element is not constant mm/slub.c:2661: error: expected ')' before 'size' kernel/sysctl_check.c:856: error: (near initialization for 'trans_parport_parport_table[2].ctl_name') mm/slub.c:2681: error: expected ')' before 'size' kernel/sysctl_check.c:857: error: 'DEV_PARPORT_DMA' undeclared here (not in a function) kernel/sysctl_check.c:857: error: initializer element is not constant mm/slub.c:2695: warning: data definition has no type or storage class gcc: no input files kernel/sysctl_check.c:857: error: (near initialization for 'trans_parport_parport_table[3].ctl_name') mm/slub.c:2695: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl_check.c:858: error: 'DEV_PARPORT_MODES' undeclared here (not in a function) mm/slub.c:2695: warning: parameter names (without types) in function declarationkernel/sysctl_check.c:858: error: initializer element is not constant kernel/sysctl_check.c:858: error: (near initialization for 'trans_parport_parport_table[4].ctl_name') mm/slub.c:2697: error: expected ')' before 'size' kernel/sysctl_check.c:859: error: 'DEV_PARPORT_DEVICES' undeclared here (not in a function) kernel/sysctl_check.c:859: error: initializer element is not constant mm/slub.c:2726: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ksize' mm/slub.c:2763: warning: data definition has no type or storage class mm/slub.c:2763: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:2763: warning: parameter names (without types) in function declaration kernel/sysctl_check.c:859: error: (near initialization for 'trans_parport_parport_table[5].ctl_name') mm/slub.c:2766: warning: conflicting types for 'kfree' make[2]: kernel/sysctl_check.c:860: error: 'DEV_PARPORT_AUTOPROBE' undeclared here (not in a function) mm/slub.c:232: warning: previous implicit declaration of 'kfree' was here *** [kernel/irq/chip.o] Error 1 kernel/sysctl_check.c:860: error: initializer element is not constant kernel/sysctl_check.c:860: error: (near initialization for 'trans_parport_parport_table[6].ctl_name') mm/slub.c: In function 'kfree': mm/slub.c:2770: error: implicit declaration of function 'ZERO_OR_NULL_PTR' kernel/sysctl_check.c:861: error: initializer element is not constantmm/slub.c:2773: warning: assignment makes pointer from integer without a cast kernel/sysctl_check.c:861: error: (near initialization for 'trans_parport_parport_table[7].ctl_name') mm/slub.c:2775: error: implicit declaration of function 'PageCompound' kernel/sysctl_check.c:862: error: initializer element is not constant mm/slub.c:2776: error: implicit declaration of function 'put_page' kernel/sysctl_check.c:862: error: (near initialization for 'trans_parport_parport_table[8].ctl_name') mm/slub.c:2779: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:863: error: initializer element is not constant kernel/sysctl_check.c:863: error: (near initialization for 'trans_parport_parport_table[9].ctl_name') kernel/sysctl_check.c:864: error: initializer element is not constant kernel/sysctl_check.c:864: error: (near initialization for 'trans_parport_parport_table[10].ctl_name') mm/slub.c: At top level: mm/slub.c:2781: warning: data definition has no type or storage class kernel/sysctl_check.c:868: error: 'DEV_PARPORT_DEFAULT' undeclared here (not in a function) mm/slub.c:2781: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'kernel/sysctl_check.c:868: error: initializer element is not constant kernel/sysctl_check.c:868: error: (near initialization for 'trans_parport_table[0].ctl_name') mm/slub.c:2781: warning: parameter names (without types) in function declaration kernel/sysctl_check.c:869: error: initializer element is not constant kernel/sysctl_check.c:869: error: (near initialization for 'trans_parport_table[1].procname') mm/slub.c: In function 'kmem_cache_shrink': mm/slub.c:2800: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:874: error: 'DEV_CDROM' undeclared here (not in a function) mm/slub.c:2800: error: type of formal parameter 1 is incomplete kernel/sysctl_check.c:874: error: initializer element is not constant kernel/sysctl_check.c:874: error: (near initialization for 'trans_dev_table[0].ctl_name') mm/slub.c:2802: error: implicit declaration of function 'kmalloc' kernel/sysctl_check.c:876: error: 'DEV_PARPORT' undeclared here (not in a function) mm/slub.c:2802: error: invalid application of 'sizeof' to incomplete type 'struct list_head' kernel/sysctl_check.c:876: error: initializer element is not constant mm/slub.c:2802: error: 'GFP_KERNEL' undeclared (first use in this function) kernel/sysctl_check.c:876: error: (near initialization for 'trans_dev_table[1].ctl_name') mm/slub.c:2802: warning: initialization makes pointer from integer without a cast kernel/sysctl_check.c:877: error: 'DEV_RAID' undeclared here (not in a function) mm/slub.c:2806: error: 'ENOMEM' undeclared (first use in this function) kernel/sysctl_check.c:877: error: initializer element is not constant kernel/sysctl_check.c:877: error: (near initialization for 'trans_dev_table[2].ctl_name') mm/slub.c:2809: error: 'N_NORMAL_MEMORY' undeclared (first use in this function) mm/slub.c:2809: error: expected ';' before '{' token kernel/sysctl_check.c:878: error: 'DEV_MAC_HID' undeclared here (not in a function) kernel/sysctl_check.c:878: error: initializer element is not constant kernel/sysctl_check.c:878: error: (near initialization for 'trans_dev_table[3].ctl_name') mm/slub.c:2803: warning: unused variable 'flags' mm/slub.c:2799: warning: unused variable 't' kernel/sysctl_check.c:879: error: 'DEV_SCSI' undeclared here (not in a function) mm/slub.c:2798: warning: unused variable 'page' kernel/sysctl_check.c:879: error: initializer element is not constant mm/slub.c:2797: warning: unused variable 'n' kernel/sysctl_check.c:879: error: (near initialization for 'trans_dev_table[4].ctl_name') mm/slub.c:2796: warning: unused variable 'i' kernel/sysctl_check.c:880: error: 'DEV_IPMI' undeclared here (not in a function) kernel/sysctl_check.c:880: error: initializer element is not constant kernel/sysctl_check.c:880: error: (near initialization for 'trans_dev_table[5].ctl_name') mm/slub.c: At top level: mm/slub.c:2856: warning: data definition has no type or storage class mm/slub.c:2856: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' kernel/sysctl_check.c:885: error: 'BUS_ISA_MEM_BASE' undeclared here (not in a function) mm/slub.c:2856: warning: parameter names (without types) in function declaration kernel/sysctl_check.c:885: error: initializer element is not constant kernel/sysctl_check.c:885: error: (near initialization for 'trans_bus_isa_table[0].ctl_name') kernel/sysctl_check.c:886: error: 'BUS_ISA_PORT_BASE' undeclared here (not in a function) kernel/sysctl_check.c:886: error: initializer element is not constant kernel/sysctl_check.c:886: error: (near initialization for 'trans_bus_isa_table[1].ctl_name') mm/slub.c:2977: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kmem_cache_init'kernel/sysctl_check.c:887: error: 'BUS_ISA_PORT_SHIFT' undeclared here (not in a function) kernel/sysctl_check.c:887: error: initializer element is not constant kernel/sysctl_check.c:887: error: (near initialization for 'trans_bus_isa_table[2].ctl_name') kernel/sysctl_check.c:892: error: 'CTL_BUS_ISA' undeclared here (not in a function) kernel/sysctl_check.c:892: error: initializer element is not constant kernel/sysctl_check.c:892: error: (near initialization for 'trans_bus_table[0].ctl_name') mm/slub.c: In function 'slab_unmergeable': mm/slub.c:3073: error: dereferencing pointer to incomplete type mm/slub.c:3073: error: 'SLAB_RED_ZONE' undeclared (first use in this function) mm/slub.c:3073: error: 'SLAB_POISON' undeclared (first use in this function) mm/slub.c:3073: error: 'SLAB_STORE_USER' undeclared (first use in this function) mm/slub.c:3073: error: 'SLAB_TRACE' undeclared (first use in this function) mm/slub.c:3073: error: 'SLAB_DESTROY_BY_RCU' undeclared (first use in this function) mm/slub.c:3076: error: dereferencing pointer to incomplete type mm/slub.c:3082: error: dereferencing pointer to incomplete type /bin/sh: kernel/irq/modules.order: No such file or directory mm/slub.c: At top level: mm/slub.c:3088: error: expected ')' before 'size' mm/slub.c:3129: error: expected declaration specifiers or '...' before 'size_t' mm/slub.c:3130: error: expected declaration specifiers or '...' before 'size_t' mm/slub.c: In function 'kmem_cache_create': mm/slub.c:3135: error: 'slub_lock' undeclared (first use in this function) mm/slub.c:3136: error: implicit declaration of function 'find_mergeable' mm/slub.c:3136: error: 'size' undeclared (first use in this function) mm/slub.c:3136: error: 'align' undeclared (first use in this function) mm/slub.c:3136: warning: assignment makes pointer from integer without a cast make[2]: *** [kernel/irq/modules.order] Error 1 mm/slub.c:3140: error: dereferencing pointer to incomplete type mm/slub.c:3145: error: dereferencing pointer to incomplete type mm/slub.c:3145: error: dereferencing pointer to incomplete type make[2]: Target `__build' not remade because of errors. mm/slub.c:3151: error: implicit declaration of function 'for_each_online_cpu' mm/slub.c:3152: error: expected ';' before 'get_cpu_slab' mm/slub.c:3154: error: dereferencing pointer to incomplete type mm/slub.c:3154: error: implicit declaration of function 'max_t' mm/slub.c:3154: error: expected expression before 'int' mm/slub.c:3162: error: 'GFP_KERNEL' undeclared (first use in this function) mm/slub.c:3162: warning: assignment makes pointer from integer without a cast mm/slub.c:3165: warning: passing argument 3 of 'kmem_cache_open' makes integer from pointer without a cast mm/slub.c:3165: error: too many arguments to function 'kmem_cache_open' mm/slub.c:3166: error: dereferencing pointer to incomplete type mm/slub.c:3166: error: 'slab_caches' undeclared (first use in this function) make[1]: *** [kernel/irq] Error 2 mm/slub.c:3177: error: 'SLAB_PANIC' undeclared (first use in this function) mm/slub.c:3180: error: 'NULL' undeclared (first use in this function) mm/slub.c: At top level: mm/slub.c:3183: warning: data definition has no type or storage class mm/slub.c:3183: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' mm/slub.c:3183: warning: parameter names (without types) in function declaration mm/slub.c:3236: error: expected ')' before 'size' mm/slub.c:3251: error: expected ')' before 'size' mm/slub.c:3265: fatal error: opening dependency file mm/.slub.o.d: No such file or directory compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [kernel/time/clocksource.o] Error 1 kernel/sysctl_check.c:1195: error: 'CTL_RPCDEBUG' undeclared here (not in a function) kernel/sysctl_check.c:1195: error: initializer element is not constant kernel/sysctl_check.c:1195: error: (near initialization for 'trans_sunrpc_table[0].ctl_name') CC kernel/time/jiffies.o The bug is not reproducible, so it is likely a hardware or OS problem. kernel/sysctl_check.c:1196: error: 'CTL_NFSDEBUG' undeclared here (not in a function) kernel/sysctl_check.c:1196: error: initializer element is not constant kernel/sysctl_check.c:1196: error: (near initialization for 'trans_sunrpc_table[1].ctl_name') kernel/sysctl_check.c:1197: error: 'CTL_NFSDDEBUG' undeclared here (not in a function) kernel/sysctl_check.c:1197: error: initializer element is not constant kernel/sysctl_check.c:1197: error: (near initialization for 'trans_sunrpc_table[2].ctl_name') kernel/sysctl_check.c:1198: error: 'CTL_NLMDEBUG' undeclared here (not in a function) kernel/sysctl_check.c:1198: error: initializer element is not constantmake[2]: *** No rule to make target `kernel/time/timer_list.c', needed by `kernel/time/timer_list.o'. gcc: kernel/time/jiffies.c: No such file or directory kernel/sysctl_check.c:1198: error: (near initialization for 'trans_sunrpc_table[3].ctl_name') kernel/sysctl_check.c:1199: error: 'CTL_SLOTTABLE_UDP' undeclared here (not in a function) kernel/sysctl_check.c:1199: error: initializer element is not constant kernel/sysctl_check.c:1199: error: (near initialization for 'trans_sunrpc_table[4].ctl_name') kernel/sysctl_check.c:1200: error: 'CTL_SLOTTABLE_TCP' undeclared here (not in a function) kernel/sysctl_check.c:1200: error: initializer element is not constant kernel/sysctl_check.c:1200: error: (near initialization for 'trans_sunrpc_table[5].ctl_name') kernel/sysctl_check.c:1201: error: 'CTL_MIN_RESVPORT' undeclared here (not in a function) kernel/sysctl_check.c:1201: error: initializer element is not constant kernel/sysctl_check.c:1201: error: (near initialization for 'trans_sunrpc_table[6].ctl_name') kernel/sysctl_check.c:1202: error: 'CTL_MAX_RESVPORT' undeclared here (not in a function) kernel/sysctl_check.c:1202: error: initializer element is not constant kernel/sysctl_check.c:1202: error: (near initialization for 'trans_sunrpc_table[7].ctl_name') kernel/sysctl_check.c:1221: error: 'CTL_KERN' undeclared here (not in a function) kernel/sysctl_check.c:1221: error: initializer element is not constant kernel/sysctl_check.c:1221: error: (near initialization for 'trans_root_table[0].ctl_name') gcc: no input files kernel/sysctl_check.c:1222: error: 'CTL_VM' undeclared here (not in a function) kernel/sysctl_check.c:1222: error: initializer element is not constant kernel/sysctl_check.c:1222: error: (near initialization for 'trans_root_table[1].ctl_name') kernel/sysctl_check.c:1223: error: 'CTL_NET' undeclared here (not in a function) kernel/sysctl_check.c:1223: error: initializer element is not constant kernel/sysctl_check.c:1223: error: (near initialization for 'trans_root_table[2].ctl_name') kernel/sysctl_check.c:1225: error: 'CTL_FS' undeclared here (not in a function) kernel/sysctl_check.c:1225: error: initializer element is not constant kernel/sysctl_check.c:1225: error: (near initialization for 'trans_root_table[3].ctl_name') kernel/sysctl_check.c:1226: error: 'CTL_DEBUG' undeclared here (not in a function) kernel/sysctl_check.c:1226: error: initializer element is not constant kernel/sysctl_check.c:1226: error: (near initialization for 'trans_root_table[4].ctl_name') kernel/sysctl_check.c:1227: error: 'CTL_DEV' undeclared here (not in a function) make[2]: *** [kernel/time/jiffies.o] Error 1 kernel/sysctl_check.c:1227: error: initializer element is not constant make[1]: *** [mm/slub.o] Error 1 /bin/sh: mm/modules.order: No such file or directory make[1]: *** [mm/modules.order] Error 1 make[1]: Target `__build' not remade because of errors. make[1]: *** No rule to make target `kernel/dma.c', needed by `kernel/dma.o'. make[1]: *** No rule to make target `kernel/uid16.c', needed by `kernel/uid16.o'. make[1]: *** No rule to make target `kernel/kallsyms.c', needed by `kernel/kallsyms.o'. make[1]: *** No rule to make target `kernel/rcuclassic.c', needed by `kernel/rcuclassic.o'. make[1]: *** No rule to make target `kernel/utsname_sysctl.c', needed by `kernel/utsname_sysctl.o'. /bin/sh: kernel/time/modules.order: No such file or directory make[2]: *** [kernel/time/modules.order] Error 1 make[2]: Target `__build' not remade because of errors. kernel/sysctl_check.c:1227: error: (near initialization for 'trans_root_table[5].ctl_name') make[1]: *** [kernel/time] Error 2 kernel/sysctl_check.c:1228: error: 'CTL_BUS' undeclared here (not in a function) kernel/sysctl_check.c:1228: error: initializer element is not constant kernel/sysctl_check.c:1228: error: (near initialization for 'trans_root_table[6].ctl_name') kernel/sysctl_check.c:1229: error: 'CTL_ABI' undeclared here (not in a function) kernel/sysctl_check.c:1229: error: initializer element is not constant kernel/sysctl_check.c:1229: error: (near initialization for 'trans_root_table[7].ctl_name') kernel/sysctl_check.c:1231: error: 'CTL_ARLAN' undeclared here (not in a function) kernel/sysctl_check.c:1231: error: initializer element is not constant kernel/sysctl_check.c:1231: error: (near initialization for 'trans_root_table[8].ctl_name') kernel/sysctl_check.c:1232: error: 'CTL_S390DBF' undeclared here (not in a function) kernel/sysctl_check.c:1232: error: initializer element is not constant kernel/sysctl_check.c:1232: error: (near initialization for 'trans_root_table[9].ctl_name') kernel/sysctl_check.c:1233: error: 'CTL_SUNRPC' undeclared here (not in a function) kernel/sysctl_check.c:1233: error: initializer element is not constant kernel/sysctl_check.c:1233: error: (near initialization for 'trans_root_table[10].ctl_name') kernel/sysctl_check.c:1234: error: 'CTL_PM' undeclared here (not in a function) kernel/sysctl_check.c:1234: error: initializer element is not constant kernel/sysctl_check.c:1234: error: (near initialization for 'trans_root_table[11].ctl_name') kernel/sysctl_check.c:1235: error: 'CTL_FRV' undeclared here (not in a function) kernel/sysctl_check.c:1235: error: initializer element is not constant kernel/sysctl_check.c:1235: error: (near initialization for 'trans_root_table[12].ctl_name') kernel/sysctl_check.c:1242: warning: 'struct ctl_table' declared inside parameter list kernel/sysctl_check.c:1242: warning: its scope is only this definition or declaration, which is probably not what you want kernel/sysctl_check.c: In function 'sysctl_depth': kernel/sysctl_check.c:1248: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1248: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1248: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1248: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1248: warning: assignment from incompatible pointer type kernel/sysctl_check.c: In function 'sysctl_parent': kernel/sysctl_check.c:1259: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1259: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1259: warning: assignment from incompatible pointer type kernel/sysctl_check.c: In function 'sysctl_binary_lookup': kernel/sysctl_check.c:1270: warning: passing argument 1 of 'sysctl_depth' from incompatible pointer type kernel/sysctl_check.c:1281: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1281: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1282: error: implicit declaration of function 'strcmp' kernel/sysctl_check.c:1282: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1282: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1285: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1285: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1286: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1286: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1286: warning: comparison between pointer and integer CC kernel/rtmutex.o kernel/sysctl_check.c: In function 'sysctl_print_path': kernel/sysctl_check.c:1310: warning: passing argument 1 of 'sysctl_depth' from incompatible pointer type kernel/sysctl_check.c:1311: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1311: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1314: error: implicit declaration of function 'printk' kernel/sysctl_check.c:1314: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1314: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1314: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1314: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1314: warning: pointer type mismatch in conditional expression kernel/sysctl_check.c:1318: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1318: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1321: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1321: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c: In function 'sysctl_repair_table': kernel/sysctl_check.c:1333: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1333: error: request for member 'ctl_name' in something not a structure or union gcc: kernel/rtmutex.c: No such file or directory CC kernel/time.o kernel/sysctl_check.c:1333: error: dereferencing pointer to incomplete typegcc: no input files kernel/sysctl_check.c:1333: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1334: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1334: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1334: error: 'proc_dointvec' undeclared (first use in this function) kernel/sysctl_check.c:1334: error: (Each undeclared identifier is reported only once kernel/sysctl_check.c:1334: error: for each function it appears in.) make[1]: *** [kernel/rtmutex.o] Error 1 kernel/sysctl_check.c:1335: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1335: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1336: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1336: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1336: error: 'sysctl_data' undeclared (first use in this function) kernel/sysctl_check.c:1336: warning: statement with no effect kernel/sysctl_check.c: At top level: kernel/sysctl_check.c:1341: warning: 'struct nsproxy' declared inside parameter list kernel/sysctl_check.c: In function 'sysctl_check_lookup': kernel/sysctl_check.c:1347: warning: passing argument 1 of 'sysctl_depth' from incompatible pointer type kernel/sysctl_check.c:1349: error: implicit declaration of function '__sysctl_head_next' kernel/sysctl_check.c:1349: warning: assignment makes pointer from integer without a cast kernel/sysctl_check.c:1350: warning: assignment makes pointer from integer without a cast kernel/sysctl_check.c:1352: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1352: error: request for member 'ctl_table' in something not a structure or union kernel/sysctl_check.c:1352: warning: assignment from incompatible pointer type kernel/sysctl_check.c:1355: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1355: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1355: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1355: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1355: error: increment of pointer to unknown structure kernel/sysctl_check.c:1355: error: arithmetic on pointer to an incomplete type kernel/sysctl_check.c:1357: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1357: error: request for member 'child' in something not a structure or union kernel/sysctl_check.c:1360: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1360: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1360: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1360: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1361: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1361: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1361: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1361: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1364: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1364: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1364: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1364: error: request for member 'ctl_name' in something not a structure or union gcc: kernel/sysctl_check.c:1365: error: dereferencing pointer to incomplete type kernel/time.c: No such file or directorykernel/sysctl_check.c:1365: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1365: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1365: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1371: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1371: error: request for member 'child' in something not a structure or union kernel/sysctl_check.c:1371: warning: assignment from incompatible pointer type kernel/sysctl_check.c:1378: warning: assignment from incompatible pointer type kernel/sysctl_check.c:1380: error: implicit declaration of function 'sysctl_head_finish' kernel/sysctl_check.c: In function 'set_fail': kernel/sysctl_check.c:1387: error: 'KERN_ERR' undeclared (first use in this function) gcc: kernel/sysctl_check.c:1387: error: expected ')' before string constant no input files kernel/sysctl_check.c:1390: error: implicit declaration of function 'dump_stack' kernel/sysctl_check.c: At top level: kernel/sysctl_check.c:1396: warning: 'struct nsproxy' declared inside parameter list kernel/sysctl_check.c: In function 'sysctl_check_dir': kernel/sysctl_check.c:1402: warning: passing argument 1 of 'sysctl_check_lookup' from incompatible pointer type kernel/sysctl_check.c:1405: error: dereferencing pointer to incomplete type make[1]: kernel/sysctl_check.c:1405: error: request for member 'procname' in something not a structure or union *** [kernel/time.o] Error 1 kernel/sysctl_check.c:1405: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1405: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1406: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1406: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1406: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1406: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1407: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1407: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1407: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1407: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1410: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1410: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1410: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1410: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1411: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1411: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1411: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1411: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1412: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1412: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1412: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1412: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1416: error: 'KERN_ERR' undeclared (first use in this function) kernel/sysctl_check.c:1416: error: expected ')' before string constant kernel/sysctl_check.c:1421: error: 'EINVAL' undeclared (first use in this function) kernel/sysctl_check.c:1421: error: wrong type argument to unary minus kernel/sysctl_check.c:1421: warning: assignment makes integer from pointer without a cast kernel/sysctl_check.c: At top level: kernel/sysctl_check.c:1428: warning: 'struct nsproxy' declared inside parameter list kernel/sysctl_check.c: In function 'sysctl_check_leaf': kernel/sysctl_check.c:1432: warning: passing argument 1 of 'sysctl_check_lookup' from incompatible pointer type kernel/sysctl_check.c: In function 'sysctl_check_bin_path': kernel/sysctl_check.c:1442: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1442: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1446: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1446: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1447: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1447: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1450: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1450: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1451: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1451: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1451: warning: comparison between pointer and integer kernel/sysctl_check.c: At top level: kernel/sysctl_check.c:1456: warning: 'struct nsproxy' declared inside parameter list kernel/sysctl_check.c: In function 'sysctl_check_table': kernel/sysctl_check.c:1459: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1459: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1459: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1459: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1459: error: increment of pointer to unknown structure kernel/sysctl_check.c:1459: error: arithmetic on pointer to an incomplete type kernel/sysctl_check.c:1460: warning: initialization from incompatible pointer type kernel/sysctl_check.c:1463: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1463: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1464: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1464: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1464: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1464: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1466: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1466: error: request for member 'ctl_name' in something not a structure or union kernel/sysctl_check.c:1466: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1466: error: request for member 'parent' in something not a structure or union kernel/sysctl_check.c:1469: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1469: error: request for member 'procname' in something not a structure or union kernel/sysctl_check.c:1471: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1471: error: request for member 'child' in something not a structure or union kernel/sysctl_check.c:1472: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1472: error: request for member 'data' in something not a structure or union kernel/sysctl_check.c:1474: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1474: error: request for member 'maxlen' in something not a structure or union kernel/sysctl_check.c:1476: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1476: error: request for member 'mode' in something not a structure or union kernel/sysctl_check.c:1476: error: 'S_IRUGO' undeclared (first use in this function) kernel/sysctl_check.c:1476: error: 'S_IXUGO' undeclared (first use in this function) kernel/sysctl_check.c:1476: error: invalid operands to binary | kernel/sysctl_check.c:1476: error: invalid operands to binary & kernel/sysctl_check.c:1476: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1476: error: request for member 'mode' in something not a structure or union kernel/sysctl_check.c:1478: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1478: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1480: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1480: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1482: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1482: error: request for member 'extra1' in something not a structure or union kernel/sysctl_check.c:1484: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1484: error: request for member 'extra2' in something not a structure or union kernel/sysctl_check.c:1486: warning: passing argument 1 of 'sysctl_check_dir' from incompatible pointer type kernel/sysctl_check.c:1489: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1489: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1489: error: 'sysctl_data' undeclared (first use in this function) kernel/sysctl_check.c:1490: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1490: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1490: error: 'sysctl_string' undeclared (first use in this function) kernel/sysctl_check.c:1491: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1491: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1491: error: 'sysctl_intvec' undeclared (first use in this function) kernel/sysctl_check.c:1492: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1492: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1492: error: 'sysctl_jiffies' undeclared (first use in this function) kernel/sysctl_check.c:1493: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1493: error: request for member 'strategy' in something not a structure or union kernel/sysctl_check.c:1493: error: 'sysctl_ms_jiffies' undeclared (first use in this function) kernel/sysctl_check.c:1494: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1494: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1494: error: 'proc_dostring' undeclared (first use in this function) kernel/sysctl_check.c:1495: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1495: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1495: error: 'proc_dointvec' undeclared (first use in this function) kernel/sysctl_check.c:1496: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1496: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1496: error: 'proc_dointvec_minmax' undeclared (first use in this function) kernel/sysctl_check.c:1497: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1497: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1497: error: 'proc_dointvec_jiffies' undeclared (first use in this function) kernel/sysctl_check.c:1498: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1498: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1498: error: 'proc_dointvec_userhz_jiffies' undeclared (first use in this function) kernel/sysctl_check.c:1499: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1499: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1499: error: 'proc_dointvec_ms_jiffies' undeclared (first use in this function) kernel/sysctl_check.c:1500: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1500: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1500: error: 'proc_doulongvec_minmax' undeclared (first use in this function) kernel/sysctl_check.c:1501: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1501: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1501: error: 'proc_doulongvec_ms_jiffies_minmax' undeclared (first use in this function) kernel/sysctl_check.c:1502: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1502: error: request for member 'data' in something not a structure or union kernel/sysctl_check.c:1504: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1504: error: request for member 'maxlen' in something not a structure or union kernel/sysctl_check.c:1507: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1507: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1508: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1508: error: request for member 'proc_handler' in something not a structure or union kernel/sysctl_check.c:1509: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1509: error: request for member 'maxlen' in something not a structure or union kernel/sysctl_check.c:1509: warning: comparison between pointer and integer kernel/sysctl_check.c:1510: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1510: error: request for member 'extra1' in something not a structure or union kernel/sysctl_check.c:1512: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1512: error: request for member 'extra2' in something not a structure or union kernel/sysctl_check.c:1532: warning: passing argument 1 of 'sysctl_check_leaf' from incompatible pointer type kernel/sysctl_check.c:1536: warning: passing argument 3 of 'set_fail' from incompatible pointer type kernel/sysctl_check.c:1537: error: 'EINVAL' undeclared (first use in this function) kernel/sysctl_check.c:1537: error: wrong type argument to unary minus kernel/sysctl_check.c:1537: warning: assignment makes integer from pointer without a cast kernel/sysctl_check.c:1539: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1539: error: request for member 'child' in something not a structure or union kernel/sysctl_check.c:1540: error: dereferencing pointer to incomplete type kernel/sysctl_check.c:1540: error: request for member 'child' in something not a structure or union kernel/sysctl_check.c:1540: warning: passing argument 2 of 'sysctl_check_table' from incompatible pointer type make: *** [mm] Error 2 kernel/sysctl_check.c: At top level: kernel/sysctl_check.c:1543: fatal error: opening dependency file kernel/.sysctl_check.o.d: No such file or directory compilation terminated. The bug is not reproducible, so it is likely a hardware or OS problem. make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make[1]: *** [kernel/sysctl_check.o] Error 1 make[1]: Target `__build' not remade because of errors. make: *** [kernel] Error 2 make: *** [drivers] Error 2 make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make: *** [sound] Error 2 make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make: *** [firmware] Error 2 make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make: *** [net] Error 2 make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make: *** [lib] Error 2 make[1]: scripts/Makefile.build: No such file or directory make[1]: *** No rule to make target `scripts/Makefile.build'. make[1]: Failed to remake makefile `scripts/Makefile.build'. make[1]: *** No targets specified and no makefile found. Stop. make: *** [arch/x86/lib] Error 2 make: Target `all' not remade because of errors.