bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 'fhandler_base::dup:' - Error


From: Martin Dorey
Subject: RE: 'fhandler_base::dup:' - Error
Date: Mon, 21 Nov 2005 15:30:31 -0800

Regardless of which gcc you're using, you appear to be using the cygwin
version of make - and it's the cygwin dll in that make process that's
hit an error.  So you need to report a cygwin problem but, I'd suggest
(again), first try a newer version of cygwin.
-------------------------------------
Martin's Outlook, BlueArc Engineering


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: Monday, November 21, 2005 14:45
To: Paul D. Smith
Cc: address@hidden
Subject: Re: 'fhandler_base::dup:' - Error

Let me clarify. "Setting environment for Cygwin" is just a comment in
the
batch file that calls 'make'.
I am using 'Cygwin' settings, but trying to get MSYS-MINGW-GCC to work
instead of CygwinGCC.
The batch file is

@echo off
PATH=C:/MSYS/1.0/bin;%PATH%
rem set INCLUDE=C:/MSYS/1.0/mingw/include;%INCLUDE%
rem set LIB=C:/MSYS/1.0/lib;%LIB%
if "%2"=="" set target=all
if "%2"=="build" set target=all
if "%2"=="rebuild" set target=clean all
if "%2"=="clean" set target=clean
echo Setting environment for Cygwin
echo "make.exe"
make -s -d %target% -f %1

The version of Make is

$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-msys
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <address@hidden>.




 

                      "Paul D. Smith"

                      <address@hidden>         To:
address@hidden

                      Sent by: "Paul           cc:
address@hidden

                      Smith"                   Subject:  Re:
'fhandler_base::dup:' - Error

                      <address@hidden

                      m>

 

 

                      11/21/2005 05:24

                      PM

                      Please respond to

                      "Paul D. Smith"

 

 





%% address@hidden writes:

  as> I have been using MSYS-MINGW-GCC to compile and link my C++ code.

  as> The problem I am having is following error.

  as> Building ------------  GCCAltiaGui.exe   ------------
  as> Executing: "C:\Rhapsody6.1\Share\etc\cygwinmake.bat"
GCCAltiaGui.mak
clean
  as> Setting environment for Cygwin
  as> "make.exe"
  as>       0 [main] make 2772 fhandler_base::dup: dup(some disk file)
failed,
  as> handle 0, Win32 error 6
  as> Cleanup

  as> Clean Done

  as> This happens when I try to execute 'make' for the first time.  The
  as> version of 'make' is 3.79.1.  Version of GCC is 3.2.3. The build
  as> is on Windows 2000 machine.

Hi; it looks like you are using the Cygwin-modified version of GNU make.
That version of make is supported by the Cygwin team, not this mailing
list (we support only the standard version of GNU make, provided on the
FSF web site), for problems which seem likely to be related to Cygwin
changes.  if it's a generic problem with make of course you can ask
here, but the above error looks very much to me like a system-specific
error that would need to be addressed by the Cygwin team.  I suggest you
contact them.


Good luck!

--
------------------------------------------------------------------------
-------

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist





_______________________________________________
Bug-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-make




reply via email to

[Prev in Thread] Current Thread [Next in Thread]