Uninstalling cygwin

2006-06-14 Thread julien
I got problems with cygwin under WinXP and I want to uninstall it completely to re-install it correctly. Cygwin is not in the Windows Configuration panel/Uninstall I first deleted the Cygwin root folder and all subfolders, then I re-installed Gygwin, but now, when doing a make to install a prog

Re: cygrunsrv: error while starting PRNGD service

2006-06-14 Thread Rich Chase
Igor Peshansky wrote: On Tue, 13 Jun 2006, Rich Chase wrote: I compiled PRNGD against cygwin and installed it as a cygrunsrv service. When I try to start the service, I get the infamous: "Could not start the PRNGD service on Local Computer. The service did not return an error. This could

Re: GDB Ctrl-C Interrupt Fails WORKAROUND

2006-06-14 Thread Christopher Faylor
On Wed, Jun 14, 2006 at 08:29:50PM -0700, Kyle McKay wrote: >If you have ever tried to interrupt a program running under cygwin >gdb, you have probably experienced some frustration. Especially if >the program was built with -mno-cygwin. No I never have. In fact I often rely on CTRL-C interru

GDB Ctrl-C Interrupt Fails WORKAROUND

2006-06-14 Thread Kyle McKay
If you have ever tried to interrupt a program running under cygwin gdb, you have probably experienced some frustration. Especially if the program was built with -mno-cygwin. Here is a workaround. You've probably discovered that pressing Ctrl-C in the gdb window/ prompt while the program be

Re: listen/accept/fork behavior problem between cygwin1 1.5.18 and cygwin1.dll 1.5.19

2006-06-14 Thread clayne
On Wed, Jun 14, 2006 at 10:40:25PM +0200, Corinna Vinschen wrote: > > Thanks very much for your testcase. I applied a patch to Cygwin, please > give the next developer snapshot from http://cygwin.com/snapshots/ a try. > > Corinna Thank you Corinna. This appears to work much better and expected.

Re: mount permissions?

2006-06-14 Thread Igor Peshansky
On Wed, 14 Jun 2006, Brian Dessent wrote: > Igor Peshansky wrote: > > > One more thing to mention is that Cygwin mounts are persistent, so the > > second command need only be issued once. The first will need to be > > re-issued on every logon, I think. > > You should be able to add /PERSISTENT:YE

Re: FW: Need help to compile coreutils-5.96

2006-06-14 Thread Eric Blake
> When compiling this package, I receive this error message from the linker: > > gcc -std=gnu99 -g -O2 -o cp.exe cp.o copy.o cp-hash.o > ../lib/libcoreutils.a > ../lib/libcoreutils.a > copy.o:copy.c:(.text+0xefd): undefined reference to `_cygwin_spelling' > copy.o:copy.c:(.text+0x2b38): und

Re: mount permissions?

2006-06-14 Thread Brian Dessent
Igor Peshansky wrote: > One more thing to mention is that Cygwin mounts are persistent, so the > second command need only be issued once. The first will need to be > re-issued on every logon, I think. You should be able to add /PERSISTENT:YES to "net use" to have it automatically happen at each

Re: mount permissions?

2006-06-14 Thread Igor Peshansky
On Wed, 14 Jun 2006, Brian Dessent wrote: > Richard Foulk wrote: > > > This lets you specify the Windows user and password for the mount. > > > > Is there any way to do this with Cygwin's mount? > > net use x: '\\host\share' /USER:username password > mount x:/ /path/foo/bar Simpler yet: net use

Re: mount permissions?

2006-06-14 Thread Brian Dessent
Richard Foulk wrote: > This lets you specify the Windows user and password for the mount. > > Is there any way to do this with Cygwin's mount? net use x: '\\host\share' /USER:username password mount x:/ /path/foo/bar Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Prob

mount permissions?

2006-06-14 Thread Richard Foulk
Aloha, Linux mount(1) supports something like this: smbmount //host/share /mnt -o username name%password This lets you specify the Windows user and password for the mount. Is there any way to do this with Cygwin's mount? Thanks

FW: Need help to compile coreutils-5.96

2006-06-14 Thread Olivier Langlois
Hi, When compiling this package, I receive this error message from the linker: gcc -std=gnu99  -g -O2   -o cp.exe  cp.o copy.o cp-hash.o ../lib/libcoreutils.a   ../lib/libcoreutils.a copy.o:copy.c:(.text+0xefd): undefined reference to `_cygwin_spelling' copy.o:copy.c:(.text+0x2b38): undefined ref

cygport now in CVS

2006-06-14 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The cygport sources can now be found in the cygwin-ports CVS repository. Anyone interested in cygport development, work is currently on HEAD; testers would be welcome. I'm very close to making a 0.2.2 release before branching and working on l10n supp

