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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=M6SwqSqW1MDPDSHP jKz2CZrph0wtYOdQEYXctwB5kKnZE2NcEdFicfYnooms2BUh/bhjX4LSfqqA9/JB +dG39C/k58XAzE1aynSsl2HIQNTvrAqtHrbWx9DWw6nn+11rVyEEcXjoNDyEEdMC tPNai1oXCUb76XGVhOqypw0HLuI= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=i5pduxB9MYCzR8KXyHWMu5 juDLU=; b=Dvric4md/Ab9xI7gGg37y091wKDmRM5xOJBZg5sdOv+2W6ubwTan9E H9xzFAZSxUsNisDdgrFVkBPkd2Ma+X/mXvxOLqlGyUb0X+mETtippoFW8fKvhMfU EFlAvCd3F67Rnq4gpZEXm0tYLcGPscBF/C2sarnsnvglbSL1NcqWI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> 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-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.7 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,SPAM_BODY,SPF_PASS autolearn=no version=3.3.2 spammy=Views, Wood, Gas, oil X-HELO: mail-wm0-f52.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=OrNzJ9WIHjU9f0Pi2Xc+74tDRwWwJkk+CrRr+E334Y0=; b=RWP84rPV5LNddUiUHdRHUVY9+AQpPMgAXh1rpoGvUKZTMRN00BaaoGYTrR62nGCoMb ZxB0eskJnCFAxp0hJXJtRlVLHNo1co2BaNdJjTRlOz5Bx/mLRfysfywzbPKsayTdrRCl z3iUzaH5foUfKWCO560bkuFRJzPqEJ/+RT+a2+Zvp0juspZV0IVixgJFivQkWWHddaP2 lD02BgfvuIBNMK4bog1BJpjV2Z4HUCRmFUAaZjj1MitZaUofLDJdm5pBaOV5W35gx1i/ H9DdicokIUkmobOjErTgILuEnGU4+j6ZjSoxtVnPDqv+EFvdtmAKYvTzxDwT+3kJl8ju YNFw== X-Gm-Message-State: AKGB3mJmBpE1aDzzaLdW++yFozUlb2A8kDF5Riy3WM+1oNzt4aHf3008 yILz+J44I2McX3x65/X/ZECiHw== X-Google-Smtp-Source: ACJfBosMtlbhqPxozPWjdWGdjdckGcwtuUwgKSXKhreEkv1Eg3ETuu+A3n+UVoJ+eHK7+UvH3Dj6LQ== X-Received: by 10.28.55.74 with SMTP id e71mr10619461wma.50.1515444388557; Mon, 08 Jan 2018 12:46:28 -0800 (PST) Subject: Re: Can't link to libpopt To: cygwin AT cygwin DOT com References: <53eadc51-bf62-fc00-a316-3c220bee6f8a AT isotek DOT co DOT uk> <5a53c74d DOT 0543ca0a DOT 757fd DOT e864 AT mx DOT google DOT com> From: Trevor Barton <tmb AT isotek DOT co DOT uk> Message-ID: <618c0318-d0c7-ef35-8410-4799868a921e@isotek.co.uk> Date: Mon, 8 Jan 2018 20:46:27 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <5a53c74d.0543ca0a.757fd.e864@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 08/01/2018 19:32, Steven Penny wrote: > > You might post an issue here: > > http://github.com/cygwinports/popt > > but good luck - Yaakov is not keen on fixing these type issues: > Nevertheless he fixed my problem, and very quickly too; I was linking with -static, removing that meant that -lpopt works as expected without having libpopt.a available. I have no idea why I had -static on the linker line, I don't normally use static links and can't remember putting it there, I must have done so for some reason at some point though. I was wondering why I couldn't find any evidence of anyone else having this problem on the Internet, I couldn't believe I was the only person linking against popt in the world. Turns out I might be the only idiot though :) Thanks Steven and Yaakov. Trevor -- Isotek Oil and Gas Ltd., 9 Clayton Wood Bank, Leeds, LS16 6QZ, UK. Tel: +44 (113) 275 1339 Web: www.isotek.co.uk Views expressed are my own and not necessarily those of Isotek Oil and Gas Ltd. -- 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