How should I resolve compilation errors?