I imagine it is possible for the joint compound to go "sour" And I also guess you added water to the compound in order to float it on the walls.
I would think that after the walls are completely dried, which may take several days, the odor will go away. Just to be sure, when you prime paint the walls, I would use a mildewcide (sp?) in the paint.
Good Luck!
Dodgeman