20 Nov 2019 - TVDB Scraper v3.2.0 is now available which reinstates scraping. TVDB are still in the process of fixing a number of bugs so there may still be further breakages. See this post. 2901570 (post)

Kodi 18 compile assistance
#1
Hello,

Can someone please assist with below error:
Code:
configure: WARNING: "No iconv support in toolchain. Will build libiconv."
configure: error: "home/iwbnis/android-tools/android-ndk-r18b is not an NDK directory"

Code:
[email protected]:~/android-tools/Kodi_18_Project/kodi/tools/depends$ ./configure --with-tarballs=/home/iwbnis/android-tools/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=/home/iwbnis/android-tools/android-sdk-linux --with-ndk-path=home/iwbnis/android-tools/android-ndk-r18b --with-toolchain=/home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21 --prefix=/home/iwbnis/android-tools/xbmc-depends
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-clang++... arm-linux-androideabi-clang++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-androideabi-clang++ accepts -g... yes
checking whether arm-linux-androideabi-clang++ supports C++11 features by default... yes
checking for ccache... no
checking for curl... /usr/bin/curl
checking for tar... /bin/tar
checking for arm-linux-androideabi-ranlib... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-ranlib
checking for arm-linux-androideabi-ld... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-ld
checking for arm-linux-androideabi-ar... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-ar
checking for arm-linux-androideabi-readelf... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-readelf
checking for arm-linux-androideabi-strip... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-strip
checking for arm-linux-androideabi-as... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-as
checking for arm-linux-androideabi-nm... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-nm
checking for arm-linux-androideabi-objdump... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-objdump
checking for arm-linux-androideabi-clang... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang
checking for arm-linux-androideabi-clang++... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang++
checking how to run the C preprocessor... /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang -E
checking for ranlib... /usr/bin/ranlib
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for readelf... /usr/bin/readelf
checking for strip... /usr/bin/strip
checking for as... /usr/bin/as
checking for nm... /usr/bin/nm
checking for objdump... /usr/bin/objdump
checking for gcc... /usr/bin/gcc
checking for g++... /usr/bin/g++
checking for library containing iconv_open... no
configure: WARNING: "No iconv support in toolchain. Will build libiconv."
configure: error: "home/iwbnis/android-tools/android-ndk-r18b is not an NDK directory"


Reply
#2
you can ignore the iconv warning, it will be built automatically.
as for the ndk: you are missing a "/" in --with-ndk-path=/home/iwbnis/android-tools/android-ndk-r18b
Reply
#3
(2019-01-09, 11:00)wsnipex Wrote: you can ignore the iconv warning, it will be built automatically.
as for the ndk: you are missing a "/" in --with-ndk-path=/home/iwbnis/android-tools/android-ndk-r18b
 Thanks alot! I can't believe I missed that mistake.
Reply
#4
Hello, I have a new issue while building kodi
I'm getting Makefile:16: recipe for target 'all' failed.
Also, there are a bunch of packages that could not be found, how can I include them?

Thank you

