You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I now keep getting an error error: ‘struct input_event’ has no member named ‘input_event_usec’ when building on raspbian jessie.
here is the full output:
make[2]: Entering directory '/home/pi/tslib/tslib/tools'
CC ts_uinput.o
ts_uinput.c: In function ‘send_touch_events’:
ts_uinput.c:173:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:174:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:181:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:182:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:195:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:196:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:202:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:203:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:209:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:210:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:217:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:218:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:224:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:225:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:231:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:232:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:238:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:239:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:245:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:246:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:252:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:253:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:259:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:260:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:266:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:267:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:273:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:274:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:280:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:281:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:287:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:288:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:294:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:295:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:301:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:302:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:308:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:309:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:316:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:317:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:325:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:326:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:336:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:337:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
Makefile:425: recipe for target 'ts_uinput.o' failed
make[2]: *** [ts_uinput.o] Error 1
make[2]: Leaving directory '/home/pi/tslib/tslib/tools'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/tslib/tslib'
Makefile:384: recipe for target 'all' failed
make: *** [all] Error 2
The build was working about 4 days ago. What happened? What is a workaround to this?
The text was updated successfully, but these errors were encountered:
thebestofall007
changed the title
error: ‘struct input_event’ has no member named ‘input_event_usec’ when building on raspbian.
error: ‘struct input_event’ has no member named ‘input_event_usec’ when building on raspbian jessie.
Mar 16, 2020
I now keep getting an error
error: ‘struct input_event’ has no member named ‘input_event_usec’
when building on raspbian jessie.here is the full output:
make[2]: Entering directory '/home/pi/tslib/tslib/tools'
CC ts_uinput.o
ts_uinput.c: In function ‘send_touch_events’:
ts_uinput.c:173:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:174:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:181:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:182:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:195:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:196:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:202:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:203:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:209:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:210:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:217:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:218:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:224:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:225:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:231:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:232:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:238:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:239:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:245:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:246:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:252:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:253:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:259:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:260:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:266:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:267:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:273:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:274:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:280:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:281:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:287:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:288:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:294:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:295:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:301:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:302:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:308:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:309:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:316:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:317:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:325:16: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:326:16: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
ts_uinput.c:336:15: error: ‘struct input_event’ has no member named ‘input_event_sec’
data->ev[c].input_event_sec = s[j][i].tv.tv_sec;
^
ts_uinput.c:337:15: error: ‘struct input_event’ has no member named ‘input_event_usec’
data->ev[c].input_event_usec = s[j][i].tv.tv_usec;
^
Makefile:425: recipe for target 'ts_uinput.o' failed
make[2]: *** [ts_uinput.o] Error 1
make[2]: Leaving directory '/home/pi/tslib/tslib/tools'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/tslib/tslib'
Makefile:384: recipe for target 'all' failed
make: *** [all] Error 2
The build was working about 4 days ago. What happened? What is a workaround to this?
The text was updated successfully, but these errors were encountered: