lingeshbarani / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

geeting error while including GSM and SoftwareSerial library #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i get this error when including GSM and softwareSerial Library on my 
sketchbook, could someone fix my problem?

SoftwareSerial/SoftwareSerial.cpp.o: In function `__vector_3':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/Softw
areSerial.cpp:305: multiple definition of `__vector_3'
GSM/GSM3SoftSerial.cpp.o:/Applications/Arduino.app/Contents/Resources/Java/libra
ries/GSM/GSM3SoftSerial.cpp:511: first defined here
SoftwareSerial/SoftwareSerial.cpp.o: In function `__vector_4':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/Softw
areSerial.cpp:312: multiple definition of `__vector_4'
GSM/GSM3SoftSerial.cpp.o:/Applications/Arduino.app/Contents/Resources/Java/libra
ries/GSM/GSM3SoftSerial.cpp:518: first defined here
SoftwareSerial/SoftwareSerial.cpp.o: In function `__vector_5':
/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial/Softw
areSerial.cpp:319: multiple definition of `__vector_5'
GSM/GSM3SoftSerial.cpp.o:/Applications/Arduino.app/Contents/Resources/Java/libra
ries/GSM/GSM3SoftSerial.cpp:525: first defined here

Original issue reported on code.google.com by ojank...@gmail.com on 6 Jun 2013 at 7:55

GoogleCodeExporter commented 8 years ago
could you provide us your code?

Original comment by martines...@gmail.com on 7 Jun 2013 at 7:46

GoogleCodeExporter commented 8 years ago
sorry, i was wrong, 
i'm using GSM arduino core library, 
thanks for quick response by the way...

Original comment by ojank...@gmail.com on 7 Jun 2013 at 1:57

GoogleCodeExporter commented 8 years ago
Good. Thanks for the update!

Original comment by martines...@gmail.com on 7 Jun 2013 at 2:02

GoogleCodeExporter commented 8 years ago
I have a similar issue. I am using a MEGA board.I can get my sketch to compile 
and run when I include SoftwareSerial even though I have it commented out in 
the appropriate files. If I leave SoftwareSerial commented out in my sketch it 
won't compile the first time I try it. If I then include SoftwareSerail in my 
sketch it compiles ok. Then if I comment SoftwareSerial out, the next time I 
compile it compiles OK and the memory used is smaller. It is weird. I have been 
looking through My GSM files and can't find any place it needs SoftwareSerial 
because I am using the Mega. My errors are as follows:
C:\TMP\build3959443981739866420.tmp\GSMSHIELD\WideTextFinder.cpp.o 
In file included from 
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\WideTextFinder.cpp:1:
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\/WideTextFinder.h:6:28: warning: 
SoftwareSerial.h: No such file or directory
In file included from 
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\WideTextFinder.cpp:1:
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\/WideTextFinder.h:11: error: ISO 
C++ forbids declaration of 'SoftwareSerial' with no type
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\/WideTextFinder.h:11: error: 
expected ';' before '*' token
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\/WideTextFinder.h:22: error: 
expected `)' before '&' token
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\WideTextFinder.cpp: In member 
function 'char WideTextFinder::read()':
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\WideTextFinder.cpp:11: error: 
'nSerialStream' was not declared in this scope
C:\Arduino\arduino-1.0.4\libraries\GSMSHIELD\WideTextFinder.cpp: At global 
scope:

StanK

P.S. This my first post on this site, so bear with me.

Original comment by SDKarasz...@gmail.com on 7 Jun 2013 at 10:51

GoogleCodeExporter commented 8 years ago
Check the instructions file in the doc file and check how to configure Mega 
board.

Original comment by martines...@gmail.com on 22 Jun 2013 at 8:49

GoogleCodeExporter commented 8 years ago
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:25

GoogleCodeExporter commented 8 years ago
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