X-Spam-Check-By: sourceware.org Date: Mon, 14 May 2007 14:17:18 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin, Vista, and rcmd Message-ID: <20070514121718.GF12259@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070507210416 DOT GA12176 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070507210416.GA12176@ednor.casa.cgf.cx> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On May 7 17:04, Christopher Faylor wrote: > On Mon, May 07, 2007 at 11:41:28AM -0700, cygwin AT harmlesslion DOT com wrote: > >I've been watching the groups, Google, and so forth with little luck to > >resolving the issue seen by myself and a few other people: > > > >$ rlogin blah AT blah > > 9617 [main] rlogin 5392 e:\cygwin\bin\rlogin.exe: *** fatal error - > >couldn't dynamically determine load address for 'rcmd' (handle > >0x75E70000), Win32 error 127 > >Hangup > > > >So I finally did some research myself. I don't have a solution, but i have > >another name for the problem! > > > >Error code 127 is the 'procedure not found' code in Win32. I searched > >through the code and the DLLs involved, and found that ultimately, rlogin > >is looking for 'rcmd' in mswsock.dll (linked through wsock32.dll). The > >'rcmd' export is clearly available in Windows 2000 and Windows XP (the two > >other versions I checked), and conspicuously absent in Vista. (Checked > >with depends.exe). > > > >The only thing I could find on the development list was a note from July > >by Corinna Vinschen that there was work in progress towards replacing > >the winsock calls -- looks like we're going to need that for Vista. > > Have you tried a snapshot? http://cygwin.com/snapshots/ Just as an additional note: Yes, for Vista it's absolutely required to replace these function in Cygwin since the Vista winsock DLL does not export the old rcmd/rexec/rresvport functions anymore. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/