ssh problem

2010-05-21 Thread Andrew DeFaria
With Cygwin 1.7 sometimes when I set up preshared key I get the following: 3 [main] -bash 9524 C:\Cygwin\bin\bash.exe: *** fatal error - couldn't dynamically determine load address for 'WSAGetLastError' (handle 0x), Win32 error 126 Note this is between my XP box and Windows 2003

Re: [bulk] - Re: Missing stack_chk type functions

2010-05-21 Thread Dave Korn
On 22/05/2010 01:46, Reini Urban wrote: > Sorry, yes you are right. -lssp is missing. > It should have been included automatically from the spces, however it > didn't. The answer is that -fstack-protector should be applied to the LDFLAGS as well as the CFLAGS/CXXFLAGS; that will add -lssp when

Re: [bulk] - Re: Missing stack_chk type functions

2010-05-21 Thread Reini Urban
DEWI - N. Zacharias schrieb: Moin Reini, Von: Reini Urban [mailto:rur...@x-ray.at] Gesendet: Mittwoch, 19. Mai 2010 20:14 An: cygwin@cygwin.com Betreff: [bulk] - Re: Missing stack_chk type functions DEWI - N. Zacharias schrieb: Hi all, I tried to install the Win32::GuiTest from cpan. It d

Re: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread Tim Prince
On 5/21/2010 1:55 PM, bo yu wrote: (5) Tim mentioned that 'You should persuade the Makefile to use the Fortran compiler rather than gcc for compiling and linking Fortran source code. g77 and gfortran can handle .c files automatically'. From the original makefile, which works well as shown in C

RE: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread bo yu
Tim and Marco, Thanks for your replies and for your help. Under the ygwin, I can build codes in .c and .f (Fortran-77) format, as shown in following Case 1. Now, I have codes in .f90 (Fortran-90) format and need a coupling. My goal is to build all codes (.c, .f, .f90) togheter in cygwin. As T

RE: 1.7.5: Bug with bash read in /etc/profile.d invocation

2010-05-21 Thread Garber, Dave (GE Infra, Energy, Non-GE)
Thanks. /dev/tty works. It's a script that I inherited. Just trying to keep it working until we can eliminate it. Dave -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Eric Blake Sent: Friday, May 21, 2010 11:50 AM To: cygwin@cygwin.com

Large binaries crash with exception C0000005

2010-05-21 Thread Magnus Reftel
Hi, A crash in a bunch of clang binaries that used to work got me chasing down what appears to be a bug in Cygwin with regards to large exe files. A binary I built as a test case that was 263615179 bytes was OK, but when I added one more byte to a global array, it was pushed to 263615691 bytes, an

RE: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread Marco Atzeri
--- Ven 21/5/10, bo yu ha scritto: > Tim, > > Thanks for your reply. > > I have the new version of cygwin installed in my computer, > in which the g77, g++, gcc, gfortran, C++ compiler are in > C:\cygwin\bin. > > Firstly, I use cygwin build C programs and For77 programs. > It works very well

Re: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread Tim Prince
On 5/21/2010 8:21 AM, bo yu wrote: Tim, Thanks for your reply. I have the new version of cygwin installed in my computer, in which the g77, g++, gcc, gfortran, C++ compiler are in C:\cygwin\bin. Firstly, I use cygwin build C programs and For77 programs. It works very well. Now, I add two For

Re: 1.7.5: Bug with bash read in /etc/profile.d invocation

2010-05-21 Thread Eric Blake
On 05/21/2010 09:20 AM, Garber, Dave (GE Infra, Energy, Non-GE) wrote: > Anyone have an ideas? I'm stumped. Please don't top-post. http://cygwin.com/acronyms/#TOFU > OK, I changed my script to have: > read -p "How are you today? " Ans /dev/stdin: No such file or directory" > > Since pro

RE: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread bo yu
Tim, Thanks for your reply. I have the new version of cygwin installed in my computer, in which the g77, g++, gcc, gfortran, C++ compiler are in C:\cygwin\bin. Firstly, I use cygwin build C programs and For77 programs. It works very well. Now, I add two For90 programs and want to build foll

RE: 1.7.5: Bug with bash read in /etc/profile.d invocation

