mlinaje/gsm-shield-arduino

examples wont compile

Closed this issue · 4 comments

I downloaded the beta v310 zip file and extracted into Arduino folder, but the 
example .ino files wont compile.  For example in the "SMS" example, 

GSM_GPRSLibrary_SMS.cpp.o: In function 
`__static_initialization_and_destruction_0':
/Streaming.h:27: undefined reference to `LOG::LOG(int)'
GSM_GPRSLibrary_SMS.cpp.o: In function `loop':
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `gsm'
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `gsm'
GSM_GPRSLibrary_SMS.cpp:54: undefined reference to `SIMCOM900::readSMS(char*, 
int, char*, int)'
GSM_GPRSLibrary_SMS.cpp.o: In function `setup':
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `gsm'
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `gsm'
/GSM_GPRSLibrary_SMS.cpp:36: undefined reference to `GSM::begin(long)'

Im running UNO and so according to your instructions I commented out //#define 
MEGA in HWSerial.h, and //#define MEGA in GSM.h.   All the .h files are in the 
same directory as the .ino example file.

Thank you for your thoughts on this .  Im stumped.

Original issue reported on code.google.com by alexpipe...@gmail.com on 22 May 2012 at 12:39

o.k. nevermind.... I copied all the .cpp files into the same directory as the 
.ino file and that worked. 

Original comment by alexpipe...@gmail.com on 22 May 2012 at 1:14

Ok, thank you for reply ;)

Original comment by martines...@gmail.com on 22 May 2012 at 10:05

Original comment by martines...@gmail.com on 23 May 2012 at 9:54

  • Changed state: Fixed
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27