I used to get these errors way back. Try getting rid of the complex brushes (i.e. Cyliners, VM shapes, etc), then compile. If it works, then put them back in again. Thats how i did it anyway and i worked! Theres probably a more professional 'expert mapper' version though!