all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: me@bradmwalker.com
Cc: sangu.xorg@gmail.com, emacs-devel@gnu.org
Subject: Re: [23.0.60] fails to build with "--without-x " option
Date: Fri, 16 May 2008 14:23:59 +0300	[thread overview]
Message-ID: <uy76aijao.fsf@gnu.org> (raw)
In-Reply-To: <1210906262.13406.2.camel@brad.home.bradmwalker.com>

> From: Brad Walker <me@bradmwalker.com>
> Date: Thu, 15 May 2008 20:51:02 -0600
> Cc: emacs-devel@gnu.org
> 
> On Thu, 2008-05-15 at 09:54 +0900, sangu wrote: 
> > emacs]$ configure --without-x
> 
> > gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
> > -I/home/sangu/Work/cvs/emacs/src -D_BSD_SOURCE -I/usr/include/freetype2
> > -I/usr/include/alsa  -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> > -g -O2 -Wno-pointer-sign  -I/usr/include/freetype2 xfaces.c
> > xfaces.c: In function `merge_face_vectors':
> > xfaces.c:2524: error: `FONT_SIZE_INDEX' undeclared (first use in this
> > function)
> 
> I have this problem on Fedora 9 x86_64.

Confirmed.  It looks like the latest font backend was not coded with
the --without-x build in mind, because it doesn't have the necessary
font-related substitutes for the tty-only case, like the old code did.

I fixed a few obvious problems in xfaces.c, which gets me through the
compilation stage, but fails during linking thusly:

  xfaces.o: In function `merge_face_ref':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2700: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2712: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:2795: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
  xfaces.o: In function `Finternal_set_lisp_face_attribute':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3123: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3137: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:3307: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
  xfaces.o: In function `Finternal_set_font_selection_order':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5389: undefined reference to `font_update_sort_order'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5389: undefined reference to `font_update_sort_order'
  xfaces.o: In function `realize_tty_face':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:6061: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:6062: undefined reference to `FONT_SLANT_NAME_NUMERIC'
  xfaces.o: In function `tty_supports_face_attributes_p':/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5119: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  :/home/e/eliz/emacs.cvs/emacs/src/xfaces.c:5122: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
  print.o: In function `print_object':/home/e/eliz/emacs.cvs/emacs/src/print.c:2147: undefined reference to `font_style_symbolic'
  collect2: ld returned 1 exit status

Perhaps someone else could pick up where I left off.




  reply	other threads:[~2008-05-16 11:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15  0:54 [23.0.60] fails to build with "--without-x " option sangu
2008-05-15 15:45 ` İsmail Dönmez
2008-05-16  2:51 ` Brad Walker
2008-05-16 11:23   ` Eli Zaretskii [this message]
2008-05-16 11:52     ` Kenichi Handa

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=uy76aijao.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=me@bradmwalker.com \
    --cc=sangu.xorg@gmail.com \
    /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.