From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#9786: 24.0.90; make bootstrip: gtkutil.c:3389: undefined reference to `g_object_ref_sink Date: Wed, 19 Oct 2011 07:26:41 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319002034 23511 80.91.229.12 (19 Oct 2011 05:27:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 05:27:14 +0000 (UTC) Cc: 9786@debbugs.gnu.org To: ren victor Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 07:27:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGOgE-0008Ac-Rv for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 07:27:07 +0200 Original-Received: from localhost ([::1]:44111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGOgD-00064V-VQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 01:27:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGOgB-00064Q-3K for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 01:27:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGOg9-0007Xc-Jg for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 01:27:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGOg9-0007XY-Dh for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 01:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGOh7-0004BR-T3 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 01:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 05:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9786-submit@debbugs.gnu.org id=B9786.131900207216062 (code B ref 9786); Wed, 19 Oct 2011 05:28:01 +0000 Original-Received: (at 9786) by debbugs.gnu.org; 19 Oct 2011 05:27:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGOgy-0004B1-GH for submit@debbugs.gnu.org; Wed, 19 Oct 2011 01:27:52 -0400 Original-Received: from smtprelay-b22.telenor.se ([195.54.99.213]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGOgv-0004Am-NT for 9786@debbugs.gnu.org; Wed, 19 Oct 2011 01:27:50 -0400 Original-Received: from iph3.telenor.se (iph3.telenor.se [195.54.127.134]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id AA7C1EA8A6 for <9786@debbugs.gnu.org>; Wed, 19 Oct 2011 07:26:42 +0200 (CEST) X-SENDER-IP: [85.225.45.201] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiNGAJRenk5V4S3JPGdsb2JhbABEiTyfNBkBAQEBNzKBbgEBBAFWIwULCxguLQwKFAYTiAACtSaHOmEEmSiDPIhz X-IronPort-AV: E=Sophos;i="4.69,369,1315173600"; d="scan'208";a="133066719" Original-Received: from c-c92de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.201]) by iph3.telenor.se with ESMTP; 19 Oct 2011 07:26:42 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B92CA7FA058; Wed, 19 Oct 2011 07:26:41 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 01:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52830 Archived-At: Hello. 19 okt 2011 kl. 03:43 skrev ren victor: > On Wed, Oct 19, 2011 at 2:07 AM, Jan Dj=E4rv = wrote: >>=20 >> Hello. >>=20 >> 18 okt 2011 kl. 17:05 skrev Victor Ren: >>=20 >>> I was trying to build Emacs pretest in Suse with glib-2.0 and get = the >>> error message. >>>=20 >>>=20 >>=20 >> I see the version checks in configure hasn't been updated. >> You need at least Gtk+ 2.10 and Glib 2.10. >> g_object_ref_sink was introduced in Glib 2.10. It was released early = 2006, so it is quite old. >>=20 >> I will update configure.in. >=20 > People may have to live with older version of glib than 2.10. I > changed the code >=20 > - g_object_ref_sink (G_OBJECT (wscroll)); > + g_object_ref (G_OBJECT (wscroll)); > + gtk_object_sink (GTK_OBJECT (wscroll)); >=20 > Then it works. I did not find any more dependency for glib 2.10. So > I think it should be something like: >=20 > #if GLIB_VERSION_OLD_THAN(2.10) > g_object_ref (G_OBJECT (wscroll)); > gtk_object_sink (GTK_OBJECT (wscroll)); > #else > g_object_ref_sink (G_OBJECT (wscroll)); > #endif Having all this #ifdefs all over the place is a maintenance problem. At = some point we must move forward. Considering that 2.10 is well over 5 = years old, I don't think requiring it is a hard requirement. Jan D.