2010-05-21 Thread Garber, Dave (GE Infra, Energy, Non-GE)
Anyone have an ideas? I'm stumped. Thanks, Dave -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Garber, Dave (GE Infra, Energy, Non-GE) Sent: Wednesday, May 19, 2010 9:35 AM To: cygwin@cygwin.com Subject: RE: 1.7.5: Bug with bash read in

Re: [PACKAGING ERROR] libungif-devel and libXevie-devel reference nonexistant /usr/lib/libxcb-xlib.la

2010-05-21 Thread Yaakov (Cygwin/X)
On 2010-05-21 07:40, Dr. Volker Zell wrote: I know, but it's anyway a bug which should be fixed. Otherwise the .la files are not useful. Not only shouldn't they be used in the first place, libXevie is no longer in the distro. The last package in the distro depending on libungif is ming, so

RE: Desperately seeking "rename"

2010-05-21 Thread Nellis, Kenneth
> From: Christopher Faylor > Sent: Friday, May 21, 2010 10:00 > To: cygwin@cygwin.com > Subject: Re: Desperately seeking "rename" ... > If you're looking for the rename utility then you should be searching > for rename.exe. If you're looking for the rename() function it is part > of Cygwin. > > c

Re: Desperately seeking "rename"

2010-05-21 Thread Christopher Faylor
On Fri, May 21, 2010 at 02:37:33PM +0100, Fergus wrote: >How does this work, exactly? I'm looking for "rename" as it's not in >Base. I go to >http://cygwin.com/packages/ >and institute a search for "rename" >http://cygwin.com/cgi-bin2/package-grep.cgi?grep=rename >and what I get is >Found 64 match

Re: Desperately seeking "rename"

2010-05-21 Thread Tim Prince
On 5/21/2010 6:37 AM, Fergus wrote: How does this work, exactly? I'm looking for "rename" as it's not in Base. I go to http://cygwin.com/packages/ and institute a search for "rename" It's interesting that the FAQ mentions rename many times, and even implies a distinction between rename and move

Desperately seeking "rename"

2010-05-21 Thread Fergus
How does this work, exactly? I'm looking for "rename" as it's not in Base. I go to http://cygwin.com/packages/ and institute a search for "rename" http://cygwin.com/cgi-bin2/package-grep.cgi?grep=rename and what I get is Found 64 matches for rename and a long list. Do I choose one to install? I'v

Re: How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread Tim Prince
On 5/21/2010 5:37 AM, bo yu wrote: .c.o : $(H_SOURCES) $(CC) -c $(CFLAGS) $< .f.o: ${F77} -c ${FFLAGS} $< Here is the code of ‘Testfor90.f90’ -- m

Re: [PACKAGING ERROR] libungif-devel and libXevie-devel reference nonexistant /usr/lib/libxcb-xlib.la

2010-05-21 Thread Dr. Volker Zell
> Yaakov writes: > On 2010-05-18 18:57, Dr. Volker Zell wrote: >> /usr/lib/libXevie.la and /usr/lib/libungif.la reference non existant >> /usr/lib/libxcb-xlib.la in their dependency_libs line. >> >> This prevents for example pstoedit from linking. > FWIW, these *were

How to compile Fortran 90 subroutine under CYGWIN

2010-05-21 Thread bo yu
Dear all, I am using Windows XP and have installed cygwin, in which the g++ C++ compiler are installed. I have programs written in c, Fortran 77 and Fortran 90. Now, I am trying to build in cygwin. When I type ‘make all’ in cygwin. The error message is gcc –c runslhg.f gcc –c intrface.f make: *

Re: LANG=ja_JP.Shift_JIS

2010-05-21 Thread Andy Koppe
On Friday, May 21, 2010, rushojp: > 2010/5/21 Thomas Wolff: >> As a workaround, you could add the entry >> ja_JP.Shift_JIS·ja_JP.SJIS >> to the file >> /usr/share/locale/locale.alias >> > It works! Thank you! So why do you need to set it to ja_JP.Shift_JIS if ja_JP.CP932 and ja_JP.SJIS do the same

Re: LANG=ja_JP.Shift_JIS

2010-05-21 Thread rushojp
2010/5/21 Thomas Wolff : > As a workaround, you could add the entry > ja_JP.Shift_JIS·ja_JP.SJIS > to the file > /usr/share/locale/locale.alias > It works! Thank you. And thank you for more info, Mr.Koppe. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cy