Attempting to make from the latest master 01845e9245552bc4b464b0de3a9b98af7bb1d134 on a rpi running debian v 8.0, Raspbian GNU/Linux 8 (jessie).
cc -c -o wii-u-gc-adapter.o wii-u-gc-adapter.c -Wall -Wextra -pedantic -Wno-format -std=c99 -I/usr/include/libusb-1.0 -O2
wii-u-gc-adapter.c: In function ‘handle_payload’:
wii-u-gc-adapter.c:310:11: warning: missing braces around initializer [-Wmissing-braces]
struct input_event events[12+6+1] = {0}; // buttons + axis + syn event
^
wii-u-gc-adapter.c:310:11: warning: (near initialization for ‘events[0]’) [-Wmissing-braces]
wii-u-gc-adapter.c:310:11: warning: missing initializer for field ‘type’ of ‘struct input_event’ [-Wmissing-field-initializers]
In file included from wii-u-gc-adapter.c:11:0:
/usr/include/linux/input.h:24:8: note: ‘type’ declared here
__u16 type;
^
wii-u-gc-adapter.c: In function ‘main’:
wii-u-gc-adapter.c:642:14: error: ‘LIBUSB_HOTPLUG_NO_FLAGS’ undeclared (first use in this function)
LIBUSB_HOTPLUG_NO_FLAGS, 0x057e, 0x0337,
^
wii-u-gc-adapter.c:642:14: note: each undeclared identifier is reported only once for each function it appears in
Makefile:16: recipe for target 'wii-u-gc-adapter.o' failed
make: *** [wii-u-gc-adapter.o] Error 1
Attempting to make from the latest master
01845e9245552bc4b464b0de3a9b98af7bb1d134
on a rpi running debian v 8.0, Raspbian GNU/Linux 8 (jessie).