What does this mean?

I am trying to program a steppermotor, and this is my programming:

#include <StepperMotor.h>

StepperMotor motor(8,9,10,11);

void setup(){
Serial.begin(9600);
motor.setStepDuration(1);
}

void loop(){
motor.step(1000);
delay(2000);
motor.step(-1000);
delay(2000);
}

And this is the error message:

Arduino: 1.8.1 (Windows 8), Board: "Arduino/Genuino Uno"

C:\Users\AppData\Local\Temp\cc7PVvWb.ltrans0.ltrans.o: In function `__static_initialization_and_destruction_0':

\192.\Students\00-Grade\Hami El Penguino\2016-2017\Hami's Arduino\arduino-1.8.1\libraries\StepperMotor\StepperMotor2/StepperMotor2.ino:3: undefined reference to `StepperMotor::StepperMotor(int, int, int, int)'

C:\UsersAppData\Local\Temp\cc7PVvWb.ltrans0.ltrans.o: In function `setup':

\192.\Students\00-Grade\Hami El Penguino\2016-2017\Hami's Arduino\arduino-1.8.1\libraries\StepperMotor\StepperMotor2/StepperMotor2.ino:7: undefined reference to `StepperMotor::setStepDuration(int)'

C:\Users\HJIS\AppData\Local\Temp\cc7PVvWb.ltrans0.ltrans.o: In function `loop':

\192.\Students\00-Grade\Hami El Penguino\2016-2017\Hami's Arduino\arduino-1.8.1\libraries\StepperMotor\StepperMotor2/StepperMotor2.ino:11: undefined reference to `StepperMotor::step(int)'

\192\Students\00-Grade\Hami El Penguino\2016-2017\Hami's Arduino\arduino-1.8.1\libraries\StepperMotor\StepperMotor2/StepperMotor2.ino:13: undefined reference to `StepperMotor::step(int)'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

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

How do I fix this?

Just guessing have you defined StepperMotor motor?

I see no int in your code just as the error message said

StepperMotor(int pin1, int pin2, int pin3, int pin4, int stepsPerRevolution);

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

How do I fix this?

Step 1: Do what the message says.

It looks like you have somehow deleted Stepper.cpp from the directory where Stepper.h lives.