From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id B914B3857C69 for ; Thu, 26 Nov 2020 21:34:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B914B3857C69 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=upc.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rafel.amer@upc.edu Received: by mail-wr1-x434.google.com with SMTP id k14so3617658wrn.1 for ; Thu, 26 Nov 2020 13:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upc-edu.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ehDSthAmalTJIFlFhCNgLncu+iPeDTEm3k6OLL9+RoY=; b=BKor4e5tFnRWh+YWZ+MBOoEhz9hqk2/Ryt1ZywQCWLQOETirPZgmatYUmN3fLtCFN8 NECKAZ7/xU8ia19ZiMypEVYpAQoIwH3hIj5IIEzgms9kghMnMwtVk3YbeCz9/TolR46P 21bZUixxe3DR9Ok3ZwWchiw9YJfdRPXxK/g9Co7GyEUQMYF1z945MNsnUj+y3cn4fEHS IpzsObmlPiMVDmec5buXJ8bTtt//mj0zdc+VJWfgwih5yuSGJMjem/PreXCbhyqBeldC iy0cGZ8mz/oVujFF9YXtM053jQimqYhk9Jo3LdB3WNoeklQf+cIV21Bdfslyxy26OExj bQFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ehDSthAmalTJIFlFhCNgLncu+iPeDTEm3k6OLL9+RoY=; b=NtIqQ3q629u8AXwH9Hr6fjw4/Orql5bvb6ex5l06+HRQp3C22hNBUxtFZvQYot+iy7 h1P+JeFpPomhzjAmmkGgYnsurhm2bQUpqbmUwUK/s17vULOSrEY0c3VYKuoZkbdKkijU QsmSevLefISQPMIStWlJAz36SVbrU2mwLbDMNvJo4/QPb9wprq8X20pGJDxOHkQmazpG DjWo3mooNJbYS3yPGTeSMe055wFwNwwVcvh68zfBxG6Y7cQFeMv/JxGtT/ZM4zsJBxd0 sfnc+xLUbqSKpdgEPz0hgTgs6YBRjDCGpqypWpHk4ZJ6U+XMVFYQhUJiUmLKB/7OWfBX Pkjw== X-Gm-Message-State: AOAM530D1/mLmg7VpEDlLwE+Xhd/sUs+lXA04v6NqiS784a1xKX9N0CI BQg0J5yDXoeU7prrGehRIh2g4wo9WLDp+TfNXNs84nNUvVr5/GWdwWw9aurP0whtuM8HEW7WMdd 1gze3+8+zcsddIwtTNCtLS5iT9o9GC8dpEwlg0XMMq4FrXtNurhKUOYji1Jwp X-Google-Smtp-Source: ABdhPJwFHnsSDza4kVC+1kG2VtoleqVYRvT3oES9++7xtW2yIvfzncoAK0Lf5SGZzf2gMC9MAvpBJQ== X-Received: by 2002:adf:de12:: with SMTP id b18mr6277233wrm.187.1606426472561; Thu, 26 Nov 2020 13:34:32 -0800 (PST) Received: from rams.claimcenter.com (163.red-88-12-36.staticip.rima-tde.net. [88.12.36.163]) by smtp.gmail.com with ESMTPSA id w10sm10875276wra.34.2020.11.26.13.34.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Nov 2020 13:34:31 -0800 (PST) From: Rafel Amer Ramon Subject: Re: Error compiling gengetopt To: cygwin@cygwin.com References: <2c89f5b8-c98b-3f12-f471-9081d9f721ef@cornell.edu> <6d435af0-3b21-44fb-7427-c4b53d5674d5@upc.edu> <48939b5b-14c2-d728-21b7-6856c5ea163f@cornell.edu> <9a37f4bf-99b7-595d-e164-597806cc4377@upc.edu> Message-ID: <46996be5-313b-9430-e0fb-de7da2a2c4ec@upc.edu> Date: Thu, 26 Nov 2020 22:34:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ca-ES-valencia X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 21:34:36 -0000 El 26/11/20 a les 18:47, Ken Brown ha escrit: > On 11/26/2020 12:25 PM, Rafel Amer Ramon wrote: >> El 26/11/20 a les 17:31, Ken Brown ha escrit: >>> [Please don't top-post on this list.] >>> >>> On 11/26/2020 10:51 AM, Rafel Amer Ramon wrote: >>>> >>>> Hello, >>>> >>>> I get the same error with the bash terminal and directory >>>> /usr/local/src >>>> >>>> libtool: link: (cd .libs/libgengetopt.lax/libgnu.a && ar x >>>> "/usr/lacal/src/gengetopt-2.23/src/../gl/.libs/libgnu.a") >>>> >>>> libtool: error: object name conflicts in archive: >>>> .libs/libgengetopt.lax/libgnu.a//usr/local/src/gengetopt-2.23/src/../gl/.libs/libgnu.a >>> >>> >>> >>> >>> >>> >>> >>> >>> OK, my guess was wrong. >>> >>> I downloaded and built the package on my system without a problem, >>> so something specific to your setup is causing this. Do you see >>> anything suspicious earlier in the build?  You might try capturing a >>> log of the build and sending it as an attachment to see if anyone >>> here spots anything.  Also, please follow the problem-reporting >>> guide at https://cygwin.com/problems.html, including the part about >>> sending cygcheck output (as an attachment). >>> >>> Ken >> >> Hello, >> >> I can't see anything strange. I attach the file cygcheck.out >> (cygcheck -s -v -r  > cygcheck.out), >> and the file make.out (make > make.out 2>&1) > > I think your PATH might be the problem.  I see several warnings like > this in cygcheck.out: > >   Warning: C:\Windows\system32\bash.exe hides C:\cygwin64\bin\bash.exe > > And I also saw this in the configure.log that you sent me privately: > >   checking for tar... /cygdrive/c/Windows/system32/tar > > You need to be sure you're using Cygwin tools when building on > Cygwin.  Note that if you had been working in a Cygwin bash shell, > /etc/profile would have adjusted your profile appropriately. > > Ken Hello, yes, the problem was the PATH. I have changed the order of the directories in the PATH and now I can compile successfully the gengetopt program. Thank you very much. Best regards, Rafel Amer