X-Spam-Check-By: sourceware.org
Date: Fri, 31 Aug 2007 01:42:37 +0200
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
To: Dan Nicolaescu <dann@ics.uci.edu>
cc: emacs-devel@gnu.org, cygwin@cygwin.com, Eli Zaretskii <eliz@gnu.org>
Subject: Re: Failure in building Emacs 23.0.50 on Cygwin
In-Reply-To: <200708300056.l7U0upeG000619@oogie-boogie.ics.uci.edu>
Message-ID: <Pine.CYG.4.58.0708310137080.2256@homepc>
References: <Pine.CYG.4.58.0708300104560.2536@homepc>  <200708300056.l7U0upeG000619@oogie-boogie.ics.uci.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


For the sake of completeness, using Emacs CVS 20070829 07:20 (cvs -z3
-d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -P -D
"29 Aug 2007 7:20" emacs) bootstraps, while the CVS of few minutes later,
7:30, fails in bootstrapping as described.

It looks the problem is in src/term.c.


Cheers,

   Angelo.


On Wed, 29 Aug 2007, Dan Nicolaescu wrote:

> Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> writes:
>
>   > I have tried to bootstrap the last Emacs-23.0.50 CVS (checked out about an
>   > hour ago) on Cygwin, but it fails:
>
> [snip]
>
>   > gcc   -Wl,--enable-auto-import -Wl,--enable-auto-image-base
>   > -L/usr/X11R6/lib -o temacs ecrt0.o dispnew.o frame.o scroll.o xdisp.o
>   > xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o
>   > terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o
>   > fringe.o image.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 print.o lread.o abbrev.o
>   > syntax.o unexcw.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
>   > sheap.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o  widget.o
>   > mktime.o getloadavg.o   ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu
>   > -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11
>   > -lcurses -lg  `gcc -print-libgcc-file-name` -lm -lc `gcc
>   > -print-libgcc-file-name`
>   > term.o: In function `dissociate_if_controlling_tty':
>   > /tmp/emacs/src/term.c:3146: undefined reference to `_croak'
>   > collect2: ld returned 1 exit status
>   > make[2]: *** [temacs.exe] Error 1
>   > make[2]: Leaving directory `/tmp/emacs/build/src'
>   > make[1]: *** [bootstrap-build] Error 2
>   > make[1]: Leaving directory `/tmp/emacs/build'
>   > make: *** [bootstrap] Error 2
>   > ---------------------------------------------------------------
>   >
>   > (Note that term.c was one of the last update files before I checked out
>   > CVS)
>   >
>   >
>   > The same CVS bootstraps fine on GNU/Linux SLC4.
>   >
>   >
>   > The CVS of 20070819 builds fine on both systems (linux and cygwin)
>
> This is because the multi-tty branch got merged into emacs CVS
> mainline. Most likely nobody tried it on cygwin before. Someone that
> uses cygwin needs to take a look at what does it take to make it
> compile again. Probably just a few #ifs need to be updated.
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

