Sunrisegobbler

I replaced the six batteries in my 2002 Gem Car and when I plug the charger in the red LED light on the column blinks slowly. When I unplug it and turn the key on it shows a -4 Error Code. Can anyone tell me what is wrong?