I'm also using gentoo and I have the same problem.
The problem can be fixed by commenting out line 108 of main_gtk.h
{ "num_roms", -1, NULL },
I don't know if this will mess anything else up so far its been fine for me. I may look into fixing it to work like it looks like it should work if I have enough time.