Bug in /usr/bin/ping

2008-05-28 Thread Tom Van Looy
Hi /usr/bin/ping does not return the correct return code on ping failure. See example below, the .8 host does not exist, .9 does exist: $ ping 56 1 192.168.20.9 > /dev/null ; echo $? 0 $ ping 56 1 192.168.20.8 > /dev/null ; echo $? 0 I checked Linux and Windows versions of ping and they work cor

as.exe: cannot execute binary file

2008-05-28 Thread Buck Golemon
I apologize if this problem is trivial. I seem to have a i686 build of as.exe (/usr/i686-pc-cygwin/bin/as.exe) when my machine is not compatible. How do I configure this. Is this the only build that is available in binary form? The only executables that I see are all from the binutils package, i

RE: Bug in /usr/bin/ping

2008-05-28 Thread Dave Korn
Tom Van Looy wrote on 28 May 2008 11:12: > Hi > > /usr/bin/ping does not return the correct return code on ping failure. > See example below, the .8 host does not exist, .9 does exist: > > $ ping 56 1 192.168.20.9 > /dev/null ; echo $? > 0 > $ ping 56 1 192.168.20.8 > /dev/null ; echo $? > 0 >

Ftp issue on Cygwin under Vista

2008-05-28 Thread Prakashmp
Hi, I have installed Cygwin (DLL 1.5.25.11) on Vista Business edition (64 bit). I am trying to do ftp using command as for one of my application, this is requirement. I am getting error like: "ftp: connection: Connection refused" and no other error. I am trying to do ftp to localhost also for w

RE: Bug in /usr/bin/ping

2008-05-28 Thread Tom Van Looy
> Didn't read the --help, either, as far as I can see. Ehrr... right, my fault. Wrong copy from my terminal. But that does not change the ping behavior ... $ /usr/bin/ping 192.168.20.9 56 1 ; echo $? PING 192.168.20.9 (192.168.20.9): 56 data bytes 64 bytes from 192.168.20.9: icmp_seq=0 ttl=64 ti

Can't load sybase.dll DBD::Sybase

2008-05-28 Thread Jarek Karpiński
I have some problems with using DBD::Sybase. At first I couldn't run "make" successfully but after few tries I managed to do it. Now I have problem with this message : install_driver(Sybase) failed: Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/DBD/Sybase/Sybase.dll' for module DBD::Sybase:

Problem compiling the simplest of glade projects

2008-05-28 Thread vijayasarathy
Hi all, I have talked about this for more than one time, but somehow I dont even know if my mails are directed to the group. My problem is this: I use glade to design GTK interfaces and found some problems using the autogen.sh and make programs for compiling my programs in the src/ directory. I

Re: Can't load sybase.dll DBD::Sybase

2008-05-28 Thread Jarek Karpiński
This is installation process of DBD::Sybase (I installed DBI before DBD::Sybase) $ perl Makefile.PL Unknown Client Library version - assuming FreeTDS. By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available) when 'AutoCommit' is turned off. Versions 1.04 and older inste

Re: Bug in /usr/bin/ping

2008-05-28 Thread Tom Van Looy
I looked a little further and saw that this is a port that I probably just installed to try it out and hoped it had GNU ping arguments (so bash scripts are portable between Linux and Cygwin). Anyway, I don't know what happend but it's a 4.3BSD utility. Even 4.3BSD derived systems do the return

Re: Ftp issue on Cygwin under Vista

2008-05-28 Thread Thorsten Kampe
* Prakashmp (Wed, 28 May 2008 03:45:51 -0700 (PDT)) > I have installed Cygwin (DLL 1.5.25.11) on Vista Business edition (64 bit). > I am trying to do ftp using command as for one of my application, this is > requirement. I am getting error like: > > "ftp: connection: Connection refused" > > and n

RE: Bug in /usr/bin/ping

2008-05-28 Thread Dave Korn
Tom Van Looy wrote on 28 May 2008 13:52: > I looked a little further and saw that this is a port that I probably > just installed to try it out and hoped it had GNU ping arguments (so bash > scripts are portable between Linux and Cygwin). > > Anyway, I don't know what happend but it's a 4.3BSD

MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Mike Marchywka
Regarding recent comments on dll problems and understanding cygwin1.dll versus msvcrt, I was curious to know if anyone has used these ( free? ) MS tools or has comments on competing products? http://msdn.microsoft.com/en-us/library/cc267862.aspx http://www.microsoft.com/whdc/devtools/debugging/

RE: rsync immediately hangs when connecting via ssh (still trying to fix, revisited from Aug 07)

2008-05-28 Thread Jim Bell
Could it be a spyware/anti-virus conflict? See http://cygwin.com/ml/cygwin/2008-05/msg00383.html The symptoms don't match exactly, but one running on its own but not within another sounds similar. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Greg Chicares
On 2008-05-28 14:15Z, Mike Marchywka wrote: > > I was curious to know if anyone has used these ( free? ) MS tools Probably not free as in freedom; I haven't used them. > Apparently gdb didn't let you do anything until getting to main() which is > after the initial > process loads but some of the

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Brian Dessent
Greg Chicares wrote: > Using cygwin's gdb on a MinGW app, I can set this breakpoint > b '__mingw_CRTStartup' > on the function that invokes main(), and then examine variables > before main() is invoked. For a Cygwin app, I guess you'd break > on 'mainCRTStartup'. Does that breakpoint happen earl

