Thank you for the fast reply. It compiles but cpp-tests run without acceleration. I am compiling again to try again. On this board, dri2 is used for openGLES2, I think cocos uses mesa, could this be the problem?
Here are more details:
orangePi zero plus2 H3 board (armv71)
Armbian: ubuntu 16.04.2 LTS
es2gears runs accelerated and reports: EGL_VERSION = 1.4 Linux-r3p0-04re10