Lakka compile error

Hi, on ubuntu 16.04 , ubuntu 18.04, ubuntu 20,04 : https://github.com/libretro/Lakka-LibreELEC , master branch - compilation fails with an error

DISTRO=Lakka PROJECT=Generic ARCH=x86_64 scripts/build melonds
$ DISTRO=Lakka PROJECT=Generic ARCH=x86_64 scripts/build melonds
BUILD      melonds (target)
TOOLCHAIN      make
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc/libretro//libretro-common/glsm/glsm.o src/libretro//libretro-common/glsm/glsm.c
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc/libretro//libretro-common/glsym/rglgen.o src/libretro//libretro-common/glsym/rglgen.c
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc/libretro//libretro-common/glsym/glsym_gl.o src/libretro//libretro-common/glsym/glsym_gl.c
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -O2 -DNDEBUG -std=c++11 -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc/libretro//libretro.o src/libretro//libretro.cpp
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -O2 -DNDEBUG -std=c++11 -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc//GPU3D_OpenGL.o src//GPU3D_OpenGL.cpp
/home/niv/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-g++ -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os  -O2 -DNDEBUG -std=c++11 -Wall -D__LIBRETRO__ -fPIC -I./src/libretro//libretro-common/include -I./src/libretro/ -I./src/  -DGIT_VERSION=\"" 42c1acd"\" -DHAVE_OPENGL -DCORE -DHAVE_THREADS  -fPIC -c -osrc//OpenGLSupport.o src//OpenGLSupport.cpp
In file included from ./src/libretro//libretro-common/include/glsym/rglgen.h:32,
                 from ./src/libretro//libretro-common/include/glsym/glsym.h:26,
                 from src/libretro//libretro-common/glsym/glsym_gl.c:25:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: **fatal error: GL/gl.h: No such file or directory**
#include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.
In file included from ./src/libretro//libretro-common/include/glsym/rglgen.h:32,
                 from src/libretro//libretro-common/glsym/rglgen.c:26:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: **fatal error: GL/gl.h: No such file or directory**
 #include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:400: src/libretro//libretro-common/glsym/rglgen.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:400: src/libretro//libretro-common/glsym/glsym_gl.o] Error 1
In file included from ./src/libretro//libretro-common/include/glsym/rglgen.h:32,
                 from ./src/libretro//libretro-common/include/glsym/glsym.h:26,
                 from src/libretro//libretro-common/glsm/glsm.c:25:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: **fatal error: GL/gl.h: No such file or directory**
 #include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:400: src/libretro//libretro-common/glsm/glsm.o] Error 1
In file included from ./src/libretro//libretro-common/include/glsm/glsm.h:30,
                 from ./src/libretro//libretro-common/include/glsm/glsmsym.h:26,
                 from src//OpenGLSupport.h:25,
                 from src//OpenGLSupport.cpp:19:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: fatal error: **GL/gl.h: No such file or directory**
 #include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:403: src//OpenGLSupport.o] Error 1
