Hi to all,
[this part was (maybe) solved, please help on mi last port here: http://www.libretro.com/forums/viewtopic.php?f=2&t=2329&p=17127#p17127]
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’m using this line to configure, based on Lekka config files (BananaPi board) and CFLAGS on cubieboard2:
CFLAGS="-mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -Ofast" ./configure --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
And after that, here the error:
CC gfx/context/mali_fbdev_ctx.c
gfx/context/mali_fbdev_ctx.c: In function ‘gfx_ctx_set_video_mode’:
gfx/context/mali_fbdev_ctx.c:202:11: error: variable ‘window’ has initializer but incomplete type
gfx/context/mali_fbdev_ctx.c:202:11: warning: excess elements in struct initializer [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: (near initialization for ‘window’) [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: excess elements in struct initializer [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:11: warning: (near initialization for ‘window’) [enabled by default]
gfx/context/mali_fbdev_ctx.c:202:24: error: storage size of ‘window’ isn’t known
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from gfx/context/../gl_common.h:34,
from gfx/context/mali_fbdev_ctx.c:19:
gfx/context/mali_fbdev_ctx.c: At top level:
/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]
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from gfx/context/../gl_common.h:34,
from gfx/context/mali_fbdev_ctx.c:19:
/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]
In file included from /opt/vc/include/interface/vcos/vcos.h:185:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from gfx/context/../gl_common.h:34,
from gfx/context/mali_fbdev_ctx.c:19:
/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]
In file included from /opt/vc/include/interface/vcos/vcos.h:127:0,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from gfx/context/../gl_common.h:34,
from gfx/context/mali_fbdev_ctx.c:19:
/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]
Makefile:580: recipe for target 'obj-unix/gfx/context/mali_fbdev_ctx.o' failed
make: *** [obj-unix/gfx/context/mali_fbdev_ctx.o] Error 1
Syrtem is Raspbian 3.1 (for BananaPi). I’ve installed sunxi-mali as well.
Could someone help me?
Thanks a lot!
Simon