Re: rsync immediately hangs when connecting via ssh (still trying to fix, revisited from Aug 07)

2008-05-28 Thread Joel Harrison
My ISP (site5) doesn't seem to be running the RSYNC daemon. Can I use a local rsync daemon to connect to a remote host that is NOT running the daemon? I can't seem to make it work. I didn't see rsync listed in Services for Unix, but I was able to get the cygwin rsync daemon working. May be a moot

Re: Can't make Wodim see my cd

2008-05-28 Thread Christian Franke
Bruce Dobrin wrote: Hi all, I noticed that the newest release includes the cdrecord replacement wodim. This is nice because I'm sort of stuck when I want record DVD's. Here is the issue: I'm on Vista Ult. A version of cdrecord that I built myself back when Dinosaurs ruled the earth (WDRE) r

RE: rsync immediately hangs when connecting via ssh (still trying to fix, revisited from Aug 07)

2008-05-28 Thread Dave Korn
Joel Harrison wrote on 28 May 2008 18:05: > My ISP (site5) doesn't seem to be running the RSYNC daemon. Can I use > a local rsync daemon to connect to a remote host that is NOT running > the daemon? I can't seem to make it work. No, of course not. Daemons don't make outgoing connections on the

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Spiro Trikaliotis
Hello, * On Wed, May 28, 2008 at 10:15:05AM -0400 Mike Marchywka wrote: > > Regarding recent comments on dll problems and understanding cygwin1.dll > versus msvcrt, > I was curious to know if anyone has used these ( free? ) MS tools or has > comments on competing > products? > > http://msdn.mi

RE: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Mike Marchywka
> first instruction of the binary. There is no such "can't debug before > main" restriction. > I think what bothered me is I just tried to step it to get minimum initial increment and that bombed- so I just assumed it wouldn't be early enough. In any case, it looked like I needed to instrument t

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Brian Dessent
Mike Marchywka wrote: > (gdb) b *0x0401000 > Breakpoint 1 at 0x401000 > (gdb) run > Starting program: /cygdrive/e/new/temp/nmap/src3/nmap-4.62/a.exe > > Program received signal SIGSEGV, Segmentation fault. > > Program received signal SIGSEGV, Segmentation fault. > > Program received signal SIGS

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Christopher Faylor
On Wed, May 28, 2008 at 12:47:44PM -0700, Brian Dessent wrote: >Mike Marchywka wrote: > >> (gdb) b *0x0401000 >> Breakpoint 1 at 0x401000 >> (gdb) run >> Starting program: /cygdrive/e/new/temp/nmap/src3/nmap-4.62/a.exe >> >> Program received signal SIGSEGV, Segmentation fault. >> >> Program recei

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Brian Dessent
Christopher Faylor wrote: > Aren't we still talking about using msvcrt and cygwin1 in the same > application where something like a SIGSEGV prior to initialization would > be the expected consequences of mixing the two dlls? Right, that too I suppose. You'd have to set breakpoints at the DllMain

RE: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Mike Marchywka
> a native command prompt (not bash) you will see a dialog box explaining > the fault since the "SetErrorMode (SEM_FAILCRITICALERRORS)" stuff won't > be active. > I think I mentioned the windoze invokation before and got the definitive " The app failed to initialize ..." meesage. I didn't know a

Re: MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

2008-05-28 Thread Brian Dessent
Mike Marchywka wrote: > I think I mentioned the windoze invokation before and got the definitive " > The app failed to initialize ..." > meesage. I didn't know about strace, let me see if I can expand on this, .rdata relocs it is then. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsu

Unable to link with libgd

2008-05-28 Thread Mark Smith
I am trying to use libgd, but the linking step fails. Can anyone help with this? I installed the libgd development package using the cygwin installer. Here is where I try to build the circletexttest that comes with the libgd source (beware of wrapped lines). gcc -g -O2 -I/usr/include/freetype2 -

Re: Unable to link with libgd

2008-05-28 Thread Christopher Faylor
On Wed, May 28, 2008 at 06:33:02PM -0700, Mark Smith wrote: >I am trying to use libgd, but the linking step fails. >Can anyone help with this? I installed the libgd >development package using the cygwin installer. > >Here is where I try to build the circletexttest that >comes with the libgd source

binutils 20080523-1: version string breaks python2.5 distutils

2008-05-28 Thread Joe Pham
As part of the binutils 20080523-1 package, both ld (ld -v) and dllwrap (dllwrap --version) report their version as "2.18.50.20080523". This version string format causes the python2.5 distutils tool to abort with error. On Linux, the format would have been something like "2.18.50 20080523". A

Re: binutils 20080523-1: version string breaks python2.5 distutils

2008-05-28 Thread Christopher Faylor
On Thu, May 29, 2008 at 01:49:55AM +, Joe Pham wrote: >As part of the binutils 20080523-1 package, both ld (ld -v) and dllwrap >(dllwrap --version) report their version as "2.18.50.20080523". This >version string format causes the python2.5 distutils tool to abort with >error. On Linux, the f

Re: Ftp issue on Cygwin under Vista

2008-05-28 Thread Prakashmp
Thorsten Kampe wrote: > > * Prakashmp (Wed, 28 May 2008 03:45:51 -0700 (PDT)) >> I have installed Cygwin (DLL 1.5.25.11) on Vista Business edition (64 >> bit). >> I am trying to do ftp using command as for one of my application, this is >> requirement. I am getting error like: >> >> "ftp: conn