delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/04/02/12:27:02

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=J4ASokeQI5YQ/ro+
9G6uwhbo6Mves/830he9YMd1CkbObQ0Hjw4J24TCzUDFYCPUcHBtLevHI+ACctMq
boVJ9LHodZ7tEMOKECcR2LXCwldRkPZodY6aAlRzwXHnYApvYKvB3AYZiOEGP7iv
cohgJhHt7gL63inDOCom4GTkdSM=
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=Z9nJb+Uxshy+H/ksOKzPCZ
mekyI=; b=t8/uaZjzksmDZtr9JZ58RKSd90lp9pWH1QcGQ/EnFRdc6a4FM/0GUq
aG0COJmv6IAej9oUPmVZ3vZEO2AfE9Gn/4a+pDVT+hprpXvZcW8P7+7hFbaqit20
Yq/bJNLjv1Xiskz+92k6hCtY43a3hAhxFcJzhJjQf0Z4iD0qH/etw=
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=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:901, H*f:sk:da19a0d, H*i:sk:da19a0d, H*MI:sk:da19a0d
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Missing g_object_unref
To: cygwin AT cygwin DOT com
References: <58501f7c-f4f7-bf15-8552-535dd78d9eea AT gmail DOT com> <da19a0d8-e0f7-4dda-0535-91864fabbf9f AT gmail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <9d90aee8-9803-537f-5f58-a6f3a76e732f@cornell.edu>
Date: Sun, 2 Apr 2017 12:26:45 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <da19a0d8-e0f7-4dda-0535-91864fabbf9f@gmail.com>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 4/2/2017 8:17 AM, Vlado wrote:
> On 2.4.2017 11:47, Vlado wrote:
>> Hello.
>>
>> Can somebody give advice what library defines g_object_unref function
>> call, please?
>> I use x86_64 Cygwin.
>>
>> I would like to build rrdtool 1.6.0. Building it as Windows native app
>> is near impossible. Building it in Cygwin is much less pain and I hope
>> the "undefined reference to `g_object_unref'" is the last obstacle.
>> In Debian I found that g_object_unref is defined in libgobject-2.0.a,
>> but there is no library libgobject-2.0.a in Cygwin.
>>
>> Vlado
>>
>>
> Answer is: Library libgobject-2.0.dll.a is a part of libglib2.0-devel.
>
> I have installed libglib2.0-devel version 2.50.3-1 now, I added
> -llibglib-2.0 -llibgobject-2.0 to LIBS

Wrong syntax.  This should be "-lgobject-2.0 -lglib-2.0":

$ pkg-config --libs gobject-2.0
-lgobject-2.0 -lglib-2.0 -lintl

Ken

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