Error al compilar

Hello yesterday I bought this board KA04 and no driver works for me …

Arduino:1.6.0 (Linux), Placa:“Arduino Uno”

Options compilation? N changed, rebuilding all

In file included from ka04_sample_code.ino:2:0:
/root/Arduino/libraries/EtherCard/EtherCard.h:145:26: error: ‘prog_char’ has not been declared
static void browseUrl (prog_char *urlbuf, const char *urlbuf_varpart,
^
/root/Arduino/libraries/EtherCard/EtherCard.h:146:26: error: ‘prog_char’ has not been declared
prog_char *hoststr,
^
/root/Arduino/libraries/EtherCard/EtherCard.h:148:25: error: ‘prog_char’ has not been declared
static void httpPost (prog_char *urlbuf, prog_char *hoststr,
^
/root/Arduino/libraries/EtherCard/EtherCard.h:148:44: error: ‘prog_char’ has not been declared
static void httpPost (prog_char *urlbuf, prog_char *hoststr,
^
/root/Arduino/libraries/EtherCard/EtherCard.h:149:25: error: ‘prog_char’ has not been declared
prog_char *header, const char postval,
^
/root/Arduino/libraries/EtherCard/EtherCard.h:167:26: error: ‘prog_char’ has not been declared
static bool dnsLookup (prog_char
name);
^
Error de compilaci?n

This report would have more information with
“Show verbose output during compilation”
activala desde Archivo > Preferencias

I believe you need Arduino IDE 1.0.6, the EtherCard library is not compatible with the recently released Arduino IDE 1.6.

OR

In Arduino IDE 1.6, try this updated sketch and library:
velleman.eu/downloads/files/ … e_code.zip

Don’t forget to put the new EtherCard folder in the Arduino libraries directory

I have exactly the same issues. Using IDE 1.6.7 on Windows 7. Bought KA04 just a few days ago.
The files provided in the link do NOT provide a solution. It’s now end of December 2015, the library files is still dated March 2015.

Please provide a proper libraries!

Hi,

Thanks for bringing the issue up.
I’ve compiled the sketch with 1.6.5 and it works.
Installed then the 1.6.7 IDE and as you stated it doesn’t compile.
We’ll be looking at the library and update it as soon as possible

Best Regards,
VEL337

Try this updated library and example:
velleman.eu/downloads/files/ … erCard.zip

The new library works fine. Thank you for the update!