Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 26 Mar 2004 17:30:59 +0100 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere Message-ID: <32531580702.20040326173059@familiehaase.de> To: Heflin CC: cygwin AT cygwin DOT com Subject: Re: cygwin gcc failure In-Reply-To: <405A313D.3050801@tampabay.rr.com> References: <405A313D DOT 3050801 AT tampabay DOT rr DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Content-Transfer-Encoding: 8bit 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 -- =^..^=