error compiling sketch from ethernet library

hi, im trying to compile an sketch, but i get some errors, i have to tell you that this same does well in a windows machine but on my linux running kalilinux based debian doesnt do

here the scketch and at the final the errors throwed

#include <IRLib.h>
#include “etherShield.h”
#include “ETHER_28J60.h”

static uint8_t mac[6] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05}; // this just needs to be unique for your network,
// so unless you have more than one of these boards
// connected, you should be fine with this value.

static uint8_t ip[4] = {192, 168, 10, 202}; // the IP address for your board. Check your home hub
// to find an IP address not in use and pick that
// this or 10.0.0.15 are likely formats for an address
// that will work.

static uint16_t port = 80; // Use port 80 - the standard for HTTP

ETHER_28J60 e;

IRsend My_Sender;
//int ledPin = 13;
String readString;

void setup() {
e.setup(mac, ip, port);
Serial.begin(9600);
//pinMode(ledPin, OUTPUT);
}

void loop() {
//while (Serial.available()) {
//delay (3);
//char c = Serial.read();
//readString += c;
char* params;
if (params = e.serviceRequest())
{
e.print(“

SERVICIO WEB REMOTO

”);
e.print("APAGAR
");
e.print("ENCENDER
");
if (strcmp(params, “?cmd=on”) == 0)
{
{
My_Sender.send(NEC,0x1818D02F, 32); //ON-OFF
//digitalWrite(ledPin,HIGH);
}
//digitalWrite(outputPin, HIGH);
//e.print(“APAGAR”);
e.print(“EL LED ESTA ENCENDIDO>”);
}
else if (strcmp(params, “?cmd=off”) == 0) // Modified – 2011 12 15 # Ben Schueler
{
{
My_Sender.send(NEC,0x1818A857, 32); // INPUT
//digitalWrite(ledPin,LOW);
}
//digitalWrite(outputPin, LOW);
//e.print(“ENCENDER”);
e.print(“EL LED ESTA APAGADO>”);

}

}
readString="";
}

erors

In file included from /home/joel/Descargas/arduino-1.6.1/libraries/etherShield/etherShield.h:25:0,
from sketch_mar28a.ino:2:
/home/joel/Descargas/arduino-1.6.1/libraries/etherShield/ip_arp_udp_tcp.h:32:66: error: ‘prog_char’ does not name a type
extern uint16_t fill_tcp_data_p(uint8_t *buf,uint16_t pos, const prog_char *progmem_s);
^
/home/joel/Descargas/arduino-1.6.1/libraries/etherShield/ip_arp_udp_tcp.h:32:77: error: ISO C++ forbids declaration of ‘progmem_s’ with no type [-fpermissive]
extern uint16_t fill_tcp_data_p(uint8_t *buf,uint16_t pos, const prog_char *progmem_s);
^
In file included from sketch_mar28a.ino:2:0:
/home/joel/Descargas/arduino-1.6.1/libraries/etherShield/etherShield.h:34:65: error: ‘prog_char’ does not name a type
uint16_t ES_fill_tcp_data_p(uint8_t *buf,uint16_t pos, const prog_char *progmem_s);
^
/home/joel/Descargas/arduino-1.6.1/libraries/etherShield/etherShield.h:34:76: error: ISO C++ forbids declaration of ‘progmem_s’ with no type [-fpermissive]
uint16_t ES_fill_tcp_data_p(uint8_t *buf,uint16_t pos, const prog_char *progmem_s);
^
Error de compilación

You crossposted also in the Spanish section : http://forum.arduino.cc/index.php?topic=311900.0 That means that people trying to help, without knowing of each other.

The "prog_char" is no longer used, it is now "const char *progmem_s".

However, I think I see an other problem. Did you unpack Arduino 1.6.1 in the Downloads folder ? and did you copy the EtherShield library into the system files of the Arduino 1.6.1 ?

When you need to install a library, it is best to use the Arduino IDE and select the zip-file of the library. Those libraries will be installed in the "libraries" folder next to your projects.