How to compile

  • Hi,

    I tried to compile on my own LE from kszaq, but it failed.
    Here is how I proceeded : (on Ubuntu 16.10 64bits)

    Code
    sudo apt update && sudo apt upgrade
    git clone https://github.com/kszaq/LibreELEC.tv/
    cd LibreELEC.tv
    git checkout 7.0.3.012h
    PROJECT=S905 ARCH=arm make -j4 amlpkg

    But it failed after a while with this results :

    Have you ever faced this issue ?

    I tried to compile LibreELEC from official repo, for RPi2, without problem... So I guess it is related to the kszaq build...
    I also noticed that official repo use gcc-6.2, instead gcc-5.3 used here. Do you know how to update it to use 6.2 ?

    Thank

  • Man, I'm trying to compile in Ubuntu. I even went as far as installing CentOS on a separate partition to compile, thinking I'm missing a few things in Ubuntu that CentOS has. Still ain't working.

    I've tried gcc-5, gcc-6, gcc-7. None of them work when trying to compile for S805 m201d arm.

    Right now, I get :

    Code
    make[1]: Entering directory '/home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/libtool-2.4.6/.x86_64-linux-gnu'
    cd /home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/libtool-2.4.6 && /bin/sh /home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/libtool-2.4.6/build-aux/missing automake-1.15 --gnu Makefile
    Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/toolchain/bin/automake-1.15 line 3936.
    make[1]: *** [Makefile:1002: /home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/libtool-2.4.6/Makefile.in] Error 255
    make[1]: Leaving directory '/home/arch/Documents/Projects/LibreELEC.tv/build.LibreELEC-S805.arm-8.2-devel/libtool-2.4.6/.x86_64-linux-gnu'
    Makefile:12: recipe for target 'image' failed
    make: *** [image] Error 2

    with gcc version 5.4.1 20171010 (Ubuntu 5.5.0-1ubuntu1)

    I don't know what to do here man, is there something I'm missing?