public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* DuplicateHandle error
@ 2013-06-10  7:15 Lange, Jan-Erik
  2013-06-10  7:34 ` marco atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Lange, Jan-Erik @ 2013-06-10  7:15 UTC (permalink / raw)
  To: cygwin

Hello,

I have trouble with my cygwin installation. I use the program gforth. Starting the tool there comes the following error:

3 [main] gforth 4824 dtable::stdio_init: couldn't make stderr distinct from stdout

Because of this error I cannot see the error messages, which gforth produces.

Corinna gave me already a hint for the reason of this error. But that doesnt help me solving the problem:
"This message occurs if the stdout and stderr handle are the
same, and a DuplicateHandle on the stderr handle failed for reason X."

Do you have an idea what I could do?

I installed the latest version of cygwin and I'm using Windows 7.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DuplicateHandle error
  2013-06-10  7:15 DuplicateHandle error Lange, Jan-Erik
@ 2013-06-10  7:34 ` marco atzeri
       [not found]   ` <EA3E4B9F261A0B4DA7E1F79A77BC02EC0674A405A2@MB10.mailcluster.haw-hamburg.de>
  0 siblings, 1 reply; 3+ messages in thread
From: marco atzeri @ 2013-06-10  7:34 UTC (permalink / raw)
  To: cygwin

Il 6/10/2013 9:14 AM, Lange, Jan-Erik ha scritto:
> Hello,
>
> I have trouble with my cygwin installation. I use the program gforth.

there is no gforth on cygwin.
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=gforth

Are you building by yourself or what ?

 > Starting the tool there comes the following error:
>
> 3 [main] gforth 4824 dtable::stdio_init: couldn't make stderr distinct from stdout
>
> Because of this error I cannot see the error messages, which gforth produces.
>
> Corinna gave me already a hint for the reason of this error. But that doesnt help me solving the problem:
> "This message occurs if the stdout and stderr handle are the
> same, and a DuplicateHandle on the stderr handle failed for reason X."
>
> Do you have an idea what I could do?
>
> I installed the latest version of cygwin and I'm using Windows 7.
>
> Regards,
> Jan
>

Marco



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AW: DuplicateHandle error
       [not found]   ` <EA3E4B9F261A0B4DA7E1F79A77BC02EC0674A405A2@MB10.mailcluster.haw-hamburg.de>
@ 2013-06-15  7:00     ` marco atzeri
  0 siblings, 0 replies; 3+ messages in thread
From: marco atzeri @ 2013-06-15  7:00 UTC (permalink / raw)
  To: cygwin; +Cc: Lange, Jan-Erik

Il 6/10/2013 10:09 AM, Lange, Jan-Erik ha scritto:
> I used this exe:
> http://www.complang.tuwien.ac.at/forth/gforth/Snapshots/gforth-0.7.0-20090215.exe
> and the installation was successfull. I can run gforth but, as already said, get no error messages when using the program
>
>
>
> By the way, I just tried to build it myself which the soruces from (http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.2.tar.gz), but got this error:
> $ ./configure
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/home/jl/gforth-0.7.2':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
>


I assume you are using the latest compiler
$ gcc --version
gcc (GCC) 4.5.3


try using before
$ autoreconf -i --force

$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
...

the build looks fine, and I do not see any

3 [main] gforth 4824 dtable::stdio_init: couldn't make stderr distinct 
from stdout

Regards
Marco



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-15  7:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-10  7:15 DuplicateHandle error Lange, Jan-Erik
2013-06-10  7:34 ` marco atzeri
     [not found]   ` <EA3E4B9F261A0B4DA7E1F79A77BC02EC0674A405A2@MB10.mailcluster.haw-hamburg.de>
2013-06-15  7:00     ` AW: " marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).