Hmm. Looks to be a known issue, at least in some circles. Dunno if notaz or Twinaphex are aware of it, but there seem to be a couple of different solutions. The easiest would be to follow this guy’s compile script:
#!/bin/bash
#
# This file is part of the Pi Entertainment System (PES).
#
# PES provides an interactive GUI for games console emulators
# and is designed to work on the Raspberry Pi.
#
# Copyright (C) 2018 Neil Munday ([email protected] )
#
# PES is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PES is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
This file has been truncated. show original
or to apply neagix’s patches: