2018-06-07, 02:10
I previously built Kodi for LinHES 8.5.1 (based on x86_64 Arch Linux). However, there were some recent updates to certain libraries and I am trying to compile Kodi from the same PKGBUILD file as before. The fmt library was not included with LinHES, so I built that from source as well. When I am trying to build Kodi, I get approximately 20 errors related to linking to fmt and suggesting compiling with -FPIC. For example:
I have tried compiling both fmt and Kodi with -fPIC, but it has not made any impact. I've also tried adding a PKGBUILD cmake flag of:
but then I get the following error:
I'm not quite sure what steps to take next and I was hoping to get some guidance here. Please let me know what additional information I could provide to get the appropriate feedback. Thanks!
Code:
/usr/bin/ld.gold: error: /usr/local/lib/libfmt.a(format.cc.o): requires unsupported dynamic reloc 11; recompile with -fPIC
I have tried compiling both fmt and Kodi with -fPIC, but it has not made any impact. I've also tried adding a PKGBUILD cmake flag of:
Code:
-DENABLE_INTERNAL_FMT=on
Code:
make[2]: ***No rule to make target 'build/lib/libfmt.a', needed by 'kodi-x11'. Stop.
I'm not quite sure what steps to take next and I was hoping to get some guidance here. Please let me know what additional information I could provide to get the appropriate feedback. Thanks!