You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
I faced with the problem, lib can not download file that have size bigger than 2GB on armv7a platform. For example, if file has size 2.3GB, lib will download exactly 2GB with no errors - simply EOF (300MB at the end of file is missing). That's why I'm trying to build library with __USE_FILE_OFFSET_BITS64 flag to workaround this problem on armv7, but no matter what flags I add (or not add) to configure.sh: there is alwayas an error on configure step - Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8
What I did:
Downloded Samba 4.5.1
Applied sambapatch.diff from v1.1 (tag commit)
Uncommented lines for armv7a, commented lines for armv8a
Ran configure.sh
Error occurred (Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8)
NDK version used: 16b
Library version: 1.1
P.S. On 64-bit system there is no such error.
P.S.2 If i try to copy toolchain with --unified-headers option, it throws an error that this is unknown option
The text was updated successfully, but these errors were encountered:
Ok, found the problem - after adding -D__ANDROID_API__ everything configurates, but now I have a compile step error: Build failed: -> missing file: '/mnt/d/Desktop/samba-4.5.1/bin/default/source4/heimdal_build/compile_et' -> missing file: '/mnt/d/Desktop/samba-4.5.1/bin/default/source4/heimdal_build/asn1_compile'
I faced with the problem, lib can not download file that have size bigger than 2GB on armv7a platform. For example, if file has size 2.3GB, lib will download exactly 2GB with no errors - simply EOF (300MB at the end of file is missing). That's why I'm trying to build library with __USE_FILE_OFFSET_BITS64 flag to workaround this problem on armv7, but no matter what flags I add (or not add) to configure.sh: there is alwayas an error on configure step -
Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8
What I did:
Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8
)NDK version used: 16b
Library version: 1.1
P.S. On 64-bit system there is no such error.
P.S.2 If i try to copy toolchain with
--unified-headers
option, it throws an error that this is unknown optionThe text was updated successfully, but these errors were encountered: