Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Mailer: 21.4 (patch 3) "Academic Rigor" XEmacs Lucid (via feedmail 10 I)
To: "David A. Cobb" <superbiskit@home.com>
Cc: David Starks-Browning <starksb@ebi.ac.uk>,
        Cygwin General MailList <cygwin@cygwin.com>
Subject: Re: Problems building Xemacs/i686-pc-cygwin
References: <5.1.0.14.0.20010801171809.05738080@mail>
	<5.1.0.14.0.20010801171809.05738080@mail>
	<5.1.0.14.0.20010802072314.04e8e5a0@mail>
X-Face: I-*}xvwusAv%MlABo'jVNP7TDXf5bb*L[q,r{DnsR1GoL07^Wf)sAu%>!LjXAFlZZN+`OQu
	}?#du]C)[*%ERKR#+l#sX'EoNbSO~|.x@ogoS5|"-u?<s5ViLslvYMlj7_n!Tq1m@xt2Bhj4[Zg+e?
	/Yy\SE`V?%v~kRU3GoS1f&U]}
From: "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com>
Date: 02 Aug 2001 15:17:35 +0200
In-Reply-To: <5.1.0.14.0.20010802072314.04e8e5a0@mail>
Message-ID: <kvvgk6sis0.fsf@vzell.de.oracle.com>
Lines: 63
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

>>>>> "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/

