Hi,
By mixing your repo and wrxtasy repo (ODROID Forum • View topic - LibreELEC 7.0.2 - Kodi Jarvis 16.1 - Archived - LE Tips HERE), I now have an almost working solution on Odroid C2 (kodi 4k, some emulators...).
Thanks!
Hi,
By mixing your repo and wrxtasy repo (ODROID Forum • View topic - LibreELEC 7.0.2 - Kodi Jarvis 16.1 - Archived - LE Tips HERE), I now have an almost working solution on Odroid C2 (kodi 4k, some emulators...).
Thanks!
Hi
I tried multiple things
1. I tried to compile for RPi2 (following the doc on github). I get an error
[b]INSTALL[/b] libc [b](target)[/b] [b]INSTALL[/b] toolchain [b](target)[/b] [b]INSTALL[/b] configtools [b](host)[/b] [b]INSTALL[/b] make [b](host)[/b] [b]INSTALL[/b] xz [b](host)[/b] [b]INSTALL[/b] sed [b](host)[/b] [b]INSTALL[/b] pkg-config [b](host)[/b] [b]INSTALL[/b] autoconf [b](host)[/b] [b]INSTALL[/b] automake [b](host)[/b] [b]INSTALL[/b] libtool [b](host)[/b] [HEADERS] include [HEADERS] libxfsBuilding includegmake[2]: Nothing to be done for 'include'.Building libxfs [TEST] CRC32 [CC] rdwr.lo [CC] trans.lo [CC] util.loIn file included from [b]/home/moi/libreelec/libreelec_escalade_rpi2/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/features.h:392:0[/b], from [b]/home/moi/libreelec/libreelec_escalade_rpi2/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/stdio.h:27[/b], from [b]../include/platform_defs.h:24[/b], from [b]crc32.c:36[/b]:[b]/home/moi/libreelec/libreelec_escalade_rpi2/build.LibreELEC-RPi2.arm-8.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/gnu/stubs.h:7:29:[/b] [b]fatal error: [/b]gnu/stubs-soft.h: No such file or directorycompilation terminated.Makefile:124: recipe for target 'crc32selftest' failedgmake[3]: *** [crc32selftest] Error 1gmake[3]: *** Waiting for unfinished jobs....include/buildrules:35: recipe for target 'libxfs' failedgmake[2]: *** [libxfs] Error 2Makefile:70: recipe for target 'default' failedmake[1]: *** [default] Error 2make[1]: Leaving directory '/home/moi/libreelec/libreelec_escalade_rpi2/build.LibreELEC-RPi2.arm-8.0-devel/xfsprogs-dev-53cefc4'Makefile:12 : la recette pour la cible « image » a échouéemake: *** [image] Erreur 1
I don't get this error when compiling for Odroid.
2. When I compile for Odroid c2, I get an error
/home/moi/libreelec/libreelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: 1: /home/moi/li: No such filelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: cannot open ?9/home/moi/libreelec/libreelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: 1: /home/moi/libreelec/libreelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: ??8?y: not found/home/moi/libreelec/libreelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: 3: /home/moi/libreelec/libreelec_escalade_odroidC2/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/bin/getconf: ELF@@?@%@@@@@?@@@ K KAA??M?MA?M@@ QdRdAA /lib/ld-linux-aarch64.so.1GNU @@@4? ? I!?&??
[/php]
It seems that it is trying to execute an arm executable (getconf) on the host machine and fails.
Just deleting the getconf file make the compilation continue (by using the host version), but there may be a bug in the config.
3.
I tried to copy the OEM/RPI2 project to Odroid_C2.
Compilation continues, but fails with an openGL issue on retroarch.
I modified the package.mk of retroarch.
It seems that Odroid C1 and Odroid C2 have the same graphical chip (mali 450) so I added the "enable-mali_fbdev" flag
retroarch/package.mk
[code]
PKG_NAME="retroarch"
PKG_VERSION="2f7bc87"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/RetroArch.git"
PKG_URL="https://github.com/libretro/RetroArch/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain alsa-lib freetype zlib retroarch-assets core-info retroarch-joypad-autoconfig common-shaders libretro-database ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="emulation"
PKG_SHORTDESC="Reference frontend for the libretro API."
PKG_LONGDESC="RetroArch is the reference frontend for the libretro API. Popular examples of implementations for this API includes videogame system emulators and game engines, but also more generalized 3D programs. These programs are instantiated as dynamic libraries. We refer to these as libretro cores."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$OPENGLES_SUPPORT" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET $OPENGLES"
else
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET $OPENGL"
fi
if [ "$SAMBA_SUPPORT" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET samba"
fi
if [ "$AVAHI_DAEMON" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET avahi nss-mdns"
fi
if [ "$OPENGLES" == "no" ]; then
RETROARCH_GL="--enable-kms"
elif [[ "$PROJECT" =~ "RPi" ]]; then
RETROARCH_GL="--enable-gles --disable-kms"
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads \
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
elif [ "$OPENGLES" == "opengl-meson" ] || [ "$OPENGLES" == "sunxi-mali" ] || [ "$OPENGLES" == "odroidc1-mali" ] || [ "$OPENGLES" == "odroidxu3-mali" ] || [ "$OPENGLES" == "opengl-meson6" ] || [ "$OPENGLES" == "opengl-meson8" ]; then
RETROARCH_GL="--enable-gles --disable-kms --enable-mali_fbdev"
elif [ "$OPENGLES" == "gpu-viv-bin-mx6q" ]; then
RETROARCH_GL="--enable-gles --disable-kms --enable-vivante_fbdev"
Display More
Error:
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/libretro-common/glsym/glsym_es2.o libretro-common/glsym/glsym_es2.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/gfx/drivers_shader/shader_glsl.o gfx/drivers_shader/shader_glsl.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/gfx/common/egl_common.o gfx/common/egl_common.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/gfx/drivers/sdl2_gfx.o gfx/drivers/sdl2_gfx.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/input/drivers/sdl_input.o input/drivers/sdl_input.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/input/drivers_joypad/sdl_joypad.o input/drivers_joypad/sdl_joypad.c
/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -march=armv8-a+crc+crypto -mabi=lp64 -Wno-psabi -mcpu=cortex-a53+crc+crypto -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -DLAKKA_PROJECT='"Odroid_C2.aarch64"' -DHAVE_FILE_LOGGER -I./libretro-common/include -I./deps/7zip -Wall -O3 -ffast-math -I./decompress/7zip/ -g -I. -std=gnu99 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-variable -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_OVERLAY -DGLOBAL_CONFIG_DIR='"/etc"' -DHAVE_LIBRETRODB -DHAVE_FBO -DHAVE_DYLIB -DHAVE_GIT_VERSION -DGIT_VERSION=2f7bc87 -DHAVE_IMAGEVIEWER -DHAVE_COMMAND -DHAVE_STDIN_CMD -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/alsa -D_REENTRANT -DHAVE_MENU -DHAVE_RGUI -DHAVE_MATERIALUI -DHAVE_ZARCH -DHAVE_XMB -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -DHAVE_THREADS -DHAVE_LIBUSB -DHAVE_HID -DHAVE_OPENGL -DHAVE_GLSL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -D_REENTRANT -I/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/include/SDL2 -DHAVE_7ZIP -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -DHAVE_ZLIB_DEFLATE -DHAVE_NETWORKING -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD -DHAVE_CHEEVOS -Wno-deprecated-declarations -DHAVE_FFMPEG -Iffmpeg -DHAVE_COMPRESSION -MMD -c -o obj-unix/audio/drivers/sdl_audio.o audio/drivers/sdl_audio.c
gfx/drivers_context/mali_fbdev_ctx.c:44:30: error: field 'native_window' has incomplete type
struct mali_native_window native_window;
^
Makefile:130: recipe for target 'obj-unix/gfx/drivers_context/mali_fbdev_ctx.o' failed
make[1]: *** [obj-unix/gfx/drivers_context/mali_fbdev_ctx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/moi/libreelec/LibreELEC.tv/build.LibreELEC-Odroid_C2.aarch64-8.0-devel/retroarch-2f7bc87'
Makefile:12 : la recette pour la cible « image » a échouée
make: *** [image] Erreur 2
Display More
I will try to see if I find the correct flag tomorrow.
Thanks
Apparently, the problem is in the OEM package.
If I disable the OEM package, it creates the image.
My tree have a lot of packages not present in upstream LibreELEC, I'm only testing with RPi3/Intel. Always include a full log, the error you mention is not the complete error and does not indicate what went wrong.
Thanks
Tail of logs is
./scripts/image mkimage
=================================================================================
Configuration for LibreELEC (community)
=================================================================================
Buildoptions:
======================================================
- CPU (ARCH): cortex-a53 (aarch64)
- FLOAT:
- FPU:
- SIMD support: yes
- Optimizations: size
- LTO (Link Time Optimization) support: yes
- GOLD (Google Linker) Support: yes
- LLVM support:
Graphic configuration:
======================================================
- OpenGL (GLX) support (provider): no (no)
- OpenGLES support (provider): yes (opengl-meson)
- uvesafb support: no
Hardware decoder configuration:
======================================================
- Kodi Player driver: libamcodec
- VAAPI Support:
- VDPAU Support:
Input device configuration:
======================================================
- Remote support: yes
- ATV Remote support: no
- CEC Adapter support: yes
- IRTrans support: no
- Kodi Joystick support: yes
Misc. hardware configuration:
======================================================
- ALSA support: yes
- Pulseaudio support: yes
- Bluetooth support: yes
- LCD drivers: irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD
- Include driver: RTL8192CU
- Include driver: RTL8192DU
- Include driver: RTL8188EU
- Include driver: RTL8192EU
- Include driver: RTL8812AU
- Include firmware: misc-firmware
- Include firmware: wlan-firmware
- Include firmware: dvb-firmware
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
OS configuration:
======================================================
- OEM Support: yes
- Default ROOT Password: libreelec
- Bootloader: u-boot
- U-Boot configuration: odroidc2_defconfig
- U-Boot config file: boot.ini
- UDevil support: yes
- Installer support: no
Misc. Filesystems:
======================================================
- Swap Support: no
- exFAT Support (via Fuse): yes
- NTFS Support (via Fuse): yes
- Install HFS Tools: yes
Kodi configuration:
======================================================
- Kodi version: kodi
- Kodi nonfree support: yes
- Kodi Blu-Ray support: yes
- Bluray BD+ support: yes
- Bluray AACS support: yes
- Kodi DVDCSS support: yes
- Kodi Airplay support: yes
- Kodi Airtunes support: yes
- Kodi NFS support: yes
- Kodi MySQL support: yes
- Kodi Optical Drive support: yes
- Kodi SAMBA client support: yes
- Kodi SSH client support: yes
- Kodi UPNP support: yes
- Kodi Webserver support: yes
- Default Skin: Estuary
- Include extra fonts: yes
=================================================================================
End Configuration for LibreELEC
=================================================================================
INSTALL libc (target)
INSTALL toolchain (target)
INSTALL configtools (host)
INSTALL make (host)
INSTALL xz (host)
INSTALL sed (host)
INSTALL pkg-config (host)
INSTALL autoconf (host)
INSTALL automake (host)
INSTALL libtool (host)
INSTALL intltool (host)
INSTALL autoconf-archive (host)
INSTALL gcc (host)
INSTALL bison (host)
INSTALL flex (host)
INSTALL cmake (host)
INSTALL yasm (host)
INSTALL glibc (target)
INSTALL ccache (host)
INSTALL autotools (host)
INSTALL linux (host)
INSTALL gcc (bootstrap)
INSTALL timezone-data (target)
INSTALL gcc (target)
INSTALL linux (target)
INSTALL cpio (host)
INSTALL kmod (host)
INSTALL wireless-regdb (target)
INSTALL keyutils (target)
INSTALL linux-drivers (target)
INSTALL RTL8192CU (target)
INSTALL RTL8192DU (target)
INSTALL RTL8188EU (target)
INSTALL RTL8192EU (target)
INSTALL RTL8812AU (target)
INSTALL linux-firmware (target)
INSTALL misc-firmware (target)
INSTALL wlan-firmware (target)
INSTALL dvb-firmware (target)
INSTALL u-boot (target)
INSTALL gcc-linaro-aarch64-none-elf (host)
INSTALL busybox (target)
INSTALL busybox (host)
INSTALL hdparm (target)
INSTALL dosfstools (target)
INSTALL e2fsprogs (target)
INSTALL diskdev_cmds (target)
INSTALL libressl (target)
INSTALL zip (target)
INSTALL bzip2 (target)
INSTALL unzip (target)
INSTALL usbutils (target)
INSTALL libusb (target)
INSTALL systemd (target)
INSTALL libcap (target)
INSTALL kmod (target)
INSTALL util-linux (target)
INSTALL entropy (target)
INSTALL parted (target)
INSTALL parted (host)
INSTALL procps-ng (target)
INSTALL netbsd-curses (target)
INSTALL f2fs-tools (target)
INSTALL btrfs-progs (target)
INSTALL zlib (target)
INSTALL lzo (target)
INSTALL xfsprogs-dev (target)
INSTALL nano (target)
INSTALL rpcbind (target)
INSTALL libtirpc (target)
INSTALL corefonts (target)
INSTALL liberation-fonts-ttf (target)
INSTALL util-macros (target)
INSTALL network (target)
INSTALL connman (target)
INSTALL glib (target)
INSTALL libffi (target)
INSTALL Python (host)
INSTALL readline (target)
INSTALL dbus (target)
INSTALL expat (target)
INSTALL iptables (target)
INSTALL libmnl (target)
INSTALL libnftnl (target)
INSTALL wpa_supplicant (target)
INSTALL libnl (target)
INSTALL iana-etc (target)
INSTALL ethtool (target)
INSTALL openssh (target)
INSTALL openvpn (target)
INSTALL bluez (target)
INSTALL unfs3 (target)
INSTALL flex (target)
INSTALL mediacenter (target)
INSTALL kodi (target)
INSTALL kodi (host)
INSTALL xmlstarlet (host)
INSTALL Python (target)
INSTALL sqlite (target)
INSTALL pcre (target)
INSTALL swig (host)
INSTALL libass (target)
INSTALL freetype (target)
INSTALL libpng (target)
INSTALL fontconfig (target)
INSTALL libxml2 (target)
INSTALL fribidi (target)
INSTALL curl (target)
INSTALL rtmpdump (target)
INSTALL tinyxml (target)
INSTALL libjpeg-turbo (target)
INSTALL libcdio (target)
INSTALL taglib (target)
INSTALL libxslt (target)
INSTALL yajl (target)
INSTALL ffmpeg (target)
INSTALL speex (target)
INSTALL crossguid (target)
INSTALL giflib (target)
INSTALL libdvdnav (target)
INSTALL libdvdread (target)
INSTALL libdvdcss (target)
INSTALL opengl-meson (target)
INSTALL alsa-lib (target)
INSTALL pulseaudio (target)
INSTALL libtool (target)
INSTALL json-c (target)
INSTALL libsndfile (target)
INSTALL soxr (target)
INSTALL sbc (target)
INSTALL avahi (target)
INSTALL libdaemon (target)
INSTALL espeak (target)
INSTALL libcec (target)
INSTALL lockdev (target)
INSTALL p8-platform (target)
INSTALL SDL2 (target)
INSTALL libbluray (target)
INSTALL libaacs (target)
INSTALL libgcrypt (target)
INSTALL libgpg-error (target)
INSTALL libbdplus (target)
INSTALL nss-mdns (target)
INSTALL mysql (target)
INSTALL boost (target)
INSTALL boost (host)
INSTALL mysql (host)
INSTALL libplist (target)
INSTALL libshairplay (target)
INSTALL libnfs (target)
INSTALL samba (target)
INSTALL libmicrohttpd (target)
INSTALL libssh (target)
INSTALL libamcodec (target)
INSTALL Pillow (target)
INSTALL distutilscross (host)
INSTALL tiff (target)
INSTALL simplejson (target)
INSTALL pycrypto (target)
INSTALL LibreELEC-settings (target)
INSTALL pygobject (target)
INSTALL dbus-python (target)
INSTALL dbus-glib (target)
INSTALL bkeymaps (target)
INSTALL xmlstarlet (target)
INSTALL peripheral.joystick (target)
INSTALL kodi-platform (target)
INSTALL alsa (target)
INSTALL alsa-utils (target)
INSTALL udevil (target)
INSTALL fuse-exfat (target)
INSTALL fuse (target)
INSTALL ntfs-3g_ntfsprogs (target)
INSTALL remote (target)
INSTALL eventlircd (target)
INSTALL lirc (target)
INSTALL libftdi1 (target)
INSTALL libusb-compat (target)
INSTALL libirman (target)
INSTALL v4l-utils (target)
INSTALL lcdproc (target)
INSTALL libhid (target)
INSTALL debug (target)
INSTALL gdb (target)
Odroid_C2: no package.mk file found
Makefile:12 : la recette pour la cible « image » a échouée
make: *** [image] Erreur 1
Display More
Hi
What would it take to compile This version of Libreelec for Odroid C2?
I tried, and it fails (I think at the end) with
Odroid_C2: no project.mk file.
Thanks
P.S. I can compile the normal version of Libreelec