Seems like the LiquidCrystal_I2C library you're using may not be compatible with the IDE version you're using. There were several changes in IDE version 1 which made it incompatible with libraries designed for use with earlier versions of the IDE, and not all libraries have been updated.
What version IDE are you using, and where does that library come from?
thanks for the replies guys , am loving the arduino community....as IDE am using the 1.0.5, the board is a uno and the sheild is YwRobot LCM1602 IIC V1