HELP!!! ATtiny with Arduino Uno

I am trying to program AtTiny with Arduino Uno

I follow this instruction about how to make a Blinked Led with
Attiny

and I made it work. But this is not what I want.

I want to send a string like “HELLO” through ATtiny’s port to Rx port of other chip.

I open Arduno 1.0.6 , select “ATtiny85 /w Arduino as ISP” from Tools/Board and select “Arduino as ISP” from Tools/Programmer

Then using the following code :

#include <SoftwareSerial.h>
#include <Arduino.h>
SoftwareSerial mySerial(3, 4); // RX, TX

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }


  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
  mySerial.println("Hello, world?");
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read());
}

but when I verify/compile , I always receive this error :

In file included from SoftwareSerialExample.ino:28:
E:\download\arduino-1.0.6-windows\arduino-1.0.6\libraries\SoftwareSerial/SoftwareSerial.h:48: error: expected class-name before ‘{’ token
E:\download\arduino-1.0.6-windows\arduino-1.0.6\libraries\SoftwareSerial/SoftwareSerial.h:92: error: ‘size_t’ does not name a type
E:\download\arduino-1.0.6-windows\arduino-1.0.6\libraries\SoftwareSerial/SoftwareSerial.h:97: error: ‘Print’ has not been declared
SoftwareSerialExample.ino: In function ‘void setup()’:
SoftwareSerialExample:35: error: ‘Serial’ was not declared in this scope
SoftwareSerialExample:45: error: ‘class SoftwareSerial’ has no member named ‘println’
SoftwareSerialExample.ino: In function ‘void loop()’:
SoftwareSerialExample:51: error: ‘Serial’ was not declared in this scope
SoftwareSerialExample:52: error: ‘Serial’ was not declared in this scope
SoftwareSerialExample:53: error: ‘class SoftwareSerial’ has no member named ‘write’

Can anyone help me to solve this problem?
I really appreciate your help.

#include <Arduino.h>
#include <SoftwareSerial.h>

try swapping them around - SoftwareSerial.h is depending on a few definitions that are not defined yet (but, are in Arduino.h)