g++ -O2 -g -Wall -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DB25 `pkg-config --cflags glib-2.0` -c -o usbops.o usbops.cpp usbops.cpp:16 から include されたファイル中: usbops.hpp:10:27: error: linux/usb_ch9.h: そのようなファイルやディレクトリはありません In file included from usbops.cpp:16: usbops.hpp:19: error: ‘usb_device_descriptor’ has not been declared usbops.cpp:26: error: ‘usb_device_descriptor’ has not been declared usbops.cpp: In function ‘void usb_getdesc(const char*, int*)’: usbops.cpp:37: error: ‘usb_device_descriptor’ was not declared in this scope make: *** [usbops.o] エラー 1