delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/19/14:12:25

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: mwoehlke <mwoehlke AT tibco DOT com>
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: <e9lskk$j37$1@sea.gmane.org>
References: <loom DOT 20060719T053158-768 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <loom.20060719T053158-768@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 
<http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=357051&SiteID=1>.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019