ATMega32 vs. ATMega32A - one works, that other one not
You haven't mentioned fuse bits anywhere - you may have to set the ATmega32A fusebits to the proper values. That's usually the issue when the oscillator doesn't work. The two devices may have fuse bits set for different oscillators and/or startup times.