MPU 6050 With Intel Galileo

That library is written for the Arduino, AVR 8-bit Arduino to be exact (the Due case is handled by ifdefs but most library developers don't care for the Galileo as it's not an official Arduino project), you have to modify it to run on the Galileo.

You can get around that specific error by replacing this block

#ifndef __arm__
#include <avr/pgmspace.h>
#else
#define PROGMEM /* empty */
#define pgm_read_byte(x) (*(x))
#define pgm_read_word(x) (*(x))
#define pgm_read_float(x) (*(x))
#define PSTR(STR) STR
#endif

by

#define PROGMEM /* empty */
#define pgm_read_byte(x) (*(x))
#define pgm_read_word(x) (*(x))
#define pgm_read_float(x) (*(x))
#define PSTR(STR) STR