Canned pumpkin is for constipation. Try giving him boiled chicken or cooked rice mixed in with the canned food.

The smell sounds like he could have some kind intestinal parasite. Good luck at the vet! Please keep us posted.