Article 595D2 [SOLVED] Android-tools - compilation error: "Need 64-bit lseek"

[SOLVED] Android-tools - compilation error: "Need 64-bit lseek"

by
burning
from LinuxQuestions.org on (#595D2)
So I want to install android-tools so I can unlock my phone's bootloader and root my phone, but whenever I try building from sbopkg, I get the following error:
Code:[89/272] clang++ -std=gnu++2a -Icore/fs_mgr/liblp/include -Icore/base/include -Iextras/ext4_utils/include -Icore/libsparse/include -c core/fs_mgr/liblp/utility.cpp -o core/fs_mgr/liblp/utility.cpp.o
FAILED: core/fs_mgr/liblp/utility.cpp.o
clang++ -std=gnu++2a -Icore/fs_mgr/liblp/include -Icore/base/include -Iextras/ext4_utils/include -Icore/libsparse/include -c core/fs_mgr/liblp/utility.cpp -o core/fs_mgr/liblp/utility.cpp.o
core/fs_mgr/liblp/utility.cpp:69:5: error: static_assert failed due to requirement 'sizeof(long) == sizeof(long long)' "Need 64-bit lseek"
static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[90/272] clang++ -std=gnu++2a -Icore/libsparse/include -Icore/base/include -c core/libsparse/output_file.cpp -o core/libsparse/output_file.cpp.o
[91/272] clang++ -std=gnu++2a -Icore/fs_mgr/liblp/include -Icore/base/include -Iextras/ext4_utils/include -Icore/libsparse/include -c core/fs_mgr/liblp/writer.cpp -o core/fs_mgr/liblp/writer.cpp.o
ninja: build stopped: subcommand failed.I'm running Slackware -current on a 32-bit machine. I have all the dependencies for android-tools already installed as far as I can tell, yet it keeps saying it needs "64-bit lseek". Does android-tools only work on 64-bit computers?latest?d=yIl2AUoC8zA latest?i=q9Et-3bvF2w:oYb9XmILi5o:F7zBnMy latest?i=q9Et-3bvF2w:oYb9XmILi5o:V_sGLiP latest?d=qj6IDK7rITs latest?i=q9Et-3bvF2w:oYb9XmILi5o:gIN9vFwq9Et-3bvF2w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments