delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/31/19:42:57

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=N/JAjxLx0mMLXEzIFlap/ZgRp5P8FlGqwoOt6SSkvMn
oDhif3794BIftVs/bmvdfe5i0sOCHoQmh7P9BzX7751tERu1v6aWsaN0Uh7Gk3tk
iJ95uHQuq2NGbA11hwNCCKIdCXOZXAGbE3oMDo4yQmiF7T+c0Wxwzp2KHOFcZAIc
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=DdfWD95Z1d9oqQeOcHD602N3YoE=; b=VfeIoadBTr6lB5kmM
/tDLeEtGoFVQTqbZfHyig9qBqT0sp8odBsPLfFibvd8WDhyHbtd12LT+1zd+1RCO
DjecnodYV+HBGEhXb8AV/y62VKXnMqSNkSqXN92YPkHD/mc9mKadZ6BH6qI3Rzyu
pxMCqS5qSp8+zPOEYdiFWfAsgE=
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: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f181.google.com
X-Received: by 10.43.163.200 with SMTP id mp8mr36738083icc.18.1396309356041; Mon, 31 Mar 2014 16:42:36 -0700 (PDT)
Message-ID: <5339FD69.90203@users.sourceforge.net>
Date: Mon, 31 Mar 2014 18:42:33 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: libuuid-devel: libuuid.a for static linking missing in latest package
References: <5339F8B6 DOT 7020804 AT gmail DOT com>
In-Reply-To: <5339F8B6.7020804@gmail.com>

On 2014-03-31 18:22, i DOT like DOT privacy DOT too AT gmail DOT com wrote:
> I've just updated an old cygwin environment to latest, and my build
> broke. Further examination shows that when I upgraded from
> libuuid-devel-2.21-1 to libuuid-devel-2.21-2.1, the file
> /usr/lib/libuuid.a (which my build was relying on) disappeared.
>
> Is this a bug or is this on purpose?

On purpose; static libraries are now disabled by default.

> Note that there *is* another libuuid.a available in the mingw packages,
> but those are not the same library - the mingw libuuid.a is a link
> library for the Win32 uuid.dll; wheras the (now missing) libuuid.a from
> libuuid-devel provides the unix style uuid library - an easy test: if
> the library contains the routine "uuid_compare", it is the Unix one; if
> it doesn't, it's the Windows one.

Correct, these are not the same.

> So, should I switch to shared libuuid.so, or should I try to submit a
> patch to add the .a again?

You should link with -luuid, which will create a dependency on the 
libuuid1 package.


Yaakov


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019