problem in SoftwareSerial (error messages)

I use arduino Doflye version board(Arduino Uno Improved Version in Chinese ), this version needs CH341 USB to Serial Driver installed to be able to connect this board, also it needs to Configurate the board file for Arduino IDE so I can update the program to the board.
The board get the name as Arduino Optiboot8 instead of Arduino Uno.

My project is to send sms using GSM TC35 module include the message of tempreture. I got the following problem:

Arduino: 1.5.6-r2 (Windows 7), Board: "Arduino Optiboot8"

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int)':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:399: error: 'PCICR' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:402: error: 'PCMSK2' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:402: error: 'PCMSK0' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:402: error: 'PCMSK1' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::end()':
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:417: error: 'PCMSK2' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:417: error: 'PCMSK0' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.cpp:417: error: 'PCMSK1' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

please help :~

Arduino Uno Improved Version in Chinese

Improved, huh? The "un-improved" Uno doesn't have all those errors.

Looks like there is some problem with the include files that are included for your non-Arduino.

POST ur code here.......

vsathish:
POST ur code here.......

Learn to spell, damn it!

vsathish:
POST ur code here.......

#include <SoftwareSerial.h> 
SoftwareSerial gsmSerial(2,3);
int pin = 0;
int tempc = 0; 
void setup()
{
gsmSerial.begin(9600);
delay(5000);
}
void loop() {
tempc = 0;
tempc = ( 5.0 * analogRead(pin) * 100.0) / 1024.0;
sendTextMessage();
delay(60000);
}
void sendTextMessage() {
gsmSerial.print("AT+CMGF=1\r");
delay(100);
gsmSerial.println("AT+CMGS=\"+xxxxxxxxxx\"");
delay(100);
gsmSerial.println("Temp: ");
gsmSerial.print(tempc);
gsmSerial.println(" C");
delay(100);
gsmSerial.println((char)26);
}

vsathish:
POST ur code here.......

"Post you are code"
Doesn't make sense, see?

When does this error appears while compiling or uploading?............................
i complied this code no error..................

vsathish:
When does this error appears while compiling or uploading?............................
i complied this code no error..................

Did you pick the same board as OP?

in Arduino: 1.5.6-r2

there is no Arduino optiboot8

vsathish:
in Arduino: 1.5.6-r2

there is no Arduino optiboot8

One of these days, I hope you learn to quote, so we have idea what you are talking about. With no context, this collection of words is complete nonsense.

I also have problem compiling the following code. It is meant for Arduino GSM/GPRS Gboard. SoftwareSerial keeps returning compiling error.

// libraries
#include <GSM.h>
#include "SoftwareSerial.h"

#define rxPin 3
#define txPin 2

SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);

//Pin definition
#define GSM_ON 6  
#define GSM_RESET 7 

// initialize the library instance
GSM gsmAccess; // include a 'true' parameter for debug enabled
GSMVoiceCall vcs;
GSM_SMS sms;

int i;
String remoteNumber = "+2348099142370";
char charbuffer[20];  // Array to hold the number for the incoming call    

void setup()
{
  // initialize serial communications and wait for port to open:
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);
  // set the data rate for the SoftwareSerial port
  Serial.begin(9600);
  pinMode(GSM_ON, OUTPUT);  // pin 6-Gboard
  pinMode(GSM_RESET, OUTPUT); // pin 7-Gboard
   
  // connection state
  boolean notConnected = true;
  
  // Start GSM shield
  while(notConnected)
  {
    if(GSM_READY)
      notConnected = false;
    else
    {
      Serial.println("Not connected");
      delay(1000);
    }
  }

Try putting #include <Arduino.h> at the very top of your sketch.

...R

Hi I did, it still returned compiling error message.

The comment on the error is pasted below.
All I want is a working sketch that can call and send text message to my GSM phone. I only included the first section that is meant to place the call.

Thank you.

Error Message:

GSM\GSM3SoftSerial.cpp.o: In function __vector_5': C:\Program Files (x86)\Arduino\libraries\GSM/GSM3SoftSerial.cpp:525: multiple definition of __vector_5'
SoftwareSerial\SoftwareSerial.cpp.o:C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:319: first defined here
GSM\GSM3SoftSerial.cpp.o: In function __vector_4': C:\Program Files (x86)\Arduino\libraries\GSM/GSM3SoftSerial.cpp:518: multiple definition of __vector_4'
SoftwareSerial\SoftwareSerial.cpp.o:C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:312: first defined here
GSM\GSM3SoftSerial.cpp.o: In function __vector_3': C:\Program Files (x86)\Arduino\libraries\GSM/GSM3SoftSerial.cpp:511: multiple definition of __vector_3'
SoftwareSerial\SoftwareSerial.cpp.o:C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:305: first defined here

It looks like the SoftwareSerial library is trying to use the same interrupt vectors as the GSM library.

You can verify this by temporarily commenting out all references to the GSM library and then seeing if the sketch compiles.

If that is the problem you will need an alternative to SoftwareSerial. One option is a very basic alternative that I wrote here. I have no idea whether it will meet your needs.

By the way, my suggestion to add Arduino.h was in response to the OP's problems, not yours. I don't think I had noticed that you had added yourself to the Thread.

...R