Index: src/ftfont.c =================================================================== RCS file: /sources/emacs/emacs/src/ftfont.c,v retrieving revision 1.45 diff -r1.45 ftfont.c 383a384,387 > > #ifdef HAVE_LIBOTF > #ifdef HAVE_M17N_FLT > #ifdef HAVE_OTF_GET_VARIATION_GLYPHS 385a390,392 > #endif /* HAVE_OTF_GET_VARIATION_GLYPHS */ > #endif /* HAVE_M17N_FLT */ > #endif /* HAVE_LIBOTF */ 424a432,433 > #ifdef HAVE_LIBOTF > #ifdef HAVE_M17N_FLT 429a439,440 > #endif > #endif - Sebastian Sebastian Rose writes: > 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 >