all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: emacs-devel Mailinglist <emacs-devel@gnu.org>
Subject: Re: undefined reference to ftfont_variation_glyphs
Date: Fri, 27 Mar 2009 18:19:18 +0100	[thread overview]
Message-ID: <87vdpu28a1.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <873acy3n9m.fsf@kassiopeya.MSHEIMNETZ> (Sebastian Rose's message of "Fri, 27 Mar 2009 13:27:21 +0100")

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

Sorry for answering my own mail here.

This is the fix I used (and that works fine):



<sh:/home/sebastian/emacs-CVS/emacs> cvs diff src/ftfont.c

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1936 bytes --]

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
</#part>


  - Sebastian




Sebastian Rose <sebastian_rose@gmx.de> 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
>

  reply	other threads:[~2009-03-27 17:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 12:27 undefined reference to ftfont_variation_glyphs Sebastian Rose
2009-03-27 17:19 ` Sebastian Rose [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdpu28a1.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.