Failed to compile XEmacs 21.5 under cygwin with gcc, linker failed.
Nick.
gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g
-O3 -mwindows -e _mainCRTStartup -L/usr/X11R6/lib -Wl,-export-dynamic
-Wl,--script=s/cygwin.sc -o temacs abbrev.o alloc.o alloca.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 dynarr.o editfns.o
elhash.o emacs.o eval.o events.o event-stream.o event-unixoid.o unexcw.o
dragdrop.o input-method-xlib.o getloadavg.o inline.o ntplay.o terminfo.o
extents.o faces.o file-coding.o fileio.ofilemode.o floatfns.o fns.o font-lock.o
frame.o general.o dgif_lib.o gif_io.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 console-msw.o device-msw.o
event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o
gui-msw.o menubar-msw.o scrollbar-msw.o dialog-msw.o toolbar-msw.o mule-ccl.o
mule-charset.o mule-coding.o objects.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 sheap.o sysdll.o emodules.o signal.o sound.o
specifier.o strftime.o symbols.o syntax.o sysdep.o text.o console-tty.o
device-tty.o event-tty.o frame-tty.o objects-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 objects-x.o
redisplay-x.oselect-x.o xgccache.o intl-x.o gui-x.o menubar-x.o scrollbar-x.o
dialog-x.o toolbar-x.o toolbar-common.o widget.o window.o win32.o intl-win32.o
intl-auto-encap-win32.o intl-encap-win32.o xemacs_res.o lastfile.o gmalloc.o
free-hook.o vm-limit.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o xemacs-export.o ../lwlib/liblw.a -lXm
-ltiff -lpng -ljpeg -lz -lcompface -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE
-ldb -lncurses -lintl -lwinmm -limm32 -lshell32 -lgdi32 -luser32 -lcomdlg32
-lcomctl32 -lole32 -luuid -lwinspool -lmpr -lutil
xemacs-export.o(.edata+0x1c4):fake: undefined reference to `_lrecord_markers'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
-------------------------------------------------------------------------------
uname -a: CYGWIN_NT-5.0 opal 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown
Cygwin
/c/software/SRC/xemacs-beta/configure '--srcdir=/c/software/SRC/xemacs-beta'
'--package-path=/usr/local/xemacs/' '--with-x11' '--with-msw'
'--with-mule'
'--with-canna=no' '--with-wnn=no' '--with-pop' '--debug'
'--error-checking=all'
'--use-kkcc'
XEmacs 21.5-b15 "celery" configured for `i686-pc-cygwin'.
Compilation / Installation:
Source code location: /c/software/SRC/xemacs-beta
Installation prefix: /usr/local
Operating system description file: `s/cygwin32.h'
Machine description file: `m/intel386.h'
Compiler: gcc -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wundef -Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations
-Wpointer-arith -g -O3
Relocating allocator for buffers: no
GNU version of malloc: yes
Window System:
Compiling in support for the Microsoft window system.
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
Compiling in support for Drag'n'Drop (EXPERIMENTAL).
- Drag'n'Drop prototype: msw.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for POP mail retrieval.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC algorithms.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------