wat does dis mean?? wat should i do to overcome this problem???

…pls respond


It means you need something called "display1", and that you need to post error messages, not screenshots. And code. In code tags

Edit: Oops, wrong image file viewed - ignore comments below, except those about code tags.

The code is:

#include <SoftwareSerial.h>

#include <Servo.h>
Servo myservo1, myservo2, myservo3, myservo4, myservo5, myservo6;

int bluetoothTx = 7;
int bluetoothRx = 8;

SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);

void setup()
//Setup usb serial connection to computer

//Setup Bluetooth serial connection to android

void loop()
//Read from bluetooth and write to usb serial
if(bluetooth.available()>= 2 )
unsigned int servopos = bluetooth.read();
unsigned int servopos1 = bluetooth.read();
unsigned int realservo = (servopos1 *256) + servopos;

if (realservo >= 1000 && realservo <1180){
int servo1 = realservo;
servo1 = map(servo1, 1000,1180,0,180);
Serial.println(“servo 1 ON”);


if (realservo >=2000 && realservo <2180)
int servo2 = realservo;
servo2 = map(servo2,2000,2180,0,180);
Serial.println(“servo 2 On”);


if (realservo >=3000 && realservo < 3180)
int servo3 = realservo;
servo3 = map(servo3, 3000, 3180,0,180);
Serial.println(“servo 3 On”);
if (realservo >=4000 && realservo < 4180)
int servo4 = realservo;
servo4 = map(servo4, 4000, 4180,0,180);
Serial.println(“servo 4 On”);

if (realservo >=5000 && realservo < 5180)
int servo5 = realservo;
servo5 = map(servo5, 5000, 5180,0,180);
Serial.println(“servo 5 On”);

if (realservo >=6000 && realservo < 6180)
int servo6 = realservo;
servo6 = map(servo6, 6000, 6180,0,180);
Serial.println(“servo 6 On”);

The error message is:

Arduino: 1.6.11 (Windows XP), Board: “Arduino/Genuino Uno”

collect2.exe: error: ld returned 5 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.

Two things: 1) Quite clearly that is not the code in the screenshot, so that's been a waste of time. 2) Equally clearly, you ignored the request for code tags.

That's not the entire error message. That is showing the results of the error. It found an error which caused the linker to return 5 and caused the compiler to return 1. They'll do that for just about any error.

There was also some text which told what the error actually was. That's what is needed.

And don't forget the code tags this time. Why didn't you read the sticky at the top of the board about how to use the forum. It explains how to properly post code. Do you think you are so special that the rules don't apply to you? OR are you one of those people who skips the directions and just dives in? Those people rarely make good coders. The difference between a good coder and a shitty one is the tendency to read first and write second.


When a UNIX process terminates, it returns an exit status. Traditionally, an exit status of 0 means "no error", and any other status means an error has occurred. Exit statuses are of interest when you are building small unix commands and chaining them together using scripting: the script can use the exit status to determine what to do next.

The arduino compiler and linker are processes. They return a nonzero to indicate a problem. The IDE shows you this number because … well, because why would you just throw it away?

collect2.exe: error: ld returned 5 exit status

This is a known bug with Windows XP. You can study all the links below, but I’d rather update the operating system.

See this thread. https://forum.arduino.cc/index.php?topic=310950.0

It’s also a listed github arduino issue "ld returned 5 exit status" on Win XP · Issue #2989 · arduino/Arduino · GitHub

There is a possibility that it has been fixed with one of the nightly builds.