From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Rose Newsgroups: gmane.emacs.devel Subject: Re: undefined reference to ftfont_variation_glyphs Date: Sat, 28 Mar 2009 17:43:36 +0100 Message-ID: <87bprl8uo7.fsf@kassiopeya.MSHEIMNETZ> References: <873acy3n9m.fsf@kassiopeya.MSHEIMNETZ> <87vdpu28a1.fsf@kassiopeya.MSHEIMNETZ> <874oxey7am.fsf@kassiopeya.MSHEIMNETZ> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1238258482 29259 80.91.229.12 (28 Mar 2009 16:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2009 16:41:22 +0000 (UTC) Cc: emacs-devel Mailinglist To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 28 17:42:40 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lnbbx-000819-N8 for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2009 17:42:21 +0100 Original-Received: from localhost ([127.0.0.1]:51715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnbaa-0002Ub-Hg for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2009 12:40:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lnba8-000278-HB for emacs-devel@gnu.org; Sat, 28 Mar 2009 12:40:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lnba3-00021b-UG for emacs-devel@gnu.org; Sat, 28 Mar 2009 12:40:28 -0400 Original-Received: from [199.232.76.173] (port=33629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnba3-00021O-HV for emacs-devel@gnu.org; Sat, 28 Mar 2009 12:40:23 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:49794) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lnba2-0004ub-U5 for emacs-devel@gnu.org; Sat, 28 Mar 2009 12:40:23 -0400 Original-Received: (qmail invoked by alias); 28 Mar 2009 16:40:21 -0000 Original-Received: from p5B041FF8.dip0.t-ipconnect.de (EHLO kassiopeya.MSHEIMNETZ.gmx.de) [91.4.31.248] by mail.gmx.net (mp064) with SMTP; 28 Mar 2009 17:40:21 +0100 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX19xtOEJGLtxXKQ5k1DFUt1Oof9BQap/IqQtL5b+Vl Vkvnp7eRfb+he0 In-Reply-To: (Stefan Monnier's message of "Sat, 28 Mar 2009 00:19:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.58 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109893 Archived-At: Stefan Monnier writes: >> @@ -422,11 +429,15 @@ >> NULL, >> #endif /* not (HAVE_M17N_FLT && HAVE_LIBOTF) */ >> NULL, /* check */ >> +#ifdef HAVE_LIBOTF >> +#ifdef HAVE_M17N_FLT >> #ifdef HAVE_OTF_GET_VARIATION_GLYPHS >> ftfont_variation_glyphs >> #else >> NULL >> #endif >> +#endif >> +#endif >> }; > > Makes me wonder: how come HAVE_OTF_GET_VARIATION_GLYPHS is defined for > you if ftfont_variation_glyphs isn't? > > > Stefan I don't know anything about the emacs code. I think HAVE_LIBOTF is defined, since ./configure finds libotf. If HAVE_OTF_GET_VARIATION_GLYPHS is defined in this case, the culprit might be HAVE_M17N_FLT. No matter which one is defined or not, it seems wrong to enclose a functions declaration, usage, and definition in different sets of include guards. Regards, Sebastian