delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/26/11:31:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Fri, 26 Mar 2004 17:30:59 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
Message-ID: <32531580702.20040326173059@familiehaase.de>
To: Heflin <hhogan AT tampabay DOT rr DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: cygwin gcc failure
In-Reply-To: <405A313D.3050801@tampabay.rr.com>
References: <C1A7FA5F2793A94BA223673B8ADAF4A1C9890A AT exchange DOT atl DOT air2web DOT com> <405A313D DOT 3050801 AT tampabay DOT rr DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id i2QGVgBj024753

Hallo Heflin,

Friday, 19.03.2004 00:31 you wrote:

> Richard Campbell wrote:

>>>The symptom is pretty straight forward, on a straight command line of:
>>>
>>>gcc foo.c
>>>
>>>I get a pop up and a system log message which says:

>>>Application popup: cc1.exe - Application Error : The application failed
>>>to initialize properly (0xc0000022). Click on OK to terminate the 
>>>application.


> This doesn't appear to be applicable. cc1.exe is buried in the gcc-lib
> structure (called by gcc), and it doesn't provide any further info other
> than what I've posted.

> Additionally, MS seems to indicate that the actual message is some form
> of permision problem, but in typical MS fashion they aren't real 
> specific on how to nail down exactly what is causing the problem.

> I'm reluctant to apply a snapshot because the rest of cygwin appears to
> be working, and the idea of overlaying things isn't really appealling at
> the moment.

> If anyone has suggestions on how to narrow the possible causes, I'm all
> ears (or eyes).


Is this resolved?

From the KDE FAQ: http://kde-cygwin.sourceforge.net/faq/kde2.php#3


Why do I get the "The Application failed to initialize properly
(0xc0000022)" errors? 

If you try to start kde applications and have got a message box with
the message "The Application failed to initialize properly
(0xc0000022)...", you have probably problems with access rights on
some executables or dynamic link libraries.   
If you encounter such problems, try updating the executable access
rights with

$ chmod a+x /usr/X11R6/bin/*.exe /usr/X11R6/bin/*.dll /opt/kde2/bin/*.exe /opt/kde2/lib/*.dll


So try this for the DLLs which are usded by cc1.exe:

$ cygcheck cc1.exe
Found: .\cc1.exe
cc1.exe
  H:\bin\cygwin1.dll
    C:\WINNT\System32\ADVAPI32.DLL
      C:\WINNT\System32\ntdll.dll
      C:\WINNT\System32\KERNEL32.dll
      C:\WINNT\System32\USER32.dll
        C:\WINNT\System32\GDI32.dll
      C:\WINNT\System32\RPCRT4.dll
  H:\bin\cygintl-2.dll
    H:\bin\cygiconv-2.dll


Gerrit
-- 
=^..^=


- Raw text -


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