GSM library

Library problems?

Probably not. It's far more likely that it is YOUR code.