Subject: bug#2636: 23.0.91; Compile error

From: Jules Colding <[email-masked]>
Date: Wed, 11 Mar 2009 12:42:15 +0100

Building todays cvs resulted in this:

colding@apollo ~/work/src/emacs $ make && make install
cd lib-src; make all                            \
	  CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
	  LDFLAGS='' MAKE='make'
gcc -DHAVE_CONFIG_H -I. -I../src -I/Users/colding/work/src/emacs/lib-src -I/Users/colding/work/src/emacs/lib-src/../src   -g -O2 -Wno-pointer-sign  /Users/colding/work/src/emacs/lib-src/emacsclient.c getopt.o getopt1.o -DVERSION="\"23.0.91\""  -o emacsclient
boot=bootstrap-emacs;                         \
	if [ ! -x "src/$boot" ]; then                                     \
	    cd src; make all                                    \
	      CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS=''         \
	      LDFLAGS='' MAKE='make' BOOTSTRAPEMACS="$boot"; \
	fi;
cd src; make all                            \
	  CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='' \
	  LDFLAGS='' MAKE='make' BOOTSTRAPEMACS=""
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/colding/work/src/emacs/src -Dtemacs    -g -O2 -Wno-pointer-sign  frame.c
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/colding/work/src/emacs/src -Dtemacs    -g -O2 -Wno-pointer-sign  fontset.c
echo "dispnew.o frame.o scroll.o xdisp.o menu.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 font.o print.o lread.o syntax.o unexmacosx.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  nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o   terminfo.o lastfile.o    " > buildobj.lst
gcc  -prebind -framework AppKit -Xlinker -headerpad -Xlinker 6C8  -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o menu.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 font.o print.o lread.o syntax.o unexmacosx.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  nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o   terminfo.o lastfile.o          -lncurses   
Undefined symbols:
  "_font_open_by_spec", referenced from:
      _Fset_fontset_font in fontset.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
colding@apollo ~/work/src/emacs $ 

In GNU Emacs 23.0.91.7 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-03-10 on apollo.42tools.com
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns' '--without-x' '--without-sound''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: LaTeX

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> C-a % C-x C-s C-c C-c 
<up> <return> <backspace> C-x C-s C-c C-c <up> <return> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <left> 
<left> <left> a 4 p a p e r , <down> C-a % C-x C-s 
C-c C-c <up> <return> <backspace> C-x C-s C-c C-c <up> 
<return> <down> <kp-delete> <up> % C-x C-s C-c C-c 
<up> <return> <down-mouse-1> <mouse-1> { \ b f s e 
r i e s SPC C-e } C-x C-s C-c C-c <up> <return> <down-mouse-1> 
<mouse-1> <left> - 1 C-x C-s C-c C-c <up> <return> 
<left> <backspace> <kp-delete> 3 C-x C-s C-c C-c <up> 
<return> <down> <down> <left> <left> <left> <backspace> 
8 C-x C-s C-c C-c <up> <return> <down-mouse-1> <mouse-1> 
<backspace> v a r h a s h C-x C-s C-c C-c <up> <return> 
$ <M-left> <left> $ C-x C-s C-c C-c <up> <return> <backspace> 
<right> <kp-delete> <kp-delete> <kp-delete> <M-right> 
<kp-delete> C-x C-s <left> <right> SPC C-x C-s C-c 
C-c <up> <return> <left> $ <left> <left> <left> <left> 
<left> <left> $ C-x C-s C-c C-c <up> <return> <backspace> 
<right> <kp-delete> <kp-delete> <kp-delete> <kp-delete> 
<kp-delete> # C-x C-s C-c C-c <up> <return> <kp-delete> 
C-x C-s C-c C-c <up> <return> <down-mouse-1> <mouse-1> 
<kp-delete> <kp-delete> C-x C-s C-c C-c <up> <return> 
<left> <return> \ v s p a c e { - 1 c m } C-x C-s C-c 
C-c <up> <return> <left> <left> <left> <right> <backspace> 
<backspace> 7 m C-x C-s C-c C-c <up> <return> <down-mouse-1> 
<mouse-1> \ \ C-x C-s C-c C-c <up> <return> <down-mouse-1> 
<mouse-1> <up> C-SPC <down> <down> <down> C-w C-x C-s 
C-c C-c <up> <return> <down-mouse-1> <mouse-1> : <M-right> 
<M-right> <M-right> : <M-right> <M-right> : <M-right> 
<M-right> <M-right> : C-x C-s C-c C-c <up> <return> 
<down-mouse-1> <mouse-1> <backspace> <backspace> <kp-delete> 
C-x C-s C-c C-c <up> <return> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
(No files need saving)
Mark set [2 times]
Saving file /Users/colding/work/Business/JbC/Brutus/Invoices (Credit)/e-mergency.tex...
Wrote /Users/colding/work/Business/JbC/Brutus/Invoices (Credit)/e-mergency.tex
(No files need saving)
Mark set [2 times]
Saving file /Users/colding/work/Business/JbC/Brutus/Invoices (Credit)/e-mergency.tex...
Wrote /Users/colding/work/Business/JbC/Brutus/Invoices (Credit)/e-mergency.tex
(No files need saving)
Mark set [2 times]