Robert Royar
2015-05-08 13:51:29 UTC
For the changes made in the following
hg --cwd /Users/royar/src/xemacs-hg incoming
comparing with https://bitbucket.org/xemacs/xemacs
searching for changes
changeset: 5899:2dc8711af537
user: Aidan Kehoe <***@parhasard.net>
date: Fri May 08 12:47:13 2015 +0100
summary: Make get_char_table in loop bodies more tolerable without
optimization.
changeset: 5900:5afddd952c46
tag: tip
user: Aidan Kehoe <***@parhasard.net>
date: Fri May 08 13:58:22 2015 +0100
summary: Return ratios in canonical form too, #'string-to-number
My compilation fails in abbrev.c with the following errors:
cd ./src && /Applications/Xcode.app/Contents/Developer/usr/bin/make all
clang -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -arch x86_64 -g -I/opt/local/include
-I/opt/X11/include -I/opt/X11/include/freetype2 -Demacs -I.
-I/Users/royar/src/xemacs-hg/src -DHAVE_CONFIG_H -I/opt/X11/include
-I/opt/X11/include/freetype2 -I/opt/X11/include -I/opt/X11/include
abbrev.c
In file included from abbrev.c:39:
./syntax.h:95:19: warning: implicit declaration of function
'get_char_table_mirrors_ok' is invalid in C99
[-Wimplicit-function-declaration]
return XFIXNUM (get_char_table_mirrors_ok (c, table));
^
./lisp.h:2985:35: note: expanded from macro 'XFIXNUM'
#define XFIXNUM(obj) XREALFIXNUM (obj)
^
./lisp-union.h:84:37: note: expanded from macro 'XREALFIXNUM'
#define XREALFIXNUM(x) ((EMACS_INT)(x).s.val)
^
In file included from abbrev.c:39:
./syntax.h:95:10: error: member reference base type 'int' is not a
structure or union
return XFIXNUM (get_char_table_mirrors_ok (c, table));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lisp.h:2985:22: note: expanded from macro 'XFIXNUM'
#define XFIXNUM(obj) XREALFIXNUM (obj)
^~~~~~~~~~~~~~~~~
./lisp-union.h:84:39: note: expanded from macro 'XREALFIXNUM'
#define XREALFIXNUM(x) ((EMACS_INT)(x).s.val)
~~~^~
1 warning and 1 error generated.
make[1]: *** [abbrev.o] Error 1
make: *** [src] Error 2
This looks to be the correct Installation file information for the attempt:
uname -a: Darwin grendel.frinabulax.org 14.3.0 Darwin Kernel Version
14.3.0: Mon Mar 23 11:59:05 PDT 2015;
root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 i386 iMac15,1 Darwin
./configure '--with-mule' '--with-gcc' '--with-scrollbars=athena'
'--with-widgets=athena' '--with-athena=3d' '--with-dialogs=athena'
'--prefix=/Users/royar/usr/local' '--with-png' '--with-xim=no'
'--without-xfs' '--with-compiler=clang' '--with-pdump'
'--disable-kkcc' '--without-ipv6-cname' '--without-ldap'
'--without-postgresql' '--x-includes=/opt/X11/include'
'--x-libraries=/opt/X11/lib' '--with-xft=emacs,gauges,tabs'
'--with-union-type' '--without-error-checking' '--with-dynamic'
'--enable-dump-in-exec' '--without-tls' 'CC=/usr/bin/clang'
'CFLAGS=-arch x86_64 -g' 'LDFLAGS=-L/usr/lib -lncurses -lz
-L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM
-lICE -lfontconfig -L/opt/local/lib -ltiff -ljpeg'
'CPPFLAGS=-I/opt/local/include -I/opt/X11/include
-I/opt/X11/include/freetype2' 'CXX=/usr/bin/clang++'
XEmacs 21.5-b34 "kale" 5afddd952c46+ configured for `x86_64-apple-darwin14.3.0'.
Removing —with-union-type from configure gets to the linking stage
where it fails with
clang -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -arch x86_64 -g -L/usr/lib -lncurses -lz
-L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM
-lICE -lfontconfig -L/opt/local/lib -ltiff -ljpeg -Wl,-no_pie
-L/opt/X11/lib -lXft -L/opt/X11/lib -o temacs abbrev.o alloc.o
alloca.o array.o balloon_help.o balloon-x.o blocktype.o buffer.o
bytecode.o callint.o casefiddle.o casetab.o chartab.o filelock.o
cmdloop.o cmds.o console.o console-stream.o data.o database.o debug.o
tests.o device.o dired.o doc.o doprnt.o editfns.o elhash.o emacs.o
emodules.o eval.o events.o event-stream.o event-unixoid.o dumper.o
inline.o terminfo.o extents.o faces.o file-coding.o fileio.o
filemode.o floatfns.o fns.o font-lock.o frame.o gc.o general.o
glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o gui.o
menubar.o scrollbar.o dialog.o toolbar.o gutter.o hash.o imgproc.o
indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o
macros.o marker.o md5.o minibuf.o mule-ccl.o mule-charset.o
mule-coding.o fontcolor.o opaque.o print.o process.o
process-unix.o profile.o rangetab.o realpath.o redisplay.o
redisplay-output.o regex.o search.o select.o sequence.o sysdll.o
signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o
text.o tls.o console-tty.o device-tty.o event-tty.o frame-tty.o
fontcolor-tty.o redisplay-tty.o cm.o undo.o unicode.o console-x.o
device-x.o event-Xt.o frame-x.o glyphs-x.o fontcolor-x.o redisplay-x.o
select-x.o gccache-x.o intl-x.o font-mgr.o gui-x.o menubar-x.o
scrollbar-x.o dialog-x.o toolbar-x.o toolbar-xlike.o widget.o window.o
lastfile.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o dump-id.o dump-data.o
../lwlib/liblw.a -lXaw3d -ltiff -lpng -ljpeg -lXpm -lXft -lfontconfig
-lXrender -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lncurses -lintl
Undefined symbols for architecture x86_64:
"_get_char_table_mirrors_ok", referenced from:
_SYNTAX_CODE in abbrev.o
_SYNTAX_CODE in casefiddle.o
_SYNTAX_CODE in cmds.o
_SYNTAX_CODE in data.o
_SYNTAX_CODE in font-lock.o
_SYNTAX_CODE in regex.o
_SYNTAX_CODE in search.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
hg --cwd /Users/royar/src/xemacs-hg incoming
comparing with https://bitbucket.org/xemacs/xemacs
searching for changes
changeset: 5899:2dc8711af537
user: Aidan Kehoe <***@parhasard.net>
date: Fri May 08 12:47:13 2015 +0100
summary: Make get_char_table in loop bodies more tolerable without
optimization.
changeset: 5900:5afddd952c46
tag: tip
user: Aidan Kehoe <***@parhasard.net>
date: Fri May 08 13:58:22 2015 +0100
summary: Return ratios in canonical form too, #'string-to-number
My compilation fails in abbrev.c with the following errors:
cd ./src && /Applications/Xcode.app/Contents/Developer/usr/bin/make all
clang -c -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -arch x86_64 -g -I/opt/local/include
-I/opt/X11/include -I/opt/X11/include/freetype2 -Demacs -I.
-I/Users/royar/src/xemacs-hg/src -DHAVE_CONFIG_H -I/opt/X11/include
-I/opt/X11/include/freetype2 -I/opt/X11/include -I/opt/X11/include
abbrev.c
In file included from abbrev.c:39:
./syntax.h:95:19: warning: implicit declaration of function
'get_char_table_mirrors_ok' is invalid in C99
[-Wimplicit-function-declaration]
return XFIXNUM (get_char_table_mirrors_ok (c, table));
^
./lisp.h:2985:35: note: expanded from macro 'XFIXNUM'
#define XFIXNUM(obj) XREALFIXNUM (obj)
^
./lisp-union.h:84:37: note: expanded from macro 'XREALFIXNUM'
#define XREALFIXNUM(x) ((EMACS_INT)(x).s.val)
^
In file included from abbrev.c:39:
./syntax.h:95:10: error: member reference base type 'int' is not a
structure or union
return XFIXNUM (get_char_table_mirrors_ok (c, table));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lisp.h:2985:22: note: expanded from macro 'XFIXNUM'
#define XFIXNUM(obj) XREALFIXNUM (obj)
^~~~~~~~~~~~~~~~~
./lisp-union.h:84:39: note: expanded from macro 'XREALFIXNUM'
#define XREALFIXNUM(x) ((EMACS_INT)(x).s.val)
~~~^~
1 warning and 1 error generated.
make[1]: *** [abbrev.o] Error 1
make: *** [src] Error 2
This looks to be the correct Installation file information for the attempt:
uname -a: Darwin grendel.frinabulax.org 14.3.0 Darwin Kernel Version
14.3.0: Mon Mar 23 11:59:05 PDT 2015;
root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64 i386 iMac15,1 Darwin
./configure '--with-mule' '--with-gcc' '--with-scrollbars=athena'
'--with-widgets=athena' '--with-athena=3d' '--with-dialogs=athena'
'--prefix=/Users/royar/usr/local' '--with-png' '--with-xim=no'
'--without-xfs' '--with-compiler=clang' '--with-pdump'
'--disable-kkcc' '--without-ipv6-cname' '--without-ldap'
'--without-postgresql' '--x-includes=/opt/X11/include'
'--x-libraries=/opt/X11/lib' '--with-xft=emacs,gauges,tabs'
'--with-union-type' '--without-error-checking' '--with-dynamic'
'--enable-dump-in-exec' '--without-tls' 'CC=/usr/bin/clang'
'CFLAGS=-arch x86_64 -g' 'LDFLAGS=-L/usr/lib -lncurses -lz
-L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM
-lICE -lfontconfig -L/opt/local/lib -ltiff -ljpeg'
'CPPFLAGS=-I/opt/local/include -I/opt/X11/include
-I/opt/X11/include/freetype2' 'CXX=/usr/bin/clang++'
XEmacs 21.5-b34 "kale" 5afddd952c46+ configured for `x86_64-apple-darwin14.3.0'.
Removing —with-union-type from configure gets to the linking stage
where it fails with
clang -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts
-Wpacked -Wpointer-arith -Wshadow -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
-Wunused-parameter -g -arch x86_64 -g -L/usr/lib -lncurses -lz
-L/opt/X11/lib -lpng -lXpm -lXft -lXrender -lXt -lXext -lX11 -lSM
-lICE -lfontconfig -L/opt/local/lib -ltiff -ljpeg -Wl,-no_pie
-L/opt/X11/lib -lXft -L/opt/X11/lib -o temacs abbrev.o alloc.o
alloca.o array.o balloon_help.o balloon-x.o blocktype.o buffer.o
bytecode.o callint.o casefiddle.o casetab.o chartab.o filelock.o
cmdloop.o cmds.o console.o console-stream.o data.o database.o debug.o
tests.o device.o dired.o doc.o doprnt.o editfns.o elhash.o emacs.o
emodules.o eval.o events.o event-stream.o event-unixoid.o dumper.o
inline.o terminfo.o extents.o faces.o file-coding.o fileio.o
filemode.o floatfns.o fns.o font-lock.o frame.o gc.o general.o
glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o gui.o
menubar.o scrollbar.o dialog.o toolbar.o gutter.o hash.o imgproc.o
indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o
macros.o marker.o md5.o minibuf.o mule-ccl.o mule-charset.o
mule-coding.o fontcolor.o opaque.o print.o process.o
process-unix.o profile.o rangetab.o realpath.o redisplay.o
redisplay-output.o regex.o search.o select.o sequence.o sysdll.o
signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o
text.o tls.o console-tty.o device-tty.o event-tty.o frame-tty.o
fontcolor-tty.o redisplay-tty.o cm.o undo.o unicode.o console-x.o
device-x.o event-Xt.o frame-x.o glyphs-x.o fontcolor-x.o redisplay-x.o
select-x.o gccache-x.o intl-x.o font-mgr.o gui-x.o menubar-x.o
scrollbar-x.o dialog-x.o toolbar-x.o toolbar-xlike.o widget.o window.o
lastfile.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o dump-id.o dump-data.o
../lwlib/liblw.a -lXaw3d -ltiff -lpng -ljpeg -lXpm -lXft -lfontconfig
-lXrender -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lncurses -lintl
Undefined symbols for architecture x86_64:
"_get_char_table_mirrors_ok", referenced from:
_SYNTAX_CODE in abbrev.o
_SYNTAX_CODE in casefiddle.o
_SYNTAX_CODE in cmds.o
_SYNTAX_CODE in data.o
_SYNTAX_CODE in font-lock.o
_SYNTAX_CODE in regex.o
_SYNTAX_CODE in search.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [temacs] Error 1
make: *** [src] Error 2
--
Robert Royar <***@royar.org>
Robert Royar <***@royar.org>