From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125213 invoked by alias); 2 Feb 2020 01:23:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 125201 invoked by uid 89); 2 Feb 2020 01:23:52 -0000 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 Received: from mail-qv1-f53.google.com (HELO mail-qv1-f53.google.com) (209.85.219.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Feb 2020 01:23:51 +0000 Received: by mail-qv1-f53.google.com with SMTP id m5so5200586qvv.4 for ; Sat, 01 Feb 2020 17:23:51 -0800 (PST) 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: Sun, 02 Feb 2020 01:23:00 -0000 Message-ID: Subject: Building libusb1.0 from source fails (Attn maintainer) To: cygwin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00011.txt.bz2 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 =E2=80=98usbi_io_init=E2=80=99: /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 =E2=80=98close=E2=80=99; did you me= an =E2=80=98_lclose=E2=80=99? [-Werror=3Dimplicit-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 --=20 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