advmame has an awesome configure script that takes all the work out of editing makefiles.
It also runs a lot faster.
First you will need to have some sort of rasberry pi simulator I went with this method.
RPi on Virtual Box
Use the following command to ensure your running on the arm kernal
here is my output.
Linux rasberry-pi 3.0.4 #2 mon oct 17 17:39:42 ict 2011 armv61 GNU/LinuxIf you dont have X set up install it by using the command
apt-get install lxde xorg python geany
Now we need to install some dependencies to build advmame. You may not need all of these. I put them together from a lot of tinkering.
apt-get install build-essential libgtk2.0-dev libgnome2-dev libsdl1.2-dev
apt-get install libxv-dev libxv1
Download the advmame source. I tried 106.1 without success.
extract the archive.
Now we configure and compile.
Pretty easy huh. Thanks to advmame team for all there work.