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: undefined reference to ftfont_variation_glyphs Date: Fri, 27 Mar 2009 13:27:21 +0100 Message-ID: <873acy3n9m.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 1238173654 1394 80.91.229.12 (27 Mar 2009 17:07:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2009 17:07:34 +0000 (UTC) To: emacs-devel Mailinglist Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 27 18:08:52 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 1LnFXy-0008Ne-Fq for ged-emacs-devel@m.gmane.org; Fri, 27 Mar 2009 18:08:46 +0100 Original-Received: from localhost ([127.0.0.1]:47958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnFWb-0007zA-Fo for ged-emacs-devel@m.gmane.org; Fri, 27 Mar 2009 13:07:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnFWO-0007r8-1k for emacs-devel@gnu.org; Fri, 27 Mar 2009 13:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnFWI-0007p4-VG for emacs-devel@gnu.org; Fri, 27 Mar 2009 13:07:07 -0400 Original-Received: from [199.232.76.173] (port=38037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnFWI-0007ox-Sm for emacs-devel@gnu.org; Fri, 27 Mar 2009 13:07:02 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:60288) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LnFWI-0001bN-9Z for emacs-devel@gnu.org; Fri, 27 Mar 2009 13:07:02 -0400 Original-Received: (qmail invoked by alias); 27 Mar 2009 17:06:59 -0000 Original-Received: from p5B0420CA.dip0.t-ipconnect.de (EHLO kassiopeya.MSHEIMNETZ.gmx.de) [91.4.32.202] by mail.gmx.net (mp016) with SMTP; 27 Mar 2009 18:06:59 +0100 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX18JbXNBbg0JqbJQQ0J0sJeOSGIVTyTlKEHwHoZxmK iES7GatacwrgRW User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:109881 Archived-At: Since a few days I cannot build CVS emacs 23 on debian. $ gcc --version gcc (Debian 4.3.3-3) 4.3.3 ftfont.o:(.data+0x68): undefined reference to `ftfont_variation_glyphs' This happens after a fresh checkout on current Debian testing. `ftfont_variation_glyphs()' is not always surounded with the same #ifdefs! The function itself is surounded by: #ifdef HAVE_M17N_FLT #ifdef HAVE_LIBOTF #ifdef HAVE_OTF_GET_VARIATION_GLYPHS /* FUNCTION DEFINITION HERE */ #endif /* HAVE_OTF_GET_VARIATION_GLYPHS */ #endif /* HAVE_M17N_FLT */ #endif /* HAVE_LIBOTF */ While declaration (line 384) and usage (line 431) of the function `ftfont_variation_glyphs()' are surounded solely by: #ifdef HAVE_OTF_GET_VARIATION_GLYPHS /* FUNCTION DECLARATION HERE */ #endif /* HAVE_OTF_GET_VARIATION_GLYPHS */ I'm not able to send a patch though, since I don't know which one is wrong. Anyway, supplementing the #ifdefs around declaration and usage with helps and I can build emacs. Output of `sh$ make' _before_ the change: ftfont.o:(.data+0x68): undefined reference to `ftfont_variation_glyphs' collect2: ld returned 1 exit status make[1]: *** [temacs] Fehler 1 make[1]: Leaving directory `/home/sebastian/develop/emacs-CVS/emacs/src' make: *** [src] Fehler 2 Best Regards, Sebastian