# go build ./
# github.com/hanwen/usb
cgo-gcc-prolog: In function ‘_cgo_afe072e410cc_Cfunc_libusb_set_debug’:
cgo-gcc-prolog:662:2: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
In file included from /root/go/pkg/mod/github.com/hanwen/usb@v0.0.0-20141217151552-69aee4530ac7/usb.go:8:
/usr/include/libusb-1.0/libusb.h:1300:18: note: declared here
1300 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
| ^~~~~~~~~~~~~~~~
# github.com/hanwen/go-mtpfs/fs
fs/fs.go:578:7: k declared and not used
fs/fs.go:578:10: v declared and not used
Could you help me to build for Fedora 31
libusbx-1.0.22-4.fc31.x86_64 libusbx-devel-1.0.22-4.fc31.x86_64 golang-1.13.5-1.fc31.x86_64 golang-src-1.13.5-1.fc31.noarch golang-bin-1.13.5-1.fc31.x86_64