Residents near the roadworks had to ___ the drilling noise for six weeks because they could not stop it.
Explanation
Putting up with the noise means tolerating an unpleasant condition that continues for weeks. Getting on with the noise would suggest continuing a task involving it, not enduring the disturbance.