X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=RTI etJ3TqK2plAoiRMSfLRcUmSe08kadzm+ycM2e043FU33VtjWbZHw2/6cVoN0FKPQ 3+vzmKr91iiYwT8Q7VQwHzPoRcYxK5DoQclo+FXRfnBIdzoCrwFjWozNVppfv+n7 +BJwI3J81rdrLb8AnDqyv+336sOXDriU8HIbX12c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=rMMDbq+Ys PeNmSwdM40f4MxOqko=; b=bU26iLagFTKflilXqztWWu96GCGsLUHgUNbH4uHae a6Pew1PzujMqexgaHQ4VkBXD9LR11/jQXiHzlnGIE37dMUybvjDmRkPbfYjTt9FY aFq69mtcGyRAC5kRA+/yAKVxdjC9VWanT/xEsqqr/ob6whu4xLIG5InFWj7CZ8nE 08= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=maintainer, HX-Languages-Length:1062 X-HELO: mail-qv1-f53.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=lfdnjLyPOCDSJOCQqjplCvZfAVoPBAykts3YTvx3FmA=; b=KtOe9Yo07Yp6auZNhCc/E0yvPtzJDpYH/urZgPOWZXUS6oQDnU6RcymtH3p2KJLx7B ghlLigMJelsYgcQXQNX3dkXrFwtscoXHb/fDw3H+2bqkHzBqSgy536XQkiGe828ipx6y bd0gW+3D0pEwAFYXr9eU47cZOftipH3gl15zD+gbNTKooqPChiKJ+ZI2B7FRRkTuANbz UefQxThMIl/ifoGcL90gcriw7SHgC7u1zKpdh8Ixur1UBNLV36W/1ZJ9YezyS9SXQRRk r/3uTLLU2gyrpoWV6iRVRdQUtVw5bM+u7ofC9KYdShMxJBJSgghB478IftqKrizG6siU 5yPg== MIME-Version: 1.0 From: Doug Henderson Date: Sat, 1 Feb 2020 18:23:38 -0700 Message-ID: Subject: Building libusb1.0 from source fails (Attn maintainer) To: cygwin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0121OQWn008915 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 -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- 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