I am trying to build cmake on aarch64 on fire3. I downloaded s5p6818-sd-friendlycore-xenial-4.4-arm64-YYYYMMDD.img.zip for the sdcard on fire3 and setup the system.

libGL.so that comes with it seems to be missing some required functions to be able to link cmake-gui:

[ 87%] Linking CXX executable ../../bin/cmake-gui
/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5.5.1: undefined reference to `glDepthRange'
/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5.5.1: undefined reference to `glClearDepth'
/usr/lib/aarch64-linux-gnu/libQt5Gui.so.5.5.1: undefined reference to `glOrtho'

nm libGL.so shows that indeed those functions are missing and they are there in other systems' installations.

Has anyone tried to build cmake-gui on aarch64 with fire3 default setup?