LibreELEC builds with nVidia 304.xx driver

  • I'm trying to build it using the instructions, but stuck with the following error while running the make image. Also installed all the packages mentioned in the wiki link.


    l/binutils-2.32/.x86_64-libreelec-linux-gnu/zlib -lz ../libiberty/libiberty.a

    /home/krish/libreelec/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.2-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/8.3.0/../../../../x86_64-libreelec-linux-gnu/bin/ld.gold: error: cannot find -lz

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function decompress_contents: error: undefined reference to 'inflateInit_'

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function decompress_contents: error: undefined reference to 'inflate'

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function decompress_contents: error: undefined reference to 'inflateReset'

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function decompress_contents: error: undefined reference to 'inflateEnd'

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function bfd_compress_section_contents: error: undefined reference to 'compressBound'

    ../bfd/.libs/libbfd.a(compress.o):compress.c:function bfd_compress_section_contents: error: undefined reference to 'compress'

    collect2: error: ld returned 1 exit status

    make: *** [Makefile:933: strings] Error 1

    make: Leaving directory '/home/krish/libreelec/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.2-devel/binutils-2.32/.x86_64-libreelec-linux-gnu/binutils'