I think that you are missing the LCD_BITS and the LCD_LINES defines. Also, how do you have the pin Vo connected in your LCD?