While mozilla plugin seems to build with xulrunner 2.0, according to Gentoo bug 361263 it doesn't really work with it. I've dropped a patch there, that fixes those undefined references, but I'm not sure if it actually works, Some feedback would be welcome. AFAICT, patch introduces only trivial changes.