What DS3231 library are you using? There are many with the same name and different syntax. Is it properly installed? Can you run the basic library examples sketches?
What DS3231 library are you using? There are many with the same name and different syntax. Is it properly installed? Can you run the basic library examples sketches?