"../iitkproject.c:24: error: 'Ox03' undeclared (first use in this function)"
If you look closely, you'll see that that's a capital 'O' not a zero, so change "OCR1AH=Ox03;" to "OCR1AH=0x03;"
The code:
while(1)
( //this '(' is what I'm refering to
sprintf(buffer,"RPM=%2d",rpm);
lcd_puts(buffer);
}
Has a parenthesis '(' rather than a brace '{'.
According to the error "/iitkproject.c:22: error: called object '16' is not a function" your trying to call the numeral 16 on line 22 but I can't see it there so maybe it had to do with some of the other errors.
Anyway change those ones and if you get more errors read the descriptions carefully and you could probably work them out.
Adrian