In file included from include/linux/posix_types.h:47, from include/linux/types.h:11, from include/linux/capability.h:16, from include/linux/sched.h:49, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/posix_types.h:4:34: error: asm/arch/posix_types.h: No such file or directory In file included from include/linux/types.h:12, from include/linux/capability.h:16, from include/linux/sched.h:49, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/types.h:4:28: error: asm/arch/types.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:49, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/types.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’ include/linux/types.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’ include/linux/types.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’ include/linux/types.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’ include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’ include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’ include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’ include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’ include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’ include/linux/types.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’ include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’ include/linux/types.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’ include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’ include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’ include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid16_t’ include/linux/types.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_uid_t’ include/linux/types.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘old_gid_t’ include/linux/types.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘loff_t’ include/linux/types.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘size_t’ include/linux/types.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssize_t’ include/linux/types.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ptrdiff_t’ include/linux/types.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘time_t’ include/linux/types.h:84: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clock_t’ include/linux/types.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caddr_t’ include/linux/types.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int8_t’ include/linux/types.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’ include/linux/types.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int16_t’ include/linux/types.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int16_t’ include/linux/types.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int32_t’ include/linux/types.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’ include/linux/types.h:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint8_t’ include/linux/types.h:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’ include/linux/types.h:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint32_t’ include/linux/types.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’ include/linux/types.h:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int64_t’ include/linux/types.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’ include/linux/types.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sector_t’ include/linux/types.h:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘blkcnt_t’ include/linux/types.h:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le16’ include/linux/types.h:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be16’ include/linux/types.h:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le32’ include/linux/types.h:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be32’ include/linux/types.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le64’ include/linux/types.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be64’ include/linux/types.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__sum16’ include/linux/types.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wsum’ include/linux/types.h:195: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resource_size_t’ include/linux/types.h:201: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’ In file included from include/linux/sched.h:49, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:58: error: expected specifier-qualifier-list before ‘__u32’ include/linux/capability.h:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘kernel_cap_t’ include/linux/capability.h:340: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_combine’ include/linux/capability.h:347: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_intersect’ include/linux/capability.h:354: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_drop’ include/linux/capability.h:361: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_invert’ In file included from include/linux/linkage.h:4, from include/linux/kernel.h:11, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/linkage.h:4:30: error: asm/arch/linkage.h: No such file or directory In file included from include/linux/bitops.h:17, from include/linux/kernel.h:15, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/bitops.h:8:29: error: asm/arch/bitops.h: No such file or directory In file included from include/linux/kernel.h:15, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/bitops.h: In function ‘get_bitmask_order’: include/linux/bitops.h:29: error: implicit declaration of function ‘fls’ include/linux/bitops.h: In function ‘hweight_long’: include/linux/bitops.h:45: error: implicit declaration of function ‘hweight32’ include/linux/bitops.h:45: error: implicit declaration of function ‘hweight64’ include/linux/bitops.h: At top level: include/linux/bitops.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rol32’ include/linux/bitops.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ror32’ include/linux/bitops.h: In function ‘fls_long’: include/linux/bitops.h:72: error: implicit declaration of function ‘fls64’ In file included from include/linux/kernel.h:16, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/log2.h: At top level: include/linux/log2.h:32: error: expected ‘)’ before ‘n’ include/linux/log2.h:40: error: expected ‘)’ before ‘n’ In file included from include/linux/kernel.h:17, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/byteorder.h:4:32: error: asm/arch/byteorder.h: No such file or directory In file included from include/linux/kernel.h:47, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/div64.h:4:28: error: asm/arch/div64.h: No such file or directory In file included from include/linux/kernel.h:47, from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/div64.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘div64_64’ In file included from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/kernel.h:148: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:149: error: format string argument not a string type include/linux/kernel.h:150: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:152: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:153: error: format string argument not a string type include/linux/kernel.h:154: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:251: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:253: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:256: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:258: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from include/linux/sched.h:51, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/kernel.h:319:2: error: #error "Please fix asm/byteorder.h" In file included from include/linux/string.h:21, from include/asm/processor.h:9, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/string.h:4:29: error: asm/arch/string.h: No such file or directory In file included from include/asm/processor.h:9, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/asm/processor.h:10, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/host_ldt.h:4:26: error: asm/arch/ldt.h: No such file or directory In file included from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/processor.h:20: error: field ‘tls’ has incomplete type include/asm/processor.h: In function ‘arch_flush_thread’: include/asm/processor.h:43: error: too many arguments to function ‘memset’ include/asm/processor.h: In function ‘arch_copy_thread’: include/asm/processor.h:49: error: too many arguments to function ‘memcpy’ In file included from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/processor.h:52:27: error: asm/arch/user.h: No such file or directory In file included from include/asm/ptrace.h:12, from include/asm/processor-generic.h:13, from include/asm/processor.h:77, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/ptrace-generic.h:11:33: error: asm/arch/ptrace-abi.h: No such file or directory In file included from include/asm/ptrace.h:12, from include/asm/processor-generic.h:13, from include/asm/processor.h:77, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/ptrace-generic.h: At top level: include/asm/ptrace-generic.h:44: warning: ‘struct user_i387_struct’ declared inside parameter list include/asm/ptrace-generic.h:44: warning: its scope is only this definition or declaration, which is probably not what you want include/asm/ptrace-generic.h:46: warning: ‘struct user_i387_struct’ declared inside parameter list In file included from include/asm/processor-generic.h:13, from include/asm/processor.h:77, from include/asm/thread_info.h:11, from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/ptrace.h:50: warning: ‘struct user_fxsr_struct’ declared inside parameter list include/asm/ptrace.h:52: warning: ‘struct user_fxsr_struct’ declared inside parameter list In file included from include/linux/thread_info.h:21, from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/thread_info.h:18: error: expected specifier-qualifier-list before ‘__u32’ include/asm/thread_info.h: In function ‘current_thread_info’: include/asm/thread_info.h:50: error: ‘PAGE_SIZE’ undeclared (first use in this function) include/asm/thread_info.h:50: error: (Each undeclared identifier is reported only once include/asm/thread_info.h:50: error: for each function it appears in.) In file included from include/linux/preempt.h:9, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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: In function ‘clear_ti_thread_flag’: include/linux/thread_info.h:37: error: implicit declaration of function ‘clear_bit’ 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: 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: In function ‘test_ti_thread_flag’: include/linux/thread_info.h:52: error: implicit declaration of function ‘test_bit’ In file included from include/linux/list.h:8, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/prefetch.h: At top level: include/linux/prefetch.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from include/asm/system.h:4, from include/linux/list.h:9, from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/system-generic.h:4:29: error: asm/arch/system.h: No such file or directory In file included from include/linux/preempt.h:11, from include/linux/spinlock.h:49, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/spinlock.h:333, from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/atomic.h:9:29: error: asm/arch/atomic.h: No such file or directory In file included from include/linux/seqlock.h:29, from include/linux/time.h:8, from include/linux/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/timex.h:57, from include/linux/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:44: warning: control reaches end of non-void function 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:58: warning: control reaches end of non-void function 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:67: warning: control reaches end of non-void function 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: ‘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/sched.h:53, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/jiffies.h:4, from include/linux/sched.h:54, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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) include/linux/calc64.h:27: warning: control reaches end of non-void function In file included from include/linux/sched.h:54, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/jiffies.h: At top level: 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’ In file included from include/linux/sched.h:54, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:252:5: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_to_clock_t’ include/linux/jiffies.h:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jiffies_64_to_clock_t’ include/linux/jiffies.h:277: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nsec_to_clock_t’ In file included from include/linux/cpumask.h:86, from include/linux/sched.h:57, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/bitmap.h: In function ‘bitmap_zero’: include/linux/bitmap.h:135: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:139: error: too many arguments to function ‘memset’ include/linux/bitmap.h: In function ‘bitmap_fill’: include/linux/bitmap.h:145: error: ‘size_t’ undeclared (first use in this function) include/linux/bitmap.h:145: error: expected ‘;’ before ‘nlongs’ include/linux/bitmap.h:146: error: ‘nlongs’ undeclared (first use in this function) include/linux/bitmap.h:148: error: too many arguments to function ‘memset’ include/linux/bitmap.h:150: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_copy’: include/linux/bitmap.h:156: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:160: error: too many arguments to function ‘memcpy’ include/linux/bitmap.h: In function ‘bitmap_and’: include/linux/bitmap.h:167: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_or’: include/linux/bitmap.h:176: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_xor’: include/linux/bitmap.h:185: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_andnot’: include/linux/bitmap.h:194: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_complement’: include/linux/bitmap.h:203: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_equal’: include/linux/bitmap.h:212: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:216: warning: control reaches end of non-void function include/linux/bitmap.h: In function ‘bitmap_intersects’: include/linux/bitmap.h:221: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:225: warning: control reaches end of non-void function include/linux/bitmap.h: In function ‘bitmap_subset’: include/linux/bitmap.h:230: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:234: warning: control reaches end of non-void function include/linux/bitmap.h: In function ‘bitmap_empty’: include/linux/bitmap.h:238: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:242: warning: control reaches end of non-void function include/linux/bitmap.h: In function ‘bitmap_full’: include/linux/bitmap.h:246: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h:250: warning: control reaches end of non-void function include/linux/bitmap.h: In function ‘bitmap_weight’: include/linux/bitmap.h:254: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_shift_right’: include/linux/bitmap.h:262: error: ‘BITS_PER_LONG’ undeclared (first use in this function) include/linux/bitmap.h: In function ‘bitmap_shift_left’: include/linux/bitmap.h:271: error: ‘BITS_PER_LONG’ undeclared (first use in this function) In file included from include/linux/sched.h:57, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/cpumask.h: At top level: include/linux/cpumask.h:88: error: ‘BITS_PER_LONG’ undeclared here (not in a function) In file included from include/linux/sched.h:57, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/cpumask.h:239:16: warning: "BITS_PER_LONG" is not defined In file included from include/linux/errno.h:4, from include/linux/sched.h:58, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/errno.h:4:28: error: asm/arch/errno.h: No such file or directory In file included from include/linux/sched.h:59, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/sched.h:59, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/nodemask.h:259:21: warning: "BITS_PER_LONG" is not defined In file included from include/linux/rwsem.h:24, from include/linux/mm_types.h:11, from include/linux/sched.h:60, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/rwsem.h:4:28: error: asm/arch/rwsem.h: No such file or directory In file included from include/asm/ldt.h:11, from arch/um/include/um_mmu.h:11, from include/asm/mmu.h:9, from include/linux/mm_types.h:14, from include/linux/sched.h:60, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/semaphore.h:4:32: error: asm/arch/semaphore.h: No such file or directory In file included from arch/um/include/um_mmu.h:11, from include/asm/mmu.h:9, from include/linux/mm_types.h:14, from include/linux/sched.h:60, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/ldt.h: At top level: include/asm/ldt.h:24: error: expected specifier-qualifier-list before ‘__u32’ include/asm/ldt.h:30: error: field ‘semaphore’ has incomplete type include/asm/ldt.h:32: error: ‘LDT_ENTRIES’ undeclared here (not in a function) include/asm/ldt.h:32: error: ‘LDT_ENTRY_SIZE’ undeclared here (not in a function) In file included from include/linux/sched.h:60, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mm_types.h:39: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/mm_types.h:169: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/asm/cputime.h:4, from include/linux/sched.h:66, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm-generic/cputime.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cputime64_t’ In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/ipc.h:12: error: expected specifier-qualifier-list before ‘__kernel_uid_t’ In file included from include/linux/ipc.h:21, from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/ipcbuf.h:4:29: error: asm/arch/ipcbuf.h: No such file or directory In file included from include/linux/ipc.h:82, from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/kref.h:24: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/ipc.h:94: error: expected specifier-qualifier-list before ‘uid_t’ include/linux/ipc.h:114: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/sem.h:25: error: expected specifier-qualifier-list before ‘__kernel_time_t’ In file included from include/linux/sem.h:35, from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/sembuf.h:4:29: error: asm/arch/sembuf.h: No such file or directory In file included from include/linux/sched.h:69, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/sem.h:93: error: expected specifier-qualifier-list before ‘time_t’ include/linux/sem.h:131: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/signal.h:4, from include/linux/sched.h:70, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/signal.h:12:29: error: asm/arch/signal.h: No such file or directory In file included from include/linux/signal.h:5, from include/linux/sched.h:70, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/siginfo.h:4:30: error: asm/arch/siginfo.h: No such file or directory In file included from include/linux/sched.h:70, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/signal.h:17: error: expected specifier-qualifier-list before ‘siginfo_t’ include/linux/signal.h:26: error: expected specifier-qualifier-list before ‘sigset_t’ include/linux/signal.h:38: error: expected ‘)’ before ‘*’ token 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:233: warning: control reaches end of non-void 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 In file included from include/linux/sched.h:70, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:72, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/fs_struct.h:8: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mmzone.h:269: error: expected specifier-qualifier-list before ‘atomic_long_t’ In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:569, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mutex.h:50: error: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/notifier.h:13, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:569, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mutex.h: In function ‘mutex_is_locked’: include/linux/mutex.h:117: error: implicit declaration of function ‘atomic_read’ include/linux/mutex.h:117: error: ‘struct mutex’ has no member named ‘count’ In file included from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:569, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:569, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/memory_hotplug.h: In function ‘mhp_notimplemented’: include/linux/memory_hotplug.h:169: error: ‘ENOSYS’ undeclared (first use in this function) include/linux/memory_hotplug.h:170: warning: control reaches end of non-void function include/linux/memory_hotplug.h: At top level: include/linux/memory_hotplug.h:174: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:174: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:175: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:175: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/memory_hotplug.h:176: error: expected ‘)’ before ‘start’ In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mmzone.h: In function ‘populated_zone’: include/linux/mmzone.h:602: error: ‘struct zone’ has no member named ‘present_pages’ include/linux/mmzone.h:603: warning: control reaches end of non-void function include/linux/mmzone.h: In function ‘is_normal’: include/linux/mmzone.h:650: error: ‘struct zone’ has no member named ‘zone_pgdat’ include/linux/mmzone.h:651: warning: control reaches end of non-void function include/linux/mmzone.h: At top level: include/linux/mmzone.h:675: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:675: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:678: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:678: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:680: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:680: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:682: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:682: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:684: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:684: error: expected declaration specifiers or ‘...’ before ‘loff_t’ include/linux/mmzone.h:687: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mmzone.h:687: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/mmzone.h:738:5: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:745:7: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:753:2: error: #error BITS_PER_LONG not defined In file included from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/slab.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:94: error: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/slab.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ksize’ In file included from include/linux/slab.h:122, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/slab_def.h:20: error: expected specifier-qualifier-list before ‘size_t’ include/linux/slab_def.h:29: error: expected ‘)’ before ‘size’ include/linux/slab_def.h:31: error: expected ‘)’ before ‘size’ In file included from include/linux/slab.h:122, from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/slab_def.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘slabinfo_write’ In file included from include/linux/percpu.h:5, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/slab.h:176: error: expected ‘)’ before ‘n’ include/linux/slab.h:194: error: expected ‘)’ before ‘size’ include/linux/slab.h:199: error: expected ‘)’ before ‘size’ include/linux/slab.h:222: error: expected ‘)’ before ‘gfp_t’ include/linux/slab.h:269: error: expected ‘)’ before ‘size’ In file included from include/linux/percpu.h:10, from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/percpu.h:4:29: error: asm/arch/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:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/rcupdate.h:114: error: expected declaration specifiers or ‘...’ before ‘rcu_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:115: error: expected declaration specifiers or ‘...’ before ‘rcu_bh_data’ include/linux/rcupdate.h:115: warning: data definition has no type or storage class include/linux/rcupdate.h:115: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’ include/linux/rcupdate.h: In function ‘rcu_qsctr_inc’: include/linux/rcupdate.h:125: error: implicit declaration of function ‘per_cpu’ include/linux/rcupdate.h:125: error: ‘rcu_data’ undeclared (first use in this function) include/linux/rcupdate.h:125: error: invalid lvalue in unary ‘&’ include/linux/rcupdate.h: In function ‘rcu_bh_qsctr_inc’: include/linux/rcupdate.h:130: error: ‘rcu_bh_data’ undeclared (first use in this function) include/linux/rcupdate.h:130: error: invalid lvalue in unary ‘&’ In file included from include/linux/sched.h:75, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/pid.h: At top level: include/linux/pid.h:59: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/pid.h: In function ‘get_pid’: include/linux/pid.h:78: error: implicit declaration of function ‘atomic_inc’ include/linux/pid.h:78: error: ‘struct pid’ has no member named ‘count’ include/linux/pid.h: At top level: include/linux/pid.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_nr’ include/linux/pid.h:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_nr_ns’ include/linux/pid.h:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_vnr’ In file included from include/linux/proportions.h:12, from include/linux/sched.h:78, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/percpu_counter.h:79: error: expected specifier-qualifier-list before ‘s64’ include/linux/percpu_counter.h:82: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/percpu_counter.h: In function ‘percpu_counter_init’: include/linux/percpu_counter.h:84: error: ‘struct percpu_counter’ has no member named ‘count’ include/linux/percpu_counter.h:84: error: ‘amount’ undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:94: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/percpu_counter.h: In function ‘percpu_counter_set’: include/linux/percpu_counter.h:96: error: ‘struct percpu_counter’ has no member named ‘count’ include/linux/percpu_counter.h:96: error: ‘amount’ undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:103: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/percpu_counter.h: In function ‘percpu_counter_add’: include/linux/percpu_counter.h:106: error: ‘struct percpu_counter’ has no member named ‘count’ include/linux/percpu_counter.h:106: error: ‘amount’ undeclared (first use in this function) include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘percpu_counter_read’ include/linux/percpu_counter.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘percpu_counter_read_positive’ include/linux/percpu_counter.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘percpu_counter_sum_positive’ include/linux/percpu_counter.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘percpu_counter_sum’ include/linux/percpu_counter.h: In function ‘percpu_counter_inc’: include/linux/percpu_counter.h:134: error: too many arguments to function ‘percpu_counter_add’ include/linux/percpu_counter.h: In function ‘percpu_counter_dec’: include/linux/percpu_counter.h:139: error: too many arguments to function ‘percpu_counter_add’ include/linux/percpu_counter.h: At top level: include/linux/percpu_counter.h:142: error: expected declaration specifiers or ‘...’ before ‘s64’ include/linux/percpu_counter.h: In function ‘percpu_counter_sub’: include/linux/percpu_counter.h:144: error: ‘amount’ undeclared (first use in this function) include/linux/percpu_counter.h:144: error: too many arguments to function ‘percpu_counter_add’ In file included from include/linux/sched.h:79, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/seccomp.h: In function ‘prctl_get_seccomp’: include/linux/seccomp.h:30: error: ‘EINVAL’ undeclared (first use in this function) include/linux/seccomp.h:31: warning: control reaches end of non-void function include/linux/seccomp.h: In function ‘prctl_set_seccomp’: include/linux/seccomp.h:35: error: ‘EINVAL’ undeclared (first use in this function) include/linux/seccomp.h:36: warning: control reaches end of non-void function In file included from include/linux/sched.h:81, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/resource.h:70, from include/linux/sched.h:86, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/asm/resource.h:4:31: error: asm/arch/resource.h: No such file or directory In file included from include/linux/timer.h:5, from include/linux/sched.h:87, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/ktime.h:47: error: expected specifier-qualifier-list before ‘s64’ In file included from include/linux/timer.h:5, from include/linux/sched.h:87, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:62:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:72:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h: In function ‘ktime_set’: include/linux/ktime.h:153: error: unknown field ‘tv’ specified in initializer include/linux/ktime.h:153: error: extra brace group at end of initializer include/linux/ktime.h:153: error: (near initialization for ‘(anonymous)’) include/linux/ktime.h:153: warning: excess elements in union initializer include/linux/ktime.h:153: warning: (near initialization for ‘(anonymous)’) include/linux/ktime.h: In function ‘ktime_sub’: include/linux/ktime.h:167: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:167: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:167: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:168: error: ‘ktime_t’ has no member named ‘tv’ include/linux/ktime.h:169: error: ‘ktime_t’ has no member named ‘tv’ include/linux/ktime.h: In function ‘ktime_add’: include/linux/ktime.h:185: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:185: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:185: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:194: error: ‘ktime_t’ has no member named ‘tv’ include/linux/ktime.h:195: error: ‘ktime_t’ has no member named ‘tv64’ include/linux/ktime.h:195: error: ‘u32’ undeclared (first use in this function) include/linux/ktime.h: At top level: include/linux/ktime.h:207: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/ktime.h:216: error: expected declaration specifiers or ‘...’ before ‘u64’ include/linux/ktime.h: In function ‘timespec_to_ktime’: include/linux/ktime.h:226: error: unknown field ‘tv’ specified in initializer include/linux/ktime.h:226: error: extra brace group at end of initializer include/linux/ktime.h:226: error: (near initialization for ‘(anonymous)’) include/linux/ktime.h:226: error: ‘s32’ undeclared (first use in this function) include/linux/ktime.h:226: error: expected ‘}’ before ‘ts’ include/linux/ktime.h: In function ‘timeval_to_ktime’: include/linux/ktime.h:238: error: unknown field ‘tv’ specified in initializer include/linux/ktime.h:238: error: extra brace group at end of initializer include/linux/ktime.h:238: error: (near initialization for ‘(anonymous)’) include/linux/ktime.h:238: error: ‘s32’ undeclared (first use in this function) include/linux/ktime.h:238: error: expected ‘}’ before ‘tv’ include/linux/ktime.h: In function ‘ktime_to_timespec’: include/linux/ktime.h:250: error: unknown field ‘tv_sec’ specified in initializer include/linux/ktime.h:250: error: ‘time_t’ undeclared (first use in this function) include/linux/ktime.h:250: warning: excess elements in struct initializer include/linux/ktime.h:250: warning: (near initialization for ‘(anonymous)’) include/linux/ktime.h:250: error: expected ‘}’ before ‘kt’ include/linux/ktime.h: In function ‘ktime_to_timeval’: include/linux/ktime.h:263: error: unknown field ‘tv_sec’ specified in initializer include/linux/ktime.h:263: error: ‘time_t’ undeclared (first use in this function) include/linux/ktime.h:263: warning: excess elements in struct initializer include/linux/ktime.h:263: warning: (near initialization for ‘(anonymous)’) include/linux/ktime.h:263: error: expected ‘}’ before ‘kt’ include/linux/ktime.h: At top level: include/linux/ktime.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ktime_to_ns’ 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:290: warning: control reaches end of non-void function 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/sched.h:88, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:248: error: ‘struct hrtimer_clock_base’ has no member named ‘softirq_time’ include/linux/hrtimer.h:249: warning: control reaches end of non-void function 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/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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 include/linux/kobject.h:24, from include/linux/sched.h:90, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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/sched.h:90, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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 arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/sched.h:130: error: expected declaration specifiers or ‘...’ before ‘process_counts’ include/linux/sched.h:130: warning: data definition has no type or storage class include/linux/sched.h:130: warning: type defaults to ‘int’ in declaration of ‘DECLARE_PER_CPU’ include/linux/sched.h:130: error: conflicting types for ‘DECLARE_PER_CPU’ include/linux/rcupdate.h:115: error: previous declaration of ‘DECLARE_PER_CPU’ was here In file included from include/linux/aio.h:5, from include/linux/sched.h:301, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/workqueue.h:26: error: expected specifier-qualifier-list before ‘atomic_long_t’ include/linux/workqueue.h: In function ‘cancel_delayed_work’: include/linux/workqueue.h:208: error: ‘struct work_struct’ has no member named ‘data’ In file included from include/linux/aio.h:6, from include/linux/sched.h:301, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/aio_abi.h: At top level: 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:301, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:301, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:301, from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: 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:241: error: ‘struct kiocb’ has no member named ‘ki_list’ include/linux/aio.h:241: warning: type defaults to ‘int’ in declaration of ‘__mptr’ include/linux/aio.h:241: warning: initialization from incompatible pointer type include/linux/aio.h:241: error: ‘struct kiocb’ has no member named ‘ki_list’ include/linux/aio.h:242: warning: control reaches end of non-void function In file included from arch/um/include/sysdep/kernel-offsets.h:2, from arch/um/kernel/asm-offsets.c:1: include/linux/sched.h: At top level: include/linux/sched.h:372: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:394: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:524: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:563: warning: parameter names (without types) in function declaration include/linux/sched.h:776: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h:800: error: expected declaration specifiers or ‘...’ before ‘gid_t’ include/linux/sched.h:862: error: expected specifier-qualifier-list before ‘u64’ include/linux/sched.h:911: error: expected specifier-qualifier-list before ‘atomic_t’ include/linux/sched.h: In function ‘rt_task’: include/linux/sched.h:1201: error: ‘struct task_struct’ has no member named ‘prio’ include/linux/sched.h: At top level: include/linux/sched.h:1204: error: expected declaration specifiers or ‘...’ before ‘pid_t’ include/linux/sched.h: In function ‘set_task_session’: include/linux/sched.h:1206: error: ‘struct task_struct’ has no member named ‘signal’ include/linux/sched.h:1206: error: ‘session’ undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1209: error: expected declaration specifiers or ‘...’ before ‘pid_t’ include/linux/sched.h: In function ‘set_task_pgrp’: include/linux/sched.h:1211: error: ‘struct task_struct’ has no member named ‘signal’ include/linux/sched.h:1211: error: ‘pgrp’ undeclared (first use in this function) include/linux/sched.h: In function ‘task_pid’: include/linux/sched.h:1216: error: ‘struct task_struct’ has no member named ‘pids’ include/linux/sched.h:1217: warning: control reaches end of non-void function include/linux/sched.h: In function ‘task_tgid’: include/linux/sched.h:1221: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h:1222: warning: control reaches end of non-void function include/linux/sched.h: In function ‘task_pgrp’: include/linux/sched.h:1226: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h:1227: warning: control reaches end of non-void function include/linux/sched.h: In function ‘task_session’: include/linux/sched.h:1231: error: ‘struct task_struct’ has no member named ‘group_leader’ include/linux/sched.h:1232: warning: control reaches end of non-void function include/linux/sched.h: At top level: include/linux/sched.h:1258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pid_nr’ include/linux/sched.h:1263: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pid_nr_ns’ include/linux/sched.h:1265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pid_vnr’ include/linux/sched.h:1271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_tgid_nr’ include/linux/sched.h:1276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_tgid_nr_ns’ include/linux/sched.h:1278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_tgid_vnr’ include/linux/sched.h:1284: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pgrp_nr’ include/linux/sched.h:1289: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pgrp_nr_ns’ include/linux/sched.h:1291: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_pgrp_vnr’ include/linux/sched.h:1297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_session_nr’ include/linux/sched.h:1302: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_session_nr_ns’ include/linux/sched.h:1304: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_session_vnr’ include/linux/sched.h:1310: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘task_ppid_nr_ns’ include/linux/sched.h: In function ‘pid_alive’: include/linux/sched.h:1326: error: ‘struct task_struct’ has no member named ‘pids’ include/linux/sched.h:1327: warning: control reaches end of non-void function include/linux/sched.h: In function ‘is_global_init’: include/linux/sched.h:1337: error: ‘struct task_struct’ has no member named ‘pid’ include/linux/sched.h:1338: warning: control reaches end of non-void function include/linux/sched.h: In function ‘put_task_struct’: include/linux/sched.h:1355: error: implicit declaration of function ‘atomic_dec_and_test’ include/linux/sched.h:1355: error: ‘struct task_struct’ has no member named ‘usage’ include/linux/sched.h: In function ‘set_cpus_allowed’: include/linux/sched.h:1421: error: ‘EINVAL’ undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1445: error: expected ‘)’ before ‘delta_ns’ include/linux/sched.h:1538: error: expected ‘)’ before ‘nr’ include/linux/sched.h:1539: error: expected ‘)’ before ‘nr’ include/linux/sched.h:1540: error: expected ‘)’ before ‘nr’ include/linux/sched.h:1543: error: expected ‘)’ before ‘session’ include/linux/sched.h:1546: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h: In function ‘get_uid’: include/linux/sched.h:1549: error: ‘struct user_struct’ has no member named ‘__count’ include/linux/sched.h: At top level: include/linux/sched.h:1572: warning: parameter names (without types) in function declaration include/linux/sched.h:1573: warning: parameter names (without types) in function declaration include/linux/sched.h:1579: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1579: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’ include/linux/sched.h:1581: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1581: error: expected declaration specifiers or ‘...’ before ‘siginfo_t’ include/linux/sched.h: In function ‘dequeue_signal_lock’: include/linux/sched.h:1586: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h:1587: error: ‘mask’ undeclared (first use in this function) include/linux/sched.h:1587: error: ‘info’ undeclared (first use in this function) include/linux/sched.h:1587: error: too many arguments to function ‘dequeue_signal’ include/linux/sched.h:1588: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h: At top level: include/linux/sched.h:1594: error: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/sched.h:1597: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1598: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1600: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1601: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1602: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1603: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1604: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h:1604: error: expected declaration specifiers or ‘...’ before ‘uid_t’ include/linux/sched.h:1604: error: expected declaration specifiers or ‘...’ before ‘u32’ include/linux/sched.h:1604: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1607: error: expected declaration specifiers or ‘...’ before ‘pid_t’ include/linux/sched.h:1607: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h:1613: error: expected ‘)’ before ‘int’ include/linux/sched.h:1618: warning: ‘struct k_sigaction’ declared inside parameter list include/linux/sched.h:1619: warning: type defaults to ‘int’ in declaration of ‘stack_t’ include/linux/sched.h:1619: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token include/linux/sched.h:1631: warning: ‘struct siginfo’ declared inside parameter list include/linux/sched.h: In function ‘on_sig_stack’: include/linux/sched.h:1640: error: ‘struct task_struct’ has no member named ‘sas_ss_sp’ include/linux/sched.h:1640: error: ‘struct task_struct’ has no member named ‘sas_ss_size’ include/linux/sched.h:1641: warning: control reaches end of non-void function include/linux/sched.h: In function ‘sas_ss_flags’: include/linux/sched.h:1645: error: ‘struct task_struct’ has no member named ‘sas_ss_size’ include/linux/sched.h:1645: error: ‘SS_DISABLE’ undeclared (first use in this function) include/linux/sched.h:1646: error: ‘SS_ONSTACK’ undeclared (first use in this function) include/linux/sched.h:1647: warning: control reaches end of non-void function include/linux/sched.h: In function ‘mmdrop’: include/linux/sched.h:1658: error: ‘struct mm_struct’ has no member named ‘mm_count’ include/linux/sched.h: In function ‘has_group_leader_pid’: include/linux/sched.h:1726: error: ‘struct task_struct’ has no member named ‘pid’ include/linux/sched.h:1726: error: ‘struct task_struct’ has no member named ‘tgid’ include/linux/sched.h:1727: warning: control reaches end of non-void function include/linux/sched.h: In function ‘same_thread_group’: include/linux/sched.h:1732: error: ‘struct task_struct’ has no member named ‘tgid’ include/linux/sched.h:1732: error: ‘struct task_struct’ has no member named ‘tgid’ include/linux/sched.h:1733: warning: control reaches end of non-void function include/linux/sched.h: In function ‘next_thread’: include/linux/sched.h:1737: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1737: warning: type defaults to ‘int’ in declaration of ‘__mptr’ include/linux/sched.h:1737: error: ‘const struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1737: warning: type defaults to ‘int’ in declaration of ‘_________p1’ include/linux/sched.h:1737: error: ‘const struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1737: error: ‘const struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1737: warning: type defaults to ‘int’ in declaration of ‘type name’ include/linux/sched.h:1737: error: implicit declaration of function ‘smp_read_barrier_depends’ include/linux/sched.h:1737: warning: initialization makes pointer from integer without a cast include/linux/sched.h:1737: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h:1739: warning: control reaches end of non-void function include/linux/sched.h: In function ‘thread_group_empty’: include/linux/sched.h:1743: error: ‘struct task_struct’ has no member named ‘thread_group’ include/linux/sched.h: In function ‘task_lock’: include/linux/sched.h:1761: error: ‘struct task_struct’ has no member named ‘alloc_lock’ include/linux/sched.h: In function ‘task_unlock’: include/linux/sched.h:1766: error: ‘struct task_struct’ has no member named ‘alloc_lock’ include/linux/sched.h: In function ‘unlock_task_sighand’: include/linux/sched.h:1775: error: ‘struct task_struct’ has no member named ‘sighand’ include/linux/sched.h: At top level: include/linux/sched.h:1923: error: expected ‘)’ before ‘pid’ include/linux/sched.h:1924: error: expected ‘)’ before ‘pid’ include/linux/sched.h:1963: error: expected declaration specifiers or ‘...’ before ‘ssize_t’ include/linux/sched.h:1967: error: expected declaration specifiers or ‘...’ before ‘ssize_t’ In file included from include/linux/elf.h:6, from arch/um/include/sysdep/kernel-offsets.h:3, from arch/um/kernel/asm-offsets.c:1: include/asm/elf.h:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct user_regs_struct’ include/asm/elf.h: In function ‘elf_core_copy_fpregs’: include/asm/elf.h:82: error: ‘struct thread_info’ has no member named ‘cpu’ In file included from arch/um/include/sysdep/kernel-offsets.h:3, from arch/um/kernel/asm-offsets.c:1: include/linux/elf.h: At top level: include/linux/elf.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Addr’ include/linux/elf.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Half’ include/linux/elf.h:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Off’ include/linux/elf.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Sword’ include/linux/elf.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf32_Word’ include/linux/elf.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Addr’ include/linux/elf.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Half’ include/linux/elf.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_SHalf’ include/linux/elf.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Off’ include/linux/elf.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Sword’ include/linux/elf.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Word’ include/linux/elf.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Xword’ include/linux/elf.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Elf64_Sxword’ include/linux/elf.h:126: error: expected specifier-qualifier-list before ‘Elf32_Sword’ include/linux/elf.h:134: error: expected specifier-qualifier-list before ‘Elf64_Sxword’ include/linux/elf.h:149: error: expected specifier-qualifier-list before ‘Elf32_Addr’ include/linux/elf.h:154: error: expected specifier-qualifier-list before ‘Elf64_Addr’ include/linux/elf.h:159: error: expected specifier-qualifier-list before ‘Elf32_Addr’ include/linux/elf.h:165: error: expected specifier-qualifier-list before ‘Elf64_Addr’ include/linux/elf.h:171: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:180: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:193: error: expected specifier-qualifier-list before ‘Elf32_Half’ include/linux/elf.h:210: error: expected specifier-qualifier-list before ‘Elf64_Half’ include/linux/elf.h:232: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:243: error: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:288: error: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:301: 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:396: error: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from include/linux/stat.h:6, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: include/asm/stat.h:4:27: error: asm/arch/stat.h: No such file or directory In file included from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: include/linux/stat.h:63: error: expected specifier-qualifier-list before ‘u64’ In file included from include/linux/module.h:13, from include/linux/crypto.h:21, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: 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/module.h:19, from include/linux/crypto.h:21, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: include/asm/local.h:4:28: error: asm/arch/local.h: No such file or directory In file included from include/linux/crypto.h:21, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: include/linux/module.h: At top level: include/linux/module.h:49: error: expected specifier-qualifier-list before ‘ssize_t’ include/linux/module.h:222: error: expected specifier-qualifier-list before ‘local_t’ include/linux/module.h: In function ‘__module_get’: include/linux/module.h:404: error: implicit declaration of function ‘local_inc’ include/linux/module.h:404: error: ‘struct module_ref’ has no member named ‘count’ include/linux/module.h: In function ‘try_module_get’: include/linux/module.h:416: error: ‘struct module_ref’ has no member named ‘count’ In file included from include/linux/crypto.h:26, from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: include/linux/uaccess.h: In function ‘pagefault_disable’: include/linux/uaccess.h:18: error: ‘struct thread_info’ has no member named ‘preempt_count’ include/linux/uaccess.h: In function ‘pagefault_enable’: include/linux/uaccess.h:33: error: ‘struct thread_info’ has no member named ‘preempt_count’ In file included from arch/um/include/sysdep/kernel-offsets.h:4, from arch/um/kernel/asm-offsets.c:1: 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:461: warning: control reaches end of non-void function 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:466: warning: control reaches end of non-void function 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:471: warning: control reaches end of non-void function 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:486: warning: control reaches end of non-void function 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:491: warning: control reaches end of non-void function 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:511: warning: control reaches end of non-void function 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:564: warning: control reaches end of non-void function 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:570: warning: control reaches end of non-void function 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:618: warning: control reaches end of non-void function 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:625: warning: control reaches end of non-void function 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:631: warning: control reaches end of non-void function 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:712: warning: control reaches end of non-void function 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:717: warning: control reaches end of non-void function 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:722: warning: control reaches end of non-void function 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:763: warning: control reaches end of non-void function 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:768: warning: control reaches end of non-void function 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:773: warning: control reaches end of non-void function 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:880: warning: control reaches end of non-void function 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:886: warning: control reaches end of non-void function 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:891: warning: control reaches end of non-void function 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:936: warning: control reaches end of non-void function 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:944: warning: control reaches end of non-void function 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:953: warning: control reaches end of non-void function 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:961: warning: control reaches end of non-void function 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:1018: warning: control reaches end of non-void function 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:1112: warning: control reaches end of non-void function 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:1127: warning: control reaches end of non-void function 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:1223: warning: control reaches end of non-void function 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 arch/um/include/sysdep/kernel-offsets.h:5, from arch/um/kernel/asm-offsets.c:1: include/asm/mman.h:4:27: error: asm/arch/mman.h: No such file or directory In file included from arch/um/include/sysdep/kernel-offsets.h:20, from arch/um/kernel/asm-offsets.c:1: arch/um/include/common-offsets.h: In function ‘foo’: arch/um/include/common-offsets.h:3: error: ‘MADV_REMOVE’ undeclared (first use in this function) arch/um/include/common-offsets.h:5: error: ‘struct task_struct’ has no member named ‘thread’ arch/um/include/common-offsets.h:6: error: ‘struct task_struct’ has no member named ‘pid’ arch/um/include/common-offsets.h:32: error: ‘struct crypto_tfm’ has no member named ‘__crt_ctx’ make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2