From: Herbert Euler <herberteuler@hotmail.com>
To: <emacs-devel@gnu.org>
Subject: Cannot build emacs without x
Date: Tue, 20 May 2008 14:09:44 +0800 [thread overview]
Message-ID: <BAY143-W399FBB23E3F02E24D92FF9DAC40@phx.gbl> (raw)
I have trouble building emacs without x. It is configured with
CFLAGS="-g -g3 -gdwarf-2" ./configure --without-x
and the build process fails with
gcc -Demacs -DHAVE_CONFIG_H -I. -I/home/bihong/src/emacs/src -D_BSD_SOURCE -g -g3 -gdwarf-2 -Wl,-znocombreloc /home/bihong/src/emacs/src/prefix-args.c -o prefix-args
echo "dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o vm-limit.o mktime.o "> buildobj.lst
gcc -nostdlib `./prefix-args -Xlinker -z nocombreloc` -Wl,-znocombreloc -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o vm-limit.o mktime.o -lgpm -lncurses -lm -lgcc -lc -lgcc /usr/lib/crtn.o
xfaces.o(.text+0x11cb): In function `merge_face_ref':
/home/bihong/src/emacs/src/xfaces.c:2700: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
xfaces.o(.text+0x120f):/home/bihong/src/emacs/src/xfaces.c:2712: undefined reference to `FONT_SLANT_NAME_NUMERIC'
xfaces.o(.text+0x1454):/home/bihong/src/emacs/src/xfaces.c:2795: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
xfaces.o(.text+0x1d1c): In function `Finternal_set_lisp_face_attribute':
/home/bihong/src/emacs/src/xfaces.c:3123: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
xfaces.o(.text+0x1d98):/home/bihong/src/emacs/src/xfaces.c:3137: undefined reference to `FONT_SLANT_NAME_NUMERIC'
xfaces.o(.text+0x22f8):/home/bihong/src/emacs/src/xfaces.c:3307: undefined reference to `FONT_WIDTH_NAME_NUMERIC'
xfaces.o(.text+0x3e91): In function `tty_supports_face_attributes_p':
/home/bihong/src/emacs/src/xfaces.c:5119: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
xfaces.o(.text+0x3ead):/home/bihong/src/emacs/src/xfaces.c:5122: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
xfaces.o(.text+0x45d4): In function `Finternal_set_font_selection_order':
/home/bihong/src/emacs/src/xfaces.c:5389: undefined reference to `font_update_sort_order'
xfaces.o(.text+0x4e18): In function `realize_tty_face':
/home/bihong/src/emacs/src/xfaces.c:6061: undefined reference to `FONT_WEIGHT_NAME_NUMERIC'
xfaces.o(.text+0x4e2e):/home/bihong/src/emacs/src/xfaces.c:6062: undefined reference to `FONT_SLANT_NAME_NUMERIC'
print.o(.text+0x62c2): In function `print_object':
/home/bihong/src/emacs/src/print.c:2147: undefined reference to `font_style_symbolic'
collect2: ld returned 1 exit status
gmake[2]: *** [temacs] Error 1
gmake[2]: Leaving directory `/home/bihong/src/emacs/src'
gmake[1]: *** [bootstrap-build] Error 2
gmake[1]: Leaving directory `/home/bihong/src/emacs'
gmake: *** [bootstrap] Error 2
Regards,
Guanpeng Xu
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
next reply other threads:[~2008-05-20 6:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-20 6:09 Herbert Euler [this message]
2008-05-20 18:16 ` Cannot build emacs without x Eli Zaretskii
2008-05-20 18:49 ` Eli Zaretskii
2008-05-21 3:25 ` Herbert Euler
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY143-W399FBB23E3F02E24D92FF9DAC40@phx.gbl \
--to=herberteuler@hotmail.com \
--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 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).