From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4461: marked as done (undefined reference to `x_get_resource_string') Date: Thu, 17 Sep 2009 21:30:13 +0000 Message-ID: References: <87r5u58ei2.fsf@mail.jurta.org> <87tyz1d63x.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253223013-3947-0" X-Trace: ger.gmane.org 1253224099 28219 80.91.229.12 (17 Sep 2009 21:48:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 21:48:19 +0000 (UTC) To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 23:48:12 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoOpn-0004oN-Em for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 23:48:11 +0200 Original-Received: from localhost ([127.0.0.1]:51374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoOpm-0000lj-Vd for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 17:48:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoOor-00006d-1a for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 17:47:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoOol-0008QX-B1 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 17:47:11 -0400 Original-Received: from [199.232.76.173] (port=53421 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoOoj-0008Pq-1H for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 17:47:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48330) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoOoi-0003rb-9k for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 17:47:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HLl1eh006537; Thu, 17 Sep 2009 14:47:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8HLUDTi003986; Thu, 17 Sep 2009 14:30:13 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4461 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31189 Archived-At: This is a multi-part message in MIME format... ------------=_1253223013-3947-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 18 Sep 2009 00:19:41 +0300 with message-id <87r5u58ei2.fsf@mail.jurta.org> and subject line Re: bug#4461: undefined reference to `x_get_resource_strin= g' has caused the Emacs bug report #4461, regarding undefined reference to `x_get_resource_string' to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4461: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4461 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253223013-3947-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2009 15:20:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HFK6qO006225 for ; Thu, 17 Sep 2009 08:20:07 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoImD-0005Lw-SL for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:20:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoIm9-0005JA-52 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:20:05 -0400 Received: from [199.232.76.173] (port=46220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoIm9-0005J5-00 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:20:01 -0400 Received: from smtp-out1.starman.ee ([85.253.0.3]:32975 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoIm8-0005Of-Fx for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 11:20:00 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from mail.starman.ee (82.131.31.47.cable.starman.ee [82.131.31.47]) by mx1.starman.ee (Postfix) with ESMTP id 977EE3F4143 for ; Thu, 17 Sep 2009 18:19:50 +0300 (EEST) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: undefined reference to `x_get_resource_string' Organization: JURTA Date: Thu, 17 Sep 2009 18:19:46 +0300 Message-ID: <87tyz1d63x.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Without these lines in frame.c: -char * -x_get_resource_string (attribute, class) - char *attribute, *class; -{ - char *name_key; - char *class_key; - struct frame *sf = SELECTED_FRAME (); - - /* Allocate space for the components, the dots which separate them, - and the final '\0'. */ - name_key = (char *) alloca (SBYTES (Vinvocation_name) - + strlen (attribute) + 2); - class_key = (char *) alloca ((sizeof (EMACS_CLASS) - 1) - + strlen (class) + 2); - - sprintf (name_key, "%s.%s", SDATA (Vinvocation_name), attribute); - sprintf (class_key, "%s.%s", EMACS_CLASS, class); - - return x_get_string_resource (FRAME_X_DISPLAY_INFO (sf)->xrdb, - name_key, class_key); -} compilation fails: ../oldXMenu/libXMenu11.a(Create.o): In function `XMenuCreate': ../oldXMenu/Create.c:244: undefined reference to `x_get_resource_string' ../oldXMenu/Create.c:250: undefined reference to `x_get_resource_string' ../oldXMenu/Create.c:256: undefined reference to `x_get_resource_string' ../oldXMenu/Create.c:263: undefined reference to `x_get_resource_string' ../oldXMenu/Create.c:269: undefined reference to `x_get_resource_string' ../oldXMenu/libXMenu11.a(Create.o):../oldXMenu/Create.c:293: more undefined references to `x_get_resource_string' follow collect2: ld returned 1 exit status make[1]: *** [temacs] Error 1 in non-toolkit GNU Emacs 23.1.50 (x86_64-pc-linux-gnu) configured as: What operating system and machine description files should Emacs use? `s/gnu-linux.h' and `m/amdx86-64.h' What compiler should emacs be built with? gcc -g3 -O0 -Wno-pointer-sign -fno-inline -fno-crossjumping What window system should Emacs use? x11 What toolkit should Emacs use? none Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use -lpng? yes Does Emacs use -lrsvg-2? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? yes Does Emacs use toolkit scroll bars? no -- Juri Linkov http://www.jurta.org/emacs/ ------------=_1253223013-3947-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4461-done) by emacsbugs.donarmstrong.com; 17 Sep 2009 21:22:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx2.starman.ee (smtp-out2.starman.ee [85.253.0.4]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HLMrs2002846 for <4461-done@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 14:22:55 -0700 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from mail.starman.ee (82.131.28.98.cable.starman.ee [82.131.28.98]) by mx2.starman.ee (Postfix) with ESMTP id B71BA3F4112; Fri, 18 Sep 2009 00:22:47 +0300 (EEST) From: Juri Linkov To: Stefan Monnier Cc: 4461-done@emacsbugs.donarmstrong.com Subject: Re: bug#4461: undefined reference to `x_get_resource_string' Organization: JURTA References: <87tyz1d63x.fsf@mail.jurta.org> Date: Fri, 18 Sep 2009 00:19:41 +0300 In-Reply-To: (Stefan Monnier's message of "Thu, 17 Sep 2009 12:42:41 -0400") Message-ID: <87r5u58ei2.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Thanks for catching it. Sorry about my over-eagerness to remove code. > Is it fixed now? Thanks, it's fixed now. -- Juri Linkov http://www.jurta.org/emacs/ ------------=_1253223013-3947-0--