Hi, I am having same issue. I was unable to get LCD from gamepi20 running at all, not even with different distro.
If you got anything out from waveshare, would you mind to share it across?
the workaround is to check you gcc version on your setup for example mine is 9.3
in CLi type
then in the scriptmodule as @mitu advised initially find the 2 entries pointing gcc-6 lines 20 and 32 (im having 4.7.2 rpie setup script) and in my case i added gcc-9 fo example
save, start or restart rpi setup and should compile ok
BUT again as @mitu
i d recommend lr-mgba which is better for gba
Actually I just saw the performance test...I think I will get a Pi4 and modify the Nespicase lol...I want to play ps1 dreamcast and some n64 Mame etc, the Pi1 B+ doesn't seems to be strong enough for all this.
This is still somewhat confusing as it has you editing files that may not even exist and aren't accessible by the default samba shares. Also, leaving out that chmod step was very bad. I may need to write my own better guide if nobody else has made a simple one.
Anyway, I did this over ssh to make es_systems.cfg accessible so I could open it in Notepad++ on Windows