you running out of code space... do a simple compile test with 16F877 .