Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Known Issues

Taner Sener edited this page Jun 14, 2019 · 13 revisions
  • On very few occasions, top level build scripts fail to build one of the external libraries randomly. When the details are analyzed it is seen that compilation fails due to not-existing cpu specific instructions. When the top level script is run again the error disappears. I guess somehow cleaning the previous architecture build fails and this breaks the new compilation for that library. It wasn't possible to find the exact cause of this issue since it happens rarely and disappears on the next run.

  • Some libraries, like xvidcore below, may fail when performing an I/O operation during compile. It is a race condition and occurs because build scripts do not support parallel execution well. Rebuild that library and error will be gone.

  A: utils/x86_asm/mem_transfer_mmx.asm
  A: utils/x86_asm/mem_transfer_3dne.asm
  A: utils/x86_asm/interlacing_mmx.asm
install: mkdir =build/utils/x86_asm: File exists
make: *** [utils/x86_asm/mem_transfer_3dne.o] Error 71
make: *** Waiting for unfinished jobs....
  • When building kvazaar library for the first time on a new host, the following error may occur. Try again or use --reconf-kvazaar flag to fix it.
  GEN      libkvazaar.la
  GEN      kvazaar
./.libs/libkvazaar.a(libkvazaar_la-nal-generic.o):nal-generic.c:function array_md5_generic: error: undefined reference to 'kvz_md5_init'
./.libs/libkvazaar.a(libkvazaar_la-nal-generic.o):nal-generic.c:function array_md5_generic: error: undefined reference to 'kvz_md5_update'
./.libs/libkvazaar.a(libkvazaar_la-nal-generic.o):nal-generic.c:function array_md5_generic: error: undefined reference to 'kvz_md5_final'
clang60: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:905: recipe for target 'kvazaar' failed
  • fontconfig library fails on some hosts with the following link errors. Apply --rebuild-libuuid flag and rebuild libuuid library to fix it.
  CCLD     fc-cache
../src/.libs/libfontconfig.a(fccache.o):fccache.c:function FcDirCacheCreateUUID: error: undefined reference to 'uuid_unparse'
../src/.libs/libfontconfig.a(fccache.o):fccache.c:function FcDirCacheBasenameUUID: error: undefined reference to 'uuid_unparse'
../src/.libs/libfontconfig.a(fccache.o):fccache.c:function FcDirCacheLoad: error: undefined reference to 'uuid_parse'
../src/.libs/libfontconfig.a(fchash.o):fchash.c:function FcHashUuidCopy: error: undefined reference to 'uuid_copy'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_time: error: undefined reference to 'random_get_bytes'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_time: error: undefined reference to 'random_get_bytes'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_time: error: undefined reference to 'uuid_pack'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_random: error: undefined reference to 'random_get_bytes'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_random: error: undefined reference to 'uuid_unpack'
/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/libuuid/lib/libuuid.a(libuuid_la-gen_uuid.o):gen_uuid.c:function __uuid_generate_random: error: undefined reference to 'uuid_pack'
clang60: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:513: recipe for target 'fc-cache' failed
make[2]: *** [fc-cache] Error 1
  • Media player can not play theora files and show error. Contrarily, hap files are played but no error is shown.

  • libaom support is experimental and libaom is crashing frequently in Android test-app.

  • openh264 is built without -DHAVE_NEON flag on arm-v7a-neon architecture. -DHAVE_NEON flag causes undefined symbol errors for WelsCopy8x8_neon.

iOS / tvOS

  • autoreconf receives the following error if gettext path is not correctly set by Homebrew.
Can't exec "autopoint": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext

You can fix it by running either brew link gettext --force or echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile.

  • AVPlayer in test application can not play hap, kvazaar and x265 files but does not print error.
Clone this wiki locally