From juri@jurta.org Thu Sep 17 08:20:08 2009 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/ From monnier@IRO.UMontreal.CA Thu Sep 17 09:42:44 2009 Received: (at 4461) by emacsbugs.donarmstrong.com; 17 Sep 2009 16:42:44 +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=-4.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HGgg9F020003 for <4461@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 09:42:43 -0700 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n8HGgfpn013474; Thu, 17 Sep 2009 12:42:41 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 8F2693A104; Thu, 17 Sep 2009 12:42:41 -0400 (EDT) From: Stefan Monnier To: Juri Linkov Cc: 4461@debbugs.gnu.org Subject: Re: bug#4461: undefined reference to `x_get_resource_string' Message-ID: References: <87tyz1d63x.fsf@mail.jurta.org> Date: Thu, 17 Sep 2009 12:42:41 -0400 In-Reply-To: <87tyz1d63x.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 17 Sep 2009 18:19:46 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3364=0 Thanks for catching it. Sorry about my over-eagerness to remove code. Is it fixed now? Stefan From juri@jurta.org Thu Sep 17 14:22:55 2009 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@debbugs.gnu.org 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/ From unknown Fri Sep 05 19:41:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Oct 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator