SOLVED: Problem compiling code error: "undefined Reference to 'Timer1'"

Well just for grins i tried it again, and it didnt help , same errors. By the way I do initialize it in setup() but i tried doing it just after the variable initializations. by the way here is the rest of my code (just over the limit)

void loop()
{
  switch (State) {
    case CH5Rec: //Entered CH5Rec: read command and capture "Gear"
        RC_DETECT();
        GET_OFFSET();
        ++State;
        break;
    case CH6Rec:           //Entered CH6Rec: read command and capture "Flaps"
        RC_DETECT();
        GET_OFFSET();
        ++State;
        break;
    case CH7Rec:         //Entered CH7Rec
        RC_DETECT();
        GET_OFFSET();
        Transition();
        ++State;
        break;
    case CH8Send: //Entered CH8Send: Send "Gear" Command
        RC_CONTROLSEND();
        ++State;
        break;
    case CH9Send:  //Entered CH9Send: Send "Flaps" Command
        RC_CONTROLSEND();
        ++State;
        break;
    case CH10Send:  //Entered CH10Send: Send "Flaps" Command
        Calc_Beacon();
        State=0;
        break;
    }//end Switch (mainState)
}   //end loop()