Code:
[email protected]:~/android-tools/Kodi_18_Project/kodi$ make -C tools/depends/target/cmakebuildsys
make: Entering directory '/home/iwbnis/android-tools/Kodi_18_Project/kodi/tools/depends/target/cmakebuildsys'
mkdir -p /home/iwbnis/android-tools/Kodi_18_Project/kodi/build
cd /home/iwbnis/android-tools/Kodi_18_Project/kodi/build; /home/iwbnis/android-tools/xbmc-depends/x86_64-linux-gnu-native/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/home/iwbnis/android-tools/xbmc-depends/arm-linux-androideabi-21-debug/share/Toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/iwbnis/android-tools/xbmc-depends/arm-linux-androideabi-21-debug -DCMAKE_BUILD_TYPE=Debug -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_INTERNAL_FFMPEG=OFF  /home/iwbnis/android-tools/Kodi_18_Project/kodi
-- The CXX compiler identification is Clang 7.0.2
-- The C compiler identification is Clang 7.0.2
-- The ASM compiler identification is Clang
-- Found assembler: /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang
-- Check for working CXX compiler: /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang++
-- Check for working CXX compiler: /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang
-- Check for working C compiler: /home/iwbnis/android-tools/arm-linux-androideabi-vanilla/android-21/bin/arm-linux-androideabi-clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Source directory: /home/iwbnis/android-tools/Kodi_18_Project/kodi
-- Build directory: /home/iwbnis/android-tools/Kodi_18_Project/kodi/build
-- Generator: Single-configuration: Debug (Unix Makefiles)
-- CMake Version: 3.12.2
-- System type: Android
-- Core system type: android
-- Platform:
-- CPU: armeabi-v7a, ARCH: arm
-- Cross-Compiling: TRUE
-- Execute build artefacts on host: FALSE
-- Depends based build: 1
-- Could not find hardware support for SSE (missing: _SSE_TRUE _SSE_OK)
-- Could not find hardware support for SSE2 (missing: _SSE2_TRUE _SSE2_OK)
-- Could not find hardware support for SSE3 (missing: _SSE3_TRUE _SSE3_OK)
-- Could not find hardware support for SSSE3 (missing: _SSSE3_TRUE _SSSE3_OK)
-- Could not find hardware support for SSE4.1 (missing: _SSE41_TRUE _SSE41_OK)
-- Could not find hardware support for SSE4.2 (missing: _SSE42_TRUE _SSE42_OK)
-- Could not find hardware support for AVX (missing: _AVX_TRUE _AVX_OK)
-- Could not find hardware support for AVX2 (missing: _AVX2_TRUE _AVX2_OK)
-- NEON optimization enabled
-- Found Git: /usr/bin/git (found version "2.17.1")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find Alsa (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
-- Could NOT find Avahi (missing: AVAHI_CLIENT_LIBRARY AVAHI_COMMON_LIBRARY AVAHI_CLIENT_INCLUDE_DIR AVAHI_COMMON_INCLUDE_DIR)
-- Could NOT find Bluetooth (missing: BLUETOOTH_LIBRARY BLUETOOTH_INCLUDE_DIR)
-- Could NOT find Bluray (missing: BLURAY_LIBRARY BLURAY_INCLUDE_DIR BLURAY_VERSION) (Required is at least version "0.9.3")
-- Could NOT find CAP (missing: CAP_LIBRARY)
-- Could NOT find CCache (missing: CCACHE_PROGRAM)
-- Could NOT find CEC (missing: CEC_LIBRARY CEC_INCLUDE_DIR) (Required is at least version "4.0.0")
-- Could NOT find DBus (missing: DBUS_LIBRARY DBUS_INCLUDE_DIR DBUS_ARCH_INCLUDE_DIR)
-- Could NOT find LCMS2 (missing: LCMS2_LIBRARY LCMS2_INCLUDE_DIR)
-- Could NOT find LircClient (missing: LIRCCLIENT_LIBRARY LIRCCLIENT_INCLUDE_DIR)
-- Could NOT find MicroHttpd (missing: MICROHTTPD_LIBRARY MICROHTTPD_INCLUDE_DIR)
-- Could NOT find NFS (missing: NFS_LIBRARY NFS_INCLUDE_DIR)
-- Could NOT find PulseAudio (missing: PULSEAUDIO_LIBRARY PULSEAUDIO_MAINLOOP_LIBRARY PULSEAUDIO_SIMPLE_LIBRARY PULSEAUDIO_INCLUDE_DIR) (Required is at least version "2.0.0")
CMake Error at /home/iwbnis/android-tools/xbmc-depends/x86_64-linux-gnu-native/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Python (missing: PYTHON_INCLUDE_DIR PYTHON_LIBRARIES)

Call Stack (most recent call first):
  /home/iwbnis/android-tools/xbmc-depends/x86_64-linux-gnu-native/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindPython.cmake:33 (find_package_handle_standard_args)
  cmake/scripts/common/Macros.cmake:366 (find_package)
  cmake/scripts/common/Macros.cmake:434 (find_package_with_ver)
  CMakeLists.txt:177 (core_optional_dep)


-- Configuring incomplete, errors occurred!
See also "/home/iwbnis/android-tools/Kodi_18_Project/kodi/build/CMakeFiles/CMakeOutput.log".
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 1

make: Leaving directory '/home/iwbnis/android-tools/Kodi_18_Project/kodi/tools/depends/target/cmakebuildsys'

Reply
#5
Code:
CMake Error at /home/iwbnis/android-tools/xbmc-depends/x86_64-linux-gnu-native/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

Why is it looking at x86 folder as well as arm-linux folder. Can this error be ignored?
Reply
#6
it doesn't find ANY of the depends, so building depends must have failed...
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Kodi 18 compile assistance00