Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Fri, 7 Jan 2005 07:10:26 -0500
From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: Cannot build 21.4.16 under cygwin (gcc 3.3.3)
Message-ID: <20050107121026.GA3760@tishler.net>
Mail-Followup-To: cygwin@cygwin.com
References: <f5bwtur95e1.fsf@erasmus.inf.ed.ac.uk> <f5bk6qr94ev.fsf@erasmus.inf.ed.ac.uk> <20050105210221.GA2428@tishler.net> <f5bfz1f8obh.fsf@erasmus.inf.ed.ac.uk> <20050106130856.GA1068@tishler.net> <f5bacrm64gj.fsf@erasmus.inf.ed.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <f5bacrm64gj.fsf@erasmus.inf.ed.ac.uk>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

Henry,

On Thu, Jan 06, 2005 at 02:02:20PM +0000, Henry S. Thompson wrote:
> Jason Tishler writes:
> >     If you get any errors due to DLLs being in-use or read-only,
> >     then take the appropriate action and rerun rebaseall.
> >     Otherwise, you run the risk of fork() failing.
> 
> /sur/bin/cygncurses++6.dll: new base = 6f270000, new sizeReBaseImage (/usr/bin/cygpcre-0.dll) failed with last error = 6
> =40000

We have the following:

    $ fgrep 6L /usr/include/w32api/winerror.h | head -1
    #define ERROR_INVALID_HANDLE 6L

A winerror 6 during rebasing usually means the file is open.

> I reinstalled cygpcre, but it's not implicated in the xemacs pblm (I
> don't think . . .)

It's generally best to successfully rebase all of you DLLs.  I would try
to resolve your cygpcre-0.dll issue.

> > BTW, you may want to run rebaseall with the -v (i.e., verbose) flag
> > to verify you haven't run out of address space.  For example, if
> > some of your DLL are rebased to near 0x61000000 or below, then you
> > are likely to have problems.
> 
> I think that was all OK.

The problem with "-v" is that error messages will scroll off the screen.
I recommend catching the output and grep-ing through it to make sure all
is really OK.

> Net result: xemacs-21.4.16 compiled with gcc-3.3.3 still crashes with
> "couldn't reserve . . ."

Maybe your problem is not related to rebasing?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

