I think you are right Thanks for the help
Posts by thefoofighter
-
-
thefoofighter, when I saw that you are building with sudo I stop reading. Don't do that because it can have bad side effects.
Remove build folder and start again as normal user.Ah I did not know that.
I built as a regular user but i have the same errors
Code
Display MoreBUILD retroarch (target) Executing (target): /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/retroarch-0b05fdf/configure --disable-vg --disable-sdl --enable-neon --enable-fbo --enable-zlib --enable-freetype Checking operating system ... Linux (Linux Mint 18.1 Serena 18.1) Checking for suitable working C compiler ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc works Checking for suitable working C++ compiler ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-g++ works Checking for pkg-config ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/pkg-config Checking for availability of switch -std=gnu99 in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking for availability of switch -Wno-unused-result in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking for availability of switch -Wno-unused-variable in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking function bcm_host_init in -lbcm_host ... no Checking function sd_get_machine_names in -lsystemd ... yes Checking presence of package egl ... no Checking existence of -lEGL ... yes Checking function ass_library_init in -lass ... yes Checking function pthread_create in -lpthread ... yes Checking function pthread_key_create in -lpthread ... yes Checking function dlopen in -ldl ... yes Checking function socket in -lc ... yes Checking function getaddrinfo in -lc ... yes Checking existence of -lminiupnpc ... no Checking function fcntl in -lc ... yes Checking function getopt_long in -lc ... yes Checking presence of package alsa ... 1.1.2 Checking presence of header file sys/soundcard.h ... yes Checking presence of header file soundcard.h ... no Checking existence of -lossaudio ... no Checking function alcOpenDevice in -lopenal ... no Checking presence of package rsound >= 1.1 ... no Checking presence of package libroar ... no Checking presence of package jack >= 0.120.1 ... no Checking presence of package libpulse ... no Checking presence of package sdl2 >= 2.0.0 ... no Checking presence of package libusb-1.0 >= 1.0.16 ... 1.0.20 Checking presence of header file GL/gl.h ... no Notice: Ignoring Cg. Desktop OpenGL is not enabled. Checking presence of package zlib ... 1.2.8 Checking presence of package libavcodec >= 54 ... 57.48.101 Checking presence of package libavformat >= 54 ... 57.41.100 Checking presence of package libavdevice ... 57.0.101 Checking presence of package libswresample ... 2.1.100 Checking presence of package libavresample ... no Checking presence of package libavutil >= 51 ... 55.28.100 Checking presence of package libswscale >= 2.1 ... 4.1.100 Checking presence of header file libavutil/channel_layout.h ... yes Checking function dlopen in -ldl ... yes Checking presence of package gbm >= 9.0 ... no Checking presence of package libdrm ... no Checking presence of package libxml-2.0 ... 2.9.4 Checking presence of package libv4l2 ... no Checking function glFramebufferTexture2D in -lGL ... no Forced to build with library -lGL, but cannot locate. Exiting ... Makefile:12: recipe for target 'image' failed make: *** [image] Error 1
-
Hey again, Sorry to bother you, I have been trying to build lakka using the latest from git hub but it seems to fail at retroarch and I have little to no idea what is going on
I am compiling this on a fresh install of Linux Mint but i can move to ubuntu or debian even but i dont think the host distro is the reason for the fail.
If you have time would you have a look at the log? You might see something that I am missing.
Code
Display Morethefoofighter@LinuxMint ~/Dev/Lakka-LibreELEC $ sudo DISTRO=Lakka PROJECT=imx6 SYSTEM=cuboxi ARCH=arm LINUX_VERSION=sr-3.14 make image ./scripts/image mkimage ================================================================================= Configuration for Lakka (community) ================================================================================= Buildoptions: ====================================================== - CPU (ARCH): cortex-a9 (arm) - FLOAT: hard - FPU: neon - SIMD support: yes - 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 (imx-gpu-viv) - uvesafb support: no Hardware decoder configuration: ====================================================== - Kodi Player driver: libfslvpuwrap - VAAPI Support: - VDPAU Support: Input device configuration: ====================================================== - Remote support: no - ATV Remote support: no - CEC Adapter support: yes - Kodi Joystick support: yes Misc. hardware configuration: ====================================================== - ALSA support: yes - Pulseaudio support: no - Bluetooth support: yes - Include driver: RTL8192CU - Include driver: RTL8192DU - Include driver: RTL8192EU - Include driver: RTL8188EU - Include driver: RTL8812AU - Include driver: RTL8192EU - Include firmware: misc-firmware - Include firmware: wlan-firmware - Include firmware: iwlwifi-firmware - Include firmware: dvb-firmware - Include firmware: brcmfmac_sdio-firmware-imx 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: root - Bootloader: u-boot - U-Boot configuration: mx6_cubox-i_config matrix - U-Boot config file: - 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: no - 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 - Include Skin: Confluence - Default Skin: Confluence - Include extra fonts: yes ================================================================================= End Configuration for Lakka ================================================================================= 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 tz (target) INSTALL gcc (target) INSTALL linux (target) INSTALL cpio (host) INSTALL kmod (host) INSTALL wireless-regdb (target) INSTALL keyutils (target) INSTALL imx6-status-led (target) INSTALL imx6-soc-fan (target) INSTALL linux-drivers (target) INSTALL RTL8192CU (target) INSTALL RTL8192DU (target) INSTALL RTL8192EU (target) INSTALL RTL8188EU (target) INSTALL RTL8812AU (target) INSTALL linux-firmware (target) INSTALL misc-firmware (target) INSTALL wlan-firmware (target) INSTALL iwlwifi-firmware (target) INSTALL dvb-firmware (target) INSTALL brcmfmac_sdio-firmware-imx (target) INSTALL u-boot (target) INSTALL u-boot-v2 (target) 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 parted (target) INSTALL parted (host) INSTALL procps-ng (target) INSTALL netbsd-curses (target) INSTALL gptfdisk (target) INSTALL popt (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 zlib (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 bluez (target) INSTALL samba (target) INSTALL avahi (target) INSTALL libdaemon (target) INSTALL openvpn (target) INSTALL lzo (target) INSTALL alsa (target) INSTALL alsa-lib (target) INSTALL alsa-utils (target) INSTALL udevil (target) INSTALL fuse-exfat (target) INSTALL fuse (target) INSTALL ntfs-3g_ntfsprogs (target) INSTALL debug (target) INSTALL gdb (target) BUILD retroarch (target) Executing (target): /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/retroarch-0b05fdf/configure --disable-vg --disable-sdl --enable-neon --enable-fbo --enable-zlib --enable-freetype Checking operating system ... Linux (Linux Mint 18.1 Serena 18.1) Checking for suitable working C compiler ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc works Checking for suitable working C++ compiler ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-g++ works Checking for pkg-config ... /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/pkg-config Checking for availability of switch -std=gnu99 in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking for availability of switch -Wno-unused-result in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking for availability of switch -Wno-unused-variable in /home/thefoofighter/Dev/Lakka-LibreELEC/build.Lakka-imx6.arm-8.0-devel/toolchain/bin/armv7a-libreelec-linux-gnueabi-gcc ... yes Checking function bcm_host_init in -lbcm_host ... no Checking function sd_get_machine_names in -lsystemd ... yes Checking presence of package egl ... no Checking existence of -lEGL ... yes Checking function ass_library_init in -lass ... yes Checking function pthread_create in -lpthread ... yes Checking function pthread_key_create in -lpthread ... yes Checking function dlopen in -ldl ... yes Checking function socket in -lc ... yes Checking function getaddrinfo in -lc ... yes Checking existence of -lminiupnpc ... no Checking function fcntl in -lc ... yes Checking function getopt_long in -lc ... yes Checking presence of package alsa ... 1.1.2 Checking presence of header file sys/soundcard.h ... yes Checking presence of header file soundcard.h ... no Checking existence of -lossaudio ... no Checking function alcOpenDevice in -lopenal ... no Checking presence of package rsound >= 1.1 ... no Checking presence of package libroar ... no Checking presence of package jack >= 0.120.1 ... no Checking presence of package libpulse ... no Checking presence of package sdl2 >= 2.0.0 ... no Checking presence of package libusb-1.0 >= 1.0.16 ... 1.0.20 Checking presence of header file GL/gl.h ... no Notice: Ignoring Cg. Desktop OpenGL is not enabled. Checking presence of package zlib ... 1.2.8 Checking presence of package libavcodec >= 54 ... 57.48.101 Checking presence of package libavformat >= 54 ... 57.41.100 Checking presence of package libavdevice ... 57.0.101 Checking presence of package libswresample ... 2.1.100 Checking presence of package libavresample ... no Checking presence of package libavutil >= 51 ... 55.28.100 Checking presence of package libswscale >= 2.1 ... 4.1.100 Checking presence of header file libavutil/channel_layout.h ... yes Checking function dlopen in -ldl ... yes Checking presence of package gbm >= 9.0 ... no Checking presence of package libdrm ... no Checking presence of package libxml-2.0 ... 2.9.4 Checking presence of package libv4l2 ... no Checking function glFramebufferTexture2D in -lGL ... no Forced to build with library -lGL, but cannot locate. Exiting ... Makefile:12: recipe for target 'image' failed make: *** [image] Error 1
The following look suspicious:
CodeChecking presence of package egl ... no ..... ..... ..... Checking function glFramebufferTexture2D in -lGL ... no Forced to build with library -lGL, but cannot locate. Exiting ...
Which is odd because when I enter the retroarch folder and run a configure it has no -lGL errors
Sorry for coming off super noobish, This is my first attempt at a compile of this size with so many components.
I would appreciate any support you can provide
All the best
Foo -
ok Well thanks for your efforts, Much Appreciated
-
It works for most users including me. Others has black screen (which is the main problem).I see, Any ideas what might be causing the black screen?? You cant be expected to build 3.14 kernels for every LibreElec future release forever :P. Do you know if its a problem on the hardware end, that maybe SolidRun should address?
Are there many benefits of using 4.4 over 3.14?
Thanks again
-
thefoofighter, I don't know which image exactly did you use but official images are using Linux kernel 4.4. But I also provide with 3.14 which works better for some users.Ah I see,
I used:
LibreELEC-imx6.arm-7.0.1.img
LibreELEC-imx6.arm-8.0.1.img
OpenELEC-imx6.arm-8.0.0.imgother than your custom build "OpenELEC-imx6.arm-6.95.3.img" was the only other "recent" os that booted.
I didn't realize that there were so many changes between kernels 3 and 4 (i mean enough to break booting). Do you know of anyone else with a cubox-i4pro 2gb that got kernel 4.4 working?
thank you
-
Thanks vpeter, your SR 8.0.1 image cured my headache after trying 6 alternate versions of openelec and libreelec on my cubox-i4pro which basically only flickered the screen on and off after U-BOOT but would not boot into any OS.
Out of interest what do you have to do differently with these sr builds of yours compared to the release imx6 build?
Thanks again