This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems building Xemacs/i686-pc-cygwin


>>>>> "David" == David A Cobb <superbiskit@home.com> writes:

    David> Arghhh!

    David> Here's the clip of the last command(s) processed:

    David> /usr/bin/gcc -mcygwin -g -O3 -Wall -Wno-switch -Winline
    David> -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
    David> -mwindows   -o temacs  abbrev.o alloc.o blocktype.o buffer.o
    David> bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o
    David> cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o
    David> doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o
    David> debug.o tests.o filelock.o ntplay.o unexcw.o scrollbar-msw.o
    David> menubar-msw.o toolbar-msw.o dialog-msw.o console-msw.o device-msw.o
    David> event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o
    David> glyphs-msw.o gui-msw.o postgresql.o dgif_lib.o gif_io.o menubar.o
    David> scrollbar.o dialog.o toolbar.o file-coding.o realpath.o getloadavg.o
    David> inline.o linuxplay.o miscplay.o console-tty.o device-tty.o event-tty.o
    David> frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o
    David> event-unixoid.o database.o process-unix.o event-stream.o extents.o
    David> faces.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o
    David> general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o
    David> hash.o imgproc.o indent.o insdel.o intl.o keymap.o  line-number.o
    David> lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o
    David> print.o process.o profile.o rangetab.o redisplay.o redisplay-output.o
    David> regex.o search.o select.o sheap.o signal.o sound.o specifier.o
    David> strftime.o symbols.o syntax.o sysdep.o undo.o  widget.o window.o
    David> win32.o xemacs_res.o lastfile.o gmalloc.o free-hook.o vm-limit.o
    David> -ltiff -lpng -ljpeg -lz -lgdbm -lncurses -lpq -lwinmm -lshell32
    David> -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool

    David> linuxplay.o: In function `play_sound_file':
    David> /usr/local/src/XEmacs/xemacs-21.5/src/linuxplay.c(.text+0x1108):
    David> multiple definition of `play_sound_file'

    David> ntplay.o(.text+0x418):/usr/local/src/XEmacs/xemacs-21.5/src/ntplay.c:
    David> first defined here

For this one you have to take out linuxplay.o from the link line. Linking is broken
since cygwin has sound support. The configure script detects /usr/include/soundcard.h
and thinks we're on linux.

Otherwise for me xemacs links fine with all of the latest cygwin packes installed (Note that I'm using
Xemacs for cygwin native and also included ldap support)

gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith  -Xlinker -s -mwindows -L/
usr/X11R6/lib -Wl,-export-dynamic -o temacs  abbrev.o alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle
.o casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o
elhash.o emacs.o eval.o events.o filelock.o ntplay.o unexcw.o balloon_help.o balloon-x.o eldap.o postgresql.o dgif_lib.o gif_
io.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o mule.o mule-ccl.o mule
-charset.o file-coding.o input-method-xlib.o realpath.o getloadavg.o inline.o miscplay.o console-tty.o device-tty.o event-tty
.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o ev
ent-stream.o extents.o faces.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o general.o glyphs.o glyphs-eimage.o g
lyphs-widget.o gui.o gutter.o  hash.o imgproc.o indent.o insdel.o intl.o keymap.o  line-number.o lread.o lstream.o macros.o m
arker.o md5.o minibuf.o objects.o opaque.o print.o process.o profile.o rangetab.o redisplay.o redisplay-output.o regex.o sear
ch.o select.o sheap.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o event
-Xt.o frame-x.o glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o win32.o xemacs_res.o lastfile.o
gmalloc.o vm-limit.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o    ../lwlib/liblw.a
  -lipc -lXm -ltiff -lpng -ljpeg -lz -lcompface -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -ldb -lgdbm -lncurses -lintl -lpq -l
ldap -llber -L/usr/lib -lssl -lcrypto -lwinmm

Ciao
  Volker


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]