Unable to compile Libreelec or addons

  • I am trying to learn how to compile libreelec and so I am following the guide on the wiki.


    I started trying the download tool:

    Code
    1. PROJECT=Generic ARCH=x86_64 tools/download-tool

    but it kept giving me this error:

    Code
    1. Cant't get opengl-meson sources : http://sources.libreelec.tv/devel/opengl-meson-0.0invalid.tar.xz


    So I ran the command:


    Code
    1. PROJECT=Generic ARCH=x86_64 make image

    and then it ran for ages doing lots of stuff until eventually I got this:


    I have also tried just compiling an addon:


    Code
    1. PROJECT=Generic ARCH=x86_64 scripts/create_addon network-tools

    but after a load of compiling I get a load of errors like this:


    Code
    1. FAILURE: gcc:host.build.failed exists, a previous dependency process has failed (seq: 25)

    Have I missed some crucial step?