Help compiling Lakka

I’m trying to compile Lakka image on latest version of Arch Linux with the following command

DISTRO=Lakka PROJECT=Generic ARCH=x86_64 make image

I got following error when compiling SDL. /usr/lib/libmvec_nonshared.a not found.

The file /usr/lib/libmvec_nonshared.a is not provide by latest version Arch Linux any more. I wonder why I have to have this file. I found another file named “build.Lakka-Generic.x86_64-2.9-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/libmvec_nonshared.a” . I think it should link against this file, not “/usr/lib/libmvec_nonshared.a”. But I do not known how to fix it.


[253/343] [DONE] install glu INSTALL yasm (host) INSTALL SDL (host) INSTALL SDL (target) [254/343] [DONE] install SDL UNPACK SDL_net FIXCONFIG /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/ BUILD SDL_net (host) TOOLCHAIN configure (auto-detect) Executing (host): /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain --bindir=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin --sbindir=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/sbin --sysconfdir=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/etc --libexecdir=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib --localstatedir=/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/var --disable-static --enable-shared checking build system type… x86_64-pc-linux-gnu checking host system type… x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc… /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc checking for C compiler default output file name… a.out checking whether the C compiler works… yes checking whether we are cross compiling… no checking for suffix of executables… checking for suffix of object files… o checking whether we are using the GNU C compiler… yes checking whether /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc accepts -g… yes checking for /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc option to accept ISO C89… none needed checking for a sed that does not truncate output… /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/sed checking for grep that handles long lines and -e… /usr/bin/grep checking for egrep… /usr/bin/grep -E checking for fgrep… /usr/bin/grep -F checking for ld used by /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc… ld checking if the linker (ld) is GNU ld… yes checking for BSD- or MS-compatible name lister (nm)… nm checking the name lister (nm) interface… BSD nm checking whether ln -s works… yes checking the maximum length of command line arguments… 1572864 checking whether the shell understands some XSI constructs… yes checking whether the shell understands “+=”… yes checking for ld option to reload object files… -r checking for x86_64-pc-linux-gnu-objdump… objdump checking how to recognize dependent libraries… pass_all checking for x86_64-pc-linux-gnu-ar… ar checking for x86_64-pc-linux-gnu-strip… strip checking for x86_64-pc-linux-gnu-ranlib… ranlib checking command to parse nm output from /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc object… ok checking how to run the C preprocessor… cpp checking for ANSI C header files… yes checking for sys/types.h… yes checking for sys/stat.h… yes checking for stdlib.h… yes checking for string.h… yes checking for memory.h… yes checking for strings.h… yes checking for inttypes.h… yes checking for stdint.h… yes checking for unistd.h… yes checking for dlfcn.h… yes checking for objdir… .libs checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc supports -fno-rtti -fno-exceptions… no checking for /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc option to produce PIC… -fPIC -DPIC checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc PIC flag -fPIC -DPIC works… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc static flag -static works… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc supports -c -o file.o… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc supports -c -o file.o… (cached) yes checking whether the /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc linker (ld -m elf_x86_64) supports shared libraries… yes checking whether -lc should be explicitly linked in… no checking dynamic linker characteristics… GNU/Linux ld.so checking how to hardcode library paths into programs… immediate checking whether stripping libraries is possible… yes checking if libtool supports shared libraries… yes checking whether to build shared libraries… yes checking whether to build static libraries… no checking host system type… (cached) x86_64-pc-linux-gnu checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes checking for a thread-safe mkdir -p… /usr/bin/mkdir -p checking for gawk… gawk checking whether make sets $(MAKE)… yes checking for style of include used by make… GNU checking dependency style of /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc… gcc3 checking for x86_64-pc-linux-gnu-gcc… (cached) /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc checking whether we are using the GNU C compiler… (cached) yes checking whether /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc accepts -g… (cached) yes checking for /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc option to accept ISO C89… (cached) none needed checking whether we are using the GNU C++ compiler… yes checking whether /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ accepts -g… yes checking whether we are using the GNU C++ compiler… (cached) yes checking whether /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ accepts -g… (cached) yes checking dependency style of /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++… gcc3 checking how to run the C++ preprocessor… /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ -E checking for ld used by /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++… ld -m elf_x86_64 checking if the linker (ld -m elf_x86_64) is GNU ld… yes checking whether the /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ linker (ld -m elf_x86_64) supports shared libraries… yes checking for /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ option to produce PIC… -fPIC -DPIC checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ PIC flag -fPIC -DPIC works… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ static flag -static works… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ supports -c -o file.o… yes checking if /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ supports -c -o file.o… (cached) yes checking whether the /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++ linker (ld -m elf_x86_64) supports shared libraries… yes checking dynamic linker characteristics… GNU/Linux ld.so checking how to hardcode library paths into programs… immediate checking dependency style of /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-g++… (cached) gcc3 checking for a BSD-compatible install… /usr/bin/install -c checking whether make sets $(MAKE)… (cached) yes checking for windres… no checking for x86_64-pc-linux-gnu-windres… no checking for linux-gnu-windres… no checking pkg-config is at least version 0.9.0… yes checking for SDL… yes checking for GUI_Create in -lGUI… no configure: WARNING: *** Can’t find the GUI library - not building test programs The GUI library can be found at: http://www.libsdl.org/projects/GUIlib/

