It will Build correctly without the 4.7 compiler or as root user, I just kept it consistent with AdvMAME/AdvMESS for convenience!
To remove the Sound issues change the following in advancemame.rc -
Note: Its a shame mp3s cannot be used in AdvMAME, the quality is to bad even changing all the variables
To include snapshots for display in the Menu, make a folder and use .png Images and add this line to the .rc
e.g. for the example above
emulator_altss "gngeo" "/home/pi/gngeosnap"
Note: I think its missing above so to make the emulator appear in the MENU add
(again for the above example)
The MENU will display the names of the ROMS by default, if you wish to correct this, amend in the following manner
game "advmame/dkong" "" "" 39 2 ""
game "advmame/dkong" "" "" 39 2 "Donkey Kong"
The full documentation for AdvMENU is
Here - http://advancemame.sourceforge.net/doc-advmenu.html