Warwickshire County Cricket Club drew their County Championship game with Hampshire at Southampton.
Michael Carberry went on to complete a double century. His 204 came from 270 balls and saw him out with score on 351-2.
Ervine made 82 as Hants were all out for 505.
Warwicks then batted.Tony Frost was out for three and Ian Bell for a duck as Warwicks made 23-2 before the match was declared a draw.
On Monday, Warwicks travel to Sussex for the Quarter-Final of the Twenty20 Cup. Play is due to start at 7.30pm.