Re: cygport pkgcheck

2006-06-14 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reini Urban wrote: > Attached is the new version. > No ChangeLog, ... entries. Incorporated into CVS. Thanks for the patch. Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mo

Re: listen/accept/fork behavior problem between cygwin1 1.5.18 and cygwin1.dll 1.5.19

2006-06-14 Thread Corinna Vinschen
On May 18 19:49, [EMAIL PROTECTED] wrote: > I'm not using perl, but I observed this behavior the other night when trying > to debug an accept() issue with pthreads. > > Test case (my original network wrappers left in, since it would create more > space > not to leave them as functions; error chec

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-14 Thread Igor Peshansky
On Wed, 14 Jun 2006, kralius wrote: > On 6/13/06, Brian Dessent <[EMAIL PROTECTED]> wrote: . Thanks. > > > changed to become visible. The cygwin installer now also creates a > > > real directory on the windows file system called cygdrive, > > > > I do

Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)

2006-06-14 Thread kralius
On 6/13/06, Brian Dessent <[EMAIL PROTECTED]> wrote: > changed to become visible. The cygwin installer now also creates a > real directory on the windows file system called cygdrive, I don't know where you got this idea but it's absolutely not true. There should never be a physical directory b

RE: Code using archive file that compiles with g++ on linux but gives linking problem with g++ on cygwin

2006-06-14 Thread Dave Korn
On 14 June 2006 19:01, Ganesh Ramakrishnan wrote: > I have an archive libminipar.a. I have a C++ program pdemo.cpp that > makes use it. > ...When I compile the program on linux, I get no errors. > However, when I compile it on cygwin using g++ version 3.4.4, I get > the following linkin

Code using archive file that compiles with g++ on linux but gives linking problem with g++ on cygwin

2006-06-14 Thread Ganesh Ramakrishnan
Hi I have an archive libminipar.a. I have a C++ program pdemo.cpp that makes use it. I am pasting the contents of the makefile at the end of this email. When I compile the program on linux, I get no errors. However, when I compile it on cygwin using g++ version 3.4.4, I get the following linking

Re: Problem with sunrpc

2006-06-14 Thread Sam Robb
On Tue, 2006-06-13 at 05:07 +0530, Zahir Koradia wrote: > Hi, > This message might be specifically for Sam Robb but am sending to the > whole list as others may be able to help. I installed the binaries and > downloaded the source of sunrpc while installing cygwin. I intended to > use the function

Re: Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)

2006-06-14 Thread Corinna Vinschen
On Jun 14 09:19, Linda Walsh wrote: > Er, are you referring to the case of zero possibly being > a valid return value if the program requests zero bytes be read? > I didn't say "only 0"... I new about the other values but was focusing on the conditions that would exist only when > a 0 was return

Re: Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)

2006-06-14 Thread Linda Walsh
Corinna Vinschen wrote: In addition to fread not setting the error value, a value of zero is returned. Zero is to be returned, *only* on end-of-file or error. However, in the test case, neither That's not correct. Any value less than size*nitems indicates either EOF or an error. The

Re: cygrunsrv: error while starting PRNGD service

2006-06-14 Thread Igor Peshansky
On Tue, 13 Jun 2006, Rich Chase wrote: > I compiled PRNGD against cygwin and installed it as a cygrunsrv service. > > When I try to start the service, I get the infamous: > > "Could not start the PRNGD service on Local Computer. The service did > not return an error. This could be an internal Win

Running PVM on Cygwin: /tmp/pvmd.459794: No such file or directory

2006-06-14 Thread Alexander.Farber
Hello, I'm using latest Cygwin on WinXP and have managed to compile PVM 3.4.4 after few minor tweaks: 1) In conf/CYGWIN.def I've put: -DARCHCLASS=\"CYGWIN\" -DRSHCOMMAND=\"ssh\" (I use ssh keys) and also added -lrpclib -lreadline to ARCHDLIB and ARCHLIB 2) In console/cons.c I've added

RE: cygrunsrv: error while starting PRNGD service

2006-06-14 Thread Dave Korn
On 14 June 2006 06:53, Rich Chase wrote: > PRNGD does start an "entropy gatherer" program, which returns and > terminates. Could this child process's termination and return value be > causing cygrunsrv to 'think' that prngd.exe runs and then terminates? No. > Suggestions Please? Probably a

Reading a write-only file doesn't set error condition (was Re: Cygwin fread on Write-Only File Descriptor returns undefined state)

2006-06-14 Thread Corinna Vinschen
Thanks for the testcase. This looks like a small flaw in newlib. I redirected to the newlib list. On Jun 13 22:29, Linda Walsh wrote: > I think I've run into a problem involving fread. > I open a test file (fopen) with Write-Only access ("w"), > immediately after that, I do an fread on the file h