X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: When ssh'd in, cannot run MS compiler /Zi debug option. Date: Wed, 19 Jul 2006 13:11:32 -0500 Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.4 (X11/20060516) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Mark Charney wrote: > I suspect I'm missing some "rights". This is an issue for me > on multiple machines running Windows Server 2003 x64 or for > 32b WinXP. > > When I try to compile using the debug-option (/Zi) to the > Microsoft Visual Studio Pro 2005 compiler: > cl /Zi hello.cpp > it only works from within cygwin if I am on the console or > remote desktop. If I ssh-in to the same machine, it fails with > a error message: > > Fatal Error C1902: Program database manager mismatch; please > check your installation. > > Compiling without /Zi works fine anywhere we try it. My best guess is > that it has to do with some RPC rights required for the debug-symbol > file (PDB) generation done by the mspdb80.dll . That DLL uses RPC to > talk to the mspdbsrv.exe. > > Any ideas? Is this a problem because the compiler running as my via > ssh doesn't have sufficient rights to talk RPC to the mspdbsrv.exe ? Actually, you might want to read . This seems to be a problem with cl.exe, NOT Cygwin (and yes, I have the exact same problem). At the very least, Interix's SSH has the same issue. There is supposed to be a hotfix, the name of which is mentioned in another thread linked via the above thread, but you have to go through Microsoft support to get it :-(. (If you do get it, I would really appreciate a copy :-).) Alternatively, if you figure out how to fix this without the hotfix, I trust you will mention it here. -- Matthew Now where did I put my hippo? -- 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/