expected primary-expression before ',' token ...problem
Assuming that your motor is connected to pin 8, and you want to set that signal high, you have to define it:

#define motor 8

void setup() {
   pinMode(8, OUTPUT);
}

void loop()
{
  digitalWrite(motor, HIGH);
  // put your main code here, to run repeatedly:
}


Since you use it also in setup, also replace it there:

#define motor 8

void setup() {
   pinMode(motor, OUTPUT);
}

void loop()
{
  digitalWrite(motor, HIGH);
  // put your main code here, to run repeatedly:
}


Beyond that, MOTOR_PIN is a better name, since it is a pin you refer to, not the motor itself. Also it is a convention that defines are written with capitals, so you get:

#define MOTOR_PIN 8

void setup() {
   pinMode(MOTOR_PIN, OUTPUT);
}

void loop()
{
  digitalWrite(MOTOR_PIN, HIGH);
  // put your main code here, to run repeatedly:
}