pthreads and sockets - Cannot register window class error

2004-05-04 Thread Jacek Trzmiel
Hi again, I have problem using pthreads together with sockets on cygwin 1.5.9-1, win2k sp4. Here is minimal app where I can reproduce errors. It will start 70 threads and fetch http://example.org/ page on every each of them. Please change host on line: const char *HOST = "example.org"; if

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour - RESOLVED

2004-05-04 Thread Jacek Trzmiel
> Possible, but I suspect it's a problem on Jacek's machine. > > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest, and there have been numerous hotfixes > since it was released.) I've installed SP4 (had most of hotfixes already) but it didn't fix

Re: efax on cygwin

2004-05-04 Thread Christopher Faylor
On Wed, May 05, 2004 at 02:09:31AM +0200, Alessio Sangalli wrote: >Christopher Faylor wrote: >>If you can't maintain it, then don't bother submitting it. Maintenance >>is an integral part of the procedure. > >That's why I asked if some developer was interested. If "some developer" was interested

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hannu E K Nevalainen wrote: > $ g++ ShutdownTest.cpp -o ShutdownTest && ./ShutdownTest.exe > HTTP/1.1 200 OK > Date: Tue, 04 May 2004 14:02:39 GMT > Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) > Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT [...] > > $ uname -a > CYGWIN_NT-5.0 P450 1.5.10s(0.114

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi, > > Just kind of wondering if the apache is prematurely dropping the line when > > it sees the FIN. > > Possible, but I suspect it's a problem on Jacek's machine. Yep, that's most likely. > Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a > later SP? (SP4 is the latest,

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Jacek Trzmiel
Hi Dave, > Just kind of wondering if the apache is prematurely dropping the line when > it sees the FIN. No it doesn't. Here is dump when connecting to example.org: > 01:14:34.237976 win2k.3042 > example.org.80: S 3273603871:3273603871(0) win 16384 > (DF) > 01:14:34.423719 example.org.80 > w

Re: efax on cygwin

2004-05-04 Thread Alessio Sangalli
Christopher Faylor wrote: If you can't maintain it, then don't bother submitting it. Maintenance is an integral part of the procedure. That's why I asked if some developer was interested. Efax is a rather stable software which doesn't change so much. As far as I know, there is no equivalent soft

Re: efax on cygwin

2004-05-04 Thread Christopher Faylor
On Wed, May 05, 2004 at 12:29:14AM +0200, Alessio Sangalli wrote: >I will try to prepare a package ready for the distribution, I don't know >if I will be able to maintain it... If you can't maintain it, then don't bother submitting it. Maintenance is an integral part of the procedure. cgf -- U

cygwin on Windows XP x86_64

2004-05-04 Thread Steven Hartland
Has anyone got cygwin working on XP 64? Searched google and the mailing list for the errors no joy. Here's the details Cant get any more info as the bash prompt then hangs. C:\cygwin\bin\bash.exe: *** fork: can't reserve memory for stack 0x49 - 0x69 , Win32 error 0 C:\cygwin\bin\bash.exe:

Re: efax on cygwin

2004-05-04 Thread Alessio Sangalli
Brian Ford wrote: You don't need to be a "cygwin developer" to get a package included in the distribution. See: http://cygwin.com/setup.html#submitting if you are interested in maintaining it yourself. Interesting procedure. But the facts are: I'm not a real cygwin user because I work with Linux

intel ddd cygwin

2004-05-04 Thread Joshua Kolden
This is a general poll on several e.mail lists to see if anyone can help apologies if it is slightly off topic. We are trying to create a uniform development environment for Linux and windows based on the Intel compiler. Everything has been setup and is working well except for debugging. When at

RE: postgresql problem

2004-05-04 Thread Reid Thompson
read the doc for postgresql under cygwin/usr/share/doc/Cygwin reid > -Original Message- > From: Christopher Benson-Manica [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 04, 2004 1:26 PM > To: [EMAIL PROTECTED] > Subject: postgresql problem > > > initdb doesn't work, because it says th

Re: postgresql problem

2004-05-04 Thread Reini Urban
Larry Hall schrieb: initdb doesn't work, because it says the shmget system call is not implemented. Is there anything I can do about this? You need to start ipc-daemon2 before. BTW, I found this by googling. It's loads of

Re: DLL generation under Cygwin

2004-05-04 Thread Ted Yu
Hi, Larry: If I use your flag, I got the following: ld: warning: cannot find entry symbol [EMAIL PROTECTED]; defaulting to 10001000 djbfft2d.o(.text+0x4d3):djbfft2d.cpp: undefined reference to `_imp___iob' djbfft2d.o(.text+0x50a):djbfft2d.cpp: undefined reference to `_imp___iob' BTW, I have this f

Re: postgresql problem

2004-05-04 Thread Larry Hall
At 01:26 PM 5/4/2004, you wrote: >initdb doesn't work, because it says the shmget system call is not >implemented. Is there anything I can do about this? Sure: BTW, I found this by googling. It's loads of fun! ;-) -

Re: DLL generation under Cygwin

2004-05-04 Thread Larry Hall
If your DLL was built against the Cygwin DLL, you'll have difficulties because the Cygwin DLL won't be loaded properly. Try building with 'gcc -mno-cygwin'. Of course, if you need the POSIX APIs Cygwin provides, you'll now have to do some porting. Larry Hall http:/

Re: efax on cygwin

2004-05-04 Thread Brian Ford
On Tue, 4 May 2004, Alessio Sangalli wrote: > so: efax works, but it has few warnings here and there related to the > serial ports and terminals. Is there some cygwin developer which is > interested in including this program into the cygwin ditribution? I > could try to solve the compatibility pro

Re: Patch for robots 2.0-3

2004-05-04 Thread Corinna Vinschen
On May 4 13:46, Andre Bleau wrote: > I've noticed that robots 2.0-3 fails to update its high score files with > cygwin 1.5.x. Debugging shows that the bug is related to lseek. Searching > the archives, I found this message from cgf: > > http://www.cygwin.com/ml/cygwin/2003-07/msg01677.html Tha

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Jörg Schaible
john george wrote: > Can i resolve the name mangling issue by adding the > extern "C" declaration for every function that I'm > exporting in the MSVC created DLL. > I tried this but doesn't seem to work.Is there any > other way to do this. Be aware, that there is more than just a compatible call.

Cygwin 1.5.9-1 Error running Java program from bash shell.

2004-05-04 Thread Mark Soderquist
Hello, I am running Cygwin 1.5.9-1 on Windows XP with Java 1.4.2_04. Recently I upgraded Cygwin (my previous version was 1.5.7-1). Now some of my Java programs fail to execute when being executed from bash (2.05b.0(1)-release). I have narrowed the Java code down to one method call. I have attached

[OT] RE: How to set the colors of terminfo's standout mode?

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Alejandro López-Valencia > Sent: 30 April 2004 19:55 > [Lots of idiocy deleted. I will not answer to kindergarten frolics.] Then what's this, if not an answer? > Mr. Korn, > > You couldn't take a hint to move the argument to a pri

Re: meaning of that?

2004-05-04 Thread grace-request
Sorry, but submissions to this list is restricted to its members. For bug reports and suggestions related to Grace please follow links found at http://plasma-gate.weizmann.ac.il/Grace/ You will also find there info on how to subscribe to the mailing list. This is a multi-part message in

Patch for robots 2.0-3

2004-05-04 Thread Andre Bleau
I've noticed that robots 2.0-3 fails to update its high score files with cygwin 1.5.x. Debugging shows that the bug is related to lseek. Searching the archives, I found this message from cgf: http://www.cygwin.com/ml/cygwin/2003-07/msg01677.html And here's why "fails.c" fails: --- lseek-fails.c

postgresql problem

2004-05-04 Thread Christopher Benson-Manica
initdb doesn't work, because it says the shmget system call is not implemented. Is there anything I can do about this? -- Christopher Benson-Manica ataru(at)sdf.lonestar.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

DLL generation under Cygwin

2004-05-04 Thread Ted Yu
Hi, Here is some information on exception: if (!hFFT) { hFFT = LoadLibrary("djbfft.dll"); status = GetLastError();// 998 invalid memory access rfour2d = (RFOUR2D) GetProcAddress(hFFT, "rfft2d_djb");

Re: Missing Files in binutils-20030901-1-src.tar.bz2

2004-05-04 Thread Christopher Faylor
On Tue, May 04, 2004 at 10:03:59AM -0400, Philip Brown wrote: >The distribution binutils-20030901-1-src.tar.bz2 is missing the >following files from the bfd/doc subdirectory: > >aoutx.texi >archive.texi >archures.texi >bfdio.texi >bfdt.texi >bfdwin.texi >cache.texi >coffcode.texi >core.texi >elf.te

python crash under cygwin 1.5.9 dll

2004-05-04 Thread Jordan Gannett
Recently I tried upgrading to the cygwin-1.5.9-1 package, and after that, BitTorrent (a python-based program) started crashing consistently on certain inputs, with the error segmentation fault (core dumped) I tried downgrading back to 1.5.7, and then the problems disappeared. I tried 1.5.8 also,

Re: diffutils 2.8.4-1: parameter --tabsize broken, getopt issue?

2004-05-04 Thread Brian Dessent
Christopher Faylor wrote: > This seems to be fixed in diffutils 2.8.7. I've made a new release It is, and thanks for the quick release. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

Re: How download gcc + its source?

2004-05-04 Thread Gerrit P. Haase
lazer1 wrote: >>This will pull also the gcc-mingw-core package which includes the >>headers, libraries and symlinks to make use of the -mno-cygwin flag to >>create cygwin independant binaries. > programs that will run from outside the cygwin shell? > how would I do hello world say hello.c, > wo

Missing Files in binutils-20030901-1-src.tar.bz2

2004-05-04 Thread Philip Brown
The distribution binutils-20030901-1-src.tar.bz2 is missing the following files from the bfd/doc subdirectory: aoutx.texi archive.texi archures.texi bfdio.texi bfdt.texi bfdwin.texi cache.texi coffcode.texi core.texi elf.texi format.texi hash.texi init.texi libbfd.texi linker.texi mmo.texi opncls.

Re: fortran and C mixed-language program - cygwin the way to go?

2004-05-04 Thread Larry Hall
At 04:00 AM 5/4/2004, you wrote: >Hi, > >I don't know if this is the right list to post this question to, but please bear >with me. > >I'm using cygwin on windows XP. I have a large fortran 95 program that I >compile with Compaq Visual Fortran 6.6. There is no way g77 will handle the >fortran 9x

Re: How download gcc + its source?

2004-05-04 Thread lazer1
On 02-May-04, Gerrit P. Haase wrote: >Hallo lazer1, >Am Samstag, 1. Mai 2004 um 18:49 schriebst du: >> Hello, >> I installed Cygwin via http://sources.redhat.com/cygwin/setup.exe, >> by downloading first and then installing with everything set to default, >> when I double click the Cygwin icon

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Igor Pechtchanski
On Mon, 3 May 2004, john george wrote: > --- "Billinghurst, David (CALCRTS)" > billinghurstcomalcoriotintocomau> wrote: . > > > From: john george > > > > > > I'm trying to link a MSVC++ created DLL with a cygwin application. > > > > > > ... > > > > > >

Re: fortran and C mixed-language program - cygwin the way to go?

2004-05-04 Thread Gerrit P. Haase
Hi David, you can try to build FFTW with the MinGW GCC compiler, though I'm not sure that it is possible at all ( http://www.mingw.org/ ). The MinGW compiler doesn't use Cygwin but MSVCRT as C library. Gerrit David wrote: > Hi, > I don't know if this is the right list to post this question t

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Hannu E K Nevalainen
> From: Jacek Trzmiel > Sent: Tuesday, May 04, 2004 4:19 AM > Can somebody with Win2k box compile and run prog from my previous mail? > I would like to know if it behaves incorrectly only on my system, or on > Win2k in general: > > http://cygwin.com/ml/cygwin/2004-05/msg00013.html > > $ g++ Shutd

Re: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Keith Moore
Dave Korn wrote: Just kind of wondering if the apache is prematurely dropping the line when it sees the FIN. Possible, but I suspect it's a problem on Jacek's machine. Jacek: Win2K SP2 is pretty ancient. Is it possible to try this on a later SP? (SP4 is the latest, and there have been numerous h

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Larry Hall > Sent: 04 May 2004 03:51 > At 10:19 PM 5/3/2004, you wrote: > > >Can somebody with Win2k box compile and run prog from my > previous mail? > >I would like to know if it behaves incorrectly only on my > system, or on > >

RE: shutdown( socket, SHUT_WR ) - unexpected behaviour

2004-05-04 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Arash Partow > Sent: 04 May 2004 07:37 > Hi, > > Just out of curiosity, if one were to do: > > shutdown(sck,SHUT_WR) > > > which means as far as I understand it "stop all send reqs > made to sck", > how would one reopen the sck so

RE: Trying to link an MSVC DLL with a Cygwin Application

2004-05-04 Thread Arash Partow
Hi David, That is a false assumption, I have been able to link a REAL win32 dll against a cygwin application however linking a cygwin compiled dll into a MSVC app is where you will come into troubles. This is because neither cygwin's or ming's dlltool create dlls as specified by MS's dll specifica

Re: signal issue

2004-05-04 Thread Brian Dessent
Christian Renoulin wrote: > > I try to kill a process under cygwin. The main process Stop repeating. You've posted this three times now. Dave Korn has already replied, why don't you address his comments rather then reposting the same message. If you're hoping to get help with your problem then

fortran and C mixed-language program - cygwin the way to go?

2004-05-04 Thread David Strozzi
Hi, I don't know if this is the right list to post this question to, but please bear with me. I'm using cygwin on windows XP. I have a large fortran 95 program that I compile with Compaq Visual Fortran 6.6. There is no way g77 will handle the fortran 9x features I'm using, and g95 is still larv

Re: efax on cygwin

2004-05-04 Thread Alessio Sangalli
Igor Pechtchanski wrote: In this case, efax should have worked nicely with "-d /dev/ttyS0", too... Or "-d /dev/com1", if you prefer the Windows names... yes, now that I understand how cygwin works it's easy :) so: efax works, but it has few warnings here and there related to the serial ports and

signal issue

2004-05-04 Thread Christian Renoulin
I try to kill a process under cygwin. The main process need to kill one its child process. The child process is playing a music using : system("cat phrase3.wav > /dev/dsp "); The main process code is (pidChild is correst) : kill(SIGKILL, pidChild); I tried with SIGUSR2 (with a function as