By "compromising," the chief engineer means "taking sides." We see here both his ambition that the railway should remain disentangled from any unifying alliances, and the difficulty of doing so: it already has "friends."