Menu

#4 e2undel will not compile with latest e2fsprogs (1.33)

open
nobody
None
5
2012-09-17
2003-05-14
No

This issue has been brought up to me as maintainer for
the Debian package for e2undel in bug #191208. It seems
e2undel will not compile with the latest e2fsprogs
version (1.33 at least) since the header definiton of
ext2_types.h has changed.

The following patch should fix the issue, from my
understanding. Please consider it for inclusion in the
release:

--- e2undel-0.8.orig/e2undel.h
+++ e2undel-0.8/e2undel.h
@@ -27,9 +27,14 @@
ext2_ino_t is unsigned int in ext2_types.h, but
ino_t is unsigned long;
we print each ext2_ino_t as long with a (long) type
casting. Ugly hack. */

+/ (jfs) this is properly not correct either:
e2fsprogs 1.33 seems to
+ * changed the header definition in ext2_types.h
/
+
+#ifndef _EXT2FS_EXT2FS_H
#ifndef _EXT2_TYPES_H
typedef ino_t ext2_ino_t;
#endif
+#endif

struct e2undel_log

Discussion


Log in to post a comment.

MongoDB Logo MongoDB