configure: creating ./config.status config.status: creating Makefile config.status: creating SDL_net.spec config.status: creating SDL_net.qpg config.status: creating SDL_net.pc config.status: executing libtool commands config.status: executing depfiles commands Executing (host): make make[1]: Entering directory ‘/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/.x86_64-pc-linux-gnu’ /bin/sh ./libtool --tag=CC --mode=compile /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnet.lo -MD -MP -MF .deps/SDLnet.Tpo -c -o SDLnet.lo /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnet.c /bin/sh ./libtool --tag=CC --mode=compile /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c -o SDLnetTCP.lo /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetTCP.c libtool: compile: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetTCP.lo -MD -MP -MF .deps/SDLnetTCP.Tpo -c /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetTCP.c -fPIC -DPIC -o .libs/SDLnetTCP.o libtool: compile: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnet.lo -MD -MP -MF .deps/SDLnet.Tpo -c /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnet.c -fPIC -DPIC -o .libs/SDLnet.o mv -f .deps/SDLnetTCP.Tpo .deps/SDLnetTCP.Plo mv -f .deps/SDLnet.Tpo .deps/SDLnet.Plo /bin/sh ./libtool --tag=CC --mode=compile /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetUDP.lo -MD -MP -MF .deps/SDLnetUDP.Tpo -c -o SDLnetUDP.lo /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetUDP.c /bin/sh ./libtool --tag=CC --mode=compile /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetselect.lo -MD -MP -MF .deps/SDLnetselect.Tpo -c -o SDLnetselect.lo /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetselect.c libtool: compile: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetselect.lo -MD -MP -MF .deps/SDLnetselect.Tpo -c /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetselect.c -fPIC -DPIC -o .libs/SDLnetselect.o libtool: compile: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT SDLnetUDP.lo -MD -MP -MF .deps/SDLnetUDP.Tpo -c /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/SDLnetUDP.c -fPIC -DPIC -o .libs/SDLnetUDP.o mv -f .deps/SDLnetselect.Tpo .deps/SDLnetselect.Plo /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DPACKAGE=“SDL_net” -DVERSION=“1.2.8” -I. -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8 -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -MT showinterfaces.o -MD -MP -MF .deps/showinterfaces.Tpo -c -o showinterfaces.o /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/showinterfaces.c mv -f .deps/showinterfaces.Tpo .deps/showinterfaces.Po mv -f .deps/SDLnetUDP.Tpo .deps/SDLnetUDP.Plo /bin/sh ./libtool --tag=CC --mode=link /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -march=native -O2 -Wall -pipe -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include -Wno-format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/include/SDL -no-undefined -release 1.2 -version-info 8:0:8 -Wl,-rpath,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -L/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -o libSDL_net.la -rpath /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib SDLnet.lo SDLnetTCP.lo SDLnetUDP.lo SDLnetselect.lo -L/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -lSDL -lpthread libtool: link: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/bin/host-gcc -shared .libs/SDLnet.o .libs/SDLnetTCP.o .libs/SDLnetUDP.o .libs/SDLnetselect.o -Wl,-rpath -Wl,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -Wl,-rpath -Wl,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib -Wl,-rpath -Wl,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -Wl,-rpath -Wl,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib -L/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib/libSDL.so -L/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib/libasound.so -lrt -lm -ldl -lpthread -march=native -Wl,-rpath -Wl,/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/toolchain/lib -Wl,-soname -Wl,libSDL_net-1.2.so.0 -o .libs/libSDL_net-1.2.so.0.8.0 /usr/bin/ld: cannot find /usr/lib/libmvec_nonshared.a collect2: error: ld returned 1 exit status make[1]: *** [Makefile:388: libSDL_net.la] Error 1 make[1]: Leaving directory ‘/home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/SDL_net-1.2.8/.x86_64-pc-linux-gnu’ FAILURE: scripts/build SDL_net:host has failed! [255/343] [FAIL] build SDL_net:host

The following logs for this failure are available: stdout: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/.threads/logs/256/stdout stderr: /home/toby/Lakka-LibreELEC/build.Lakka-Generic.x86_64-2.9-devel/.threads/logs/256/stderr

parallel: This job failed: package_worker 1 256 343 ‘build SDL_net:host’ Parallel build failure - see log for details. Time of failure: Mon Apr 13 19:46:54 CST 2020 make: *** [Makefile:12: image] Error 1

Please use Ubuntu to compile Lakka this is the only distribution we support

I have changed to Ubuntu 18.04 LTS Desktop. But still not lucky. It fails on package dosbox-svn, with the error libretro.h not found.

Uh yeah, update the package it should work

I have a successful build after I dropped the following packages form Lakka/options. ----------------------Cut Here---------------- dosbox-svn gearboy parallel-n64