The mmap stuff was really all I had trouble with compilation-wise. Commenting out those two lines allowed me to compile a core that would freeze on a black screen upon loading a rom. I've already scrapped what I did, but I could probably redo it without too much trouble. Honestly though I'd rather look into porting something as a standalone emulator. I just hate all the plugin nonsense I'd have to deal with. N64 emulation is a mess.
Ehm, guess we all went lazy.
Gonna do a wrapper so we should get reARMed to run too