... /usr/src/xen3/drbd08/drbd/linux/drbd.h:26:23: asm/types.h: No such file or directory In file included from include/linux/types.h:5, from /usr/src/xen3/drbd08/drbd/linux/drbd.h:29, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: include/linux/config.h:6:28: linux/autoconf.h: No such file or directory In file included from include/linux/posix_types.h:47, from include/linux/types.h:15, from /usr/src/xen3/drbd08/drbd/linux/drbd.h:29, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:13:22: features.h: No such file or directory /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:14:35: no include path in which to find asm/posix_types.h In file included from /usr/src/xen3/drbd08/drbd/linux/drbd.h:29, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: include/linux/types.h:16:23: asm/types.h: No such file or directory In file included from /usr/src/xen3/drbd08/drbd/linux/drbd.h:29, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: include/linux/types.h:20: error: syntax error before "__kernel_dev_t" include/linux/types.h:20: warning: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:20: warning: data definition has no type or storage class include/linux/types.h:23: error: syntax error before "dev_t" include/linux/types.h:23: warning: type defaults to `int' in declaration of `dev_t' include/linux/types.h:23: warning: data definition has no type or storage class include/linux/types.h:24: error: syntax error before "ino_t" include/linux/types.h:24: warning: type defaults to `int' in declaration of `ino_t' include/linux/types.h:24: warning: data definition has no type or storage class include/linux/types.h:25: error: syntax error before "mode_t" include/linux/types.h:25: warning: type defaults to `int' in declaration of `mode_t' include/linux/types.h:25: warning: data definition has no type or storage class include/linux/types.h:26: error: syntax error before "nlink_t" include/linux/types.h:26: warning: type defaults to `int' in declaration of `nlink_t' include/linux/types.h:26: warning: data definition has no type or storage class include/linux/types.h:27: error: syntax error before "off_t" include/linux/types.h:27: warning: type defaults to `int' in declaration of `off_t' include/linux/types.h:27: warning: data definition has no type or storage class include/linux/types.h:28: error: syntax error before "pid_t" include/linux/types.h:28: warning: type defaults to `int' in declaration of `pid_t' include/linux/types.h:28: warning: data definition has no type or storage class include/linux/types.h:29: error: syntax error before "daddr_t" include/linux/types.h:29: warning: type defaults to `int' in declaration of `daddr_t' include/linux/types.h:29: warning: data definition has no type or storage class include/linux/types.h:31: error: syntax error before "suseconds_t" include/linux/types.h:31: warning: type defaults to `int' in declaration of `suseconds_t' include/linux/types.h:31: warning: data definition has no type or storage class include/linux/types.h:32: error: syntax error before "timer_t" include/linux/types.h:32: warning: type defaults to `int' in declaration of `timer_t' include/linux/types.h:32: warning: data definition has no type or storage class include/linux/types.h:33: error: syntax error before "clockid_t" include/linux/types.h:33: warning: type defaults to `int' in declaration of `clockid_t' include/linux/types.h:33: warning: data definition has no type or storage class include/linux/types.h:37: error: syntax error before "uid_t" include/linux/types.h:37: warning: type defaults to `int' in declaration of `uid_t' include/linux/types.h:37: warning: data definition has no type or storage class include/linux/types.h:38: error: syntax error before "gid_t" include/linux/types.h:38: warning: type defaults to `int' in declaration of `gid_t' include/linux/types.h:38: warning: data definition has no type or storage class include/linux/types.h:39: error: syntax error before "uid16_t" include/linux/types.h:39: warning: type defaults to `int' in declaration of `uid16_t' include/linux/types.h:39: warning: data definition has no type or storage class include/linux/types.h:40: error: syntax error before "gid16_t" include/linux/types.h:40: warning: type defaults to `int' in declaration of `gid16_t' include/linux/types.h:40: warning: data definition has no type or storage class include/linux/types.h:57: error: syntax error before "loff_t" include/linux/types.h:57: warning: type defaults to `int' in declaration of `loff_t' include/linux/types.h:57: warning: data definition has no type or storage class include/linux/types.h:66: error: syntax error before "size_t" include/linux/types.h:66: warning: type defaults to `int' in declaration of `size_t' include/linux/types.h:66: warning: data definition has no type or storage class include/linux/types.h:71: error: syntax error before "ssize_t" include/linux/types.h:71: warning: type defaults to `int' in declaration of `ssize_t' include/linux/types.h:71: warning: data definition has no type or storage class include/linux/types.h:76: error: syntax error before "ptrdiff_t" include/linux/types.h:76: warning: type defaults to `int' in declaration of `ptrdiff_t' include/linux/types.h:76: warning: data definition has no type or storage class include/linux/types.h:81: error: syntax error before "time_t" include/linux/types.h:81: warning: type defaults to `int' in declaration of `time_t' include/linux/types.h:81: warning: data definition has no type or storage class include/linux/types.h:86: error: syntax error before "clock_t" include/linux/types.h:86: warning: type defaults to `int' in declaration of `clock_t' include/linux/types.h:86: warning: data definition has no type or storage class include/linux/types.h:91: error: syntax error before "caddr_t" include/linux/types.h:91: warning: type defaults to `int' in declaration of `caddr_t' include/linux/types.h:91: warning: data definition has no type or storage class include/linux/types.h:109: error: syntax error before "u_int8_t" include/linux/types.h:109: warning: type defaults to `int' in declaration of `u_int8_t' include/linux/types.h:109: warning: data definition has no type or storage class include/linux/types.h:110: error: syntax error before "int8_t" include/linux/types.h:110: warning: type defaults to `int' in declaration of `int8_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_int16_t" include/linux/types.h:111: warning: type defaults to `int' in declaration of `u_int16_t' include/linux/types.h:111: warning: data definition has no type or storage class include/linux/types.h:112: error: syntax error before "int16_t" include/linux/types.h:112: warning: type defaults to `int' in declaration of `int16_t' include/linux/types.h:112: warning: data definition has no type or storage class include/linux/types.h:113: error: syntax error before "u_int32_t" include/linux/types.h:113: warning: type defaults to `int' in declaration of `u_int32_t' include/linux/types.h:113: warning: data definition has no type or storage class include/linux/types.h:114: error: syntax error before "int32_t" include/linux/types.h:114: warning: type defaults to `int' in declaration of `int32_t' include/linux/types.h:114: warning: data definition has no type or storage class include/linux/types.h:118: error: syntax error before "uint8_t" include/linux/types.h:118: warning: type defaults to `int' in declaration of `uint8_t' include/linux/types.h:118: warning: data definition has no type or storage class include/linux/types.h:119: error: syntax error before "uint16_t" include/linux/types.h:119: warning: type defaults to `int' in declaration of `uint16_t' include/linux/types.h:119: warning: data definition has no type or storage class include/linux/types.h:120: error: syntax error before "uint32_t" include/linux/types.h:120: warning: type defaults to `int' in declaration of `uint32_t' include/linux/types.h:120: warning: data definition has no type or storage class include/linux/types.h:123: error: syntax error before "uint64_t" include/linux/types.h:123: warning: type defaults to `int' in declaration of `uint64_t' include/linux/types.h:123: warning: data definition has no type or storage class include/linux/types.h:124: error: syntax error before "u_int64_t" include/linux/types.h:124: warning: type defaults to `int' in declaration of `u_int64_t' include/linux/types.h:124: warning: data definition has no type or storage class include/linux/types.h:125: error: syntax error before "int64_t" include/linux/types.h:125: warning: type defaults to `int' in declaration of `int64_t' include/linux/types.h:125: warning: data definition has no type or storage class include/linux/types.h:166: error: syntax error before "__le16" include/linux/types.h:166: warning: type defaults to `int' in declaration of `__le16' include/linux/types.h:166: warning: data definition has no type or storage class include/linux/types.h:167: error: syntax error before "__be16" include/linux/types.h:167: warning: type defaults to `int' in declaration of `__be16' include/linux/types.h:167: warning: data definition has no type or storage class include/linux/types.h:168: error: syntax error before "__le32" include/linux/types.h:168: warning: type defaults to `int' in declaration of `__le32' include/linux/types.h:168: warning: data definition has no type or storage class include/linux/types.h:169: error: syntax error before "__be32" include/linux/types.h:169: warning: type defaults to `int' in declaration of `__be32' include/linux/types.h:169: warning: data definition has no type or storage class include/linux/types.h:171: error: syntax error before "__le64" include/linux/types.h:171: warning: type defaults to `int' in declaration of `__le64' include/linux/types.h:171: warning: data definition has no type or storage class include/linux/types.h:172: error: syntax error before "__be64" include/linux/types.h:172: warning: type defaults to `int' in declaration of `__be64' include/linux/types.h:172: warning: data definition has no type or storage class include/linux/types.h:180: error: syntax error before "__kernel_daddr_t" include/linux/types.h:180: warning: no semicolon at end of struct or union include/linux/types.h:181: warning: type defaults to `int' in declaration of `f_tinode' include/linux/types.h:181: warning: data definition has no type or storage class include/linux/types.h:184: error: syntax error before '}' token In file included from /usr/src/xen3/drbd08/drbd/linux/drbd.h:30, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: include/linux/ioctl.h:4:23: asm/ioctl.h: No such file or directory In file included from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:1: /usr/src/xen3/drbd08/drbd/linux/drbd.h:79: warning: type defaults to `int' in declaration of `__u64' /usr/src/xen3/drbd08/drbd/linux/drbd.h:79: warning: no semicolon at end of struct or union /usr/src/xen3/drbd08/drbd/linux/drbd.h:79: error: syntax error before "disk_size" /usr/src/xen3/drbd08/drbd/linux/drbd.h:86: error: syntax error before '}' token /usr/src/xen3/drbd08/drbd/linux/drbd.h:167: error: field `config' has incomplete type /usr/src/xen3/drbd08/drbd/linux/drbd.h:288: error: syntax error before "__u64" /usr/src/xen3/drbd08/drbd/linux/drbd.h:288: warning: no semicolon at end of struct or union /usr/src/xen3/drbd08/drbd/linux/drbd.h:299: error: conflicting types for `meta_index' /usr/src/xen3/drbd08/drbd/linux/drbd.h:83: error: previous declaration of `meta_index' /usr/src/xen3/drbd08/drbd/linux/drbd.h:301: error: syntax error before '}' token /usr/src/xen3/drbd08/drbd/linux/drbd.h:331: error: syntax error before "__u64" /usr/src/xen3/drbd08/drbd/linux/drbd.h:331: warning: no semicolon at end of struct or union /usr/src/xen3/drbd08/drbd/linux/drbd.h:332: warning: type defaults to `int' in declaration of `current_size' /usr/src/xen3/drbd08/drbd/linux/drbd.h:332: warning: data definition has no type or storage class /usr/src/xen3/drbd08/drbd/linux/drbd.h:335: error: syntax error before '}' token In file included from include/linux/kernel.h:11, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:2: include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory In file included from include/linux/kernel.h:15, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:2: include/linux/bitops.h:3:23: asm/types.h: No such file or directory include/linux/bitops.h:77:24: asm/bitops.h: No such file or directory In file included from include/linux/kernel.h:15, from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:2: include/linux/bitops.h:80: error: syntax error before "x" include/linux/bitops.h:81: warning: function declaration isn't a prototype include/linux/bitops.h: In function `generic_fls64': include/linux/bitops.h:82: error: `__u32' undeclared (first use in this function) include/linux/bitops.h:82: error: (Each undeclared identifier is reported only once include/linux/bitops.h:82: error: for each function it appears in.) include/linux/bitops.h:82: error: syntax error before "h" include/linux/bitops.h:83: error: `h' undeclared (first use in this function) include/linux/bitops.h:84: warning: implicit declaration of function `fls' include/linux/bitops.h:85: error: `x' undeclared (first use in this function) include/linux/bitops.h: At top level: include/linux/bitops.h:135: error: syntax error before "w" include/linux/bitops.h:136: warning: function declaration isn't a prototype include/linux/bitops.h:137:5: warning: "BITS_PER_LONG" is not defined include/linux/bitops.h: In function `generic_hweight64': include/linux/bitops.h:138: error: `w' undeclared (first use in this function) include/linux/bitops.h: At top level: include/linux/bitops.h:162: error: syntax error before "rol32" include/linux/bitops.h:162: error: syntax error before "word" include/linux/bitops.h:163: warning: return type defaults to `int' include/linux/bitops.h:163: warning: function declaration isn't a prototype include/linux/bitops.h: In function `rol32': include/linux/bitops.h:164: error: `word' undeclared (first use in this function) include/linux/bitops.h:164: error: `shift' undeclared (first use in this function) include/linux/bitops.h: At top level: include/linux/bitops.h:173: error: syntax error before "ror32" include/linux/bitops.h:173: error: syntax error before "word" include/linux/bitops.h:174: warning: return type defaults to `int' include/linux/bitops.h:174: warning: function declaration isn't a prototype include/linux/bitops.h: In function `ror32': include/linux/bitops.h:175: error: `word' undeclared (first use in this function) include/linux/bitops.h:175: error: `shift' undeclared (first use in this function) In file included from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:2: include/linux/kernel.h:16:27: asm/byteorder.h: No such file or directory include/linux/kernel.h:17:21: asm/bug.h: No such file or directory In file included from /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:2: include/linux/kernel.h: At top level: 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:112: error: syntax error before "size_t" include/linux/kernel.h:113: warning: function declaration isn't a prototype include/linux/kernel.h:243:2: #error "Please fix asm/byteorder.h" /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_disk_config_eq_32': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:10: error: invalid application of `sizeof' to an incomplete type /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:10: error: duplicate case value /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:10: error: previously used here /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_disk_config_modulo_8_eq_0': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:10: error: invalid application of `sizeof' to an incomplete type /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_ioctl_disk_config_eq_40': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:13: error: duplicate case value /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:13: error: previously used here /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_ioctl_get_config_eq_576': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:17: error: invalid application of `sizeof' to an incomplete type /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:17: error: duplicate case value /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:17: error: previously used here /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_ioctl_get_config_modulo_8_eq_0': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:17: error: invalid application of `sizeof' to an incomplete type /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_ioctl_get_uuids_eq_48': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:18: error: invalid application of `sizeof' to an incomplete type /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:18: error: duplicate case value /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:18: error: previously used here /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c: In function `__assert_sizeof_ioctl_get_uuids_modulo_8_eq_0': /usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.c:18: error: invalid application of `sizeof' to an incomplete type make[3]: *** [/usr/src/xen3/drbd08/drbd/drbd_sizeof_sanity_check.o] Error 1 make[2]: *** [_module_/usr/src/xen3/drbd08/drbd] Error 2 make[1]: *** [kbuild] Error 2 make: *** [all] Error 2