emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined reference to ftfont_variation_glyphs


From: Sebastian Rose
Subject: undefined reference to ftfont_variation_glyphs
Date: Fri, 27 Mar 2009 13:27:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]