In file included from ./src/libretro//libretro-common/include/glsm/glsm.h:30,
                 from ./src/libretro//libretro-common/include/glsm/glsmsym.h:26,
                 from src//OpenGLSupport.h:25,
                 from src//GPU3D_OpenGL.cpp:24:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: **fatal error: GL/gl.h: No such file or directory**
 #include <GL/gl.h>
              ^~~~~~~~~
    compilation terminated.
    make: *** [Makefile:403: src//GPU3D_OpenGL.o] Error 1
In file included from ./src/libretro//libretro-common/include/glsm/glsm.h:30,
                 from ./src/libretro//libretro-common/include/glsm/glsmsym.h:26,
                 from src/libretro//libretro.cpp:86:
./src/libretro//libretro-common/include/glsym/rglgen_headers.h:72:10: **fatal error: GL/gl.h: No such file or directory**
 #include <GL/gl.h>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:403: src/libretro//libretro.o] Error 1
log apt-file search GL/gl.h
sudo apt-file search GL/gl.h
libgl-dev: /usr/include/GL/gl.h           
libogre-1.12-dev: /usr/include/OGRE/RenderSystems/GL/GL/gl.h
libogre-1.9-dev: /usr/include/OGRE/RenderSystems/GL/GL/gl.h
mingw-w64-common: /usr/share/mingw-w64/include/GL/gl.h
mingw-w64-i686-dev: /usr/i686-w64-mingw32/include/GL/gl.h
mingw-w64-x86-64-dev: /usr/x86_64-w64-mingw32/include/GL/gl.h
nvidia-340-dev: /usr/include/nvidia-340/GL/gl.h

Me too !!! I get this :

bone@MUSCHLEPP:~/Schreibtisch/work/Lakka-LibreELEC$ DISTRO=Lakka PROJECT=Generic ARCH=x86_64 make image # for 64 bits PCs ./scripts/image mkimage

================================================================================= Configuration for Lakka (community)

Buildoptions:

  • CPU (ARCH): x86-64 (x86_64)
  • FLOAT:
  • FPU:
  • CPU features: 64bit mmx sse sse2
  • LTO (Link Time Optimization) support: yes
  • GOLD (Google Linker) Support: yes
  • LLVM support: yes
  • DEBUG: no

Graphic configuration:

  • OpenGL (GLX) support (provider): yes (mesa)
  • OpenGLES support (provider): no (no)
  • uvesafb support: yes

Hardware decoder configuration:

  • Kodi Player driver: default
  • VAAPI Support: yes
  • VDPAU Support: yes

Input device configuration:

  • Remote support: no
  • CEC Adapter support:
  • CEC Framework support: no
  • Kodi Joystick support: yes

Misc. hardware configuration:

  • ALSA support: yes
  • Pulseaudio support:
  • Bluetooth support: yes
  • Include driver: bcm_sta
  • Include driver: intel_nuc_led
  • Include firmware: misc-firmware
  • Include firmware: wlan-firmware
  • Include firmware: iwlwifi-firmware
  • Include firmware: firmware-realtek

Network service configuration:

  • Avahi (Zeroconf) support: yes
  • NFS mounting support: yes
  • SAMBA mounting support: yes
  • SAMBA server support: yes
  • SFTP server support: yes
  • OpenVPN support: yes
  • WireGuard support:

OS configuration:

  • OEM Support: yes
  • Default ROOT Password: root
  • Bootloader: syslinux
  • UDevil support: yes
  • Installer support: yes

Misc. Filesystems:

  • Swap Support: yes
    • Swapfile default size: 128
  • exFAT Support (via Fuse): yes
  • NTFS Support (via Fuse): yes
  • Install HFS Tools: yes

================================================================================= End Configuration for Lakka

Packages loaded : 1058 Build trigger(s): 1 [image] Package steps : 351

[001/351] [DONE] build make:host [002/351] [DONE] build m4:host … . … . [152/351] [DONE] install udevil BUILD alsa-utils (target) TOOLCHAIN configure (auto-detect) Executing (target): /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/configure --host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared --disable-alsaconf --disable-alsaloop --enable-alsatest --disable-bat --disable-dependency-tracking --disable-nls --disable-rst2man --disable-xmlto configure: WARNING: unrecognized options: --disable-static, --enable-shared checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes checking for x86_64-libreelec-linux-gnu-strip… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip checking for a thread-safe mkdir -p… /bin/mkdir -p checking for gawk… gawk checking whether make sets $(MAKE)… yes checking whether make supports nested variables… yes checking whether to enable maintainer-specific portions of Makefiles… yes checking for a sed that does not truncate output… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/sed checking whether NLS is requested… no checking for msgfmt… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/msgfmt checking for gmsgfmt… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/msgfmt checking for xgettext… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/xgettext checking for msgmerge… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/msgmerge checking whether make supports the include directive… yes (GNU style) checking for x86_64-libreelec-linux-gnu-gcc… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc checking whether the C compiler works… yes checking for C compiler default output file name… a.out checking for suffix of executables… checking whether we are cross compiling… yes checking for suffix of object files… o checking whether we are using the GNU C compiler… yes checking whether /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g… yes checking for /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to accept ISO C89… none needed checking whether /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together… yes checking dependency style of /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc… none checking build system type… x86_64-pc-linux-gnu checking host system type… x86_64-libreelec-linux-gnu checking for ld used by /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld checking if the linker (/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ld) is GNU ld… yes checking for shared library run path origin… done checking how to run the C preprocessor… /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-cpp checking for grep that handles long lines and -e… /bin/grep checking for egrep… /bin/grep -E checking for CFPreferencesCopyAppValue… no checking for CFLocaleCopyCurrent… no checking whether to use NLS… no checking for x86_64-libreelec-linux-gnu-gcc… (cached) /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc checking whether we are using the GNU C compiler… (cached) yes checking whether /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g… (cached) yes checking for /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to accept ISO C89… (cached) none needed checking whether /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together… (cached) yes checking dependency style of /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc… (cached) none checking whether ln -s works… yes checking for a sed that does not truncate output… (cached) /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/sed checking pkg-config is at least version 0.9.0… yes checking for ALSA CFLAGS… checking for dlopen in -lc… no checking for dlopen in -ldl… yes checking for ALSA LDFLAGS… -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.27… found. checking for snd_ctl_open in -lasound… yes checking for snd_ctl_elem_add_enumerated… yes checking for alsa/pcm.h… yes checking for alsa/mixer.h… yes checking for alsa/rawmidi.h… yes checking for alsa/seq.h… yes checking for alsa/use-case.h… yes checking for alsa/topology.h… yes checking for samplerate.h… no checking for snd_seq_client_info_get_card in -lasound… yes checking for snd_seq_client_info_get_pid in -lasound… yes checking for ffado_streaming_init in -lffado… no checking for librt… checking for clock_gettime in -lrt… yes checking for ANSI C header files… yes checking for NCURSES… yes checking for curses library… ncurses checking for curses header name… <ncurses.h> checking for curses compiler flags… -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 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 panel.h usability… yes checking panel.h presence… yes checking for panel.h… yes checking menu.h usability… yes checking menu.h presence… yes checking for menu.h… yes checking form.h usability… yes checking form.h presence… yes checking for form.h… yes checking for new_panel in -lpanel… yes checking for new_menu in -lmenu… yes checking for new_form in -lform… yes checking for curses linker flags… -lform -lmenu -lpanel -lncurses checking for an ANSI C-conforming const… yes checking for inline… inline checking whether time.h and sys/time.h may both be included… yes checking whether /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc needs -traditional… no checking for special C compiler options needed for large files… no checking for _FILE_OFFSET_BITS value needed for large files… no checking for SYSTEMD… yes checking that generated files are newer than configure… done configure: creating ./config.status config.status: creating Makefile config.status: creating alsactl/Makefile config.status: creating alsactl/init/Makefile config.status: creating alsamixer/Makefile config.status: creating amidi/Makefile config.status: creating amixer/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating alsaconf/alsaconf config.status: creating alsaconf/Makefile config.status: creating alsaconf/po/Makefile config.status: WARNING: ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/alsaconf/po/Makefile.in’ seems to ignore the --datarootdir setting config.status: creating alsaucm/Makefile config.status: creating topology/Makefile config.status: creating bat/Makefile config.status: creating bat/tests/Makefile config.status: creating bat/tests/asound_state/Makefile config.status: creating aplay/Makefile config.status: creating include/Makefile config.status: creating iecset/Makefile config.status: creating utils/Makefile config.status: creating utils/alsa-utils.spec config.status: creating seq/Makefile config.status: creating seq/aconnect/Makefile config.status: creating seq/aplaymidi/Makefile config.status: creating seq/aseqdump/Makefile config.status: creating seq/aseqnet/Makefile config.status: creating speaker-test/Makefile config.status: creating speaker-test/samples/Makefile config.status: creating alsaloop/Makefile config.status: creating alsa-info/Makefile config.status: creating axfer/Makefile config.status: creating axfer/test/Makefile config.status: creating include/aconfig.h config.status: include/aconfig.h is unchanged config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-static, --enable-shared Executing (target): make make[1]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu’ Making all in include make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/include’ make all-am make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/include’ make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/include’ make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/include’ Making all in alsactl make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl’ Making all in init make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl/init’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl/init’ make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl’ make[3]: Nothing to be done for ‘all-am’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl’ make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsactl’ Making all in utils make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/utils’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/utils’ Making all in m4 make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/m4’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/m4’ Making all in po make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/po’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/po’ Making all in alsa-info make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsa-info’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsa-info’ Making all in alsamixer make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsamixer’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsamixer’ Making all in amixer make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/amixer’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/amixer’ Making all in amidi make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/amidi’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/amidi’ Making all in aplay make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/aplay’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/aplay’ Making all in iecset make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/iecset’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/iecset’ Making all in speaker-test make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test’ Making all in samples make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test/samples’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test/samples’ make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test’ make[3]: Nothing to be done for ‘all-am’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test’ make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/speaker-test’ Making all in axfer make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer’ Making all in test make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer/test’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer/test’ make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer’ make[3]: Nothing to be done for ‘all-am’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer’ make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/axfer’ Making all in seq make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq’ Making all in aconnect make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aconnect’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aconnect’ Making all in aplaymidi make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aplaymidi’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aplaymidi’ Making all in aseqdump make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aseqdump’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aseqdump’ Making all in aseqnet make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aseqnet’ make[3]: Nothing to be done for ‘all’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq/aseqnet’ make[3]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq’ make[3]: Nothing to be done for ‘all-am’. make[3]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq’ make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/seq’ Making all in alsaucm make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsaucm’ make[2]: Nothing to be done for ‘all’. make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/alsaucm’ Making all in topology make[2]: Entering directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/topology’ /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc -march=x86-64 -m64 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -Wall -pipe -Os -march=x86-64 -m64 -Wl,–as-needed -fuse-ld=gold -o alsatplg topology.o -lasound -lasound -lm -ldl -lpthread topology.o:topology.c:function main: error: undefined reference to ‘snd_tplg_new’ topology.o:topology.c:function main: error: undefined reference to ‘snd_tplg_verbose’ topology.o:topology.c:function main: error: undefined reference to ‘snd_tplg_build_file’ topology.o:topology.c:function main: error: undefined reference to ‘snd_tplg_free’ topology.o:topology.c:function main: error: undefined reference to ‘snd_tplg_free’ collect2: error: ld returned 1 exit status make[2]: *** [Makefile:434: alsatplg] Error 1 make[2]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu/topology’ make[1]: *** [Makefile:428: all-recursive] Error 1 make[1]: Leaving directory ‘/home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/alsa-utils-1.1.9/.x86_64-libreelec-linux-gnu’ FAILURE: scripts/install alsa-utils has failed! [153/351] [FAIL] install alsa-utils

The following logs for this failure are available: stdout: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/152/stdout stderr: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/152/stderr

parallel: This job failed: package_worker 1 152 351 ‘install alsa-utils’ FAILURE: alsa-utils:target.build.failed exists, a previous dependency process has failed (seq: 152)

The following logs for this failure are available: stdout: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/152/stdout stderr: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/152/stderr

FAILURE: scripts/install alsa has failed! [154/351] [FAIL] install alsa

The following logs for this failure are available: stdout: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/153/stdout stderr: /home/bone/Schreibtisch/work/Lakka-LibreELEC/build.Lakka-Generic.x86_64-3.0-devel/.threads/logs/153/stderr

parallel: This job failed: package_worker 2 153 351 ‘install alsa’ Parallel build failure - see log for details. Time of failure: Sat Oct 3 21:57:16 CEST 2020 Makefile:12: die Regel für Ziel „image“ scheiterte make: *** [image] Fehler 1

FUll Log : https://drive.google.com/file/d/1UnyFtjzjuLI4ul2n4fjg0iQ-PQr5z2-J/view?usp=sharing

stdout :

https://drive.google.com/file/d/1IUIjOLafwb-rQpQJdMaeSs7tGzseNhV4/view?usp=drivesdk

scripts/install alsa-utils has failed!

Maybe you should check this. Try to install manually.

1 Like

I have tried ./config && make in alsa-utils folder without succsess…

I think you need to install alsa-utils from your OS distribution first.

Can you give me a advice how to so this ?

When i Input sudo apt-get Install alsa-utils it returns alsa-utils is already latest Version…

Unfortunately i am out of ideeas.
Sorry to not be able to help

Thanks anyway…

1 Like

I successfully compiled lakka for gerneic-pc

Now , on RPi2 i can´t compile mupen64plus_next or parallel-n64 and on top retroach any advice ?

e[1;31mFAILURE: retroarch:target.build.failed exists, a previous dependency process has failed (seq: 342) e[0m The following logs for this failure are available: stdout: /home/bone/Schreibtisch/Work/Lakka-LibreELEC/build.Lakka-RPi2.arm-3.0-devel/.threads/logs/342/stdout stderr: /home/bone/Schreibtisch/Work/Lakka-LibreELEC/build.Lakka-RPi2.arm-3.0-devel/.threads/logs/342/stderr

I´ve removed the Lines like " mupen64plus_next " in Lakka/option which dont compile… Is this the problem ? How dissable non compiling cores ?

Adding

LIBRETRO_CORES="${LIBRETRO_CORES// mupen64plus_next /}"

to project/RPi/options

didn´t helped

My Last compile errors :

Projekt=RPi Device=RPi2 On Ubuntu 20.4.1

https://drive.google.com/file/d/1JxcKsTcEwsn-Oz5a_J1FZAyRQdk3tovq/view?usp=sharing

same on ubuntu 18.4…:frowning:

./core/libretro-common/include/glsym/rglgen_headers.h:61:10: fatal error: GLES2/gl2.h: No such file or directory 61 | #include <GLES2/gl2.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:1071: core/serialize.o] Error 1 make[1]: *** Waiting for unfinished jobs… core/deps/libelf/elf32.cpp: In function ‘void elf32_fprintf(FILE*, Elf32_Header*, int, const char*, int)’: core/deps/libelf/elf32.cpp:296:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 296 | for (i = 0; i < numSegments; i++) { | ^~~~~~~~~~~ core/deps/libelf/elf32.cpp:317:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 317 | for (i = 0; i < numSections; i++) { | ^~~~~~~~~~~ core/deps/libelf/elf32.cpp:257:8: warning: variable ‘str_table’ set but not used [-Wunused-but-set-variable] 257 | char *str_table; | ^~~~~~~~~ In file included from ./core/deps/coreio/coreio.h:2, from core/deps/chdpsr/cdipsr.cpp:5: ./core/types.h:719:13: warning: ‘void libExtDevice_WriteMem_A5(u32, u32, u32)’ defined but not used [-Wunused-function] 719 | static void libExtDevice_WriteMem_A5(u32 addr,u32 data,u32 size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~ ./core/types.h:718:12: warning: ‘u32 libExtDevice_ReadMem_A5(u32, u32)’ defined but not used [-Wunused-function] 718 | static u32 libExtDevice_ReadMem_A5(u32 addr,u32 size){ return 0; } | ^~~~~~~~~~~~~~~~~~~~~~~ ./core/types.h:715:13: warning: ‘void libExtDevice_WriteMem_A0_010(u32, u32, u32)’ defined but not used [-Wunused-function] 715 | static void libExtDevice_WriteMem_A0_010(u32 addr,u32 data,u32 size) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./core/types.h:714:12: warning: ‘u32 libExtDevice_ReadMem_A0_010(u32, u32)’ defined but not used [-Wunused-function] 714 | static u32 libExtDevice_ReadMem_A0_010(u32 addr,u32 size) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory ‘/media/no/69b155b7-ceb6-441c-afd9-75a912306dcc/home/no/Schreibtisch/CLONE/build.Lakka-RPi2.arm-3.0-devel/flycast-0e10e86’ FAILURE: scripts/install flycast has failed!

I found the solution for GLES2/gl2.h : No such directory…

The Compiler is looking for those Files in opt/ Folder… But they where all in usr/include/

So i softlinked the needed Files…

Now i get Error : GLESv2 not found …

Amy suggestion ?