/usr/include/i386-linux-gnu/bits/stat.h:46:8: error: type 'struct stat' violates one definition rule [-Werror=odr]
struct stat
^
/usr/include/i386-linux-gnu/bits/stat.h:46:0: note: a different type is defined in another translation unit
struct stat
^
/usr/include/i386-linux-gnu/bits/stat.h:53:13: note: the first difference of corresponding definitions is field 'st_ino'
__ino_t st_ino; /* File serial number. */
^
/usr/include/i386-linux-gnu/bits/stat.h:55:13: note: a field with different name is defined in another translation unit
__ino_t __st_ino; /* 32bit file serial number. */
Interesting... this seems to be a genuine error; we've included stat.h with twice, with different compile options, really giving us two different definitions of struct stat.
/usr/include/ i386-linux- gnu/bits/ stat.h: 46:8: error: type 'struct stat' violates one definition rule [-Werror=odr] i386-linux- gnu/bits/ stat.h: 46:0: note: a different type is defined in another translation unit i386-linux- gnu/bits/ stat.h: 53:13: note: the first difference of corresponding definitions is field 'st_ino' i386-linux- gnu/bits/ stat.h: 55:13: note: a field with different name is defined in another translation unit
struct stat
^
/usr/include/
struct stat
^
/usr/include/
__ino_t st_ino; /* File serial number. */
^
/usr/include/
__ino_t __st_ino; /* 32bit file serial number. */
Interesting... this seems to be a genuine error; we've included stat.h with twice, with different compile options, really giving us two different definitions of struct stat.