[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot build emacs without x
From: |
Herbert Euler |
Subject: |
Cannot build emacs without x |
Date: |
Tue, 20 May 2008 14:09:44 +0800 |
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
- Cannot build emacs without x,
Herbert Euler <=