Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2fsdroid doesn't build on ppc64le #127

Open
eclipseo opened this issue Nov 5, 2022 · 0 comments
Open

e2fsdroid doesn't build on ppc64le #127

eclipseo opened this issue Nov 5, 2022 · 0 comments

Comments

@eclipseo
Copy link

eclipseo commented Nov 5, 2022

When building on ppc64le, I've got the following error:

In file included from /usr/include/asm/types.h:26,
                 from /usr/include/linux/types.h:5,
                 from /usr/include/linux/stat.h:5,
                 from /usr/include/bits/statx.h:31,
                 from /usr/include/sys/stat.h:465,
                 from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/misc/create_inode.h:5,
                 from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/contrib/android/e2fsdroid.c:14:
/usr/include/asm-generic/int-l64.h:29:25: error: conflicting types for '__s64'; have 'long int'
   29 | typedef __signed__ long __s64;
      |                         ^~~~~
In file included from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/lib/ext2fs/ext2fs.h:71,
                 from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/contrib/android/perms.h:4,
                 from /builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/contrib/android/e2fsdroid.c:10:
/builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/lib/ext2fs/ext2_types.h:17:30: note: previous declaration of '__s64' with type '__s64' {aka 'long long int'}
   17 | typedef __signed__ long long __s64;
      |                              ^~~~~
/usr/include/asm-generic/int-l64.h:30:23: error: conflicting types for '__u64'; have 'long unsigned int'
   30 | typedef unsigned long __u64;
      |                       ^~~~~
/builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/lib/ext2fs/ext2_types.h:16:28: note: previous declaration of '__u64' with type '__u64' {aka 'long long unsigned int'}
   16 | typedef unsigned long long __u64;
      |                            ^~~~~
/usr/include/linux/types.h:31:25: error: conflicting types for '__le64'; have '__u64' {aka 'long unsigned int'}
   31 | typedef __u64 __bitwise __le64;
      |                         ^~~~~~
/builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/lib/ext2fs/ext2_types.h:44:33: note: previous declaration of '__le64' with type '__le64' {aka 'long long unsigned int'}
   44 | typedef __u64   __bitwise       __le64;
      |                                 ^~~~~~
/usr/include/linux/types.h:32:25: error: conflicting types for '__be64'; have '__u64' {aka 'long unsigned int'}
   32 | typedef __u64 __bitwise __be64;
      |                         ^~~~~~
/builddir/build/BUILD/android-tools-33.0.3p1/vendor/e2fsprogs/lib/ext2fs/ext2_types.h:47:33: note: previous declaration of '__be64' with type '__be64' {aka 'long long unsigned int'}
   47 | typedef __u64   __bitwise       __be64;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant