This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 882
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
[Android/IOS] Building with debug option fails #74
Copy link
Copy link
Closed
Labels
Description
Android arm64-v8a
builds fail during linking with this error:
LD libavutil/libavutil.so.56
libavutil/../compat/strtod.o: file not recognized: File format not recognized
clang70: error: linker command failed with exit code 1 (use -v to see invocation)
ffbuild/library.mak:102: recipe for target 'libavutil/libavutil.so.56' failed
make: *** [libavutil/libavutil.so.56] Error 1
make: *** Waiting for unfinished jobs....
other Android architectures fail again during linking with this error:
LD libavutil/libavutil.so.56
/files/android-sdk/android-ndk-r18b/toolchains/mobile-ffmpeg-api-24-arm/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: libavutil/../compat/strtod.o:1:3: invalid character
/files/android-sdk/android-ndk-r18b/toolchains/mobile-ffmpeg-api-24-arm/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: libavutil/../compat/strtod.o:1:3: syntax error, unexpected $end
/files/android-sdk/android-ndk-r18b/toolchains/mobile-ffmpeg-api-24-arm/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: libavutil/../compat/strtod.o: not an object or archive
IOS architectures fail with this compilation error.
CC libavcodec/dvdata.o
libavcodec/dvbsubdec.c:1430:9: error: 'system' is unavailable: not available on iOS
if (system(command) != 0) {
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdlib.h:190:6: note: 'system' has been explicitly marked unavailable here
int system(const char *) __DARWIN_ALIAS_C(system);
^
libavcodec/dvbsubdec.c:1436:9: error: 'system' is unavailable: not available on iOS
if (system(command) != 0) {
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/stdlib.h:190:6: note: 'system' has been explicitly marked unavailable here
int system(const char *) __DARWIN_ALIAS_C(system);
^
2 errors generated.
make: *** [libavcodec/dvbsubdec.o] Error 1
make: *** Waiting for unfinished jobs....