-
Victor Toso authored
> [4/15] Compiling C object tools/usbredirect.p/usbredirect.c.o > FAILED: tools/usbredirect.p/usbredirect.c.o > > cc -Itools/usbredirect.p -Itools -I../tools -Iusbredirhost -I../usbredirhost -I. > -I.. -Iusbredirparser -I../usbredirparser -I/usr/include/libusb-1.0 > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include > -I/usr/include/gio-unix-2.0/ -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch > -O2 -g --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fstack-protector -Werror > -pthread -Wno-deprecated-declarations -MD -MQ > tools/usbredirect.p/usbredirect.c.o -MF tools/usbredirect.p/usbredirect.c.o.d -o > tools/usbredirect.p/usbredirect.c.o -c ../tools/usbredirect.c > > ../tools/usbredirect.c: In function ‘main’: > ../tools/usbredirect.c:647:9: error: implicit declaration of function ‘libusb_set_option’ [-Werror=implicit-function-declaration] > int ret = libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_NONE); > ^ > ../tools/usbredirect.c:647:43: error: ‘LIBUSB_OPTION_LOG_LEVEL’ undeclared (first use in this function) > int ret = libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_NONE); ^ Fixes #32 Signed-off-by: Victor Toso <victortoso@redhat.com>
737b15d9