Sergio:
Here it goes very basic indeed .... just the empty skeleton ... and you get the error ... I downloaded the IDE before yesterday ...
#include <Arduino.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <Time.h>
#include <sys/time.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
-----
Arduino: 1.5.3-Intel.1.0.4 (Mac OS X), Board: "Intel® Edison"
In file included from /Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/sys/stat.h:105:0,
from sketch_nov01a.ino:3:
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:91:21: error: field 'st_atim' has incomplete type
struct timespec st_atim; /* Time of last access. */
^
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:92:21: error: field 'st_mtim' has incomplete type
struct timespec st_mtim; /* Time of last modification. */
^
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:93:21: error: field 'st_ctim' has incomplete type
struct timespec st_ctim; /* Time of last status change. */
^
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:152:21: error: field 'st_atim' has incomplete type
struct timespec st_atim; /* Time of last access. */
^
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:153:21: error: field 'st_mtim' has incomplete type
struct timespec st_mtim; /* Time of last modification. */
^
/Users/acasado/Desktop/ArduinoEdison.app/Contents/Resources/Java/hardware/tools/edison/sysroots/core2-32-poky-linux/usr/include/bits/stat.h:154:21: error: field 'st_ctim' has incomplete type
struct timespec st_ctim; /* Time of last status change. */
^
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.