Building libusb1.0 from source fails (Attn maintainer)

Doug Henderson
Sun Feb 2 01:23:00 GMT 2020

Windows 10 Home
10.0.17763 Build 17763

$ uname -a
CYGWIN_NT-10.0 mars 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin

fully patched as of today (no test versions or snapshots installed)

Building libusb1.0 from source using

$ cygport libusb1.0.cygport download
$ cygport libusb1.0.cygport prep
$ cygport libusb1.0.cygport compile

fails with:

In function ‘usbi_io_init’:
error: implicit declaration of function ‘close’; did you mean
‘_lclose’? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

I also built with the latest upstream release, but that generates a
great many warnings, which I have not attempted to resolve.

Any guidance to resolve this is appreciated.


Doug Henderson, Calgary, Alberta, Canada - from

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list