unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* undefined reference to ftfont_variation_glyphs
@ 2009-03-27 12:27 Sebastian Rose
  2009-03-27 17:19 ` Sebastian Rose
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sebastian Rose @ 2009-03-27 12:27 UTC (permalink / raw)
  To: emacs-devel Mailinglist


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




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-03-30 11:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-27 12:27 undefined reference to ftfont_variation_glyphs Sebastian Rose
2009-03-27 17:19 ` Sebastian Rose
2009-03-27 19:35   ` Stefan Monnier
2009-03-27 21:39     ` Sebastian Rose
2009-03-28  4:19       ` Stefan Monnier
2009-03-28 16:43         ` Sebastian Rose
2009-03-29 17:15   ` Chong Yidong
2009-03-29 17:54     ` Sebastian Rose
2009-03-28  3:34 ` Chong Yidong
2009-03-28 16:37   ` Sebastian Rose
2009-03-28 19:02     ` Sebastian Rose
2009-03-30  5:41 ` Kenichi Handa
2009-03-30 11:26   ` Sebastian Rose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).