Error with GSM.h library when trying to compile

Pokhraj:
Hello,

One confusion. I have added arduino pin 9 to GSM RX and arduino pin 8 to GSM TX. And GND of arduino with GSM GND pin.

Is any anywhere I need to mention the pin numbers at my sketch?

Thanks-
Pokhraj

Yes. The software doesn't know where you have connected the GSM module, unless you tell it, or it tells you where to connect it.