Exit status 1 error issues

Trying to code 3 leds to a button and one tone buzzer. What am i doing wrong here??

const int ledPin = 13;
const int ledPin2 = 12;
const int ledPin3 = 8;
const int buzzerPin = 7;
const int buttonPin = 2;

int buttonState = 0;
void setup() {

Serial.begin(9600);

pinMode(ledPin, OUTPUT);
pinMode(ledPin2, OUTPUT);
pinMode(ledPin3, OUTPUT);
pinMode(buzzerPin, OUTPUT);
pinMode(buttonPin, INPUT);
}

void loop() {

buttonState = digitalRead(buttonPin);

if (buttonState == HIGH) {

digitalWrite(ledPin, HIGH);
digitalWrite(ledPin2, HIGH);
digitalWrite(ledPin3, HIGH);
tone(buzzerPin, 100);
Serial.println("----------------");
} else {

digitalWrite(ledPin, LOW);
digitalWrite(ledPin,2 LOW);
digitalWrite(ledPin,3 LOW);
noTone(buzzerPin);

Serial.println("ALARM DEACTIVATED");
}
}

Make a couple changes:

pinMode(buttonPin, INPUT_PULLUP); // turn on internal pullup resistor

Wire the button to connect the pin to Gnd when pressed.
Then change the checking logic:

if (buttonState == LOW) { // was button pressed?

yes.

still getting the same result

How about posting the new code and perhaps telling us what "the same result" is? I.e. actual details of any error you see.

Steve

    digitalWrite(ledPin, LOW);
    digitalWrite(ledPin, 2 LOW);
    digitalWrite(ledPin, 3 LOW);

Spot the difference between the first line and the other 2