Make: *** [mySQLConnector] Error 1

Hey Guys I am getting this error when trying to compile this C code on Eclipse and I am not sure why?

#include <stdio.h>
#include <mysql/mysql.h>

int main(){

	MYSQL_RES *res;
	MYSQL_ROW row;
	char *server = "localhost";
	char *user = "shane";
	char *password = "Gaming12";
	char *database = "fair";
	MYSQL *con = mysql_init(NULL);
	//connecting
	if (!mysql_real_connect(con, server,
	         user, password, database, 0, NULL, 0)) {
	      fprintf(stderr, "%s\n", mysql_error(con));
	      exit(1);
	   }
	if(mysql_query(con,"INSERT INTO companies VALUES('ISF',0,'quartz3')")){
		finish_with_error(con);
	}
	mysql_close(con);
	  exit(0);

	  return 0;
}