Understanding the Error

This is my code:

Servo myservo;
void setup()
{
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}
int incomingByte = 0;
void loop() {
myservo.attach(9);
myservo.write = Serial.read(incomingByte); // set servo any angle
}
But I get this error message:

Aero_Pendulum_Code.ino: In function 'void loop()':

Aero_Pendulum_Code.ino:107:45: error: no matching function for call to 'HardwareSerial::read(int&)'

Aero_Pendulum_Code.ino:107:45: note: candidate is:

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:223:0,

from Aero_Pendulum_Code.ino:99:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:116:17: note: virtual int HardwareSerial::read()

virtual int read(void);

^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:116:17: note: candidate expects 0 arguments, 1 provided

Error compiling.

Can someone help me figure this out. Thanks

Where is this line?
#include <Servo.h>

.

Pete

larryd:
Where is this line?
#include <Servo.h>

.I do have this line I just didn't copied it to the post

OK thanks. I am still new to Arduino... so some stuff is new to me. But I will keep trying