Hello to all,
I’m trying to compile RetroArch on my BananaPi board. It’s an ARM (armhf) based board on chip A20. (details: http://www.lemaker.org/). I was able to compile an older version of retroarch (I think), so not solving the issues with that I’ve started over with a new fresh Raspbian installation and an updated Retrarch version from git. But now I’m getting a compilation error very at the beginning.
Confiure parameters
./configure --prefix=/opt --disable-vg --disable-ffmpeg --disable-sdl --disable-x11 --disable-xvideo --enable-gles --disable-kms --enable-neon --enable-fbo --enable-mali_fbdev --enable-lakka --enable-freetype
Output configure:
Checking operating system ... Linux
Checking for suitable working C compiler ... /usr/bin/gcc
Checking for suitable working C++ compiler ... /usr/bin/g++
Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
Checking function bcm_host_init in -lbcm_host ... yes
Checking for pkg-config ... /usr/bin/pkg-config
Checking presence of package egl ... yes
Checking function pthread_create in -lpthread ... yes
Checking function dlopen in -ldl ... yes
Checking function socket in -lc ... yes
Checking function getaddrinfo in -lc ... yes
Checking function fcntl in -lc ... yes
Checking function getopt_long in -lc ... yes
Checking presence of package alsa ... yes
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 with minimum version 1.1 ... no
Checking presence of package libroar ... no
Checking presence of package jack with minimum version 0.120.1 ... no
Checking presence of package libpulse ... yes
Checking function AudioUnitInitialize in -framework AudioUnit ... no
Checking presence of package sdl2 with minimum version 2.0.0 ... yes
Checking function cgCreateContext in -lCg ... no
Checking presence of package zlib ... yes
Checking function dlopen in -ldl ... yes
Checking presence of package libxml-2.0 ... yes
Checking presence of package glesv2 ... yes
Checking presence of package libv4l2 ... no
Checking presence of package freetype2 ... yes
Checking presence of package wayland-egl ... no
Checking presence of package xkbcommon with minimum version 0.3.2 ... no
X11, Xext or xf86vm not present. Skipping X11 code paths.
Checking presence of package libudev ... yes
Checking function strlcpy in -lc ... no
Checking function strcasestr in -lc ... yes
Checking function mmap in -lc ... yes
Checking presence of package python3 ... no
Checking presence of predefined macro __ARM_NEON__ ... yes
Creating make config: config.mk
Creating config header: config.h
And here the error:
# make
CC input/linuxraw_input.c
CC input/linuxraw_joypad.c
CC git_version.c
CC frontend/frontend.c
In file included from frontend/menu/../../gfx/shader_common.h:26:0,
from frontend/menu/menu_common.h:34,
from frontend/frontend.c:25:
frontend/menu/../../gfx/gl_common.h:314:4: error: unknown type name âGLsyncâ
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function âvcos_timer_deleteâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function âvcos_timer_resetâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function âvcos_timer_cancelâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function âvcos_timer_setâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function âvcos_timer_createâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function âvcos_thread_resumeâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function âvcos_thread_runningâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function âvcos_change_preemptionâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function âvcos_thread_relinquishâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function âvcos_thread_get_affinityâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:112:6: warning: inline function âvcos_timer_deleteâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:109:6: warning: inline function âvcos_timer_resetâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:102:6: warning: inline function âvcos_timer_cancelâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:95:6: warning: inline function âvcos_timer_setâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_timer.h:80:15: warning: inline function âvcos_timer_createâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:269:6: warning: inline function âvcos_thread_resumeâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:262:5: warning: inline function âvcos_thread_runningâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:251:15: warning: inline function âvcos_change_preemptionâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:234:6: warning: inline function âvcos_thread_relinquishâ declared but never defined [enabled by default]
/opt/vc/include/interface/vcos/vcos_thread.h:186:15: warning: inline function âvcos_thread_get_affinityâ declared but never defined [enabled by default]
make: *** [obj-unix/frontend/frontend.o] Error 1
Could someone suggest me where to look for? It’s strange because on an old installation (some weeks ago) this error was not present. Now, starting from a new installation and an up-to-date RetroArch version, this is what happens. Some packages missing?
Thanks for the help!
Simon