Compiling Error with Arduino Uno with Bluetooth USB Host Shield For Dualshock 3

Hello, I am very new to Arduino programming. I want to connect my Dualshock 3 controller to control a robot with an Arduino Uno using a Bluetooth Shield, but when I attempt to upload the code I get an error message
“exit status 1
Error compiling for board Arduino/Genuino Uno.”

Here is my code:

#include <SPI.h>
#include <PS3BT.h>                                              //Include the necessary libraries.

#include <Servo.h>

USB Usb;

BTD Btd(&Usb);

PS3BT PS3(&Btd);



Servo servo1;                                                         //Create instances of type Servo. servo1 is the left servo and servo2 is the right servo

Servo servo2;



void setup() {

  Serial.begin(115200);



  if (Usb.Init() == -1) {

    Serial.print(F("\r\nOSC did not start"));

    while (1); //halt

  }

  Serial.print(F("\r\nPS3 Bluetooth Library Started"));



  servo1.attach(9);                                                  //left servo on digital pin 5

}

void loop()

{

  Usb.Task();



  if (PS3.PS3Connected || PS3.PS3NavigationConnected) {



    servo1.write(map(PS3.getAnalogHat(LeftHatY), 0, 255, 180, 0));

    servo2.write(map(PS3.getAnalogHat(RightHatY), 0, 255, 180, 0));

    Serial.println(map(PS3.getAnalogHat(RightHatX), 0, 255, 0, 180)); //not sure what this does 

  }

  if (PS3.getButtonClick(UP)) {



    Serial.print(F("\r\nUp"));



    if (PS3.PS3Connected) {

      PS3.setLedOff();

      PS3.setLedOn(LED1);



    }

  }

}

I have downloaded the proper libraries and have made sure to include them via Sketch > Include Library.

Any help would be greatly appreciated!

(deleted)

Also (as you'll find out later), using a servo without attaching it to a pin is pretty dumb.