In file included from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sched.h:4:36: error: asm/param.h: No such file or directory In file included from include/linux/types.h:13, from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/types.h:14:23: error: asm/types.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/types.h:18: error: syntax error before '__kernel_dev_t' include/linux/types.h:18: warning: type defaults to 'int' in declaration of '__kernel_dev_t' include/linux/types.h:18: warning: data definition has no type or storage class include/linux/types.h:21: error: syntax error before 'dev_t' include/linux/types.h:21: warning: type defaults to 'int' in declaration of 'dev_t' include/linux/types.h:21: warning: data definition has no type or storage class include/linux/types.h:22: error: syntax error before 'ino_t' include/linux/types.h:22: warning: type defaults to 'int' in declaration of 'ino_t' include/linux/types.h:22: warning: data definition has no type or storage class include/linux/types.h:23: error: syntax error before 'mode_t' include/linux/types.h:23: warning: type defaults to 'int' in declaration of 'mode_t' include/linux/types.h:23: warning: data definition has no type or storage class include/linux/types.h:24: error: syntax error before 'nlink_t' include/linux/types.h:24: warning: type defaults to 'int' in declaration of 'nlink_t' include/linux/types.h:24: warning: data definition has no type or storage class include/linux/types.h:25: error: syntax error before 'off_t' include/linux/types.h:25: warning: type defaults to 'int' in declaration of 'off_t' include/linux/types.h:25: warning: data definition has no type or storage class include/linux/types.h:26: error: syntax error before 'pid_t' include/linux/types.h:26: warning: type defaults to 'int' in declaration of 'pid_t' include/linux/types.h:26: warning: data definition has no type or storage class include/linux/types.h:27: error: syntax error before 'daddr_t' include/linux/types.h:27: warning: type defaults to 'int' in declaration of 'daddr_t' include/linux/types.h:27: warning: data definition has no type or storage class include/linux/types.h:29: error: syntax error before 'suseconds_t' include/linux/types.h:29: warning: type defaults to 'int' in declaration of 'suseconds_t' include/linux/types.h:29: warning: data definition has no type or storage class include/linux/types.h:30: error: syntax error before 'timer_t' include/linux/types.h:30: warning: type defaults to 'int' in declaration of 'timer_t' include/linux/types.h:30: warning: data definition has no type or storage class include/linux/types.h:31: error: syntax error before 'clockid_t' include/linux/types.h:31: warning: type defaults to 'int' in declaration of 'clockid_t' include/linux/types.h:31: warning: data definition has no type or storage class include/linux/types.h:35: error: syntax error before 'uid_t' include/linux/types.h:35: warning: type defaults to 'int' in declaration of 'uid_t' include/linux/types.h:35: warning: data definition has no type or storage class include/linux/types.h:36: error: syntax error before 'gid_t' include/linux/types.h:36: warning: type defaults to 'int' in declaration of 'gid_t' include/linux/types.h:36: warning: data definition has no type or storage class include/linux/types.h:37: error: syntax error before 'uid16_t' include/linux/types.h:37: warning: type defaults to 'int' in declaration of 'uid16_t' include/linux/types.h:37: warning: data definition has no type or storage class include/linux/types.h:38: error: syntax error before 'gid16_t' include/linux/types.h:38: warning: type defaults to 'int' in declaration of 'gid16_t' include/linux/types.h:38: warning: data definition has no type or storage class include/linux/types.h:42: error: syntax error before 'old_uid_t' include/linux/types.h:42: warning: type defaults to 'int' in declaration of 'old_uid_t' include/linux/types.h:42: warning: data definition has no type or storage class include/linux/types.h:43: error: syntax error before 'old_gid_t' include/linux/types.h:43: warning: type defaults to 'int' in declaration of 'old_gid_t' include/linux/types.h:43: warning: data definition has no type or storage class include/linux/types.h:55: error: syntax error before 'loff_t' include/linux/types.h:55: warning: type defaults to 'int' in declaration of 'loff_t' include/linux/types.h:55: warning: data definition has no type or storage class include/linux/types.h:64: error: syntax error before 'size_t' include/linux/types.h:64: warning: type defaults to 'int' in declaration of 'size_t' include/linux/types.h:64: warning: data definition has no type or storage class include/linux/types.h:69: error: syntax error before 'ssize_t' include/linux/types.h:69: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/types.h:69: warning: data definition has no type or storage class include/linux/types.h:74: error: syntax error before 'ptrdiff_t' include/linux/types.h:74: warning: type defaults to 'int' in declaration of 'ptrdiff_t' include/linux/types.h:74: warning: data definition has no type or storage class include/linux/types.h:79: error: syntax error before 'time_t' include/linux/types.h:79: warning: type defaults to 'int' in declaration of 'time_t' include/linux/types.h:79: warning: data definition has no type or storage class include/linux/types.h:84: error: syntax error before 'clock_t' include/linux/types.h:84: warning: type defaults to 'int' in declaration of 'clock_t' include/linux/types.h:84: warning: data definition has no type or storage class include/linux/types.h:89: error: syntax error before 'caddr_t' include/linux/types.h:89: warning: type defaults to 'int' in declaration of 'caddr_t' include/linux/types.h:89: warning: data definition has no type or storage class include/linux/types.h:107: error: syntax error before 'u_int8_t' include/linux/types.h:107: warning: type defaults to 'int' in declaration of 'u_int8_t' include/linux/types.h:107: warning: data definition has no type or storage class include/linux/types.h:108: error: syntax error before 'int8_t' include/linux/types.h:108: warning: type defaults to 'int' in declaration of 'int8_t' include/linux/types.h:108: warning: data definition has no type or storage class include/linux/types.h:109: error: syntax error before 'u_int16_t' include/linux/types.h:109: warning: type defaults to 'int' in declaration of 'u_int16_t' include/linux/types.h:109: warning: data definition has no type or storage class include/linux/types.h:110: error: syntax error before 'int16_t' include/linux/types.h:110: warning: type defaults to 'int' in declaration of 'int16_t' include/linux/types.h:110: warning: data definition has no type or storage class include/linux/types.h:111: error: syntax error before 'u_int32_t' include/linux/types.h:111: warning: type defaults to 'int' in declaration of 'u_int32_t' include/linux/types.h:111: warning: data definition has no type or storage class include/linux/types.h:112: error: syntax error before 'int32_t' include/linux/types.h:112: warning: type defaults to 'int' in declaration of 'int32_t' include/linux/types.h:112: warning: data definition has no type or storage class include/linux/types.h:116: error: syntax error before 'uint8_t' include/linux/types.h:116: warning: type defaults to 'int' in declaration of 'uint8_t' include/linux/types.h:116: warning: data definition has no type or storage class include/linux/types.h:117: error: syntax error before 'uint16_t' include/linux/types.h:117: warning: type defaults to 'int' in declaration of 'uint16_t' include/linux/types.h:117: warning: data definition has no type or storage class include/linux/types.h:118: error: syntax error before 'uint32_t' include/linux/types.h:118: warning: type defaults to 'int' in declaration of 'uint32_t' include/linux/types.h:118: warning: data definition has no type or storage class include/linux/types.h:121: error: syntax error before 'uint64_t' include/linux/types.h:121: warning: type defaults to 'int' in declaration of 'uint64_t' include/linux/types.h:121: warning: data definition has no type or storage class include/linux/types.h:122: error: syntax error before 'u_int64_t' include/linux/types.h:122: warning: type defaults to 'int' in declaration of 'u_int64_t' include/linux/types.h:122: warning: data definition has no type or storage class include/linux/types.h:123: error: syntax error before 'int64_t' include/linux/types.h:123: warning: type defaults to 'int' in declaration of 'int64_t' include/linux/types.h:123: warning: data definition has no type or storage class include/linux/types.h:159: error: syntax error before '__le16' include/linux/types.h:159: warning: type defaults to 'int' in declaration of '__le16' include/linux/types.h:159: warning: data definition has no type or storage class include/linux/types.h:160: error: syntax error before '__be16' include/linux/types.h:160: warning: type defaults to 'int' in declaration of '__be16' include/linux/types.h:160: warning: data definition has no type or storage class include/linux/types.h:161: error: syntax error before '__le32' include/linux/types.h:161: warning: type defaults to 'int' in declaration of '__le32' include/linux/types.h:161: warning: data definition has no type or storage class include/linux/types.h:162: error: syntax error before '__be32' include/linux/types.h:162: warning: type defaults to 'int' in declaration of '__be32' include/linux/types.h:162: warning: data definition has no type or storage class include/linux/types.h:164: error: syntax error before '__le64' include/linux/types.h:164: warning: type defaults to 'int' in declaration of '__le64' include/linux/types.h:164: warning: data definition has no type or storage class include/linux/types.h:165: error: syntax error before '__be64' include/linux/types.h:165: warning: type defaults to 'int' in declaration of '__be64' include/linux/types.h:165: warning: data definition has no type or storage class include/linux/types.h:173: error: syntax error before '__kernel_daddr_t' include/linux/types.h:173: warning: no semicolon at end of struct or union include/linux/types.h:174: warning: type defaults to 'int' in declaration of 'f_tinode' include/linux/types.h:174: warning: data definition has no type or storage class include/linux/types.h:177: error: syntax error before '}' token In file included from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/capability.h:33: error: syntax error before '__u32' include/linux/capability.h:33: warning: no semicolon at end of struct or union include/linux/capability.h:35: error: syntax error before '}' token include/linux/capability.h:35: warning: type defaults to 'int' in declaration of 'cap_user_header_t' include/linux/capability.h:35: warning: data definition has no type or storage class include/linux/capability.h:38: error: syntax error before '__u32' include/linux/capability.h:38: warning: no semicolon at end of struct or union include/linux/capability.h:39: warning: type defaults to 'int' in declaration of 'permitted' include/linux/capability.h:39: warning: data definition has no type or storage class include/linux/capability.h:40: error: syntax error before 'inheritable' include/linux/capability.h:40: warning: type defaults to 'int' in declaration of 'inheritable' include/linux/capability.h:40: warning: data definition has no type or storage class include/linux/capability.h:41: warning: type defaults to 'int' in declaration of 'cap_user_data_t' include/linux/capability.h:41: warning: data definition has no type or storage class In file included from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory In file included from include/linux/thread_info.h:20, from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/bitops.h:77:24: error: asm/bitops.h: No such file or directory In file included from include/linux/thread_info.h:20, from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/bitops.h: In function 'get_bitmask_order': include/linux/bitops.h:83: warning: implicit declaration of function 'fls' include/linux/bitops.h: At top level: include/linux/bitops.h:116: error: syntax error before 'w' include/linux/bitops.h:117: warning: function declaration isn't a prototype include/linux/bitops.h:118:5: warning: "BITS_PER_LONG" is not defined include/linux/bitops.h: In function 'generic_hweight64': include/linux/bitops.h:119: error: 'w' undeclared (first use in this function) include/linux/bitops.h:119: error: (Each undeclared identifier is reported only once include/linux/bitops.h:119: error: for each function it appears in.) include/linux/bitops.h: At top level: include/linux/bitops.h:143: error: syntax error before 'rol32' include/linux/bitops.h:143: error: syntax error before 'word' include/linux/bitops.h:144: warning: return type defaults to 'int' include/linux/bitops.h:144: warning: function declaration isn't a prototype include/linux/bitops.h: In function 'rol32': include/linux/bitops.h:145: error: 'word' undeclared (first use in this function) include/linux/bitops.h:145: error: 'shift' undeclared (first use in this function) include/linux/bitops.h:146: warning: control reaches end of non-void function include/linux/bitops.h: At top level: include/linux/bitops.h:154: error: syntax error before 'ror32' include/linux/bitops.h:154: error: syntax error before 'word' include/linux/bitops.h:155: warning: return type defaults to 'int' include/linux/bitops.h:155: warning: function declaration isn't a prototype include/linux/bitops.h: In function 'ror32': include/linux/bitops.h:156: error: 'word' undeclared (first use in this function) include/linux/bitops.h:156: error: 'shift' undeclared (first use in this function) include/linux/bitops.h:157: warning: control reaches end of non-void function In file included from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/thread_info.h:21:29: error: asm/thread_info.h: No such file or directory In file included from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/thread_info.h: In function 'set_thread_flag': include/linux/thread_info.h:32: warning: implicit declaration of function 'set_bit' include/linux/thread_info.h:32: warning: implicit declaration of function 'current_thread_info' include/linux/thread_info.h:32: error: invalid type argument of '->' include/linux/thread_info.h: In function 'clear_thread_flag': include/linux/thread_info.h:37: warning: implicit declaration of function 'clear_bit' include/linux/thread_info.h:37: error: invalid type argument of '->' include/linux/thread_info.h: In function 'test_and_set_thread_flag': include/linux/thread_info.h:42: warning: implicit declaration of function 'test_and_set_bit' include/linux/thread_info.h:42: error: invalid type argument of '->' include/linux/thread_info.h: In function 'test_and_clear_thread_flag': include/linux/thread_info.h:47: warning: implicit declaration of function 'test_and_clear_bit' include/linux/thread_info.h:47: error: invalid type argument of '->' include/linux/thread_info.h: In function 'test_thread_flag': include/linux/thread_info.h:52: warning: implicit declaration of function 'test_bit' include/linux/thread_info.h:52: error: invalid type argument of '->' include/linux/thread_info.h: At top level: include/linux/thread_info.h:55: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h:55: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/thread_info.h: In function 'set_ti_thread_flag': include/linux/thread_info.h:57: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:60: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'clear_ti_thread_flag': include/linux/thread_info.h:62: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:65: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_and_set_ti_thread_flag': include/linux/thread_info.h:67: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:70: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_and_clear_ti_thread_flag': include/linux/thread_info.h:72: error: dereferencing pointer to incomplete type include/linux/thread_info.h: At top level: include/linux/thread_info.h:75: warning: 'struct thread_info' declared inside parameter list include/linux/thread_info.h: In function 'test_ti_thread_flag': include/linux/thread_info.h:77: error: dereferencing pointer to incomplete type include/linux/thread_info.h: In function 'set_need_resched': include/linux/thread_info.h:82: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/thread_info.h: In function 'clear_need_resched': include/linux/thread_info.h:87: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) In file included from include/linux/spinlock.h:54, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/kernel.h:16:27: error: asm/byteorder.h: No such file or directory include/linux/kernel.h:17:21: error: asm/bug.h: No such file or directory In file included from include/linux/spinlock.h:54, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/kernel.h: At top level: include/linux/kernel.h:104: error: syntax error before 'size_t' include/linux/kernel.h:105: warning: function declaration isn't a prototype include/linux/kernel.h:106: error: syntax error before 'size_t' include/linux/kernel.h:107: warning: function declaration isn't a prototype include/linux/kernel.h:108: error: syntax error before 'size_t' include/linux/kernel.h:109: warning: function declaration isn't a prototype include/linux/kernel.h:110: error: syntax error before 'size_t' include/linux/kernel.h:111: warning: function declaration isn't a prototype include/linux/kernel.h:235:2: error: #error "Please fix asm/byteorder.h" In file included from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock.h:57:24: error: asm/system.h: No such file or directory In file included from include/linux/spinlock.h:80, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock_types.h:13:33: error: asm/spinlock_types.h: No such file or directory In file included from include/linux/spinlock.h:80, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock_types.h:19: error: syntax error before 'raw_spinlock_t' include/linux/spinlock_types.h:19: warning: no semicolon at end of struct or union include/linux/spinlock_types.h:27: error: syntax error before '}' token include/linux/spinlock_types.h:27: warning: type defaults to 'int' in declaration of 'spinlock_t' include/linux/spinlock_types.h:27: warning: data definition has no type or storage class include/linux/spinlock_types.h:32: error: syntax error before 'raw_rwlock_t' include/linux/spinlock_types.h:32: warning: no semicolon at end of struct or union include/linux/spinlock_types.h:40: error: syntax error before '}' token include/linux/spinlock_types.h:40: warning: type defaults to 'int' in declaration of 'rwlock_t' include/linux/spinlock_types.h:40: warning: data definition has no type or storage class In file included from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock.h:82: error: syntax error before '*' token include/linux/spinlock.h:82: warning: function declaration isn't a prototype In file included from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock.h:88:27: error: asm/spinlock.h: No such file or directory In file included from include/linux/spinlock.h:108, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock_api_smp.h:22: error: syntax error before '*' token include/linux/spinlock_api_smp.h:22: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:23: error: syntax error before '*' token include/linux/spinlock_api_smp.h:23: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:24: error: syntax error before '*' token include/linux/spinlock_api_smp.h:24: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:25: error: syntax error before '*' token include/linux/spinlock_api_smp.h:25: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:26: error: syntax error before '*' token include/linux/spinlock_api_smp.h:26: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:27: error: syntax error before '*' token include/linux/spinlock_api_smp.h:27: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:28: error: syntax error before '*' token include/linux/spinlock_api_smp.h:28: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:29: error: syntax error before '*' token include/linux/spinlock_api_smp.h:29: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:30: error: syntax error before '*' token include/linux/spinlock_api_smp.h:30: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:31: error: syntax error before '*' token include/linux/spinlock_api_smp.h:32: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:33: error: syntax error before '*' token include/linux/spinlock_api_smp.h:34: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:35: error: syntax error before '*' token include/linux/spinlock_api_smp.h:36: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:37: error: syntax error before '*' token include/linux/spinlock_api_smp.h:37: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:38: error: syntax error before '*' token include/linux/spinlock_api_smp.h:38: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:39: error: syntax error before '*' token include/linux/spinlock_api_smp.h:39: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:40: error: syntax error before '*' token include/linux/spinlock_api_smp.h:40: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:41: error: syntax error before '*' token include/linux/spinlock_api_smp.h:41: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:42: error: syntax error before '*' token include/linux/spinlock_api_smp.h:42: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:43: error: syntax error before '*' token include/linux/spinlock_api_smp.h:43: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:44: error: syntax error before '*' token include/linux/spinlock_api_smp.h:44: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:45: error: syntax error before '*' token include/linux/spinlock_api_smp.h:45: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:46: error: syntax error before '*' token include/linux/spinlock_api_smp.h:46: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:47: error: syntax error before '*' token include/linux/spinlock_api_smp.h:47: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:48: error: syntax error before '*' token include/linux/spinlock_api_smp.h:48: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:49: error: syntax error before '*' token include/linux/spinlock_api_smp.h:49: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:50: error: syntax error before '*' token include/linux/spinlock_api_smp.h:51: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:52: error: syntax error before '*' token include/linux/spinlock_api_smp.h:53: warning: function declaration isn't a prototype include/linux/spinlock_api_smp.h:54: error: syntax error before '*' token include/linux/spinlock_api_smp.h:55: warning: function declaration isn't a prototype In file included from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/spinlock.h:114: error: syntax error before '*' token include/linux/spinlock.h:114: warning: function declaration isn't a prototype include/linux/spinlock.h:116: error: syntax error before '*' token include/linux/spinlock.h:116: warning: function declaration isn't a prototype include/linux/spinlock.h:117: error: syntax error before '*' token include/linux/spinlock.h:117: warning: function declaration isn't a prototype include/linux/spinlock.h:119: error: syntax error before '*' token include/linux/spinlock.h:119: warning: function declaration isn't a prototype include/linux/spinlock.h:120: error: syntax error before '*' token include/linux/spinlock.h:120: warning: function declaration isn't a prototype include/linux/spinlock.h:121: error: syntax error before '*' token include/linux/spinlock.h:121: warning: function declaration isn't a prototype include/linux/spinlock.h:122: error: syntax error before '*' token include/linux/spinlock.h:122: warning: function declaration isn't a prototype include/linux/spinlock.h:123: error: syntax error before '*' token include/linux/spinlock.h:123: warning: function declaration isn't a prototype include/linux/spinlock.h:124: error: syntax error before '*' token include/linux/spinlock.h:124: warning: function declaration isn't a prototype include/linux/spinlock.h:213:24: error: asm/atomic.h: No such file or directory include/linux/spinlock.h:219: error: syntax error before '*' token include/linux/spinlock.h:219: warning: function declaration isn't a prototype In file included from include/linux/sched.h:7, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/capability.h:57: error: syntax error before 'kernel_cap_t' include/linux/capability.h:57: warning: type defaults to 'int' in declaration of 'kernel_cap_t' include/linux/capability.h:57: warning: data definition has no type or storage class include/linux/capability.h:294: error: syntax error before 'cap_bset' include/linux/capability.h:294: warning: type defaults to 'int' in declaration of 'cap_bset' include/linux/capability.h:294: warning: data definition has no type or storage class include/linux/capability.h:322: error: syntax error before 'cap_combine' include/linux/capability.h:322: error: syntax error before 'a' include/linux/capability.h:323: warning: return type defaults to 'int' include/linux/capability.h:323: warning: function declaration isn't a prototype include/linux/capability.h: In function 'cap_combine': include/linux/capability.h:324: error: syntax error before 'dest' include/linux/capability.h:325: error: 'dest' undeclared (first use in this function) include/linux/capability.h:325: error: 'a' undeclared (first use in this function) include/linux/capability.h:325: error: 'b' undeclared (first use in this function) include/linux/capability.h:327: warning: control reaches end of non-void function include/linux/capability.h: At top level: include/linux/capability.h:329: error: syntax error before 'cap_intersect' include/linux/capability.h:329: error: syntax error before 'a' include/linux/capability.h:330: warning: return type defaults to 'int' include/linux/capability.h:330: warning: function declaration isn't a prototype include/linux/capability.h: In function 'cap_intersect': include/linux/capability.h:331: error: syntax error before 'dest' include/linux/capability.h:332: error: 'dest' undeclared (first use in this function) include/linux/capability.h:332: error: 'a' undeclared (first use in this function) include/linux/capability.h:332: error: 'b' undeclared (first use in this function) include/linux/capability.h:334: warning: control reaches end of non-void function include/linux/capability.h: At top level: include/linux/capability.h:336: error: syntax error before 'cap_drop' include/linux/capability.h:336: error: syntax error before 'a' include/linux/capability.h:337: warning: return type defaults to 'int' include/linux/capability.h:337: warning: function declaration isn't a prototype include/linux/capability.h: In function 'cap_drop': include/linux/capability.h:338: error: syntax error before 'dest' include/linux/capability.h:339: error: 'dest' undeclared (first use in this function) include/linux/capability.h:339: error: 'a' undeclared (first use in this function) include/linux/capability.h:339: error: 'drop' undeclared (first use in this function) include/linux/capability.h:341: warning: control reaches end of non-void function include/linux/capability.h: At top level: include/linux/capability.h:343: error: syntax error before 'cap_invert' include/linux/capability.h:343: error: syntax error before 'c' include/linux/capability.h:344: warning: return type defaults to 'int' include/linux/capability.h:344: warning: function declaration isn't a prototype include/linux/capability.h: In function 'cap_invert': include/linux/capability.h:345: error: syntax error before 'dest' include/linux/capability.h:346: error: 'dest' undeclared (first use in this function) include/linux/capability.h:346: error: 'c' undeclared (first use in this function) include/linux/capability.h:348: warning: control reaches end of non-void function In file included from include/linux/time.h:7, from include/linux/timex.h:58, from include/linux/sched.h:11, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/seqlock.h: At top level: include/linux/seqlock.h:35: error: syntax error before 'spinlock_t' include/linux/seqlock.h:35: warning: no semicolon at end of struct or union include/linux/seqlock.h:36: warning: type defaults to 'int' in declaration of 'seqlock_t' include/linux/seqlock.h:36: warning: data definition has no type or storage class include/linux/seqlock.h:50: error: syntax error before '*' token include/linux/seqlock.h:51: warning: function declaration isn't a prototype include/linux/seqlock.h: In function 'write_seqlock': include/linux/seqlock.h:52: error: 'sl' undeclared (first use in this function) include/linux/seqlock.h:54: warning: implicit declaration of function 'smp_wmb' include/linux/seqlock.h: At top level: include/linux/seqlock.h:57: error: syntax error before '*' token include/linux/seqlock.h:58: warning: function declaration isn't a prototype include/linux/seqlock.h: In function 'write_sequnlock': include/linux/seqlock.h:60: error: 'sl' undeclared (first use in this function) include/linux/seqlock.h: At top level: include/linux/seqlock.h:64: error: syntax error before '*' token include/linux/seqlock.h:65: warning: function declaration isn't a prototype include/linux/seqlock.h: In function 'write_tryseqlock': include/linux/seqlock.h:66: error: 'sl' undeclared (first use in this function) include/linux/seqlock.h: At top level: include/linux/seqlock.h:76: warning: type defaults to 'int' in declaration of 'seqlock_t' include/linux/seqlock.h:76: error: syntax error before '*' token include/linux/seqlock.h:77: warning: function declaration isn't a prototype include/linux/seqlock.h: In function 'read_seqbegin': include/linux/seqlock.h:78: error: 'sl' undeclared (first use in this function) include/linux/seqlock.h:79: warning: implicit declaration of function 'smp_rmb' include/linux/seqlock.h: At top level: include/linux/seqlock.h:91: warning: type defaults to 'int' in declaration of 'seqlock_t' include/linux/seqlock.h:91: error: syntax error before '*' token include/linux/seqlock.h:92: warning: function declaration isn't a prototype include/linux/seqlock.h: In function 'read_seqretry': include/linux/seqlock.h:94: error: 'iv' undeclared (first use in this function) include/linux/seqlock.h:94: error: 'sl' undeclared (first use in this function) In file included from include/linux/timex.h:58, from include/linux/sched.h:11, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/time.h: At top level: include/linux/time.h:13: error: syntax error before 'time_t' include/linux/time.h:13: warning: no semicolon at end of struct or union include/linux/time.h:15: error: syntax error before '}' token include/linux/time.h:19: error: syntax error before 'time_t' include/linux/time.h:19: warning: no semicolon at end of struct or union include/linux/time.h:20: warning: type defaults to 'int' in declaration of 'tv_usec' include/linux/time.h:20: warning: data definition has no type or storage class include/linux/time.h: In function 'timespec_equal': include/linux/time.h:38: error: dereferencing pointer to incomplete type include/linux/time.h:38: error: dereferencing pointer to incomplete type include/linux/time.h:38: error: dereferencing pointer to incomplete type include/linux/time.h:38: error: dereferencing pointer to incomplete type include/linux/time.h: At top level: include/linux/time.h:76: error: syntax error before 'xtime_lock' include/linux/time.h:76: warning: type defaults to 'int' in declaration of 'xtime_lock' include/linux/time.h:76: warning: data definition has no type or storage class include/linux/time.h: In function 'get_seconds': include/linux/time.h:80: error: invalid use of undefined type 'struct timespec' include/linux/time.h: At top level: include/linux/time.h:102: error: syntax error before 'time_t' include/linux/time.h:103: warning: function declaration isn't a prototype include/linux/time.h: In function 'set_normalized_timespec': include/linux/time.h:104: error: 'nsec' undeclared (first use in this function) include/linux/time.h:106: error: 'sec' undeclared (first use in this function) include/linux/time.h:112: error: 'ts' undeclared (first use in this function) include/linux/time.h: At top level: include/linux/time.h:135: error: field 'it_interval' has incomplete type include/linux/time.h:136: error: field 'it_value' has incomplete type include/linux/time.h:140: error: field 'it_interval' has incomplete type include/linux/time.h:141: error: field 'it_value' has incomplete type In file included from include/linux/sched.h:11, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/timex.h:61:23: error: asm/timex.h: No such file or directory In file included from include/linux/sched.h:11, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/timex.h:147: error: field 'time' has incomplete type In file included from include/linux/sched.h:12, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/jiffies.h:9:23: error: asm/div64.h: No such file or directory include/linux/jiffies.h:27:5: warning: "HZ" is not defined include/linux/jiffies.h:29:7: warning: "HZ" is not defined include/linux/jiffies.h:31:7: warning: "HZ" is not defined include/linux/jiffies.h:33:7: warning: "HZ" is not defined include/linux/jiffies.h:35:7: warning: "HZ" is not defined include/linux/jiffies.h:37:7: warning: "HZ" is not defined include/linux/jiffies.h:39:7: warning: "HZ" is not defined include/linux/jiffies.h:42:3: error: #error You lose. In file included from include/linux/sched.h:12, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/jiffies.h:84: warning: type defaults to 'int' in declaration of 'u64' include/linux/jiffies.h:84: error: syntax error before 'jiffies_64' include/linux/jiffies.h:87:6: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:88: error: syntax error before 'get_jiffies_64' include/linux/jiffies.h:88: warning: type defaults to 'int' in declaration of 'get_jiffies_64' include/linux/jiffies.h:88: warning: data definition has no type or storage class include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: warning: "HZ" is not defined include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:31: error: division by zero in #if include/linux/jiffies.h:213:46: warning: "SHIFT_HZ" is not defined include/linux/jiffies.h:240:5: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:257:5: warning: "HZ" is not defined include/linux/jiffies.h:257:44: warning: "HZ" is not defined include/linux/jiffies.h:257:46: error: division by zero in #if include/linux/jiffies.h:259:7: warning: "HZ" is not defined include/linux/jiffies.h: In function 'jiffies_to_msecs': include/linux/jiffies.h:262: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:268:5: warning: "HZ" is not defined include/linux/jiffies.h:268:44: warning: "HZ" is not defined include/linux/jiffies.h:268:46: error: division by zero in #if include/linux/jiffies.h:270:7: warning: "HZ" is not defined include/linux/jiffies.h: In function 'jiffies_to_usecs': include/linux/jiffies.h:273: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:281:5: warning: "HZ" is not defined include/linux/jiffies.h:281:44: warning: "HZ" is not defined include/linux/jiffies.h:281:46: error: division by zero in #if include/linux/jiffies.h:283:7: warning: "HZ" is not defined include/linux/jiffies.h: In function 'msecs_to_jiffies': include/linux/jiffies.h:286: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:294:5: warning: "HZ" is not defined include/linux/jiffies.h:294:44: warning: "HZ" is not defined include/linux/jiffies.h:294:46: error: division by zero in #if include/linux/jiffies.h:296:7: warning: "HZ" is not defined include/linux/jiffies.h: In function 'usecs_to_jiffies': include/linux/jiffies.h:299: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h: In function 'timespec_to_jiffies': include/linux/jiffies.h:317: error: dereferencing pointer to incomplete type include/linux/jiffies.h:318: error: dereferencing pointer to incomplete type include/linux/jiffies.h:318: error: 'CLOCK_TICK_RATE' undeclared (first use in this function) include/linux/jiffies.h:318: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:320: error: called object 'u64' is not a function include/linux/jiffies.h:320: error: called object 'u64' is not a function include/linux/jiffies.h:321: error: called object 'u64' is not a function include/linux/jiffies.h:321: error: called object 'u64' is not a function include/linux/jiffies.h:324: error: syntax error before 'sec' include/linux/jiffies.h:324: error: called object 'u64' is not a function include/linux/jiffies.h:324: error: 'SHIFT_HZ' undeclared (first use in this function) include/linux/jiffies.h:324: error: called object 'u64' is not a function include/linux/jiffies.h:324: error: syntax error before ')' token include/linux/jiffies.h:328: warning: no return statement in function returning non-void include/linux/jiffies.h: In function 'jiffies_to_timespec': include/linux/jiffies.h:337: error: syntax error before 'nsec' include/linux/jiffies.h:338: error: dereferencing pointer to incomplete type include/linux/jiffies.h:338: error: syntax error before 'result' include/linux/jiffies.h:338: error: dereferencing pointer to incomplete type include/linux/jiffies.h:338: warning: implicit declaration of function 'do_div' include/linux/jiffies.h:338: error: 'result' undeclared (first use in this function) include/linux/jiffies.h: In function 'timeval_to_jiffies': include/linux/jiffies.h:356: error: dereferencing pointer to incomplete type include/linux/jiffies.h:357: error: dereferencing pointer to incomplete type include/linux/jiffies.h:359: error: called object 'u64' is not a function include/linux/jiffies.h:359: error: 'CLOCK_TICK_RATE' undeclared (first use in this function) include/linux/jiffies.h:359: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:359: error: called object 'u64' is not a function include/linux/jiffies.h:360: error: called object 'u64' is not a function include/linux/jiffies.h:360: error: called object 'u64' is not a function include/linux/jiffies.h:363: error: syntax error before 'sec' include/linux/jiffies.h:363: error: called object 'u64' is not a function include/linux/jiffies.h:363: error: 'SHIFT_HZ' undeclared (first use in this function) include/linux/jiffies.h:363: error: called object 'u64' is not a function include/linux/jiffies.h:363: error: syntax error before ')' token include/linux/jiffies.h:366: warning: no return statement in function returning non-void include/linux/jiffies.h: In function 'jiffies_to_timeval': include/linux/jiffies.h:375: error: syntax error before 'nsec' include/linux/jiffies.h:376: error: dereferencing pointer to incomplete type include/linux/jiffies.h:376: error: syntax error before 'result' include/linux/jiffies.h:376: error: dereferencing pointer to incomplete type include/linux/jiffies.h:376: error: 'result' undeclared (first use in this function) include/linux/jiffies.h:377: error: dereferencing pointer to incomplete type include/linux/jiffies.h: At top level: include/linux/jiffies.h:383: error: syntax error before 'jiffies_to_clock_t' include/linux/jiffies.h:384: warning: return type defaults to 'int' include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: warning: "HZ" is not defined include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:6: error: division by zero in #if include/linux/jiffies.h:385:34: warning: "USER_HZ" is not defined include/linux/jiffies.h:385:41: error: division by zero in #if include/linux/jiffies.h: In function 'jiffies_to_clock_t': include/linux/jiffies.h:386: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:386: error: 'USER_HZ' undeclared (first use in this function) include/linux/jiffies.h:392: warning: control reaches end of non-void function include/linux/jiffies.h:396:6: warning: "HZ" is not defined include/linux/jiffies.h:396:11: warning: "USER_HZ" is not defined include/linux/jiffies.h:396:18: error: division by zero in #if include/linux/jiffies.h: In function 'clock_t_to_jiffies': include/linux/jiffies.h:397: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:397: error: 'USER_HZ' undeclared (first use in this function) include/linux/jiffies.h: At top level: include/linux/jiffies.h:414: error: syntax error before 'jiffies_64_to_clock_t' include/linux/jiffies.h:414: error: syntax error before 'x' include/linux/jiffies.h:415: warning: return type defaults to 'int' include/linux/jiffies.h:415: warning: function declaration isn't a prototype include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: warning: "HZ" is not defined include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h:416:34: warning: "USER_HZ" is not defined include/linux/jiffies.h:416:41: error: division by zero in #if include/linux/jiffies.h: In function 'jiffies_64_to_clock_t': include/linux/jiffies.h:417: error: 'x' undeclared (first use in this function) include/linux/jiffies.h:417: error: 'HZ' undeclared (first use in this function) include/linux/jiffies.h:417: error: 'USER_HZ' undeclared (first use in this function) include/linux/jiffies.h:428: warning: control reaches end of non-void function include/linux/jiffies.h: At top level: include/linux/jiffies.h:430: error: syntax error before 'nsec_to_clock_t' include/linux/jiffies.h:430: error: syntax error before 'x' include/linux/jiffies.h:431: warning: return type defaults to 'int' include/linux/jiffies.h:431: warning: function declaration isn't a prototype include/linux/jiffies.h:432:21: warning: "USER_HZ" is not defined include/linux/jiffies.h:432:28: error: division by zero in #if include/linux/jiffies.h:434:8: warning: "USER_HZ" is not defined include/linux/jiffies.h: In function 'nsec_to_clock_t': include/linux/jiffies.h:435: error: 'x' undeclared (first use in this function) include/linux/jiffies.h:435: error: 'USER_HZ' undeclared (first use in this function) include/linux/jiffies.h:448: warning: control reaches end of non-void function In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:82, from include/linux/sched.h:15, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/string.h: At top level: include/linux/string.h:18: error: syntax error before 'strspn' include/linux/string.h:18: warning: type defaults to 'int' in declaration of 'strspn' include/linux/string.h:18: warning: data definition has no type or storage class include/linux/string.h:19: error: syntax error before 'strcspn' include/linux/string.h:19: warning: type defaults to 'int' in declaration of 'strcspn' include/linux/string.h:19: warning: data definition has no type or storage class In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:82, from include/linux/sched.h:15, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/string.h:24:24: error: asm/string.h: No such file or directory include/linux/string.h:30: error: syntax error before '__kernel_size_t' include/linux/string.h:30: warning: function declaration isn't a prototype include/linux/string.h:33: error: syntax error before 'strlcpy' include/linux/string.h:33: error: syntax error before 'size_t' include/linux/string.h:33: warning: type defaults to 'int' in declaration of 'strlcpy' include/linux/string.h:33: warning: function declaration isn't a prototype include/linux/string.h:33: warning: data definition has no type or storage class include/linux/string.h:39: error: syntax error before '__kernel_size_t' include/linux/string.h:39: warning: function declaration isn't a prototype include/linux/string.h:42: error: syntax error before 'strlcat' include/linux/string.h:42: error: syntax error before '__kernel_size_t' include/linux/string.h:42: warning: type defaults to 'int' in declaration of 'strlcat' include/linux/string.h:42: warning: function declaration isn't a prototype include/linux/string.h:42: warning: data definition has no type or storage class include/linux/string.h:48: error: syntax error before '__kernel_size_t' include/linux/string.h:48: warning: function declaration isn't a prototype include/linux/string.h:51: error: syntax error before '__kernel_size_t' include/linux/string.h:51: warning: function declaration isn't a prototype include/linux/string.h:57: error: syntax error before 'size_t' include/linux/string.h:57: warning: function declaration isn't a prototype include/linux/string.h:66: error: syntax error before 'strlen' include/linux/string.h:66: warning: type defaults to 'int' in declaration of 'strlen' include/linux/string.h:66: warning: data definition has no type or storage class include/linux/string.h:69: error: syntax error before 'strnlen' include/linux/string.h:69: error: syntax error before '__kernel_size_t' include/linux/string.h:69: warning: type defaults to 'int' in declaration of 'strnlen' include/linux/string.h:69: warning: function declaration isn't a prototype include/linux/string.h:69: warning: data definition has no type or storage class include/linux/string.h:73: error: syntax error before '__kernel_size_t' include/linux/string.h:73: warning: function declaration isn't a prototype include/linux/string.h:76: error: syntax error before '__kernel_size_t' include/linux/string.h:76: warning: function declaration isn't a prototype include/linux/string.h:79: error: syntax error before '__kernel_size_t' include/linux/string.h:79: warning: function declaration isn't a prototype include/linux/string.h:82: error: syntax error before '__kernel_size_t' include/linux/string.h:82: warning: function declaration isn't a prototype include/linux/string.h:85: error: syntax error before '__kernel_size_t' include/linux/string.h:85: warning: function declaration isn't a prototype include/linux/string.h:88: error: syntax error before '__kernel_size_t' include/linux/string.h:88: warning: function declaration isn't a prototype In file included from include/linux/cpumask.h:82, from include/linux/sched.h:15, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/bitmap.h: In function 'bitmap_zero': include/linux/bitmap.h:119: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_fill': include/linux/bitmap.h:129: error: syntax error before 'nlongs' include/linux/bitmap.h:130: error: 'nlongs' undeclared (first use in this function) include/linux/bitmap.h:134: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_copy': include/linux/bitmap.h:140: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_and': include/linux/bitmap.h:151: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_or': include/linux/bitmap.h:160: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_xor': include/linux/bitmap.h:169: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_andnot': include/linux/bitmap.h:178: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_complement': include/linux/bitmap.h:187: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_equal': include/linux/bitmap.h:196: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_intersects': include/linux/bitmap.h:205: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_subset': include/linux/bitmap.h:214: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_empty': include/linux/bitmap.h:222: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_full': include/linux/bitmap.h:230: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_shift_right': include/linux/bitmap.h:244: error: 'BITS_PER_LONG' undeclared (first use in this function) include/linux/bitmap.h: In function 'bitmap_shift_left': include/linux/bitmap.h:253: error: 'BITS_PER_LONG' undeclared (first use in this function) In file included from include/linux/sched.h:15, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/cpumask.h: At top level: include/linux/cpumask.h:85: error: 'BITS_PER_LONG' undeclared here (not in a function) include/linux/cpumask.h: In function '__first_cpu': include/linux/cpumask.h:215: warning: implicit declaration of function 'find_first_bit' include/linux/cpumask.h: In function '__next_cpu': include/linux/cpumask.h:221: warning: implicit declaration of function 'find_next_bit' In file included from include/linux/sched.h:15, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/cpumask.h:238:16: warning: "BITS_PER_LONG" is not defined In file included from include/linux/sched.h:16, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory In file included from include/linux/sched.h:17, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/nodemask.h: In function '__first_unset_node': include/linux/nodemask.h:250: warning: implicit declaration of function 'find_first_zero_bit' In file included from include/linux/sched.h:17, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/nodemask.h:256:21: warning: "BITS_PER_LONG" is not defined In file included from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sched.h:20:27: error: asm/semaphore.h: No such file or directory include/linux/sched.h:21:22: error: asm/page.h: No such file or directory include/linux/sched.h:22:24: error: asm/ptrace.h: No such file or directory include/linux/sched.h:23:21: error: asm/mmu.h: No such file or directory include/linux/sched.h:24:25: error: asm/cputime.h: No such file or directory In file included from include/linux/sched.h:26, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/smp.h:19:21: error: asm/smp.h: No such file or directory In file included from include/linux/sem.h:4, from include/linux/sched.h:27, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/ipc.h: At top level: include/linux/ipc.h:12: error: syntax error before '__kernel_uid_t' include/linux/ipc.h:12: warning: no semicolon at end of struct or union include/linux/ipc.h:13: warning: type defaults to 'int' in declaration of 'gid' include/linux/ipc.h:13: warning: data definition has no type or storage class include/linux/ipc.h:14: error: syntax error before 'cuid' include/linux/ipc.h:14: warning: type defaults to 'int' in declaration of 'cuid' include/linux/ipc.h:14: warning: data definition has no type or storage class include/linux/ipc.h:15: error: syntax error before 'cgid' include/linux/ipc.h:15: warning: type defaults to 'int' in declaration of 'cgid' include/linux/ipc.h:15: warning: data definition has no type or storage class include/linux/ipc.h:16: error: syntax error before 'mode' include/linux/ipc.h:16: warning: type defaults to 'int' in declaration of 'mode' include/linux/ipc.h:16: warning: data definition has no type or storage class include/linux/ipc.h:18: error: syntax error before '}' token In file included from include/linux/sem.h:4, from include/linux/sched.h:27, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: No such file or directory include/linux/ipc.h:59: error: syntax error before 'spinlock_t' include/linux/ipc.h:59: warning: no semicolon at end of struct or union include/linux/ipc.h:62: error: syntax error before 'uid' include/linux/ipc.h:62: warning: type defaults to 'int' in declaration of 'uid' include/linux/ipc.h:62: warning: data definition has no type or storage class include/linux/ipc.h:63: error: syntax error before 'gid' include/linux/ipc.h:63: warning: type defaults to 'int' in declaration of 'gid' include/linux/ipc.h:63: warning: data definition has no type or storage class include/linux/ipc.h:64: error: syntax error before 'cuid' include/linux/ipc.h:64: warning: type defaults to 'int' in declaration of 'cuid' include/linux/ipc.h:64: warning: data definition has no type or storage class include/linux/ipc.h:65: error: syntax error before 'cgid' include/linux/ipc.h:65: warning: type defaults to 'int' in declaration of 'cgid' include/linux/ipc.h:65: warning: data definition has no type or storage class include/linux/ipc.h:66: error: syntax error before 'mode' include/linux/ipc.h:66: warning: type defaults to 'int' in declaration of 'mode' include/linux/ipc.h:66: warning: data definition has no type or storage class include/linux/ipc.h:67: error: conflicting types for 'seq' include/linux/ipc.h:17: error: previous declaration of 'seq' was here include/linux/ipc.h:69: error: syntax error before '}' token In file included from include/linux/sched.h:27, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sem.h:25: error: field 'sem_perm' has incomplete type include/linux/sem.h:26: error: syntax error before '__kernel_time_t' include/linux/sem.h:26: warning: no semicolon at end of struct or union include/linux/sem.h:27: warning: type defaults to 'int' in declaration of 'sem_ctime' include/linux/sem.h:27: warning: data definition has no type or storage class include/linux/sem.h:33: error: syntax error before '}' token In file included from include/linux/sched.h:27, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sem.h:36:24: error: asm/sembuf.h: No such file or directory include/linux/sem.h:90: error: field 'sem_perm' has incomplete type include/linux/sem.h:92: error: syntax error before 'time_t' include/linux/sem.h:92: warning: no semicolon at end of struct or union include/linux/sem.h:93: warning: type defaults to 'int' in declaration of 'sem_ctime' include/linux/sem.h:93: warning: data definition has no type or storage class include/linux/sem.h:98: error: conflicting types for 'sem_nsems' include/linux/sem.h:32: error: previous declaration of 'sem_nsems' was here include/linux/sem.h:99: error: syntax error before '}' token include/linux/sem.h:130: error: syntax error before 'atomic_t' include/linux/sem.h:130: warning: no semicolon at end of struct or union include/linux/sem.h:131: warning: type defaults to 'int' in declaration of 'lock' include/linux/sem.h:131: warning: data definition has no type or storage class include/linux/sem.h:133: error: syntax error before '}' token In file included from include/linux/list.h:7, from include/linux/signal.h:4, from include/linux/sched.h:28, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/prefetch.h:14:27: error: asm/processor.h: No such file or directory include/linux/prefetch.h:15:23: error: asm/cache.h: No such file or directory In file included from include/linux/list.h:7, from include/linux/signal.h:4, from include/linux/sched.h:28, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/prefetch.h:58: error: syntax error before 'size_t' include/linux/prefetch.h:59: warning: function declaration isn't a prototype In file included from include/linux/sched.h:28, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/signal.h:6:24: error: asm/signal.h: No such file or directory include/linux/signal.h:7:25: error: asm/siginfo.h: No such file or directory In file included from include/linux/sched.h:28, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/signal.h:28: error: syntax error before 'spinlock_t' include/linux/signal.h:28: warning: no semicolon at end of struct or union include/linux/signal.h:30: error: syntax error before 'info' include/linux/signal.h:30: warning: type defaults to 'int' in declaration of 'info' include/linux/signal.h:30: warning: data definition has no type or storage class include/linux/signal.h:32: error: syntax error before '}' token include/linux/signal.h:39: error: syntax error before 'sigset_t' include/linux/signal.h:39: warning: no semicolon at end of struct or union include/linux/signal.h:51: error: syntax error before '*' token include/linux/signal.h:52: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigaddset': include/linux/signal.h:53: error: '_sig' undeclared (first use in this function) include/linux/signal.h:54: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:55: error: 'set' undeclared (first use in this function) include/linux/signal.h:57: error: '_NSIG_BPW' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:60: error: syntax error before '*' token include/linux/signal.h:61: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigdelset': include/linux/signal.h:62: error: '_sig' undeclared (first use in this function) include/linux/signal.h:63: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:64: error: 'set' undeclared (first use in this function) include/linux/signal.h:66: error: '_NSIG_BPW' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:69: error: syntax error before '*' token include/linux/signal.h:70: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigismember': include/linux/signal.h:71: error: '_sig' undeclared (first use in this function) include/linux/signal.h:72: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:73: error: 'set' undeclared (first use in this function) include/linux/signal.h:75: error: '_NSIG_BPW' undeclared (first use in this function) include/linux/signal.h: In function 'sigfindinword': include/linux/signal.h:80: warning: implicit declaration of function 'ffz' include/linux/signal.h: At top level: include/linux/signal.h:115: error: syntax error before '*' token include/linux/signal.h:115: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigorsets': include/linux/signal.h:115: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:115: error: 'a' undeclared (first use in this function) include/linux/signal.h:115: error: 'b' undeclared (first use in this function) include/linux/signal.h:115: error: 'r' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:118: error: syntax error before '*' token include/linux/signal.h:118: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigandsets': include/linux/signal.h:118: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:118: error: 'a' undeclared (first use in this function) include/linux/signal.h:118: error: 'b' undeclared (first use in this function) include/linux/signal.h:118: error: 'r' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:121: error: syntax error before '*' token include/linux/signal.h:121: warning: function declaration isn't a prototype include/linux/signal.h: In function 'signandsets': include/linux/signal.h:121: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:121: error: 'a' undeclared (first use in this function) include/linux/signal.h:121: error: 'b' undeclared (first use in this function) include/linux/signal.h:121: error: 'r' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:145: error: syntax error before '*' token include/linux/signal.h:145: warning: function declaration isn't a prototype include/linux/signal.h: In function 'signotset': include/linux/signal.h:145: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:145: error: 'set' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:150: error: syntax error before '*' token include/linux/signal.h:151: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigemptyset': include/linux/signal.h:152: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:154: error: 'set' undeclared (first use in this function) include/linux/signal.h:154: error: 'sigset_t' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:162: error: syntax error before '*' token include/linux/signal.h:163: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigfillset': include/linux/signal.h:164: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h:166: error: 'set' undeclared (first use in this function) include/linux/signal.h:166: error: 'sigset_t' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:176: error: syntax error before '*' token include/linux/signal.h:177: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigaddsetmask': include/linux/signal.h:178: error: 'set' undeclared (first use in this function) include/linux/signal.h:178: error: 'mask' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:181: error: syntax error before '*' token include/linux/signal.h:182: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigdelsetmask': include/linux/signal.h:183: error: 'set' undeclared (first use in this function) include/linux/signal.h:183: error: 'mask' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:186: error: syntax error before '*' token include/linux/signal.h:187: warning: function declaration isn't a prototype include/linux/signal.h: In function 'sigtestsetmask': include/linux/signal.h:188: error: 'set' undeclared (first use in this function) include/linux/signal.h:188: error: 'mask' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:191: error: syntax error before '*' token include/linux/signal.h:192: warning: function declaration isn't a prototype include/linux/signal.h: In function 'siginitset': include/linux/signal.h:193: error: 'set' undeclared (first use in this function) include/linux/signal.h:193: error: 'mask' undeclared (first use in this function) include/linux/signal.h:194: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:203: error: syntax error before '*' token include/linux/signal.h:204: warning: function declaration isn't a prototype include/linux/signal.h: In function 'siginitsetinv': include/linux/signal.h:205: error: 'set' undeclared (first use in this function) include/linux/signal.h:205: error: 'mask' undeclared (first use in this function) include/linux/signal.h:206: error: '_NSIG_WORDS' undeclared (first use in this function) include/linux/signal.h: In function 'init_sigpending': include/linux/signal.h:219: error: dereferencing pointer to incomplete type include/linux/signal.h:220: error: dereferencing pointer to incomplete type include/linux/signal.h:220: error: dereferencing pointer to incomplete type include/linux/signal.h:220: error: dereferencing pointer to incomplete type include/linux/signal.h:220: error: dereferencing pointer to incomplete type include/linux/signal.h: In function 'valid_signal': include/linux/signal.h:226: error: '_NSIG' undeclared (first use in this function) include/linux/signal.h: At top level: include/linux/signal.h:229: warning: 'struct siginfo' declared inside parameter list include/linux/signal.h:230: warning: 'struct siginfo' declared inside parameter list include/linux/signal.h:232: error: syntax error before 'sigset_t' include/linux/signal.h:232: warning: function declaration isn't a prototype include/linux/signal.h:235: error: syntax error before '*' token include/linux/signal.h:235: warning: function declaration isn't a prototype In file included from include/linux/sched.h:30, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/fs_struct.h:8: error: syntax error before 'atomic_t' include/linux/fs_struct.h:8: warning: no semicolon at end of struct or union include/linux/fs_struct.h:9: warning: type defaults to 'int' in declaration of 'lock' include/linux/fs_struct.h:9: warning: data definition has no type or storage class include/linux/fs_struct.h:13: error: syntax error before '}' token In file included from include/linux/completion.h:11, from include/linux/sched.h:32, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/wait.h:27:25: error: asm/current.h: No such file or directory In file included from include/linux/completion.h:11, from include/linux/sched.h:32, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/wait.h:52: error: syntax error before 'spinlock_t' include/linux/wait.h:52: warning: no semicolon at end of struct or union include/linux/wait.h:54: error: syntax error before '}' token include/linux/wait.h: In function 'init_waitqueue_head': include/linux/wait.h:82: error: dereferencing pointer to incomplete type include/linux/wait.h:82: error: syntax error before '{' token include/linux/wait.h: In function 'waitqueue_active': include/linux/wait.h:103: error: dereferencing pointer to incomplete type include/linux/wait.h: In function '__add_wait_queue': include/linux/wait.h:121: error: dereferencing pointer to incomplete type include/linux/wait.h: In function '__add_wait_queue_tail': include/linux/wait.h:130: error: dereferencing pointer to incomplete type In file included from include/linux/sched.h:32, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/completion.h: At top level: include/linux/completion.h:15: error: field 'wait' has incomplete type In file included from include/linux/gfp.h:4, from include/linux/slab.h:15, from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/mmzone.h:40: error: 'L1_CACHE_SHIFT_MAX' undeclared here (not in a function) include/linux/mmzone.h:40: error: requested alignment is not a constant include/linux/mmzone.h:64: error: requested alignment is not a constant include/linux/mmzone.h:139: error: syntax error before 'spinlock_t' include/linux/mmzone.h:139: warning: no semicolon at end of struct or union include/linux/mmzone.h:146: error: syntax error before 'lru_lock' include/linux/mmzone.h:146: warning: type defaults to 'int' in declaration of 'lru_lock' include/linux/mmzone.h:146: warning: data definition has no type or storage class include/linux/mmzone.h:162: error: syntax error before 'reclaim_in_progress' include/linux/mmzone.h:162: warning: type defaults to 'int' in declaration of 'reclaim_in_progress' include/linux/mmzone.h:162: warning: data definition has no type or storage class include/linux/mmzone.h:230: error: syntax error before '}' token include/linux/mmzone.h:230: warning: empty declaration include/linux/mmzone.h:269: error: array type has incomplete element type include/linux/mmzone.h:282: error: field 'kswapd_wait' has incomplete type include/linux/mmzone.h: In function 'next_zone': include/linux/mmzone.h:342: error: dereferencing pointer to incomplete type include/linux/mmzone.h:345: error: increment of pointer to unknown structure include/linux/mmzone.h:345: error: arithmetic on pointer to an incomplete type include/linux/mmzone.h: In function 'is_highmem': include/linux/mmzone.h:390: error: dereferencing pointer to incomplete type include/linux/mmzone.h: In function 'is_normal': include/linux/mmzone.h:395: error: dereferencing pointer to incomplete type include/linux/mmzone.h: At top level: include/linux/mmzone.h:402: error: syntax error before 'size_t' include/linux/mmzone.h:402: warning: function declaration isn't a prototype include/linux/mmzone.h:405: error: syntax error before 'size_t' include/linux/mmzone.h:405: warning: function declaration isn't a prototype In file included from include/linux/mmzone.h:407, from include/linux/gfp.h:4, from include/linux/slab.h:15, from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/topology.h:34:26: error: asm/topology.h: No such file or directory In file included from include/linux/gfp.h:4, from include/linux/slab.h:15, from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/mmzone.h:429:5: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:436:7: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:444:2: error: #error BITS_PER_LONG not defined In file included from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/slab.h:59: error: syntax error before 'size_t' include/linux/slab.h:60: error: 'kmem_cache_create' declared as function returning a function include/linux/slab.h:60: warning: function declaration isn't a prototype include/linux/slab.h:61: error: syntax error before 'void' include/linux/slab.h:68: error: syntax error before 'size' include/linux/slab.h:68: warning: function declaration isn't a prototype include/linux/slab.h:72: error: syntax error before 'size_t' include/linux/slab.h:72: warning: no semicolon at end of struct or union include/linux/slab.h:75: error: syntax error before '}' token include/linux/slab.h:76: error: array type has incomplete element type include/linux/slab.h:77: error: syntax error before 'gfp_t' include/linux/slab.h:77: warning: function declaration isn't a prototype include/linux/slab.h:79: error: syntax error before 'size' include/linux/slab.h:80: warning: function declaration isn't a prototype include/linux/slab.h: In function 'kmalloc': include/linux/slab.h:81: error: 'size' undeclared (first use in this function) In file included from include/linux/slab.h:88, from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/kmalloc_sizes.h:1:6: warning: "PAGE_SIZE" is not defined include/linux/kmalloc_sizes.h:5:5: warning: "L1_CACHE_BYTES" is not defined include/linux/kmalloc_sizes.h:9:5: warning: "L1_CACHE_BYTES" is not defined In file included from include/linux/percpu.h:4, from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/slab.h: At top level: include/linux/slab.h:102: error: syntax error before 'gfp_t' include/linux/slab.h:102: warning: function declaration isn't a prototype include/linux/slab.h:110: error: syntax error before 'n' include/linux/slab.h:111: warning: function declaration isn't a prototype include/linux/slab.h: In function 'kcalloc': include/linux/slab.h:112: error: 'n' undeclared (first use in this function) include/linux/slab.h:112: error: 'size' undeclared (first use in this function) include/linux/slab.h: At top level: include/linux/slab.h:128: error: syntax error before 'size' include/linux/slab.h:129: warning: function declaration isn't a prototype include/linux/slab.h: In function 'kmalloc_node': include/linux/slab.h:130: error: 'size' undeclared (first use in this function) include/linux/slab.h: At top level: include/linux/slab.h:147: error: syntax error before 'slab_reclaim_pages' include/linux/slab.h:147: warning: type defaults to 'int' in declaration of 'slab_reclaim_pages' include/linux/slab.h:147: warning: data definition has no type or storage class In file included from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/percpu.h:7:24: error: asm/percpu.h: No such file or directory In file included from include/linux/sched.h:34, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/percpu.h:36: error: syntax error before 'size' include/linux/percpu.h:36: warning: function declaration isn't a prototype In file included from include/linux/sched.h:36, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/seccomp.h:11:25: error: asm/seccomp.h: No such file or directory In file included from include/linux/sched.h:36, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/seccomp.h: In function 'secure_computing': include/linux/seccomp.h:18: error: 'TIF_SECCOMP' undeclared (first use in this function) include/linux/seccomp.h: At top level: include/linux/seccomp.h:22: warning: 'struct thread_info' declared inside parameter list include/linux/seccomp.h: In function 'has_secure_computing': include/linux/seccomp.h:24: error: 'TIF_SECCOMP' undeclared (first use in this function) include/linux/seccomp.h:24: warning: passing argument 1 of 'test_ti_thread_flag' from incompatible pointer type In file included from include/linux/sched.h:38, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/auxvec.h:4:24: error: asm/auxvec.h: No such file or directory In file included from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sched.h: At top level: include/linux/sched.h:97: error: syntax error before 'process_counts' include/linux/sched.h:97: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU' include/linux/sched.h:97: warning: function declaration isn't a prototype include/linux/sched.h:97: warning: data definition has no type or storage class In file included from include/linux/sched.h:105, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/resource.h:22: error: field 'ru_utime' has incomplete type include/linux/resource.h:23: error: field 'ru_stime' has incomplete type In file included from include/linux/sched.h:105, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/resource.h:68:26: error: asm/resource.h: No such file or directory In file included from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sched.h:176: error: syntax error before 'tasklist_lock' include/linux/sched.h:176: warning: type defaults to 'int' in declaration of 'tasklist_lock' include/linux/sched.h:176: warning: data definition has no type or storage class include/linux/sched.h:177: error: syntax error before 'mmlist_lock' include/linux/sched.h:177: warning: type defaults to 'int' in declaration of 'mmlist_lock' include/linux/sched.h:177: warning: data definition has no type or storage class In file included from include/linux/aio.h:6, from include/linux/sched.h:240, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/aio_abi.h:48: error: syntax error before '__u64' include/linux/aio_abi.h:48: warning: no semicolon at end of struct or union include/linux/aio_abi.h:49: warning: type defaults to 'int' in declaration of 'obj' include/linux/aio_abi.h:49: warning: data definition has no type or storage class include/linux/aio_abi.h:50: error: syntax error before 'res' include/linux/aio_abi.h:50: warning: type defaults to 'int' in declaration of 'res' include/linux/aio_abi.h:50: warning: data definition has no type or storage class include/linux/aio_abi.h:51: error: syntax error before 'res2' include/linux/aio_abi.h:51: warning: type defaults to 'int' in declaration of 'res2' include/linux/aio_abi.h:51: warning: data definition has no type or storage class In file included from include/linux/aio.h:6, from include/linux/sched.h:240, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/aio_abi.h:59:2: error: #error edit for your odd byteorder. include/linux/aio_abi.h:70: error: syntax error before '__u64' include/linux/aio_abi.h:70: warning: no semicolon at end of struct or union include/linux/aio_abi.h:71: warning: type defaults to 'int' in declaration of 'PADDED' include/linux/aio_abi.h:71: warning: parameter names (without types) in function declaration include/linux/aio_abi.h:71: warning: data definition has no type or storage class include/linux/aio_abi.h:75: error: syntax error before 'aio_lio_opcode' include/linux/aio_abi.h:75: warning: type defaults to 'int' in declaration of 'aio_lio_opcode' include/linux/aio_abi.h:75: warning: data definition has no type or storage class include/linux/aio_abi.h:76: error: syntax error before 'aio_reqprio' include/linux/aio_abi.h:76: warning: type defaults to 'int' in declaration of 'aio_reqprio' include/linux/aio_abi.h:76: warning: data definition has no type or storage class include/linux/aio_abi.h:77: error: syntax error before 'aio_fildes' include/linux/aio_abi.h:77: warning: type defaults to 'int' in declaration of 'aio_fildes' include/linux/aio_abi.h:77: warning: data definition has no type or storage class include/linux/aio_abi.h:79: error: syntax error before 'aio_buf' include/linux/aio_abi.h:79: warning: type defaults to 'int' in declaration of 'aio_buf' include/linux/aio_abi.h:79: warning: data definition has no type or storage class include/linux/aio_abi.h:80: error: syntax error before 'aio_nbytes' include/linux/aio_abi.h:80: warning: type defaults to 'int' in declaration of 'aio_nbytes' include/linux/aio_abi.h:80: warning: data definition has no type or storage class include/linux/aio_abi.h:81: error: syntax error before 'aio_offset' include/linux/aio_abi.h:81: warning: type defaults to 'int' in declaration of 'aio_offset' include/linux/aio_abi.h:81: warning: data definition has no type or storage class include/linux/aio_abi.h:84: error: syntax error before 'aio_reserved2' include/linux/aio_abi.h:84: warning: type defaults to 'int' in declaration of 'aio_reserved2' include/linux/aio_abi.h:84: warning: data definition has no type or storage class include/linux/aio_abi.h:85: error: syntax error before 'aio_reserved3' include/linux/aio_abi.h:85: warning: type defaults to 'int' in declaration of 'aio_reserved3' include/linux/aio_abi.h:85: warning: data definition has no type or storage class In file included from include/linux/sched.h:240, from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/aio.h:94: error: syntax error before 'ssize_t' include/linux/aio.h:94: warning: no semicolon at end of struct or union include/linux/aio.h:104: error: syntax error before 'ki_user_data' include/linux/aio.h:104: warning: type defaults to 'int' in declaration of 'ki_user_data' include/linux/aio.h:104: warning: data definition has no type or storage class include/linux/aio.h:105: error: syntax error before 'ki_pos' include/linux/aio.h:105: warning: type defaults to 'int' in declaration of 'ki_pos' include/linux/aio.h:105: warning: data definition has no type or storage class include/linux/aio.h:108: error: syntax error before 'ki_nbytes' include/linux/aio.h:108: warning: type defaults to 'int' in declaration of 'ki_nbytes' include/linux/aio.h:108: warning: data definition has no type or storage class include/linux/aio.h:110: error: syntax error before 'ki_left' include/linux/aio.h:110: warning: type defaults to 'int' in declaration of 'ki_left' include/linux/aio.h:110: warning: data definition has no type or storage class include/linux/aio.h:117: error: syntax error before '}' token include/linux/aio.h:150: error: array type has incomplete element type include/linux/aio.h:161: error: syntax error before 'spinlock_t' include/linux/aio.h:161: warning: no semicolon at end of struct or union include/linux/aio.h:167: error: syntax error before '}' token include/linux/aio.h:170: error: syntax error before 'atomic_t' include/linux/aio.h:170: warning: no semicolon at end of struct or union include/linux/aio.h:180: error: syntax error before 'ctx_lock' include/linux/aio.h:180: warning: type defaults to 'int' in declaration of 'ctx_lock' include/linux/aio.h:180: warning: data definition has no type or storage class include/linux/aio.h:191: error: syntax error before '}' token include/linux/aio.h:196: error: syntax error before 'wait_on_sync_kiocb' include/linux/aio.h:196: warning: type defaults to 'int' in declaration of 'wait_on_sync_kiocb' include/linux/aio.h:196: warning: data definition has no type or storage class include/linux/aio.h: In function 'list_kiocb': include/linux/aio.h:233: error: dereferencing pointer to incomplete type include/linux/aio.h:233: warning: type defaults to 'int' in declaration of '__mptr' include/linux/aio.h:233: warning: initialization from incompatible pointer type include/linux/aio.h:233: error: invalid use of undefined type 'struct kiocb' include/linux/aio.h: At top level: include/linux/aio.h:237: error: syntax error before 'aio_nr' include/linux/aio.h:237: warning: type defaults to 'int' in declaration of 'aio_nr' include/linux/aio.h:237: warning: data definition has no type or storage class In file included from include/linux/module.h:10, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sched.h:270: error: syntax error before 'pgd_t' include/linux/sched.h:270: warning: no semicolon at end of struct or union include/linux/sched.h:271: warning: type defaults to 'int' in declaration of 'mm_users' include/linux/sched.h:271: warning: data definition has no type or storage class include/linux/sched.h:272: error: syntax error before 'mm_count' include/linux/sched.h:272: warning: type defaults to 'int' in declaration of 'mm_count' include/linux/sched.h:272: warning: data definition has no type or storage class include/linux/sched.h:275: error: syntax error before 'page_table_lock' include/linux/sched.h:275: warning: type defaults to 'int' in declaration of 'page_table_lock' include/linux/sched.h:275: warning: data definition has no type or storage class include/linux/sched.h:294: error: syntax error before ':' token include/linux/sched.h:298: error: syntax error before 'context' include/linux/sched.h:298: warning: type defaults to 'int' in declaration of 'context' include/linux/sched.h:298: warning: data definition has no type or storage class include/linux/sched.h:309: error: syntax error before 'ioctx_list_lock' include/linux/sched.h:309: warning: type defaults to 'int' in declaration of 'ioctx_list_lock' include/linux/sched.h:309: warning: data definition has no type or storage class include/linux/sched.h:316: error: syntax error before '}' token include/linux/sched.h:319: error: syntax error before 'atomic_t' include/linux/sched.h:319: warning: no semicolon at end of struct or union include/linux/sched.h:320: error: '_NSIG' undeclared here (not in a function) include/linux/sched.h:321: error: syntax error before 'siglock' include/linux/sched.h:321: warning: type defaults to 'int' in declaration of 'siglock' include/linux/sched.h:321: warning: data definition has no type or storage class include/linux/sched.h:332: error: syntax error before 'atomic_t' include/linux/sched.h:332: warning: no semicolon at end of struct or union include/linux/sched.h:333: warning: type defaults to 'int' in declaration of 'live' include/linux/sched.h:333: warning: data definition has no type or storage class include/linux/sched.h:355: error: conflicting types for 'flags' include/linux/signal.h:29: error: previous declaration of 'flags' was here include/linux/sched.h:365: error: syntax error before 'it_prof_expires' include/linux/sched.h:365: warning: type defaults to 'int' in declaration of 'it_prof_expires' include/linux/sched.h:365: warning: type defaults to 'int' in declaration of 'it_virt_expires' include/linux/sched.h:365: warning: data definition has no type or storage class include/linux/sched.h:366: error: syntax error before 'it_prof_incr' include/linux/sched.h:366: warning: type defaults to 'int' in declaration of 'it_prof_incr' include/linux/sched.h:366: warning: type defaults to 'int' in declaration of 'it_virt_incr' include/linux/sched.h:366: warning: data definition has no type or storage class include/linux/sched.h:369: error: syntax error before 'pgrp' include/linux/sched.h:369: warning: type defaults to 'int' in declaration of 'pgrp' include/linux/sched.h:369: warning: data definition has no type or storage class include/linux/sched.h:370: error: syntax error before 'tty_old_pgrp' include/linux/sched.h:370: warning: type defaults to 'int' in declaration of 'tty_old_pgrp' include/linux/sched.h:370: warning: data definition has no type or storage class include/linux/sched.h:371: error: syntax error before 'session' include/linux/sched.h:371: warning: type defaults to 'int' in declaration of 'session' include/linux/sched.h:371: warning: data definition has no type or storage class include/linux/sched.h:383: error: syntax error before 'utime' include/linux/sched.h:383: warning: type defaults to 'int' in declaration of 'utime' include/linux/sched.h:383: warning: type defaults to 'int' in declaration of 'stime' include/linux/sched.h:383: warning: type defaults to 'int' in declaration of 'cutime' include/linux/sched.h:383: warning: type defaults to 'int' in declaration of 'cstime' include/linux/sched.h:383: warning: data definition has no type or storage class include/linux/sched.h:404: error: 'RLIM_NLIMITS' undeclared here (not in a function) include/linux/sched.h:414: error: syntax error before '}' token include/linux/sched.h:454: error: syntax error before 'atomic_t' include/linux/sched.h:454: warning: no semicolon at end of struct or union include/linux/sched.h:455: warning: type defaults to 'int' in declaration of 'processes' include/linux/sched.h:455: warning: data definition has no type or storage class include/linux/sched.h:456: error: syntax error before 'files' include/linux/sched.h:456: warning: type defaults to 'int' in declaration of 'files' include/linux/sched.h:456: warning: data definition has no type or storage class include/linux/sched.h:457: error: syntax error before 'sigpending' include/linux/sched.h:457: warning: type defaults to 'int' in declaration of 'sigpending' include/linux/sched.h:457: warning: data definition has no type or storage class include/linux/sched.h:459: error: syntax error before 'inotify_watches' include/linux/sched.h:459: warning: type defaults to 'int' in declaration of 'inotify_watches' include/linux/sched.h:459: warning: data definition has no type or storage class include/linux/sched.h:460: error: syntax error before 'inotify_devs' include/linux/sched.h:460: warning: type defaults to 'int' in declaration of 'inotify_devs' include/linux/sched.h:460: warning: data definition has no type or storage class include/linux/sched.h:473: error: syntax error before 'uid' include/linux/sched.h:473: warning: type defaults to 'int' in declaration of 'uid' include/linux/sched.h:473: warning: data definition has no type or storage class include/linux/sched.h:476: warning: parameter names (without types) in function declaration include/linux/sched.h:604: error: syntax error before 'atomic_t' include/linux/sched.h:604: warning: no semicolon at end of struct or union include/linux/sched.h:605: warning: type defaults to 'int' in declaration of 'small_block' include/linux/sched.h:605: warning: data definition has no type or storage class include/linux/sched.h:607: error: syntax error before '*' token include/linux/sched.h:607: warning: type defaults to 'int' in declaration of 'blocks' include/linux/sched.h:607: warning: data definition has no type or storage class include/linux/sched.h:608: error: syntax error before '}' token include/linux/sched.h:628: error: syntax error before 'gid_t' include/linux/sched.h:628: warning: function declaration isn't a prototype include/linux/sched.h:645: error: syntax error before 'atomic_t' include/linux/sched.h:645: warning: no semicolon at end of struct or union include/linux/sched.h:646: error: conflicting types for 'flags' include/linux/signal.h:29: error: previous declaration of 'flags' was here include/linux/sched.h:690: error: syntax error before ':' token include/linux/sched.h:691: warning: type defaults to 'int' in declaration of 'pid' include/linux/sched.h:691: warning: data definition has no type or storage class include/linux/sched.h:692: error: syntax error before 'tgid' include/linux/sched.h:692: warning: type defaults to 'int' in declaration of 'tgid' include/linux/sched.h:692: warning: data definition has no type or storage class include/linux/sched.h:716: error: syntax error before 'utime' include/linux/sched.h:716: warning: type defaults to 'int' in declaration of 'utime' include/linux/sched.h:716: warning: type defaults to 'int' in declaration of 'stime' include/linux/sched.h:716: warning: data definition has no type or storage class include/linux/sched.h:722: error: syntax error before 'it_prof_expires' include/linux/sched.h:722: warning: type defaults to 'int' in declaration of 'it_prof_expires' include/linux/sched.h:722: warning: type defaults to 'int' in declaration of 'it_virt_expires' include/linux/sched.h:722: warning: data definition has no type or storage class include/linux/sched.h:727: error: syntax error before 'uid' include/linux/sched.h:727: warning: type defaults to 'int' in declaration of 'uid' include/linux/sched.h:727: warning: type defaults to 'int' in declaration of 'euid' include/linux/sched.h:727: warning: type defaults to 'int' in declaration of 'suid' include/linux/sched.h:727: warning: type defaults to 'int' in declaration of 'fsuid' include/linux/sched.h:727: warning: data definition has no type or storage class include/linux/sched.h:728: error: syntax error before 'gid' include/linux/sched.h:728: warning: type defaults to 'int' in declaration of 'gid' include/linux/sched.h:728: warning: type defaults to 'int' in declaration of 'egid' include/linux/sched.h:728: warning: type defaults to 'int' in declaration of 'sgid' include/linux/sched.h:728: warning: type defaults to 'int' in declaration of 'fsgid' include/linux/sched.h:728: warning: data definition has no type or storage class include/linux/sched.h:730: error: syntax error before 'cap_effective' include/linux/sched.h:730: warning: type defaults to 'int' in declaration of 'cap_effective' include/linux/sched.h:730: warning: type defaults to 'int' in declaration of 'cap_inheritable' include/linux/sched.h:730: warning: type defaults to 'int' in declaration of 'cap_permitted' include/linux/sched.h:730: warning: data definition has no type or storage class include/linux/sched.h:731: error: syntax error before ':' token include/linux/sched.h:751: error: conflicting types for 'files' include/linux/sched.h:456: error: previous declaration of 'files' was here include/linux/sched.h:758: error: syntax error before 'blocked' include/linux/sched.h:758: warning: type defaults to 'int' in declaration of 'blocked' include/linux/sched.h:758: warning: type defaults to 'int' in declaration of 'real_blocked' include/linux/sched.h:758: warning: data definition has no type or storage class include/linux/sched.h:762: error: syntax error before 'sas_ss_size' include/linux/sched.h:762: warning: type defaults to 'int' in declaration of 'sas_ss_size' include/linux/sched.h:762: warning: data definition has no type or storage class include/linux/sched.h:765: error: syntax error before '*' token include/linux/sched.h:765: warning: type defaults to 'int' in declaration of 'notifier_mask' include/linux/sched.h:765: warning: data definition has no type or storage class include/linux/sched.h:772: error: syntax error before 'parent_exec_id' include/linux/sched.h:772: warning: type defaults to 'int' in declaration of 'parent_exec_id' include/linux/sched.h:772: warning: data definition has no type or storage class include/linux/sched.h:773: error: syntax error before 'self_exec_id' include/linux/sched.h:773: warning: type defaults to 'int' in declaration of 'self_exec_id' include/linux/sched.h:773: warning: data definition has no type or storage class include/linux/sched.h:775: error: syntax error before 'alloc_lock' include/linux/sched.h:775: warning: type defaults to 'int' in declaration of 'alloc_lock' include/linux/sched.h:775: warning: data definition has no type or storage class include/linux/sched.h:777: error: syntax error before 'proc_lock' include/linux/sched.h:777: warning: type defaults to 'int' in declaration of 'proc_lock' include/linux/sched.h:777: warning: data definition has no type or storage class include/linux/sched.h:791: error: syntax error before '*' token include/linux/sched.h:791: warning: type defaults to 'int' in declaration of 'last_siginfo' include/linux/sched.h:791: warning: data definition has no type or storage class include/linux/sched.h:800: error: syntax error before 'rchar' include/linux/sched.h:800: warning: type defaults to 'int' in declaration of 'rchar' include/linux/sched.h:800: warning: type defaults to 'int' in declaration of 'wchar' include/linux/sched.h:800: warning: type defaults to 'int' in declaration of 'syscr' include/linux/sched.h:800: warning: type defaults to 'int' in declaration of 'syscw' include/linux/sched.h:800: warning: data definition has no type or storage class include/linux/sched.h:802: error: syntax error before 'acct_rss_mem1' include/linux/sched.h:802: warning: type defaults to 'int' in declaration of 'acct_rss_mem1' include/linux/sched.h:802: warning: data definition has no type or storage class include/linux/sched.h:803: error: syntax error before 'acct_vm_mem1' include/linux/sched.h:803: warning: type defaults to 'int' in declaration of 'acct_vm_mem1' include/linux/sched.h:803: warning: data definition has no type or storage class include/linux/sched.h:804: error: syntax error before 'acct_stimexpd' include/linux/sched.h:804: warning: type defaults to 'int' in declaration of 'acct_stimexpd' include/linux/sched.h:804: warning: data definition has no type or storage class include/linux/sched.h:815: error: syntax error before 'fs_excl' include/linux/sched.h:815: warning: type defaults to 'int' in declaration of 'fs_excl' include/linux/sched.h:815: warning: data definition has no type or storage class include/linux/sched.h:818: error: syntax error before 'process_group' include/linux/sched.h:819: warning: return type defaults to 'int' include/linux/sched.h: In function 'process_group': include/linux/sched.h:820: error: dereferencing pointer to incomplete type include/linux/sched.h:821: warning: control reaches end of non-void function include/linux/sched.h: In function 'pid_alive': include/linux/sched.h:833: error: dereferencing pointer to incomplete type include/linux/sched.h: At top level: include/linux/sched.h:940: error: field 'thread_info' has incomplete type include/linux/sched.h:941: error: 'THREAD_SIZE' undeclared here (not in a function) include/linux/sched.h:961: error: syntax error before 'session' include/linux/sched.h:961: warning: function declaration isn't a prototype include/linux/sched.h:962: error: syntax error before 'session' include/linux/sched.h:962: warning: function declaration isn't a prototype include/linux/sched.h:965: warning: parameter names (without types) in function declaration include/linux/sched.h: In function 'get_uid': include/linux/sched.h:968: warning: implicit declaration of function 'atomic_inc' include/linux/sched.h:968: error: dereferencing pointer to incomplete type include/linux/sched.h: At top level: include/linux/sched.h:990: warning: parameter names (without types) in function declaration include/linux/sched.h:991: warning: parameter names (without types) in function declaration include/linux/sched.h:996: error: syntax error before 'sigset_t' include/linux/sched.h:996: warning: function declaration isn't a prototype include/linux/sched.h:998: error: syntax error before 'sigset_t' include/linux/sched.h:999: warning: function declaration isn't a prototype include/linux/sched.h: In function 'dequeue_signal_lock': include/linux/sched.h:1003: error: 'tsk' undeclared (first use in this function) include/linux/sched.h:1004: error: 'mask' undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1011: error: syntax error before 'sigset_t' include/linux/sched.h:1011: warning: function declaration isn't a prototype include/linux/sched.h:1014: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1015: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1017: warning: 'struct siginfo' declared inside parameter list include/linux/sched.h:1018: error: syntax error before 'pid_t' include/linux/sched.h:1018: warning: function declaration isn't a prototype include/linux/sched.h:1019: error: syntax error before 'pid_t' include/linux/sched.h:1019: warning: function declaration isn't a prototype include/linux/sched.h:1020: error: syntax error before 'pid_t' include/linux/sched.h:1020: warning: function declaration isn't a prototype include/linux/sched.h:1021: error: syntax error before 'pid_t' include/linux/sched.h:1021: warning: function declaration isn't a prototype include/linux/sched.h:1027: error: syntax error before 'int' include/linux/sched.h:1027: warning: function declaration isn't a prototype include/linux/sched.h:1028: error: syntax error before 'int' include/linux/sched.h:1028: warning: function declaration isn't a prototype include/linux/sched.h:1029: error: syntax error before 'int' include/linux/sched.h:1029: warning: function declaration isn't a prototype include/linux/sched.h:1035: warning: type defaults to 'int' in declaration of 'stack_t' include/linux/sched.h:1035: error: syntax error before '*' token include/linux/sched.h:1035: warning: function declaration isn't a prototype include/linux/sched.h: In function 'on_sig_stack': include/linux/sched.h:1046: error: 'current' undeclared (first use in this function) include/linux/sched.h: In function 'sas_ss_flags': include/linux/sched.h:1051: error: 'current' undeclared (first use in this function) include/linux/sched.h:1052: error: 'SS_DISABLE' undeclared (first use in this function) include/linux/sched.h:1052: error: 'SS_ONSTACK' undeclared (first use in this function) include/linux/sched.h: In function 'mmdrop': include/linux/sched.h:1079: warning: implicit declaration of function 'atomic_dec_and_test' include/linux/sched.h:1079: error: dereferencing pointer to incomplete type include/linux/sched.h: At top level: include/linux/sched.h:1095: error: 'exit_signal' redeclared as different kind of symbol include/linux/sched.h:686: error: previous declaration of 'exit_signal' was here include/linux/sched.h: In function 'thread_group_empty': include/linux/sched.h:1158: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'task_lock': include/linux/sched.h:1177: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'task_unlock': include/linux/sched.h:1182: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'set_tsk_thread_flag': include/linux/sched.h:1190: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'clear_tsk_thread_flag': include/linux/sched.h:1195: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'test_and_set_tsk_thread_flag': include/linux/sched.h:1200: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'test_and_clear_tsk_thread_flag': include/linux/sched.h:1205: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'test_tsk_thread_flag': include/linux/sched.h:1210: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'set_tsk_need_resched': include/linux/sched.h:1215: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: In function 'clear_tsk_need_resched': include/linux/sched.h:1220: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: In function 'signal_pending': include/linux/sched.h:1225: error: 'TIF_SIGPENDING' undeclared (first use in this function) include/linux/sched.h: In function 'need_resched': include/linux/sched.h:1230: error: 'TIF_NEED_RESCHED' undeclared (first use in this function) include/linux/sched.h: At top level: include/linux/sched.h:1241: error: syntax error before '*' token include/linux/sched.h:1241: warning: function declaration isn't a prototype include/linux/sched.h:1258: error: syntax error before '*' token include/linux/sched.h:1259: warning: function declaration isn't a prototype include/linux/sched.h: In function 'task_cpu': include/linux/sched.h:1281: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'set_task_cpu': include/linux/sched.h:1286: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'arch_pick_mmap_layout': include/linux/sched.h:1307: error: dereferencing pointer to incomplete type include/linux/sched.h:1307: error: 'TASK_UNMAPPED_BASE' undeclared (first use in this function) include/linux/sched.h:1308: error: dereferencing pointer to incomplete type include/linux/sched.h:1309: error: dereferencing pointer to incomplete type include/linux/sched.h: At top level: include/linux/sched.h:1313: error: syntax error before 'pid' include/linux/sched.h:1313: warning: function declaration isn't a prototype include/linux/sched.h:1314: error: syntax error before 'pid' include/linux/sched.h:1314: warning: function declaration isn't a prototype include/linux/sched.h: In function 'frozen': include/linux/sched.h:1328: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'freezing': include/linux/sched.h:1336: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'freeze': include/linux/sched.h:1345: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'thaw_process': include/linux/sched.h:1354: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'frozen_process': include/linux/sched.h:1366: error: dereferencing pointer to incomplete type include/linux/sched.h:1366: error: dereferencing pointer to incomplete type include/linux/sched.h: In function 'try_to_freeze': include/linux/sched.h:1375: error: 'current' undeclared (first use in this function) In file included from include/linux/module.h:13, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/stat.h:6:22: error: asm/stat.h: No such file or directory In file included from include/linux/module.h:13, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/stat.h: At top level: include/linux/stat.h:61: error: syntax error before 'dev_t' include/linux/stat.h:61: warning: no semicolon at end of struct or union include/linux/stat.h:62: warning: type defaults to 'int' in declaration of 'mode' include/linux/stat.h:62: warning: data definition has no type or storage class include/linux/stat.h:64: error: syntax error before 'uid' include/linux/stat.h:64: warning: type defaults to 'int' in declaration of 'uid' include/linux/stat.h:64: warning: data definition has no type or storage class include/linux/stat.h:65: error: syntax error before 'gid' include/linux/stat.h:65: warning: type defaults to 'int' in declaration of 'gid' include/linux/stat.h:65: warning: data definition has no type or storage class include/linux/stat.h:66: error: syntax error before 'rdev' include/linux/stat.h:66: warning: type defaults to 'int' in declaration of 'rdev' include/linux/stat.h:66: warning: data definition has no type or storage class include/linux/stat.h:67: error: syntax error before 'size' include/linux/stat.h:67: warning: type defaults to 'int' in declaration of 'size' include/linux/stat.h:67: warning: data definition has no type or storage class include/linux/stat.h:72: error: conflicting types for 'blocks' include/linux/sched.h:607: error: previous declaration of 'blocks' was here include/linux/stat.h:73: error: syntax error before '}' token In file included from include/linux/module.h:17, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/elf.h:6:21: error: asm/elf.h: No such file or directory In file included from include/linux/module.h:17, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/elf.h:16: error: syntax error before 'Elf32_Addr' include/linux/elf.h:16: warning: type defaults to 'int' in declaration of 'Elf32_Addr' include/linux/elf.h:16: warning: data definition has no type or storage class include/linux/elf.h:17: error: syntax error before 'Elf32_Half' include/linux/elf.h:17: warning: type defaults to 'int' in declaration of 'Elf32_Half' include/linux/elf.h:17: warning: data definition has no type or storage class include/linux/elf.h:18: error: syntax error before 'Elf32_Off' include/linux/elf.h:18: warning: type defaults to 'int' in declaration of 'Elf32_Off' include/linux/elf.h:18: warning: data definition has no type or storage class include/linux/elf.h:19: error: syntax error before 'Elf32_Sword' include/linux/elf.h:19: warning: type defaults to 'int' in declaration of 'Elf32_Sword' include/linux/elf.h:19: warning: data definition has no type or storage class include/linux/elf.h:20: error: syntax error before 'Elf32_Word' include/linux/elf.h:20: warning: type defaults to 'int' in declaration of 'Elf32_Word' include/linux/elf.h:20: warning: data definition has no type or storage class include/linux/elf.h:23: error: syntax error before 'Elf64_Addr' include/linux/elf.h:23: warning: type defaults to 'int' in declaration of 'Elf64_Addr' include/linux/elf.h:23: warning: data definition has no type or storage class include/linux/elf.h:24: error: syntax error before 'Elf64_Half' include/linux/elf.h:24: warning: type defaults to 'int' in declaration of 'Elf64_Half' include/linux/elf.h:24: warning: data definition has no type or storage class include/linux/elf.h:25: error: syntax error before 'Elf64_SHalf' include/linux/elf.h:25: warning: type defaults to 'int' in declaration of 'Elf64_SHalf' include/linux/elf.h:25: warning: data definition has no type or storage class include/linux/elf.h:26: error: syntax error before 'Elf64_Off' include/linux/elf.h:26: warning: type defaults to 'int' in declaration of 'Elf64_Off' include/linux/elf.h:26: warning: data definition has no type or storage class include/linux/elf.h:27: error: syntax error before 'Elf64_Sword' include/linux/elf.h:27: warning: type defaults to 'int' in declaration of 'Elf64_Sword' include/linux/elf.h:27: warning: data definition has no type or storage class include/linux/elf.h:28: error: syntax error before 'Elf64_Word' include/linux/elf.h:28: warning: type defaults to 'int' in declaration of 'Elf64_Word' include/linux/elf.h:28: warning: data definition has no type or storage class include/linux/elf.h:29: error: syntax error before 'Elf64_Xword' include/linux/elf.h:29: warning: type defaults to 'int' in declaration of 'Elf64_Xword' include/linux/elf.h:29: warning: data definition has no type or storage class include/linux/elf.h:30: error: syntax error before 'Elf64_Sxword' include/linux/elf.h:30: warning: type defaults to 'int' in declaration of 'Elf64_Sxword' include/linux/elf.h:30: warning: data definition has no type or storage class include/linux/elf.h:163: error: syntax error before 'Elf32_Sword' include/linux/elf.h:163: warning: no semicolon at end of struct or union include/linux/elf.h:165: error: syntax error before 'Elf32_Sword' include/linux/elf.h:165: warning: no semicolon at end of struct or union include/linux/elf.h:166: warning: type defaults to 'int' in declaration of 'd_ptr' include/linux/elf.h:166: warning: data definition has no type or storage class include/linux/elf.h:167: warning: type defaults to 'int' in declaration of 'd_un' include/linux/elf.h:167: warning: data definition has no type or storage class include/linux/elf.h:168: error: syntax error before '}' token include/linux/elf.h:168: warning: type defaults to 'int' in declaration of 'Elf32_Dyn' include/linux/elf.h:168: warning: data definition has no type or storage class include/linux/elf.h:171: error: syntax error before 'Elf64_Sxword' include/linux/elf.h:171: warning: no semicolon at end of struct or union include/linux/elf.h:173: error: syntax error before 'Elf64_Xword' include/linux/elf.h:173: warning: no semicolon at end of struct or union include/linux/elf.h:174: warning: type defaults to 'int' in declaration of 'd_ptr' include/linux/elf.h:174: warning: data definition has no type or storage class include/linux/elf.h:175: warning: type defaults to 'int' in declaration of 'd_un' include/linux/elf.h:175: warning: data definition has no type or storage class include/linux/elf.h:176: error: syntax error before '}' token include/linux/elf.h:176: warning: type defaults to 'int' in declaration of 'Elf64_Dyn' include/linux/elf.h:176: warning: data definition has no type or storage class include/linux/elf.h:186: error: syntax error before 'Elf32_Addr' include/linux/elf.h:186: warning: no semicolon at end of struct or union include/linux/elf.h:187: warning: type defaults to 'int' in declaration of 'r_info' include/linux/elf.h:187: warning: data definition has no type or storage class include/linux/elf.h:188: warning: type defaults to 'int' in declaration of 'Elf32_Rel' include/linux/elf.h:188: warning: data definition has no type or storage class include/linux/elf.h:191: error: syntax error before 'Elf64_Addr' include/linux/elf.h:191: warning: no semicolon at end of struct or union include/linux/elf.h:192: warning: type defaults to 'int' in declaration of 'r_info' include/linux/elf.h:192: warning: data definition has no type or storage class include/linux/elf.h:193: warning: type defaults to 'int' in declaration of 'Elf64_Rel' include/linux/elf.h:193: warning: data definition has no type or storage class include/linux/elf.h:196: error: syntax error before 'Elf32_Addr' include/linux/elf.h:196: warning: no semicolon at end of struct or union include/linux/elf.h:197: warning: type defaults to 'int' in declaration of 'r_info' include/linux/elf.h:197: warning: data definition has no type or storage class include/linux/elf.h:198: error: syntax error before 'r_addend' include/linux/elf.h:198: warning: type defaults to 'int' in declaration of 'r_addend' include/linux/elf.h:198: warning: data definition has no type or storage class include/linux/elf.h:199: warning: type defaults to 'int' in declaration of 'Elf32_Rela' include/linux/elf.h:199: warning: data definition has no type or storage class include/linux/elf.h:202: error: syntax error before 'Elf64_Addr' include/linux/elf.h:202: warning: no semicolon at end of struct or union include/linux/elf.h:203: warning: type defaults to 'int' in declaration of 'r_info' include/linux/elf.h:203: warning: data definition has no type or storage class include/linux/elf.h:204: error: syntax error before 'r_addend' include/linux/elf.h:204: warning: type defaults to 'int' in declaration of 'r_addend' include/linux/elf.h:204: warning: data definition has no type or storage class include/linux/elf.h:205: warning: type defaults to 'int' in declaration of 'Elf64_Rela' include/linux/elf.h:205: warning: data definition has no type or storage class include/linux/elf.h:208: error: syntax error before 'Elf32_Word' include/linux/elf.h:208: warning: no semicolon at end of struct or union include/linux/elf.h:209: warning: type defaults to 'int' in declaration of 'st_value' include/linux/elf.h:209: warning: data definition has no type or storage class include/linux/elf.h:210: error: syntax error before 'st_size' include/linux/elf.h:210: warning: type defaults to 'int' in declaration of 'st_size' include/linux/elf.h:210: warning: data definition has no type or storage class include/linux/elf.h:213: error: syntax error before 'st_shndx' include/linux/elf.h:213: warning: type defaults to 'int' in declaration of 'st_shndx' include/linux/elf.h:213: warning: data definition has no type or storage class include/linux/elf.h:214: warning: type defaults to 'int' in declaration of 'Elf32_Sym' include/linux/elf.h:214: warning: data definition has no type or storage class include/linux/elf.h:217: error: syntax error before 'Elf64_Word' include/linux/elf.h:217: warning: no semicolon at end of struct or union include/linux/elf.h:220: error: syntax error before 'st_shndx' include/linux/elf.h:220: warning: type defaults to 'int' in declaration of 'st_shndx' include/linux/elf.h:220: warning: data definition has no type or storage class include/linux/elf.h:221: error: syntax error before 'st_value' include/linux/elf.h:221: warning: type defaults to 'int' in declaration of 'st_value' include/linux/elf.h:221: warning: data definition has no type or storage class include/linux/elf.h:222: error: syntax error before 'st_size' include/linux/elf.h:222: warning: type defaults to 'int' in declaration of 'st_size' include/linux/elf.h:222: warning: data definition has no type or storage class include/linux/elf.h:223: warning: type defaults to 'int' in declaration of 'Elf64_Sym' include/linux/elf.h:223: warning: data definition has no type or storage class include/linux/elf.h:230: error: syntax error before 'Elf32_Half' include/linux/elf.h:230: warning: no semicolon at end of struct or union include/linux/elf.h:231: warning: type defaults to 'int' in declaration of 'e_machine' include/linux/elf.h:231: warning: data definition has no type or storage class include/linux/elf.h:232: error: syntax error before 'e_version' include/linux/elf.h:232: warning: type defaults to 'int' in declaration of 'e_version' include/linux/elf.h:232: warning: data definition has no type or storage class include/linux/elf.h:233: error: syntax error before 'e_entry' include/linux/elf.h:233: warning: type defaults to 'int' in declaration of 'e_entry' include/linux/elf.h:233: warning: data definition has no type or storage class include/linux/elf.h:234: error: syntax error before 'e_phoff' include/linux/elf.h:234: warning: type defaults to 'int' in declaration of 'e_phoff' include/linux/elf.h:234: warning: data definition has no type or storage class include/linux/elf.h:235: error: syntax error before 'e_shoff' include/linux/elf.h:235: warning: type defaults to 'int' in declaration of 'e_shoff' include/linux/elf.h:235: warning: data definition has no type or storage class include/linux/elf.h:236: error: syntax error before 'e_flags' include/linux/elf.h:236: warning: type defaults to 'int' in declaration of 'e_flags' include/linux/elf.h:236: warning: data definition has no type or storage class include/linux/elf.h:237: error: syntax error before 'e_ehsize' include/linux/elf.h:237: warning: type defaults to 'int' in declaration of 'e_ehsize' include/linux/elf.h:237: warning: data definition has no type or storage class include/linux/elf.h:238: error: syntax error before 'e_phentsize' include/linux/elf.h:238: warning: type defaults to 'int' in declaration of 'e_phentsize' include/linux/elf.h:238: warning: data definition has no type or storage class include/linux/elf.h:239: error: syntax error before 'e_phnum' include/linux/elf.h:239: warning: type defaults to 'int' in declaration of 'e_phnum' include/linux/elf.h:239: warning: data definition has no type or storage class include/linux/elf.h:240: error: syntax error before 'e_shentsize' include/linux/elf.h:240: warning: type defaults to 'int' in declaration of 'e_shentsize' include/linux/elf.h:240: warning: data definition has no type or storage class include/linux/elf.h:241: error: syntax error before 'e_shnum' include/linux/elf.h:241: warning: type defaults to 'int' in declaration of 'e_shnum' include/linux/elf.h:241: warning: data definition has no type or storage class include/linux/elf.h:242: error: syntax error before 'e_shstrndx' include/linux/elf.h:242: warning: type defaults to 'int' in declaration of 'e_shstrndx' include/linux/elf.h:242: warning: data definition has no type or storage class include/linux/elf.h:243: warning: type defaults to 'int' in declaration of 'Elf32_Ehdr' include/linux/elf.h:243: warning: data definition has no type or storage class include/linux/elf.h:247: error: syntax error before 'Elf64_Half' include/linux/elf.h:247: warning: no semicolon at end of struct or union include/linux/elf.h:248: warning: type defaults to 'int' in declaration of 'e_machine' include/linux/elf.h:248: warning: data definition has no type or storage class include/linux/elf.h:249: error: syntax error before 'e_version' include/linux/elf.h:249: warning: type defaults to 'int' in declaration of 'e_version' include/linux/elf.h:249: warning: data definition has no type or storage class include/linux/elf.h:250: error: syntax error before 'e_entry' include/linux/elf.h:250: warning: type defaults to 'int' in declaration of 'e_entry' include/linux/elf.h:250: warning: data definition has no type or storage class include/linux/elf.h:251: error: syntax error before 'e_phoff' include/linux/elf.h:251: warning: type defaults to 'int' in declaration of 'e_phoff' include/linux/elf.h:251: warning: data definition has no type or storage class include/linux/elf.h:252: error: syntax error before 'e_shoff' include/linux/elf.h:252: warning: type defaults to 'int' in declaration of 'e_shoff' include/linux/elf.h:252: warning: data definition has no type or storage class include/linux/elf.h:253: error: syntax error before 'e_flags' include/linux/elf.h:253: warning: type defaults to 'int' in declaration of 'e_flags' include/linux/elf.h:253: warning: data definition has no type or storage class include/linux/elf.h:254: error: syntax error before 'e_ehsize' include/linux/elf.h:254: warning: type defaults to 'int' in declaration of 'e_ehsize' include/linux/elf.h:254: warning: data definition has no type or storage class include/linux/elf.h:255: error: syntax error before 'e_phentsize' include/linux/elf.h:255: warning: type defaults to 'int' in declaration of 'e_phentsize' include/linux/elf.h:255: warning: data definition has no type or storage class include/linux/elf.h:256: error: syntax error before 'e_phnum' include/linux/elf.h:256: warning: type defaults to 'int' in declaration of 'e_phnum' include/linux/elf.h:256: warning: data definition has no type or storage class include/linux/elf.h:257: error: syntax error before 'e_shentsize' include/linux/elf.h:257: warning: type defaults to 'int' in declaration of 'e_shentsize' include/linux/elf.h:257: warning: data definition has no type or storage class include/linux/elf.h:258: error: syntax error before 'e_shnum' include/linux/elf.h:258: warning: type defaults to 'int' in declaration of 'e_shnum' include/linux/elf.h:258: warning: data definition has no type or storage class include/linux/elf.h:259: error: syntax error before 'e_shstrndx' include/linux/elf.h:259: warning: type defaults to 'int' in declaration of 'e_shstrndx' include/linux/elf.h:259: warning: data definition has no type or storage class include/linux/elf.h:260: warning: type defaults to 'int' in declaration of 'Elf64_Ehdr' include/linux/elf.h:260: warning: data definition has no type or storage class include/linux/elf.h:269: error: syntax error before 'Elf32_Word' include/linux/elf.h:269: warning: no semicolon at end of struct or union include/linux/elf.h:270: warning: type defaults to 'int' in declaration of 'p_offset' include/linux/elf.h:270: warning: data definition has no type or storage class include/linux/elf.h:271: error: syntax error before 'p_vaddr' include/linux/elf.h:271: warning: type defaults to 'int' in declaration of 'p_vaddr' include/linux/elf.h:271: warning: data definition has no type or storage class include/linux/elf.h:272: error: syntax error before 'p_paddr' include/linux/elf.h:272: warning: type defaults to 'int' in declaration of 'p_paddr' include/linux/elf.h:272: warning: data definition has no type or storage class include/linux/elf.h:273: error: syntax error before 'p_filesz' include/linux/elf.h:273: warning: type defaults to 'int' in declaration of 'p_filesz' include/linux/elf.h:273: warning: data definition has no type or storage class include/linux/elf.h:274: error: syntax error before 'p_memsz' include/linux/elf.h:274: warning: type defaults to 'int' in declaration of 'p_memsz' include/linux/elf.h:274: warning: data definition has no type or storage class include/linux/elf.h:275: error: syntax error before 'p_flags' include/linux/elf.h:275: warning: type defaults to 'int' in declaration of 'p_flags' include/linux/elf.h:275: warning: data definition has no type or storage class include/linux/elf.h:276: error: syntax error before 'p_align' include/linux/elf.h:276: warning: type defaults to 'int' in declaration of 'p_align' include/linux/elf.h:276: warning: data definition has no type or storage class include/linux/elf.h:277: warning: type defaults to 'int' in declaration of 'Elf32_Phdr' include/linux/elf.h:277: warning: data definition has no type or storage class include/linux/elf.h:280: error: syntax error before 'Elf64_Word' include/linux/elf.h:280: warning: no semicolon at end of struct or union include/linux/elf.h:281: warning: type defaults to 'int' in declaration of 'p_flags' include/linux/elf.h:281: warning: data definition has no type or storage class include/linux/elf.h:282: error: syntax error before 'p_offset' include/linux/elf.h:282: warning: type defaults to 'int' in declaration of 'p_offset' include/linux/elf.h:282: warning: data definition has no type or storage class include/linux/elf.h:283: error: syntax error before 'p_vaddr' include/linux/elf.h:283: warning: type defaults to 'int' in declaration of 'p_vaddr' include/linux/elf.h:283: warning: data definition has no type or storage class include/linux/elf.h:284: error: syntax error before 'p_paddr' include/linux/elf.h:284: warning: type defaults to 'int' in declaration of 'p_paddr' include/linux/elf.h:284: warning: data definition has no type or storage class include/linux/elf.h:285: error: syntax error before 'p_filesz' include/linux/elf.h:285: warning: type defaults to 'int' in declaration of 'p_filesz' include/linux/elf.h:285: warning: data definition has no type or storage class include/linux/elf.h:286: error: syntax error before 'p_memsz' include/linux/elf.h:286: warning: type defaults to 'int' in declaration of 'p_memsz' include/linux/elf.h:286: warning: data definition has no type or storage class include/linux/elf.h:287: error: syntax error before 'p_align' include/linux/elf.h:287: warning: type defaults to 'int' in declaration of 'p_align' include/linux/elf.h:287: warning: data definition has no type or storage class include/linux/elf.h:288: warning: type defaults to 'int' in declaration of 'Elf64_Phdr' include/linux/elf.h:288: warning: data definition has no type or storage class include/linux/elf.h:325: error: syntax error before 'Elf32_Word' include/linux/elf.h:325: warning: no semicolon at end of struct or union include/linux/elf.h:326: warning: type defaults to 'int' in declaration of 'sh_type' include/linux/elf.h:326: warning: data definition has no type or storage class include/linux/elf.h:327: error: syntax error before 'sh_flags' include/linux/elf.h:327: warning: type defaults to 'int' in declaration of 'sh_flags' include/linux/elf.h:327: warning: data definition has no type or storage class include/linux/elf.h:328: error: syntax error before 'sh_addr' include/linux/elf.h:328: warning: type defaults to 'int' in declaration of 'sh_addr' include/linux/elf.h:328: warning: data definition has no type or storage class include/linux/elf.h:329: error: syntax error before 'sh_offset' include/linux/elf.h:329: warning: type defaults to 'int' in declaration of 'sh_offset' include/linux/elf.h:329: warning: data definition has no type or storage class include/linux/elf.h:330: error: syntax error before 'sh_size' include/linux/elf.h:330: warning: type defaults to 'int' in declaration of 'sh_size' include/linux/elf.h:330: warning: data definition has no type or storage class include/linux/elf.h:331: error: syntax error before 'sh_link' include/linux/elf.h:331: warning: type defaults to 'int' in declaration of 'sh_link' include/linux/elf.h:331: warning: data definition has no type or storage class include/linux/elf.h:332: error: syntax error before 'sh_info' include/linux/elf.h:332: warning: type defaults to 'int' in declaration of 'sh_info' include/linux/elf.h:332: warning: data definition has no type or storage class include/linux/elf.h:333: error: syntax error before 'sh_addralign' include/linux/elf.h:333: warning: type defaults to 'int' in declaration of 'sh_addralign' include/linux/elf.h:333: warning: data definition has no type or storage class include/linux/elf.h:334: error: syntax error before 'sh_entsize' include/linux/elf.h:334: warning: type defaults to 'int' in declaration of 'sh_entsize' include/linux/elf.h:334: warning: data definition has no type or storage class include/linux/elf.h:335: warning: type defaults to 'int' in declaration of 'Elf32_Shdr' include/linux/elf.h:335: warning: data definition has no type or storage class include/linux/elf.h:338: error: syntax error before 'Elf64_Word' include/linux/elf.h:338: warning: no semicolon at end of struct or union include/linux/elf.h:339: warning: type defaults to 'int' in declaration of 'sh_type' include/linux/elf.h:339: warning: data definition has no type or storage class include/linux/elf.h:340: error: syntax error before 'sh_flags' include/linux/elf.h:340: warning: type defaults to 'int' in declaration of 'sh_flags' include/linux/elf.h:340: warning: data definition has no type or storage class include/linux/elf.h:341: error: syntax error before 'sh_addr' include/linux/elf.h:341: warning: type defaults to 'int' in declaration of 'sh_addr' include/linux/elf.h:341: warning: data definition has no type or storage class include/linux/elf.h:342: error: syntax error before 'sh_offset' include/linux/elf.h:342: warning: type defaults to 'int' in declaration of 'sh_offset' include/linux/elf.h:342: warning: data definition has no type or storage class include/linux/elf.h:343: error: syntax error before 'sh_size' include/linux/elf.h:343: warning: type defaults to 'int' in declaration of 'sh_size' include/linux/elf.h:343: warning: data definition has no type or storage class include/linux/elf.h:344: error: syntax error before 'sh_link' include/linux/elf.h:344: warning: type defaults to 'int' in declaration of 'sh_link' include/linux/elf.h:344: warning: data definition has no type or storage class include/linux/elf.h:345: error: syntax error before 'sh_info' include/linux/elf.h:345: warning: type defaults to 'int' in declaration of 'sh_info' include/linux/elf.h:345: warning: data definition has no type or storage class include/linux/elf.h:346: error: syntax error before 'sh_addralign' include/linux/elf.h:346: warning: type defaults to 'int' in declaration of 'sh_addralign' include/linux/elf.h:346: warning: data definition has no type or storage class include/linux/elf.h:347: error: syntax error before 'sh_entsize' include/linux/elf.h:347: warning: type defaults to 'int' in declaration of 'sh_entsize' include/linux/elf.h:347: warning: data definition has no type or storage class include/linux/elf.h:348: warning: type defaults to 'int' in declaration of 'Elf64_Shdr' include/linux/elf.h:348: warning: data definition has no type or storage class include/linux/elf.h:398: error: syntax error before 'Elf32_Word' include/linux/elf.h:398: warning: no semicolon at end of struct or union include/linux/elf.h:399: warning: type defaults to 'int' in declaration of 'n_descsz' include/linux/elf.h:399: warning: data definition has no type or storage class include/linux/elf.h:400: error: syntax error before 'n_type' include/linux/elf.h:400: warning: type defaults to 'int' in declaration of 'n_type' include/linux/elf.h:400: warning: data definition has no type or storage class include/linux/elf.h:401: warning: type defaults to 'int' in declaration of 'Elf32_Nhdr' include/linux/elf.h:401: warning: data definition has no type or storage class include/linux/elf.h:405: error: syntax error before 'Elf64_Word' include/linux/elf.h:405: warning: no semicolon at end of struct or union include/linux/elf.h:406: warning: type defaults to 'int' in declaration of 'n_descsz' include/linux/elf.h:406: warning: data definition has no type or storage class include/linux/elf.h:407: error: syntax error before 'n_type' include/linux/elf.h:407: warning: type defaults to 'int' in declaration of 'n_type' include/linux/elf.h:407: warning: data definition has no type or storage class include/linux/elf.h:408: warning: type defaults to 'int' in declaration of 'Elf64_Nhdr' include/linux/elf.h:408: warning: data definition has no type or storage class include/linux/elf.h:410:5: warning: "ELF_CLASS" is not defined include/linux/elf.h:419: error: syntax error before '_DYNAMIC' include/linux/elf.h:419: warning: type defaults to 'int' in declaration of '_DYNAMIC' include/linux/elf.h:419: warning: data definition has no type or storage class In file included from include/linux/kobject.h:22, from include/linux/module.h:19, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/sysfs.h:21: error: syntax error before 'mode_t' include/linux/sysfs.h:21: warning: no semicolon at end of struct or union include/linux/sysfs.h:54: error: field 'attr' has incomplete type include/linux/sysfs.h:55: error: syntax error before 'size_t' include/linux/sysfs.h:55: warning: no semicolon at end of struct or union include/linux/sysfs.h:57: error: syntax error before '*' token include/linux/sysfs.h:57: error: syntax error before 'loff_t' include/linux/sysfs.h:57: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/sysfs.h:57: warning: function declaration isn't a prototype include/linux/sysfs.h:57: error: 'ssize_t' declared as function returning a function include/linux/sysfs.h:57: warning: function declaration isn't a prototype include/linux/sysfs.h:57: error: 'ssize_t' redeclared as different kind of symbol include/linux/types.h:69: error: previous declaration of 'ssize_t' was here include/linux/sysfs.h:57: warning: data definition has no type or storage class include/linux/sysfs.h:58: error: syntax error before '*' token include/linux/sysfs.h:58: error: syntax error before 'loff_t' include/linux/sysfs.h:58: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/sysfs.h:58: warning: function declaration isn't a prototype include/linux/sysfs.h:58: error: 'ssize_t' declared as function returning a function include/linux/sysfs.h:58: warning: function declaration isn't a prototype include/linux/sysfs.h:58: error: 'ssize_t' redeclared as different kind of symbol include/linux/types.h:69: error: previous declaration of 'ssize_t' was here include/linux/sysfs.h:58: warning: data definition has no type or storage class include/linux/sysfs.h:61: error: syntax error before '}' token include/linux/sysfs.h:64: error: syntax error before 'ssize_t' include/linux/sysfs.h:64: warning: no semicolon at end of struct or union include/linux/sysfs.h:65: error: syntax error before '*' token include/linux/sysfs.h:65: error: syntax error before 'size_t' include/linux/sysfs.h:65: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/sysfs.h:65: warning: function declaration isn't a prototype include/linux/sysfs.h:65: error: 'ssize_t' declared as function returning a function include/linux/sysfs.h:65: warning: function declaration isn't a prototype include/linux/sysfs.h:65: error: 'ssize_t' redeclared as different kind of symbol include/linux/types.h:69: error: previous declaration of 'ssize_t' was here include/linux/sysfs.h:65: warning: data definition has no type or storage class include/linux/sysfs.h:69: error: syntax error before 'atomic_t' include/linux/sysfs.h:69: warning: no semicolon at end of struct or union include/linux/sysfs.h:74: error: syntax error before 's_mode' include/linux/sysfs.h:74: warning: type defaults to 'int' in declaration of 's_mode' include/linux/sysfs.h:74: warning: data definition has no type or storage class include/linux/sysfs.h:77: error: syntax error before '}' token include/linux/sysfs.h:104: error: syntax error before 'mode_t' include/linux/sysfs.h:104: warning: function declaration isn't a prototype In file included from include/linux/kobject.h:24, from include/linux/module.h:19, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/rwsem.h:27:65: error: asm/rwsem.h: No such file or directory In file included from include/linux/kobject.h:24, from include/linux/module.h:19, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/rwsem.h: In function 'down_read': include/linux/rwsem.h:45: warning: implicit declaration of function '__down_read' include/linux/rwsem.h: In function 'down_read_trylock': include/linux/rwsem.h:56: warning: implicit declaration of function '__down_read_trylock' include/linux/rwsem.h: In function 'down_write': include/linux/rwsem.h:68: warning: implicit declaration of function '__down_write' include/linux/rwsem.h: In function 'down_write_trylock': include/linux/rwsem.h:79: warning: implicit declaration of function '__down_write_trylock' include/linux/rwsem.h: In function 'up_read': include/linux/rwsem.h:90: warning: implicit declaration of function '__up_read' include/linux/rwsem.h: In function 'up_write': include/linux/rwsem.h:100: warning: implicit declaration of function '__up_write' include/linux/rwsem.h: In function 'downgrade_write': include/linux/rwsem.h:110: warning: implicit declaration of function '__downgrade_write' In file included from include/linux/kobject.h:25, from include/linux/module.h:19, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/kref.h: At top level: include/linux/kref.h:24: error: syntax error before 'atomic_t' include/linux/kref.h:24: warning: no semicolon at end of struct or union In file included from include/linux/module.h:19, from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/kobject.h:33: error: syntax error before 'hotplug_seqnum' include/linux/kobject.h:33: warning: type defaults to 'int' in declaration of 'hotplug_seqnum' include/linux/kobject.h:33: warning: data definition has no type or storage class include/linux/kobject.h:38: error: field 'kref' has incomplete type include/linux/kobject.h:106: error: syntax error before 'spinlock_t' include/linux/kobject.h:106: warning: no semicolon at end of struct or union include/linux/kobject.h:109: error: syntax error before '}' token include/linux/kobject.h: In function 'to_kset': include/linux/kobject.h:119: error: dereferencing pointer to incomplete type include/linux/kobject.h:119: warning: type defaults to 'int' in declaration of '__mptr' include/linux/kobject.h:119: warning: initialization from incompatible pointer type include/linux/kobject.h:119: error: invalid use of undefined type 'struct kset' include/linux/kobject.h: In function 'kset_get': include/linux/kobject.h:124: error: dereferencing pointer to incomplete type include/linux/kobject.h: In function 'kset_put': include/linux/kobject.h:129: error: dereferencing pointer to incomplete type include/linux/kobject.h: In function 'get_ktype': include/linux/kobject.h:134: error: dereferencing pointer to incomplete type include/linux/kobject.h:135: error: dereferencing pointer to incomplete type include/linux/kobject.h: At top level: include/linux/kobject.h:152: error: field 'kset' has incomplete type include/linux/kobject.h:153: error: field 'rwsem' has incomplete type include/linux/kobject.h: In function 'subsys_get': include/linux/kobject.h:227: warning: type defaults to 'int' in declaration of '__mptr' include/linux/kobject.h:227: warning: initialization from incompatible pointer type include/linux/kobject.h: At top level: include/linux/kobject.h:236: error: field 'attr' has incomplete type include/linux/kobject.h:237: error: syntax error before 'ssize_t' include/linux/kobject.h:237: warning: no semicolon at end of struct or union include/linux/kobject.h:238: error: syntax error before '*' token include/linux/kobject.h:238: error: syntax error before 'size_t' include/linux/kobject.h:238: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/kobject.h:238: warning: function declaration isn't a prototype include/linux/kobject.h:238: error: 'ssize_t' declared as function returning a function include/linux/kobject.h:238: warning: function declaration isn't a prototype include/linux/kobject.h:238: error: 'ssize_t' redeclared as different kind of symbol include/linux/types.h:69: error: previous declaration of 'ssize_t' was here include/linux/kobject.h:238: warning: data definition has no type or storage class In file included from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/module.h:21:23: error: asm/local.h: No such file or directory include/linux/module.h:23:24: error: asm/module.h: No such file or directory In file included from /home/extern/patrick/.public_html/test/treiber.c:1: include/linux/module.h:50: error: field 'attr' has incomplete type include/linux/module.h:51: error: syntax error before 'ssize_t' include/linux/module.h:51: warning: no semicolon at end of struct or union include/linux/module.h:52: error: syntax error before '*' token include/linux/module.h:53: error: syntax error before 'size_t' include/linux/module.h:53: warning: type defaults to 'int' in declaration of 'ssize_t' include/linux/module.h:53: warning: function declaration isn't a prototype include/linux/module.h:53: error: 'ssize_t' declared as function returning a function include/linux/module.h:53: warning: function declaration isn't a prototype include/linux/module.h:53: error: 'ssize_t' redeclared as different kind of symbol include/linux/types.h:69: error: previous declaration of 'ssize_t' was here include/linux/module.h:53: warning: data definition has no type or storage class include/linux/module.h:57: error: syntax error before '}' token include/linux/module.h:205: error: syntax error before 'local_t' include/linux/module.h:205: warning: no semicolon at end of struct or union include/linux/module.h:206: warning: empty declaration include/linux/module.h:219: error: field 'mattr' has incomplete type include/linux/module.h:278: error: field 'arch' has incomplete type include/linux/module.h:288: error: array type has incomplete element type include/linux/module.h:302: error: syntax error before 'Elf_Sym' include/linux/module.h:302: warning: no semicolon at end of struct or union include/linux/module.h:316: error: syntax error before '}' token include/linux/module.h: In function 'module_is_live': include/linux/module.h:323: error: dereferencing pointer to incomplete type include/linux/module.h: In function '__module_get': include/linux/module.h:357: warning: implicit declaration of function 'BUG_ON' include/linux/module.h:358: warning: implicit declaration of function 'local_inc' include/linux/module.h:358: error: dereferencing pointer to incomplete type include/linux/module.h:358: warning: implicit declaration of function 'raw_smp_processor_id' include/linux/module.h: In function 'try_module_get': include/linux/module.h:370: error: dereferencing pointer to incomplete type include/linux/module.h: In function 'module_put': include/linux/module.h:382: warning: implicit declaration of function 'local_dec' include/linux/module.h:382: error: dereferencing pointer to incomplete type include/linux/module.h:385: error: dereferencing pointer to incomplete type make[2]: *** [/home/extern/patrick/.public_html/test/treiber.o] Error 1 make[1]: *** [_module_/home/extern/patrick/.public_html/test] Error 2 make: *** [default] Error 2