tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

LTS build failed on x86-64 architecture #613

Closed TestereNecmi closed 3 years ago

TestereNecmi commented 3 years ago

Description I'm getting error on x86-64 architecture while building aar. Other arhitecures are working.

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export ANDROID_NDK_ROOT=/home/orhan/Android/Sdk/ndk/21.3.6528147
export ANDROID_HOME=/home/orhan/Android/Sdk

./android.sh -l --disable-arm-v7a --disable-arm-v7a-neon --disable-arm64-v8a --disable-x86
(It gives only x86_64 arch)

Screenshots tool tool

Logs

.
.
.
DEBUG: Downloading library source: cpu-features

DEBUG: Checking if cpu-features is already downloaded at /home/orhan/Desktop/mobile-ffmpeg/src/cpu-features

INFO: cpu-features library already downloaded

INFO: cpu-features already downloaded. Source folder found at /home/orhan/Desktop/mobile-ffmpeg/src/cpu-features

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ANDROID_PLATFORM

-- Build files have been written to: /home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64
make: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[1]: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[2]: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[2]: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
[ 33%] Built target utils
make[2]: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[2]: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
[ 55%] Built target cpu_features
make[2]: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[2]: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
[ 77%] Built target list_cpu_features
make[2]: Entering directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
make[2]: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
[100%] Built target unix_based_hardware_detection
make[1]: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
Install the project...
-- Install configuration: "Release"
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/lib/libcpu_features.a
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/include/cpu_features/cpu_features_macros.h
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/include/cpu_features/cpu_features_cache_info.h
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/include/cpu_features/cpuinfo_x86.h
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/bin/list_cpu_features
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/lib/cmake/CpuFeatures/CpuFeaturesTargets.cmake
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/lib/cmake/CpuFeatures/CpuFeaturesTargets-release.cmake
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/lib/cmake/CpuFeatures/CpuFeaturesConfig.cmake
-- Installing: /home/orhan/Desktop/mobile-ffmpeg/prebuilt/android-x86_64/cpu-features/lib/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake
make: Leaving directory '/home/orhan/Desktop/mobile-ffmpeg/android/build/cpu-features/x86_64'
INFO: Enabling library cpu-features

DEBUG: Downloading library source: ffmpeg

DEBUG: Checking if ffmpeg is already downloaded at /home/orhan/Desktop/mobile-ffmpeg/src/ffmpeg

INFO: ffmpeg library already downloaded

INFO: ffmpeg already downloaded. Source folder found at /home/orhan/Desktop/mobile-ffmpeg/src/ffmpeg

INFO: Cleaning workspace for ffmpeg
x86_64-linux-android24-clang is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

Environment

tanersener commented 3 years ago

See https://github.com/tanersener/mobile-ffmpeg/wiki/Logs

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.