hi.
i tried to compile e2fstools-1.18 and parted-1.0.15 and the both no longer
compile after kernel 2.3.50. After contacting the parted developer, he said i
should report it on this mailinglist.
something goes wrong when including <fs.h> i guess, but i'm sure it's a
kernel-header problem. output follows. last kernel i tried was 2.4.0test1-ac4
martijn.
--make[3]: Entering directory `/usr/src/parted-1.0.15/libparted' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall -Wno-unused -Wno-switch -c device.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -c device.c -o device.o In file included from /usr/include/linux/types.h:6, from /usr/include/linux/fs.h:13, from device.c:43: /usr/include/asm/types.h:11: warning: redefinition of `int8_t' /usr/include/sys/types.h:169: warning: `int8_t' previously declared here /usr/include/asm/types.h:12: warning: redefinition of `u_int8_t' /usr/include/sys/types.h:175: warning: `u_int8_t' previously declared here /usr/include/asm/types.h:14: warning: redefinition of `int16_t' /usr/include/sys/types.h:170: warning: `int16_t' previously declared here /usr/include/asm/types.h:15: warning: redefinition of `u_int16_t' /usr/include/sys/types.h:176: warning: `u_int16_t' previously declared here /usr/include/asm/types.h:17: warning: redefinition of `int32_t' /usr/include/sys/types.h:171: warning: `int32_t' previously declared here /usr/include/asm/types.h:18: warning: redefinition of `u_int32_t' /usr/include/sys/types.h:177: warning: `u_int32_t' previously declared here In file included from /usr/include/linux/fs.h:23, from device.c:43: /usr/include/linux/string.h:12: parse error before `__extension__' /usr/include/linux/string.h:12: parse error before `&&' /usr/include/linux/string.h:14: parse error before `__extension__' /usr/include/linux/string.h:14: parse error before `(' /usr/include/linux/string.h:15: parse error before `__extension__' /usr/include/linux/string.h:15: parse error before `&&' In file included from /usr/include/linux/fs.h:23, from device.c:43: /usr/include/linux/string.h:24: parse error before `__extension__' /usr/include/linux/string.h:27: parse error before `__extension__' /usr/include/linux/string.h:33: parse error before `__extension__' /usr/include/linux/string.h:36: parse error before `__extension__' /usr/include/linux/string.h:36: parse error before `&&' /usr/include/linux/string.h:36: warning: data definition has no type or storage class /usr/include/linux/string.h:36: parse error before `}' /usr/include/linux/string.h:36: conflicting declarations of `__result' /usr/include/linux/string.h:36: `__result' previously declared here /usr/include/linux/string.h:36: parse error before `)' /usr/include/linux/string.h:36: `__s2' undeclared here (not in a function) /usr/include/linux/string.h:36: parse error before `;' /usr/include/linux/string.h:36: conflicting declarations of `__result' /usr/include/linux/string.h:36: `__result' previously defined here /usr/include/linux/string.h:36: warning: data definition has no type or storage class /usr/include/linux/string.h:36: parse error before `}' /usr/include/linux/string.h:36: warning: data definition has no type or storage class /usr/include/linux/string.h:36: parse error before `}' /usr/include/linux/string.h:36: redefinition of `__result' /usr/include/linux/string.h:36: `__result' previously defined here /usr/include/linux/string.h:36: `__s1' undeclared here (not in a function) /usr/include/linux/string.h:36: parse error before `)' /usr/include/linux/string.h:36: parse error before `;' /usr/include/linux/string.h:36: initializer element is not constant /usr/include/linux/string.h:36: conflicting declarations of `__result' /usr/include/linux/string.h:36: `__result' previously defined here /usr/include/linux/string.h:36: warning: data definition has no type or storage class /usr/include/linux/string.h:36: parse error before `}' /usr/include/linux/string.h:39: parse error before `__extension__' /usr/include/linux/string.h:39: parse error before `&&' /usr/include/linux/string.h:39: warning: data definition has no type or storage class /usr/include/linux/string.h:39: parse error before `}' /usr/include/linux/string.h:39: redefinition of `__result' /usr/include/linux/string.h:36: `__result' previously defined here /usr/include/linux/string.h:39: parse error before `)' /usr/include/linux/string.h:39: `__s2' undeclared here (not in a function) /usr/include/linux/string.h:39: parse error before `;' /usr/include/linux/string.h:39: conflicting declarations of `__result' /usr/include/linux/string.h:39: `__result' previously defined here /usr/include/linux/string.h:39: warning: data definition has no type or storage class /usr/include/linux/string.h:39: parse error before `}' /usr/include/linux/string.h:39: warning: data definition has no type or storage class /usr/include/linux/string.h:39: parse error before `}' /usr/include/linux/string.h:39: redefinition of `__result' /usr/include/linux/string.h:39: `__result' previously defined here /usr/include/linux/string.h:39: `__s1' undeclared here (not in a function) /usr/include/linux/string.h:39: parse error before `)' /usr/include/linux/string.h:39: parse error before `;' /usr/include/linux/string.h:39: initializer element is not constant /usr/include/linux/string.h:39: conflicting declarations of `__result' /usr/include/linux/string.h:39: `__result' previously defined here /usr/include/linux/string.h:39: warning: data definition has no type or storage class /usr/include/linux/string.h:39: parse error before `}' /usr/include/linux/string.h:45: parse error before `__extension__' /usr/include/linux/string.h:51: parse error before `__extension__' /usr/include/linux/string.h:61: parse error before `__extension__' /usr/include/linux/string.h:61: parse error before `__uint8_t' /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `}' /usr/include/linux/string.h:61: warning: initialization makes pointer from integer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: parse error before `;' /usr/include/linux/string.h:61: conflicting types for `__u' /usr/include/linux/string.h:61: previous declaration of `__u' /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `->' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: redefinition of `__u' /usr/include/linux/string.h:61: `__u' previously defined here /usr/include/linux/string.h:61: warning: initialization makes integer from pointer without a cast /usr/include/linux/string.h:61: initializer element is not constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `case' /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `}' /usr/include/linux/string.h:61: parse error before character constant /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: warning: data definition has no type or storage class /usr/include/linux/string.h:61: parse error before `}' device.c: In function `device_probe_type': device.c:205: warning: control reaches end of non-void function device.c: In function `device_get_sector_size': device.c:235: warning: control reaches end of non-void function make[3]: *** [device.lo] Error 1 make[3]: Leaving directory `/usr/src/parted-1.0.15/libparted' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/parted-1.0.15/libparted' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/parted-1.0.15' make: *** [all-recursive-am] Error 2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:27 EST