CHK include/linux/version.h CHK include/linux/utsrelease.h CC arch/x86/kernel/asm-offsets.s In file included from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/crypto.h:20:24: error: asm/atomic.h: No such file or directory In file included from include/linux/types.h:14, from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/types.h:15:23: error: asm/types.h: No such file or directory In file included from include/linux/prefetch.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/types.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’ include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’ include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’ include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’ include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’ include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’ include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’ include/linux/types.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’ include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’ include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’ include/linux/types.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’ include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’ include/linux/types.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’ include/linux/types.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’ include/linux/types.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid16_t’ include/linux/types.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘loff_t’ include/linux/types.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’ include/linux/types.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssize_t’ include/linux/types.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ptrdiff_t’ include/linux/types.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘time_t’ include/linux/types.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clock_t’ include/linux/types.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caddr_t’ include/linux/types.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int8_t’ include/linux/types.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’ include/linux/types.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int16_t’ include/linux/types.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int16_t’ include/linux/types.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int32_t’ include/linux/types.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’ include/linux/types.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint8_t’ include/linux/types.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’ include/linux/types.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint32_t’ include/linux/types.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’ include/linux/types.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int64_t’ include/linux/types.h:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’ include/linux/types.h:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le16’ include/linux/types.h:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be16’ include/linux/types.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le32’ include/linux/types.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be32’ include/linux/types.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le64’ include/linux/types.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be64’ include/linux/types.h:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__sum16’ include/linux/types.h:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wsum’ include/linux/types.h:198: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resource_size_t’ include/linux/types.h:204: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’ In file included from include/linux/list.h:8, from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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:8, from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/prefetch.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/list.h:9:24: error: asm/system.h: No such file or directory In file included from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/list.h: In function ‘__list_add_rcu’: include/linux/list.h:100: error: implicit declaration of function ‘smp_wmb’ In file included from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/stat.h:6:22: error: asm/stat.h: No such file or directory In file included from include/linux/kernel.h:11, from include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/linkage.h:4:25: error: asm/linkage.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/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/bitops.h:9:24: error: asm/bitops.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/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/bitops.h: In function ‘get_bitmask_order’: include/linux/bitops.h:15: error: implicit declaration of function ‘fls’ include/linux/bitops.h: In function ‘hweight_long’: include/linux/bitops.h:31: error: implicit declaration of function ‘hweight32’ include/linux/bitops.h:31: error: implicit declaration of function ‘hweight64’ include/linux/bitops.h: At top level: include/linux/bitops.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rol32’ include/linux/bitops.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ror32’ include/linux/bitops.h: In function ‘fls_long’: include/linux/bitops.h:58: 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/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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 include/linux/cache.h:4, from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/kernel.h:140: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:141: error: format string argument not a string type include/linux/kernel.h:142: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:144: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:145: error: format string argument not a string type include/linux/kernel.h:146: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:237: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:239: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:242: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:244: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:293:2: error: #error "Please fix asm/byteorder.h" 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/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/thread_info.h:21:29: error: asm/thread_info.h: No such file or directory 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/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/thread_info.h:30: warning: ‘struct thread_info’ declared inside parameter list include/linux/thread_info.h:30: 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:32: error: implicit declaration of function ‘set_bit’ include/linux/thread_info.h:32: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:35: warning: ‘struct thread_info’ declared inside parameter list include/linux/thread_info.h: In function ‘clear_ti_thread_flag’: include/linux/thread_info.h:37: error: implicit declaration of function ‘clear_bit’ include/linux/thread_info.h:37: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:40: 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:42: error: implicit declaration of function ‘test_and_set_bit’ include/linux/thread_info.h:42: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:45: 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:47: error: implicit declaration of function ‘test_and_clear_bit’ include/linux/thread_info.h:47: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:50: warning: ‘struct thread_info’ declared inside parameter list include/linux/thread_info.h: In function ‘test_ti_thread_flag’: include/linux/thread_info.h:52: error: implicit declaration of function ‘test_bit’ include/linux/thread_info.h:52: error: dereferencing pointer to incomplete type In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/spinlock.h: At top level: include/linux/spinlock.h:339: error: expected ‘)’ before ‘*’ token In file included from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/seqlock.h: In function ‘read_seqbegin’: include/linux/seqlock.h:89: error: implicit declaration of function ‘smp_rmb’ In file included from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/time.h: At top level: include/linux/time.h:14: error: expected specifier-qualifier-list before ‘time_t’ include/linux/time.h:20: error: expected specifier-qualifier-list before ‘time_t’ include/linux/time.h: In function ‘timespec_equal’: include/linux/time.h:43: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:43: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:43: error: ‘const struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h:43: error: ‘const struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h: In function ‘timespec_compare’: include/linux/time.h:53: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:53: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:55: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:55: error: ‘const struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:57: error: ‘const struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h:57: error: ‘const struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h: In function ‘timeval_compare’: include/linux/time.h:62: error: ‘const struct timeval’ has no member named ‘tv_sec’ include/linux/time.h:62: error: ‘const struct timeval’ has no member named ‘tv_sec’ include/linux/time.h:64: error: ‘const struct timeval’ has no member named ‘tv_sec’ include/linux/time.h:64: error: ‘const struct timeval’ has no member named ‘tv_sec’ include/linux/time.h:66: error: ‘const struct timeval’ has no member named ‘tv_usec’ include/linux/time.h:66: error: ‘const struct timeval’ has no member named ‘tv_usec’ include/linux/time.h: At top level: include/linux/time.h:73: error: expected declaration specifiers or ‘...’ before ‘time_t’ include/linux/time.h: In function ‘timespec_sub’: include/linux/time.h:82: error: ‘struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:82: error: ‘struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:83: error: ‘struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h:83: error: ‘struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h:83: error: too many arguments to function ‘set_normalized_timespec’ include/linux/time.h: At top level: include/linux/time.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timespec_to_ns’ include/linux/time.h:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timeval_to_ns’ include/linux/time.h:157: warning: type defaults to ‘int’ in declaration of ‘s64’ include/linux/time.h:157: error: expected ‘;’, ‘,’ or ‘)’ before ‘nsec’ include/linux/time.h:165: warning: type defaults to ‘int’ in declaration of ‘s64’ include/linux/time.h:165: error: expected ‘;’, ‘,’ or ‘)’ before ‘nsec’ include/linux/time.h:172: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/time.h: In function ‘timespec_add_ns’: include/linux/time.h:174: error: ‘ns’ undeclared (first use in this function) include/linux/time.h:174: error: (Each undeclared identifier is reported only once include/linux/time.h:174: error: for each function it appears in.) include/linux/time.h:174: error: ‘struct timespec’ has no member named ‘tv_nsec’ include/linux/time.h:177: error: ‘struct timespec’ has no member named ‘tv_sec’ include/linux/time.h:179: error: ‘struct timespec’ has no member named ‘tv_nsec’ In file included from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/stat.h: At top level: include/linux/stat.h:63: error: expected specifier-qualifier-list before ‘u64’ In file included from include/linux/kmod.h:23, from include/linux/module.h:13, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from include/linux/module.h:13, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/kmod.h: In function ‘call_usermodehelper’: include/linux/kmod.h:74: error: ‘ENOMEM’ undeclared (first use in this function) include/linux/kmod.h: In function ‘call_usermodehelper_keys’: include/linux/kmod.h:86: error: ‘ENOMEM’ undeclared (first use in this function) In file included from include/linux/elf.h:5, from include/linux/module.h:14, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory In file included from include/linux/module.h:14, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/elf.h:7:21: error: asm/elf.h: No such file or directory In file included from include/linux/module.h:14, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/elf.h: At top level: include/linux/elf.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Addr’ include/linux/elf.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Half’ include/linux/elf.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Off’ include/linux/elf.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Sword’ include/linux/elf.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Word’ include/linux/elf.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Addr’ include/linux/elf.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Half’ include/linux/elf.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_SHalf’ include/linux/elf.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Off’ include/linux/elf.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Sword’ include/linux/elf.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Word’ include/linux/elf.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Xword’ include/linux/elf.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Sxword’ include/linux/elf.h:127: error: expected specifier-qualifier-list before ‘Elf32_Sword’ include/linux/elf.h:135: error: expected specifier-qualifier-list before ‘Elf64_Sxword’ include/linux/elf.h:150: error: expected specifier-qualifier-list before ‘Elf32_Addr’ include/linux/elf.h:155: error: expected specifier-qualifier-list before ‘Elf64_Addr’ include/linux/elf.h:160: error: expected specifier-qualifier-list before ‘Elf32_Addr’ include/linux/elf.h:166: error: expected specifier-qualifier-list before ‘Elf64_Addr’ include/linux/elf.h:172: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:181: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:194: error: expected specifier-qualifier-list before ‘Elf32_Half’ include/linux/elf.h:211: error: expected specifier-qualifier-list before ‘Elf64_Half’ include/linux/elf.h:233: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:244: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:289: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:302: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:362: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:369: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:374:5: warning: "ELF_CLASS" is not defined include/linux/elf.h:396: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from include/linux/kobject.h:24, from include/linux/module.h:16, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/sysfs.h:30: error: expected specifier-qualifier-list before ‘mode_t’ include/linux/sysfs.h:64: error: expected specifier-qualifier-list before ‘size_t’ include/linux/sysfs.h:75: error: expected specifier-qualifier-list before ‘ssize_t’ include/linux/sysfs.h:93: error: expected declaration specifiers or ‘...’ before ‘mode_t’ In file included from include/linux/kobject.h:27, from include/linux/module.h:16, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/kref.h:24: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/kobject.h:29, from include/linux/module.h:16, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/wait.h:26:25: error: asm/current.h: No such file or directory In file included from include/linux/module.h:16, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/kobject.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uevent_seqnum’ include/linux/kobject.h:228: error: expected specifier-qualifier-list before ‘ssize_t’ include/linux/kobject.h:243: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/module.h:18:23: error: asm/local.h: No such file or directory include/linux/module.h:20:24: error: asm/module.h: No such file or directory In file included from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/module.h:48: error: expected specifier-qualifier-list before ‘ssize_t’ include/linux/module.h:221: error: expected specifier-qualifier-list before ‘local_t’ include/linux/module.h:222: error: requested alignment is not a constant include/linux/module.h:313: error: field ‘arch’ has incomplete type include/linux/module.h:329: error: ‘NR_CPUS’ undeclared here (not in a function) include/linux/module.h: In function ‘__module_get’: include/linux/module.h:398: error: implicit declaration of function ‘BUG_ON’ include/linux/module.h:399: error: implicit declaration of function ‘local_inc’ include/linux/module.h:399: error: implicit declaration of function ‘get_cpu’ include/linux/module.h:400: error: implicit declaration of function ‘put_cpu’ In file included from include/linux/bitmap.h:8, from include/linux/nodemask.h:85, from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/string.h:21:24: error: asm/string.h: No such file or directory In file included from include/linux/bitmap.h:8, from include/linux/nodemask.h:85, from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/string.h: At top level: include/linux/string.h:27: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlcpy’ include/linux/string.h:36: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlcat’ include/linux/string.h:45: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:48: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/string.h:60: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/string.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’ include/linux/string.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strnlen’ include/linux/string.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’ include/linux/string.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’ include/linux/string.h:89: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:92: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:95: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:98: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:101: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:104: error: expected declaration specifiers or ‘...’ before ‘__kernel_size_t’ include/linux/string.h:108: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/string.h:109: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from include/linux/nodemask.h:85, from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/bitmap.h:134: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:138: error: too many arguments to function ‘memset’ include/linux/bitmap.h: In function ‘bitmap_fill’: include/linux/bitmap.h:144: error: ‘size_t’ undeclared (first use in this function) include/linux/bitmap.h:144: error: expected ‘;’ before ‘nlongs’ include/linux/bitmap.h:145: error: ‘nlongs’ undeclared (first use in this function) include/linux/bitmap.h:147: error: too many arguments to function ‘memset’ include/linux/bitmap.h:149: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_copy’: include/linux/bitmap.h:155: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:159: error: too many arguments to function ‘memcpy’ include/linux/bitmap.h: In function ‘bitmap_and’: include/linux/bitmap.h:166: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_or’: include/linux/bitmap.h:175: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_xor’: include/linux/bitmap.h:184: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_andnot’: include/linux/bitmap.h:193: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_complement’: include/linux/bitmap.h:202: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_equal’: include/linux/bitmap.h:211: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_intersects’: include/linux/bitmap.h:220: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_subset’: include/linux/bitmap.h:229: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_empty’: include/linux/bitmap.h:237: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_full’: include/linux/bitmap.h:245: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_weight’: include/linux/bitmap.h:253: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_shift_right’: include/linux/bitmap.h:261: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_shift_left’: include/linux/bitmap.h:270: error: ‘BITS_PER_LONG’ undeclared (first use in this function) In file included from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/nodemask.h: At top level: include/linux/nodemask.h:88: error: ‘BITS_PER_LONG’ undeclared here (not in a function) include/linux/nodemask.h: In function ‘__first_node’: include/linux/nodemask.h:229: error: implicit declaration of function ‘find_first_bit’ include/linux/nodemask.h: In function ‘__next_node’: include/linux/nodemask.h:235: error: implicit declaration of function ‘find_next_bit’ include/linux/nodemask.h: In function ‘__first_unset_node’: include/linux/nodemask.h:253: error: implicit declaration of function ‘find_first_zero_bit’ In file included from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/nodemask.h:259:21: warning: "BITS_PER_LONG" is not defined In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/mmzone.h:17:22: error: asm/page.h: No such file or directory In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/mmzone.h: At top level: include/linux/mmzone.h:238: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:7, from include/linux/mmzone.h:493, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/mutex.h:49: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/mutex.h: In function ‘mutex_is_locked’: include/linux/mutex.h:116: error: implicit declaration of function ‘atomic_read’ include/linux/mutex.h:116: error: ‘struct mutex’ has no member named ‘count’ In file included from include/linux/notifier.h:14, from include/linux/memory_hotplug.h:7, from include/linux/mmzone.h:493, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/rwsem.h:24:65: error: asm/rwsem.h: No such file or directory In file included from include/linux/memory_hotplug.h:7, from include/linux/mmzone.h:493, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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:493, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/memory_hotplug.h: In function ‘mhp_notimplemented’: include/linux/memory_hotplug.h:160: error: ‘ENOSYS’ undeclared (first use in this function) include/linux/memory_hotplug.h: In function ‘__remove_pages’: include/linux/memory_hotplug.h:169: error: ‘ENOSYS’ undeclared (first use in this function) include/linux/memory_hotplug.h: At top level: include/linux/memory_hotplug.h:172: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:172: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:173: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:173: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:174: error: expected ‘)’ before ‘start’ In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/mmzone.h: In function ‘populated_zone’: include/linux/mmzone.h:526: error: ‘struct zone’ has no member named ‘present_pages’ include/linux/mmzone.h: In function ‘is_normal’: include/linux/mmzone.h:574: error: ‘struct zone’ has no member named ‘zone_pgdat’ include/linux/mmzone.h: In function ‘is_dma’: include/linux/mmzone.h:589: error: ‘struct zone’ has no member named ‘zone_pgdat’ include/linux/mmzone.h: At top level: include/linux/mmzone.h:599: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:599: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:602: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:602: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:604: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:604: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:606: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:606: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:608: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:608: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:611: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:611: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from include/linux/topology.h:30, from include/linux/mmzone.h:615, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/cpumask.h:239:16: warning: "BITS_PER_LONG" is not defined In file included from include/linux/mmzone.h:615, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/mmzone.h:662:5: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:669:7: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:677:2: error: #error BITS_PER_LONG not defined In file included from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/gfp.h: In function ‘alloc_pages_node’: include/linux/gfp.h:152: error: implicit declaration of function ‘cpu_to_node’ In file included from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/slab.h: At top level: include/linux/slab.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:92: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ksize’ In file included from include/linux/jiffies.h:4, 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/calc64.h:5:23: error: asm/div64.h: No such file or directory In file included from include/linux/jiffies.h:4, 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/calc64.h: In function ‘do_div_llr’: include/linux/calc64.h:23: error: ‘u64’ undeclared (first use in this function) include/linux/calc64.h:23: error: expected ‘;’ before ‘result’ include/linux/calc64.h:25: error: implicit declaration of function ‘do_div’ include/linux/calc64.h:25: error: ‘result’ undeclared (first use in this function) 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/timex.h:59:23: error: asm/param.h: No such file or directory include/linux/timex.h:187: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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/timex.h: At top level: include/linux/timex.h:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘current_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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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:33:3: error: #error You lose. 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/jiffies.h:75: warning: type defaults to ‘int’ in declaration of ‘u64’ include/linux/jiffies.h:75: error: expected ‘,’ or ‘;’ before ‘jiffies_64’ include/linux/jiffies.h:78:6: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_jiffies_64’ include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: warning: "HZ" is not defined include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:31: error: division by zero in #if include/linux/jiffies.h:219:46: warning: "SHIFT_HZ" is not defined include/linux/jiffies.h:246:5: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_to_clock_t’ include/linux/jiffies.h:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_64_to_clock_t’ include/linux/jiffies.h:271: 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: 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’ In file included from include/linux/slub_def.h:11, from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/workqueue.h:25: error: expected specifier-qualifier-list before ‘atomic_long_t’ include/linux/workqueue.h: In function ‘cancel_delayed_work’: include/linux/workqueue.h:165: error: ‘struct work_struct’ has no member named ‘data’ In file included from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/slub_def.h: At top level: include/linux/slub_def.h:17: error: expected specifier-qualifier-list before ‘atomic_long_t’ include/linux/slub_def.h:75: error: ‘PAGE_SHIFT’ undeclared here (not in a function) include/linux/slub_def.h:81: error: expected ‘)’ before ‘size’ include/linux/slub_def.h:136: error: expected ‘)’ before ‘size’ include/linux/slub_def.h:167: error: expected ‘)’ before ‘size’ include/linux/slub_def.h:169: error: expected ‘)’ before ‘size’ In file included from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/slab.h:174: error: expected ‘)’ before ‘n’ include/linux/slab.h:192: error: expected ‘)’ before ‘size’ include/linux/slab.h:197: error: expected ‘)’ before ‘size’ include/linux/slab.h:220: error: expected ‘)’ before ‘gfp_t’ include/linux/slab.h:267: error: expected ‘)’ before ‘size’ In file included from include/linux/crypto.h:26, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/uaccess.h:5:25: error: asm/uaccess.h: No such file or directory In file included from include/linux/crypto.h:26, from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/uaccess.h: In function ‘pagefault_disable’: include/linux/uaccess.h:18: error: implicit declaration of function ‘current_thread_info’ include/linux/uaccess.h:18: error: invalid type argument of ‘->’ include/linux/uaccess.h: In function ‘pagefault_enable’: include/linux/uaccess.h:33: error: invalid type argument of ‘->’ include/linux/uaccess.h: In function ‘__copy_from_user_inatomic_nocache’: include/linux/uaccess.h:46: error: implicit declaration of function ‘__copy_from_user_inatomic’ include/linux/uaccess.h: In function ‘__copy_from_user_nocache’: include/linux/uaccess.h:52: error: implicit declaration of function ‘__copy_from_user’ In file included from arch/x86/kernel/asm-offsets_32.c:7, from arch/x86/kernel/asm-offsets.c:2: include/linux/crypto.h: At top level: include/linux/crypto.h:109: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:142: error: expected specifier-qualifier-list before ‘u8’ include/linux/crypto.h:154: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:159: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:159: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:159: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:160: error: expected ‘;’ before ‘unsigned’ include/linux/crypto.h:167: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:175: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:175: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:177: error: expected ‘;’ before ‘int’ include/linux/crypto.h:186: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:186: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:188: error: expected ‘;’ before ‘int’ include/linux/crypto.h:196: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:196: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:198: error: expected ‘;’ before ‘int’ include/linux/crypto.h:213: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:213: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:215: error: expected ‘;’ before ‘void’ include/linux/crypto.h:222: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:222: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:224: error: expected ‘;’ before ‘void’ include/linux/crypto.h:233: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:235: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:236: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:236: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:239: error: expected ‘;’ before ‘unsigned’ include/linux/crypto.h:243: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:243: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:245: error: expected ‘;’ before ‘int’ include/linux/crypto.h:261: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:301: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:301: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:316: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:316: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:318: error: expected ‘;’ before ‘int’ include/linux/crypto.h:325: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:325: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:327: error: expected ‘;’ before ‘int’ include/linux/crypto.h:336: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:336: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:338: error: expected ‘;’ before ‘int’ include/linux/crypto.h:346: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:346: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:347: error: expected ‘;’ before ‘void’ include/linux/crypto.h:355: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:357: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:358: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:358: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:360: error: expected ‘;’ before ‘unsigned’ include/linux/crypto.h:365: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:365: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:367: error: expected ‘;’ before ‘int’ include/linux/crypto.h:381: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:439: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:444: error: expected specifier-qualifier-list before ‘u32’ include/linux/crypto.h:451: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:452: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:452: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_tfm_alg_name’: include/linux/crypto.h:460: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: In function ‘crypto_tfm_alg_driver_name’: include/linux/crypto.h:465: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: In function ‘crypto_tfm_alg_priority’: include/linux/crypto.h:470: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: In function ‘crypto_tfm_alg_modname’: include/linux/crypto.h:475: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: At top level: include/linux/crypto.h:478: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_tfm_alg_type’ include/linux/crypto.h: In function ‘crypto_tfm_alg_blocksize’: include/linux/crypto.h:485: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: In function ‘crypto_tfm_alg_alignmask’: include/linux/crypto.h:490: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: At top level: include/linux/crypto.h:493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_tfm_get_flags’ include/linux/crypto.h:498: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_tfm_set_flags’: include/linux/crypto.h:500: error: ‘struct crypto_tfm’ has no member named ‘crt_flags’ include/linux/crypto.h:500: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h: At top level: include/linux/crypto.h:503: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_tfm_clear_flags’: include/linux/crypto.h:505: error: ‘struct crypto_tfm’ has no member named ‘crt_flags’ include/linux/crypto.h:505: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h: In function ‘crypto_tfm_ctx’: include/linux/crypto.h:510: error: ‘struct crypto_tfm’ has no member named ‘__crt_ctx’ include/linux/crypto.h: In function ‘crypto_tfm_ctx_alignment’: include/linux/crypto.h:516: error: ‘struct crypto_tfm’ has no member named ‘__crt_ctx’ include/linux/crypto.h: At top level: include/linux/crypto.h:529: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:529: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_ablkcipher’: include/linux/crypto.h:531: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:533: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:536: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: At top level: include/linux/crypto.h:550: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:551: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_has_ablkcipher’: include/linux/crypto.h:553: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:555: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:557: error: too many arguments to function ‘crypto_has_alg’ include/linux/crypto.h: In function ‘crypto_ablkcipher_crt’: include/linux/crypto.h:563: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: In function ‘crypto_ablkcipher_ivsize’: include/linux/crypto.h:569: error: ‘struct ablkcipher_tfm’ has no member named ‘ivsize’ include/linux/crypto.h: At top level: include/linux/crypto.h:584: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_ablkcipher_get_flags’ include/linux/crypto.h:590: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_ablkcipher_set_flags’: include/linux/crypto.h:592: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:592: error: too many arguments to function ‘crypto_tfm_set_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:596: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_ablkcipher_clear_flags’: include/linux/crypto.h:598: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:598: error: too many arguments to function ‘crypto_tfm_clear_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:602: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:602: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h: In function ‘crypto_ablkcipher_encrypt’: include/linux/crypto.h:617: error: ‘struct ablkcipher_tfm’ has no member named ‘encrypt’ include/linux/crypto.h: In function ‘crypto_ablkcipher_decrypt’: include/linux/crypto.h:624: error: ‘struct ablkcipher_tfm’ has no member named ‘decrypt’ include/linux/crypto.h: In function ‘crypto_ablkcipher_reqsize’: include/linux/crypto.h:630: error: ‘struct ablkcipher_tfm’ has no member named ‘reqsize’ include/linux/crypto.h: In function ‘ablkcipher_request_alloc’: include/linux/crypto.h:650: error: implicit declaration of function ‘kmalloc’ include/linux/crypto.h:651: warning: assignment makes pointer from integer without a cast include/linux/crypto.h: At top level: include/linux/crypto.h:666: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘ablkcipher_request_set_callback’: include/linux/crypto.h:670: error: ‘struct crypto_async_request’ has no member named ‘flags’ include/linux/crypto.h:670: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h: At top level: include/linux/crypto.h:690: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:690: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_aead’: include/linux/crypto.h:692: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:694: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:696: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: In function ‘crypto_aead_crt’: include/linux/crypto.h:711: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: In function ‘crypto_aead_ivsize’: include/linux/crypto.h:716: error: ‘struct aead_tfm’ has no member named ‘ivsize’ include/linux/crypto.h: In function ‘crypto_aead_authsize’: include/linux/crypto.h:721: error: ‘struct aead_tfm’ has no member named ‘authsize’ include/linux/crypto.h: At top level: include/linux/crypto.h:734: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_aead_get_flags’ include/linux/crypto.h:739: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_aead_set_flags’: include/linux/crypto.h:741: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:741: error: too many arguments to function ‘crypto_tfm_set_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:744: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_aead_clear_flags’: include/linux/crypto.h:746: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:746: error: too many arguments to function ‘crypto_tfm_clear_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:749: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:749: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h: In function ‘crypto_aead_encrypt’: include/linux/crypto.h:762: error: ‘struct aead_tfm’ has no member named ‘encrypt’ include/linux/crypto.h: In function ‘crypto_aead_decrypt’: include/linux/crypto.h:767: error: ‘struct aead_tfm’ has no member named ‘decrypt’ include/linux/crypto.h: In function ‘crypto_aead_reqsize’: include/linux/crypto.h:772: error: ‘struct aead_tfm’ has no member named ‘reqsize’ include/linux/crypto.h: In function ‘aead_request_alloc’: include/linux/crypto.h:786: warning: assignment makes pointer from integer without a cast include/linux/crypto.h: At top level: include/linux/crypto.h:800: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘aead_request_set_callback’: include/linux/crypto.h:806: error: ‘struct crypto_async_request’ has no member named ‘flags’ include/linux/crypto.h:806: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h: At top level: include/linux/crypto.h:812: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h: In function ‘aead_request_set_crypt’: include/linux/crypto.h:814: error: ‘struct aead_request’ has no member named ‘src’ include/linux/crypto.h:815: error: ‘struct aead_request’ has no member named ‘dst’ include/linux/crypto.h:817: error: ‘struct aead_request’ has no member named ‘iv’ include/linux/crypto.h:817: error: ‘iv’ undeclared (first use in this function) include/linux/crypto.h: In function ‘aead_request_set_assoc’: include/linux/crypto.h:824: error: ‘struct aead_request’ has no member named ‘assoc’ include/linux/crypto.h: In function ‘crypto_blkcipher_cast’: include/linux/crypto.h:837: error: implicit declaration of function ‘crypto_tfm_alg_type’ include/linux/crypto.h: At top level: include/linux/crypto.h:842: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:842: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_blkcipher’: include/linux/crypto.h:844: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:846: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:848: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: At top level: include/linux/crypto.h:862: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:862: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_has_blkcipher’: include/linux/crypto.h:864: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:866: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:868: error: too many arguments to function ‘crypto_has_alg’ include/linux/crypto.h: In function ‘crypto_blkcipher_crt’: include/linux/crypto.h:879: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: In function ‘crypto_blkcipher_alg’: include/linux/crypto.h:885: error: ‘struct crypto_tfm’ has no member named ‘__crt_alg’ include/linux/crypto.h: In function ‘crypto_blkcipher_ivsize’: include/linux/crypto.h:890: error: ‘struct blkcipher_alg’ has no member named ‘ivsize’ include/linux/crypto.h: At top level: include/linux/crypto.h:905: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_blkcipher_get_flags’ include/linux/crypto.h:911: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_blkcipher_set_flags’: include/linux/crypto.h:913: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:913: error: too many arguments to function ‘crypto_tfm_set_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:917: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_blkcipher_clear_flags’: include/linux/crypto.h:919: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:919: error: too many arguments to function ‘crypto_tfm_clear_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:923: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:923: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h: In function ‘crypto_blkcipher_encrypt’: include/linux/crypto.h:935: error: ‘struct blkcipher_tfm’ has no member named ‘encrypt’ include/linux/crypto.h: In function ‘crypto_blkcipher_encrypt_iv’: include/linux/crypto.h:943: error: ‘struct blkcipher_tfm’ has no member named ‘encrypt’ include/linux/crypto.h: In function ‘crypto_blkcipher_decrypt’: include/linux/crypto.h:952: error: ‘struct blkcipher_tfm’ has no member named ‘decrypt’ include/linux/crypto.h: In function ‘crypto_blkcipher_decrypt_iv’: include/linux/crypto.h:960: error: ‘struct blkcipher_tfm’ has no member named ‘decrypt’ include/linux/crypto.h: At top level: include/linux/crypto.h:964: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:964: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:970: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h: In function ‘crypto_blkcipher_get_iv’: include/linux/crypto.h:972: error: ‘dst’ undeclared (first use in this function) include/linux/crypto.h:972: error: too many arguments to function ‘memcpy’ include/linux/crypto.h: At top level: include/linux/crypto.h:987: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:987: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_cipher’: include/linux/crypto.h:989: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:991: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:993: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: At top level: include/linux/crypto.h:1006: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:1006: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_has_cipher’: include/linux/crypto.h:1008: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:1010: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:1012: error: too many arguments to function ‘crypto_has_alg’ include/linux/crypto.h: In function ‘crypto_cipher_crt’: include/linux/crypto.h:1017: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: At top level: include/linux/crypto.h:1030: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_cipher_get_flags’ include/linux/crypto.h:1036: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_cipher_set_flags’: include/linux/crypto.h:1038: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:1038: error: too many arguments to function ‘crypto_tfm_set_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:1042: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_cipher_clear_flags’: include/linux/crypto.h:1044: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:1044: error: too many arguments to function ‘crypto_tfm_clear_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:1048: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1048: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:1055: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:1055: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1055: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:1062: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h:1062: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1062: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:1081: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:1081: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_hash’: include/linux/crypto.h:1083: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:1085: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:1087: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: At top level: include/linux/crypto.h:1100: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:1100: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_has_hash’: include/linux/crypto.h:1102: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:1104: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:1106: error: too many arguments to function ‘crypto_has_alg’ include/linux/crypto.h: In function ‘crypto_hash_crt’: include/linux/crypto.h:1111: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: In function ‘crypto_hash_digestsize’: include/linux/crypto.h:1126: error: ‘struct hash_tfm’ has no member named ‘digestsize’ include/linux/crypto.h: At top level: include/linux/crypto.h:1129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crypto_hash_get_flags’ include/linux/crypto.h:1134: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_hash_set_flags’: include/linux/crypto.h:1136: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:1136: error: too many arguments to function ‘crypto_tfm_set_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:1139: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_hash_clear_flags’: include/linux/crypto.h:1141: error: ‘flags’ undeclared (first use in this function) include/linux/crypto.h:1141: error: too many arguments to function ‘crypto_tfm_clear_flags’ include/linux/crypto.h: At top level: include/linux/crypto.h:1156: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h: In function ‘crypto_hash_final’: include/linux/crypto.h:1158: error: ‘out’ undeclared (first use in this function) include/linux/crypto.h:1158: error: too many arguments to function ‘crypto_hash_crt(desc->tfm)->final’ include/linux/crypto.h: At top level: include/linux/crypto.h:1163: error: expected declaration specifiers or ‘...’ before ‘u8’ include/linux/crypto.h: In function ‘crypto_hash_digest’: include/linux/crypto.h:1165: error: ‘out’ undeclared (first use in this function) include/linux/crypto.h:1165: error: too many arguments to function ‘crypto_hash_crt(desc->tfm)->digest’ include/linux/crypto.h: At top level: include/linux/crypto.h:1169: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1169: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:1187: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:1187: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_alloc_comp’: include/linux/crypto.h:1189: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:1191: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:1193: error: too many arguments to function ‘crypto_alloc_base’ include/linux/crypto.h: At top level: include/linux/crypto.h:1206: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h:1206: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/crypto.h: In function ‘crypto_has_comp’: include/linux/crypto.h:1208: error: ‘type’ undeclared (first use in this function) include/linux/crypto.h:1210: error: ‘mask’ undeclared (first use in this function) include/linux/crypto.h:1212: error: too many arguments to function ‘crypto_has_alg’ include/linux/crypto.h: In function ‘crypto_comp_crt’: include/linux/crypto.h:1222: error: ‘struct crypto_tfm’ has no member named ‘crt_u’ include/linux/crypto.h: At top level: include/linux/crypto.h:1226: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1226: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/crypto.h:1234: warning: type defaults to ‘int’ in declaration of ‘u8’ include/linux/crypto.h:1234: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token In file included from include/linux/sched.h:50, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/capability.h:35: error: expected specifier-qualifier-list before ‘__u32’ include/linux/capability.h:40: error: expected specifier-qualifier-list before ‘__u32’ include/linux/capability.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘kernel_cap_t’ include/linux/capability.h:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_bset’ include/linux/capability.h:324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_combine’ include/linux/capability.h:331: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_intersect’ include/linux/capability.h:338: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_drop’ include/linux/capability.h:345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_invert’ In file included from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/sched.h:63:27: error: asm/semaphore.h: No such file or directory include/linux/sched.h:65:24: error: asm/ptrace.h: No such file or directory include/linux/sched.h:66:21: error: asm/mmu.h: No such file or directory include/linux/sched.h:67:25: error: asm/cputime.h: No such file or directory In file included from include/linux/sem.h:4, from include/linux/sched.h:70, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: 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:70, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory include/linux/ipc.h:65: error: expected specifier-qualifier-list before ‘uid_t’ include/linux/ipc.h:86: error: expected specifier-qualifier-list before ‘size_t’ In file included from include/linux/sched.h:70, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/sem.h:25: error: expected specifier-qualifier-list before ‘__kernel_time_t’ In file included from include/linux/sched.h:70, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/sem.h:35:24: error: asm/sembuf.h: No such file or directory include/linux/sem.h:94: error: expected specifier-qualifier-list before ‘time_t’ include/linux/sem.h:132: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/sched.h:71, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: 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:71, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: 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: 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/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: 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: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:329:5: warning: "SIGRTMIN" is not defined include/linux/signal.h:329:16: warning: "BITS_PER_LONG" is not defined In file included from include/linux/sched.h:73, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/fs_struct.h:8: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:76, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/percpu.h:10:24: error: asm/percpu.h: No such file or directory In file included from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:76, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/percpu.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/percpu.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/percpu.h:84: error: expected ‘)’ before ‘size’ In file included from include/linux/pid.h:4, from include/linux/sched.h:76, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/rcupdate.h:113: error: expected declaration specifiers or ‘...’ before ‘rcu_data’ include/linux/rcupdate.h:113: warning: data definition has no type or storage class include/linux/rcupdate.h:113: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’ include/linux/rcupdate.h:114: error: expected declaration specifiers or ‘...’ before ‘rcu_bh_data’ include/linux/rcupdate.h:114: warning: data definition has no type or storage class include/linux/rcupdate.h:114: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’ include/linux/rcupdate.h: In function ‘rcu_qsctr_inc’: include/linux/rcupdate.h:124: error: implicit declaration of function ‘per_cpu’ include/linux/rcupdate.h:124: error: ‘rcu_data’ undeclared (first use in this function) include/linux/rcupdate.h:124: error: invalid lvalue in unary ‘&’ include/linux/rcupdate.h: In function ‘rcu_bh_qsctr_inc’: include/linux/rcupdate.h:129: error: ‘rcu_bh_data’ undeclared (first use in this function) include/linux/rcupdate.h:129: error: invalid lvalue in unary ‘&’ In file included from include/linux/sched.h:76, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/pid.h: At top level: include/linux/pid.h:45: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/pid.h: In function ‘get_pid’: include/linux/pid.h:65: error: implicit declaration of function ‘atomic_inc’ include/linux/pid.h:65: error: ‘struct pid’ has no member named ‘count’ include/linux/pid.h: At top level: include/linux/pid.h:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_nr’ In file included from include/linux/sched.h:79, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/seccomp.h:8:25: error: asm/seccomp.h: No such file or directory In file included from include/linux/sched.h:79, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/seccomp.h: In function ‘secure_computing’: include/linux/seccomp.h:15: error: ‘TIF_SECCOMP’ undeclared (first use in this function) include/linux/seccomp.h:15: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast In file included from include/linux/sched.h:81, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/futex.h: At top level: include/linux/futex.h:111: error: expected ‘)’ before ‘*’ token include/linux/futex.h:115: error: expected ‘)’ before ‘*’ token include/linux/futex.h:152: error: expected ‘)’ before ‘*’ token In file included from include/linux/sched.h:86, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/resource.h:70:26: error: asm/resource.h: No such file or directory In file included from include/linux/sched.h:88, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/hrtimer.h:158: error: expected specifier-qualifier-list before ‘clockid_t’ include/linux/hrtimer.h: In function ‘hrtimer_cb_get_time’: include/linux/hrtimer.h:217: error: ‘struct hrtimer_clock_base’ has no member named ‘get_time’ include/linux/hrtimer.h: At top level: include/linux/hrtimer.h:259: error: expected declaration specifiers or ‘...’ before ‘clockid_t’ include/linux/hrtimer.h:275: warning: type defaults to ‘int’ in declaration of ‘clockid_t’ include/linux/hrtimer.h:275: error: expected ‘;’, ‘,’ or ‘)’ before ‘which_clock’ include/linux/hrtimer.h:305: warning: type defaults to ‘int’ in declaration of ‘clockid_t’ include/linux/hrtimer.h:305: error: expected ‘;’, ‘,’ or ‘)’ before ‘clockid’ In file included from include/linux/sched.h:88, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/hrtimer.h:317:5: warning: "BITS_PER_LONG" is not defined include/linux/hrtimer.h:318: error: expected declaration specifiers or ‘...’ before ‘s64’ In file included from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/sched.h:129: error: expected declaration specifiers or ‘...’ before ‘process_counts’ include/linux/sched.h:129: warning: data definition has no type or storage class include/linux/sched.h:129: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’ include/linux/sched.h:129: error: conflicting types for ‘DECLARE_PER_CPU’ include/linux/rcupdate.h:114: error: previous declaration of ‘DECLARE_PER_CPU’ was here In file included from include/linux/aio.h:6, from include/linux/sched.h:299, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/aio_abi.h:58: error: expected specifier-qualifier-list before ‘__u64’ In file included from include/linux/aio.h:6, from include/linux/sched.h:299, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/aio_abi.h:69:2: error: #error edit for your odd byteorder. include/linux/aio_abi.h:80: error: expected specifier-qualifier-list before ‘__u64’ In file included from include/linux/aio.h:7, from include/linux/sched.h:299, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: 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:299, from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/aio.h:96: error: expected specifier-qualifier-list before ‘ssize_t’ include/linux/aio.h:182: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/aio.h:209: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wait_on_sync_kiocb’ include/linux/aio.h: In function ‘list_kiocb’: include/linux/aio.h:253: error: ‘struct kiocb’ has no member named ‘ki_list’ include/linux/aio.h:253: warning: type defaults to ‘int’ in declaration of ‘__mptr’ include/linux/aio.h:253: warning: initialization from incompatible pointer type include/linux/aio.h:253: error: ‘struct kiocb’ has no member named ‘ki_list’ In file included from arch/x86/kernel/asm-offsets_32.c:8, from arch/x86/kernel/asm-offsets.c:2: include/linux/sched.h: At top level: include/linux/sched.h:382: error: expected specifier-qualifier-list before ‘pgd_t’ include/linux/sched.h:439: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:449: error: expected specifier-qualifier-list before ‘cputime_t’ include/linux/sched.h:461: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:579: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:601: warning: parameter names (without types) in function declaration include/linux/sched.h:813: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:837: error: expected declaration specifiers or ‘...’ before ‘gid_t’ include/linux/sched.h:901: error: expected specifier-qualifier-list before ‘s64’ include/linux/sched.h:941: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h: In function ‘rt_task’: include/linux/sched.h:1229: error: ‘struct task_struct’ has no member named ‘prio’ include/linux/sched.h: At top level: include/linux/sched.h:1232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_group’ include/linux/sched.h:1237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘signal_session’ include/linux/sched.h:1242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_session’ include/linux/sched.h:1247: error: expected declaration specifiers or ‘...’ before ‘pid_t’ include/linux/sched.h: In function ‘set_signal_session’: include/linux/sched.h:1249: error: ‘struct signal_struct’ has no member named ‘__session’ include/linux/sched.h:1249: error: ‘session’ undeclared (first use in this function) include/linux/sched.h: In function ‘task_pid’: include/linux/sched.h:1254: error: ‘struct task_struct’ has no member named ‘pids’ include/linux/sched.h: In function ‘task_tgid’: include/linux/sched.h:1259: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h: In function ‘task_pgrp’: include/linux/sched.h:1264: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h: In function ‘task_session’: include/linux/sched.h:1269: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h: In function ‘pid_alive’: include/linux/sched.h:1282: error: ‘struct task_struct’ has no member named ‘pids’ include/linux/sched.h: In function ‘is_init’: include/linux/sched.h:1293: error: ‘struct task_struct’ has no member named ‘pid’ include/linux/sched.h: In function ‘put_task_struct’: include/linux/sched.h:1305: error: implicit declaration of function ‘atomic_dec_and_test’ include/linux/sched.h:1305: error: ‘struct task_struct’ has no member named ‘usage’ include/linux/sched.h: In function ‘set_cpus_allowed’: include/linux/sched.h:1370: error: ‘EINVAL’ undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1394: error: expected ‘)’ before ‘delta_ns’ include/linux/sched.h:1445: error: field ‘thread_info’ has incomplete type include/linux/sched.h:1446: error: ‘THREAD_SIZE’ undeclared here (not in a function) include/linux/sched.h:1466: error: expected ‘)’ before ‘session’ include/linux/sched.h:1469: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h: In function ‘get_uid’: include/linux/sched.h:1472: error: ‘struct user_struct’ has no member named ‘__count’ include/linux/sched.h: At top level: include/linux/sched.h:1495: warning: parameter names (without types) in function declaration include/linux/sched.h:1496: warning: parameter names (without types) in function declaration include/linux/sched.h:1502: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1502: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’ include/linux/sched.h:1504: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1504: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’ include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1509: error: implicit declaration of function ‘local_irq_save’ include/linux/sched.h:1509: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h:1510: error: ‘mask’ undeclared (first use in this function) include/linux/sched.h:1510: error: ‘info’ undeclared (first use in this function) include/linux/sched.h:1510: error: too many arguments to function ‘dequeue_signal’ include/linux/sched.h:1511: error: implicit declaration of function ‘local_irq_restore’ include/linux/sched.h:1511: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h: At top level: include/linux/sched.h:1517: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1520: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1521: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1523: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1524: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1525: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1526: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1527: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h:1527: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h:1527: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/sched.h:1527: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1530: error: expected declaration specifiers or ‘...’ before ‘pid_t’ include/linux/sched.h:1530: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1536: error: expected ‘)’ before ‘int’ include/linux/sched.h:1541: warning: ‘struct k_sigaction’ declared inside parameter list include/linux/sched.h:1542: warning: type defaults to ‘int’ in declaration of ‘stack_t’ include/linux/sched.h:1542: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/sched.h:1554: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h: In function ‘on_sig_stack’: include/linux/sched.h:1563: error: ‘current’ undeclared (first use in this function) include/linux/sched.h: In function ‘sas_ss_flags’: include/linux/sched.h:1568: error: ‘current’ undeclared (first use in this function) include/linux/sched.h:1568: error: ‘SS_DISABLE’ undeclared (first use in this function) include/linux/sched.h:1569: error: ‘SS_ONSTACK’ undeclared (first use in this function) include/linux/sched.h: In function ‘mmdrop’: include/linux/sched.h:1581: error: ‘struct mm_struct’ has no member named ‘mm_count’ include/linux/sched.h: In function ‘has_group_leader_pid’: include/linux/sched.h:1649: error: ‘struct task_struct’ has no member named ‘pid’ include/linux/sched.h:1649: error: ‘struct task_struct’ has no member named ‘tgid’ include/linux/sched.h: In function ‘next_thread’: include/linux/sched.h:1654: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1654: warning: type defaults to ‘int’ in declaration of ‘__mptr’ include/linux/sched.h:1654: error: ‘const struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1654: warning: type defaults to ‘int’ in declaration of ‘_________p1’ include/linux/sched.h:1654: error: ‘const struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1654: error: implicit declaration of function ‘smp_read_barrier_depends’ include/linux/sched.h:1654: warning: initialization makes pointer from integer without a cast include/linux/sched.h:1654: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h: In function ‘thread_group_empty’: include/linux/sched.h:1660: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h: In function ‘task_lock’: include/linux/sched.h:1677: error: ‘struct task_struct’ has no member named ‘alloc_lock’ include/linux/sched.h: In function ‘task_unlock’: include/linux/sched.h:1682: error: ‘struct task_struct’ has no member named ‘alloc_lock’ include/linux/sched.h: In function ‘unlock_task_sighand’: include/linux/sched.h:1691: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h: In function ‘setup_thread_stack’: include/linux/sched.h:1701: error: dereferencing pointer to incomplete type include/linux/sched.h:1701: error: dereferencing pointer to incomplete type include/linux/sched.h:1702: error: dereferencing pointer to incomplete type include/linux/sched.h: In function ‘end_of_stack’: include/linux/sched.h:1707: error: invalid use of undefined type ‘struct thread_info’ include/linux/sched.h: In function ‘set_tsk_thread_flag’: include/linux/sched.h:1717: 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:1722: 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:1727: 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:1732: 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:1737: warning: passing argument 1 of ‘test_ti_thread_flag’ from incompatible pointer type include/linux/sched.h: In function ‘set_tsk_need_resched’: include/linux/sched.h:1742: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) include/linux/sched.h: In function ‘clear_tsk_need_resched’: include/linux/sched.h:1747: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) include/linux/sched.h: In function ‘signal_pending’: include/linux/sched.h:1752: error: ‘TIF_SIGPENDING’ undeclared (first use in this function) include/linux/sched.h: In function ‘need_resched’: include/linux/sched.h:1757: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) include/linux/sched.h:1757: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast include/linux/sched.h: In function ‘arch_pick_mmap_layout’: include/linux/sched.h:1833: error: ‘TASK_UNMAPPED_BASE’ undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1839: error: expected ‘)’ before ‘pid’ include/linux/sched.h:1840: error: expected ‘)’ before ‘pid’ include/linux/sched.h:1867: error: expected declaration specifiers or ‘...’ before ‘ssize_t’ include/linux/sched.h:1871: error: expected declaration specifiers or ‘...’ before ‘ssize_t’ In file included from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or directory In file included from include/linux/suspend.h:7, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/swap.h: In function ‘current_is_kswapd’: include/linux/swap.h:23: error: ‘current’ undeclared (first use in this function) include/linux/swap.h: At top level: include/linux/swap.h:58: error: ‘PAGE_SIZE’ undeclared here (not in a function) include/linux/swap.h:63: error: expected specifier-qualifier-list before ‘__u32’ include/linux/swap.h:251: error: expected ‘)’ before ‘sector_t’ In file included from include/linux/mm.h:16, from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm_types.h:21: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h:39:25: error: asm/pgtable.h: No such file or directory In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h:68: error: expected specifier-qualifier-list before ‘pgprot_t’ include/linux/mm.h:194: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘protection_map’ In file included from include/linux/mm.h:257, from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/page-flags.h:100:6: warning: "BITS_PER_LONG" is not defined In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h: In function ‘put_page_testzero’: include/linux/mm.h:284: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘get_page_unless_zero’: include/linux/mm.h:294: error: implicit declaration of function ‘atomic_inc_not_zero’ include/linux/mm.h:294: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘compound_head’: include/linux/mm.h:300: error: ‘struct page’ has no member named ‘first_page’ include/linux/mm.h: In function ‘page_count’: include/linux/mm.h:306: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘get_page’: include/linux/mm.h:313: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘virt_to_head_page’: include/linux/mm.h:318: error: implicit declaration of function ‘virt_to_page’ include/linux/mm.h:318: warning: initialization makes pointer from integer without a cast include/linux/mm.h: In function ‘init_page_count’: include/linux/mm.h:328: error: implicit declaration of function ‘atomic_set’ include/linux/mm.h:328: error: ‘struct page’ has no member named ‘_count’ include/linux/mm.h: In function ‘set_compound_page_dtor’: include/linux/mm.h:346: error: ‘struct page’ has no member named ‘lru’ include/linux/mm.h: In function ‘get_compound_page_dtor’: include/linux/mm.h:351: error: ‘struct page’ has no member named ‘lru’ include/linux/mm.h: In function ‘compound_order’: include/linux/mm.h:358: error: ‘struct page’ has no member named ‘lru’ include/linux/mm.h: In function ‘set_compound_order’: include/linux/mm.h:363: error: ‘struct page’ has no member named ‘lru’ In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h:454:47: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:499:46: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:500:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > FLAGS_RESERVED In file included from include/linux/mm.h:583, from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/vmstat.h: At top level: include/linux/vmstat.h:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_stat’ include/linux/vmstat.h: In function ‘zone_page_state_add’: include/linux/vmstat.h:127: error: implicit declaration of function ‘atomic_long_add’ include/linux/vmstat.h:127: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:128: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘global_page_state’: include/linux/vmstat.h:133: error: implicit declaration of function ‘atomic_long_read’ include/linux/vmstat.h:133: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘zone_page_state’: include/linux/vmstat.h:144: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h: In function ‘zap_zone_vm_stats’: include/linux/vmstat.h:196: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:196: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:196: error: too many arguments to function ‘memset’ include/linux/vmstat.h: In function ‘__inc_zone_state’: include/linux/vmstat.h:230: error: implicit declaration of function ‘atomic_long_inc’ include/linux/vmstat.h:230: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:231: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘__dec_zone_state’: include/linux/vmstat.h:242: error: implicit declaration of function ‘atomic_long_dec’ include/linux/vmstat.h:242: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:243: error: ‘vm_stat’ undeclared (first use in this function) include/linux/vmstat.h: In function ‘__dec_zone_page_state’: include/linux/vmstat.h:249: error: ‘struct zone’ has no member named ‘vm_stat’ include/linux/vmstat.h:250: error: ‘vm_stat’ undeclared (first use in this function) In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets_32.c:11, from arch/x86/kernel/asm-offsets.c:2: include/linux/mm.h: In function ‘lowmem_page_address’: include/linux/mm.h:587: error: implicit declaration of function ‘__va’ include/linux/mm.h:587: error: implicit declaration of function ‘page_to_pfn’ include/linux/mm.h:587: warning: return makes pointer from integer without a cast include/linux/mm.h: In function ‘page_mapping’: include/linux/mm.h:629: error: ‘struct page’ has no member named ‘mapping’ include/linux/mm.h: In function ‘PageAnon’: include/linux/mm.h:645: error: ‘struct page’ has no member named ‘mapping’ include/linux/mm.h: In function ‘page_index’: include/linux/mm.h:655: error: ‘struct page’ has no member named ‘private’ include/linux/mm.h:656: error: ‘struct page’ has no member named ‘index’ include/linux/mm.h: In function ‘reset_page_mapcount’: include/linux/mm.h:666: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: In function ‘page_mapcount’: include/linux/mm.h:671: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: In function ‘page_mapped’: include/linux/mm.h:679: error: ‘struct page’ has no member named ‘_mapcount’ include/linux/mm.h: At top level: include/linux/mm.h:741: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:754: error: expected ‘)’ before ‘struct’ include/linux/mm.h:755: error: expected ‘)’ before ‘struct’ include/linux/mm.h:769: error: expected declaration specifiers or ‘...’ before ‘pte_t’ include/linux/mm.h:783: error: expected declaration specifiers or ‘...’ before ‘pgprot_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:788: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:788: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h: In function ‘unmap_shared_mapping_range’: include/linux/mm.h:790: error: ‘holebegin’ undeclared (first use in this function) include/linux/mm.h:790: error: ‘holelen’ undeclared (first use in this function) include/linux/mm.h:790: error: too many arguments to function ‘unmap_mapping_range’ include/linux/mm.h: At top level: include/linux/mm.h:793: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:794: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:794: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:815: error: expected declaration specifiers or ‘...’ before ‘pte_t’ include/linux/mm.h:867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token include/linux/mm.h:876: error: expected declaration specifiers or ‘...’ before ‘pgd_t’ include/linux/mm.h:886: error: expected declaration specifiers or ‘...’ before ‘pud_t’ include/linux/mm.h:889: error: expected declaration specifiers or ‘...’ before ‘pmd_t’ include/linux/mm.h:890: error: expected ‘)’ before ‘*’ token include/linux/mm.h:897: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token include/linux/mm.h:903: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token include/linux/mm.h: In function ‘vma_nonlinear_insert’: include/linux/mm.h:1040: error: ‘struct vm_area_struct’ has no member named ‘shared’ include/linux/mm.h:1041: error: ‘struct vm_area_struct’ has no member named ‘shared’ include/linux/mm.h: In function ‘do_mmap’: include/linux/mm.h:1081: error: ‘EINVAL’ undeclared (first use in this function) include/linux/mm.h:1082: error: implicit declaration of function ‘PAGE_ALIGN’ include/linux/mm.h:1084: error: ‘PAGE_MASK’ undeclared (first use in this function) include/linux/mm.h: At top level: include/linux/mm.h:1090: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mm.h:1096: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1098: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1098: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mm.h:1161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vm_get_page_prot’ include/linux/mm.h:1166: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’ include/linux/mm.h:1178: error: expected ‘)’ before ‘*’ token include/linux/mm.h:1181: error: expected declaration specifiers or ‘...’ before ‘pte_fn_t’ include/linux/mm.h:1207: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mm.h:1207: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from arch/x86/kernel/asm-offsets.c:2: arch/x86/kernel/asm-offsets_32.c:12:26: error: asm/ucontext.h: No such file or directory In file included from arch/x86/kernel/asm-offsets_32.c:13, from arch/x86/kernel/asm-offsets.c:2: arch/x86/kernel/sigframe_32.h:5: error: field ‘sc’ has incomplete type arch/x86/kernel/sigframe_32.h:6: error: field ‘fpstate’ has incomplete type arch/x86/kernel/sigframe_32.h:7: error: ‘_NSIG_WORDS’ undeclared here (not in a function) arch/x86/kernel/sigframe_32.h:17: error: field ‘info’ has incomplete type arch/x86/kernel/sigframe_32.h:18: error: field ‘uc’ has incomplete type arch/x86/kernel/sigframe_32.h:19: error: field ‘fpstate’ has incomplete type arch/x86/kernel/asm-offsets_32.c:15:24: error: asm/fixmap.h: No such file or directory In file included from arch/x86/kernel/asm-offsets_32.c:20, from arch/x86/kernel/asm-offsets.c:2: include/xen/interface/xen.h:12:31: error: asm/xen/interface.h: No such file or directory In file included from arch/x86/kernel/asm-offsets_32.c:20, from arch/x86/kernel/asm-offsets.c:2: include/xen/interface/xen.h:176: warning: data definition has no type or storage class include/xen/interface/xen.h:176: warning: type defaults to ‘int’ in declaration of ‘DEFINE_GUEST_HANDLE_STRUCT’ include/xen/interface/xen.h:176: warning: parameter names (without types) in function declaration include/xen/interface/xen.h:209: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘domid_t’ include/xen/interface/xen.h:241: error: expected specifier-qualifier-list before ‘uint64_t’ include/xen/interface/xen.h:244: warning: data definition has no type or storage class include/xen/interface/xen.h:244: warning: type defaults to ‘int’ in declaration of ‘DEFINE_GUEST_HANDLE_STRUCT’ include/xen/interface/xen.h:244: warning: parameter names (without types) in function declaration include/xen/interface/xen.h:255: warning: data definition has no type or storage class include/xen/interface/xen.h:255: warning: type defaults to ‘int’ in declaration of ‘DEFINE_GUEST_HANDLE_STRUCT’ include/xen/interface/xen.h:255: warning: parameter names (without types) in function declaration include/xen/interface/xen.h:274: error: expected specifier-qualifier-list before ‘uint32_t’ include/xen/interface/xen.h:315: error: expected specifier-qualifier-list before ‘uint8_t’ include/xen/interface/xen.h:327: error: ‘MAX_VIRT_CPUS’ undeclared here (not in a function) include/xen/interface/xen.h:367: error: expected specifier-qualifier-list before ‘uint32_t’ include/xen/interface/xen.h:406: error: expected specifier-qualifier-list before ‘uint32_t’ include/xen/interface/xen.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpumap_t’ include/xen/interface/xen.h:434: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xen_domain_handle_t’ In file included from arch/x86/kernel/asm-offsets.c:2: arch/x86/kernel/asm-offsets_32.c: In function ‘foo’: arch/x86/kernel/asm-offsets_32.c:40: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:41: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:42: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:43: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:44: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:45: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:46: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:47: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:48: error: invalid use of undefined type ‘struct sigcontext’ arch/x86/kernel/asm-offsets_32.c:51: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:52: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:53: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:54: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:55: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:56: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:57: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:58: error: invalid use of undefined type ‘struct cpuinfo_x86’ arch/x86/kernel/asm-offsets_32.c:61: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:62: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:63: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:64: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:65: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:66: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:67: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:68: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:69: error: invalid use of undefined type ‘struct thread_info’ arch/x86/kernel/asm-offsets_32.c:72: error: invalid use of undefined type ‘struct Xgt_desc_struct’ arch/x86/kernel/asm-offsets_32.c:73: error: invalid use of undefined type ‘struct Xgt_desc_struct’ arch/x86/kernel/asm-offsets_32.c:74: error: invalid use of undefined type ‘struct Xgt_desc_struct’ arch/x86/kernel/asm-offsets_32.c:77: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:78: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:79: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:80: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:81: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:82: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:83: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:84: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:85: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:86: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:87: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:88: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:89: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:90: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:91: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:92: error: invalid use of undefined type ‘struct pt_regs’ arch/x86/kernel/asm-offsets_32.c:104: error: invalid use of undefined type ‘struct tss_struct’ arch/x86/kernel/asm-offsets_32.c:104: error: invalid application of ‘sizeof’ to incomplete type ‘struct tss_struct’ arch/x86/kernel/asm-offsets_32.c:109: error: ‘PTRS_PER_PTE’ undeclared (first use in this function) arch/x86/kernel/asm-offsets_32.c:110: error: ‘PTRS_PER_PMD’ undeclared (first use in this function) arch/x86/kernel/asm-offsets_32.c:111: error: ‘PTRS_PER_PGD’ undeclared (first use in this function) arch/x86/kernel/asm-offsets_32.c:113: error: ‘VDSO_PRELINK’ undeclared (first use in this function) arch/x86/kernel/asm-offsets_32.c:115: error: ‘struct crypto_tfm’ has no member named ‘__crt_ctx’ make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2