[Solved] Libre CrossCompiling with lpthreads

  • Hi,

    I've tried to build the most recent code for Libre and it failed on the Kodi package with the following:


    Code
    /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc  -march=armv7-a -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon-fp16 -fomit-frame-pointer -Wall -pipe -Os   -DCHECK_FUNCTION_EXISTS=pthread_create   -march=armv7-a -mtune=cortex-a9 -Wl,--as-needed   CMakeFiles/cmTC_8336c.dir/CheckFunctionExists.c.o  -o cmTC_8336c -rdynamic -lpthreads
    /mnt/share/Projects/LibreELEC.tv/build.LibreELEC-WeTek_Core.arm-8.0-devel/toolchain/bin/../lib/gcc/armv7a-libreelec-linux-gnueabi/6.2.0/../../../../armv7a-libreelec-linux-gnueabi/bin/ld: cannot find -lpthreads

    Please suggest if you need any more info.

    Edited once, last by Yorker (January 21, 2017 at 11:45 AM).