This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Am 02.02.2020 um 02:23 schrieb Doug Henderson:
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: /usr/src/libusb1.0-1.0.21-1.src/libusb1.0-1.0.21-1.x86_64/src/libusb-1.0.21/libusb/io.c: In function ‘usbi_io_init’: /usr/src/libusb1.0-1.0.21-1.src/libusb1.0-1.0.21-1.x86_64/src/libusb-1.0.21/libusb/io.c:1167:2: error: implicit declaration of function ‘close’; did you mean ‘_lclose’? [-Werror=implicit-function-declaration] close(ctx->timerfd); ^~~~~ _lclose 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
attached patch solve the build issue. Regards Marco
Attachment:
libusb1.0-1.0.21-1.src.patch
Description: Text document
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |