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 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <000c01c51b85$f200dbb0$4b4861cb@DANNY> References: <000c01c51b85$f200dbb0$4b4861cb AT DANNY> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <8f082267d08a76d6af5582ffbbb072b6@rehley.net> From: Peter Rehley Subject: Re: Re; Problem running xgettext after compiling gettext 0.14.1 with gcc 3.3.3 Date: Tue, 1 Mar 2005 11:59:58 -0800 To: Cygwin X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j21K0Ixe017034 On Feb 25, 2005, at 2:04 PM, Danny Smith wrote: > From: Peter Rehley > >> Hi, >> >> I am working on a project where I had to recompile gettext using gcc >> 3.3.3. I'm using cygwin 1.5.12. It compiled without issues but when I >> went to run some of the programs, a windows dialog box pops up showing >> the following message: >> >> "The application failed to initialize properly (0xc0000005). Click on >> OK >> to terminate the application." >> > > see thread starting here: > http://sourceware.org/ml/cygwin/2004-09/msg01101.html heh, I actually had that thread bookmarked. Anyway I took the suggestion and modified the libtool files. And it didn't work. I still got the same error message. What I did next was look for occurrences of "const struct", and noticed some in the programs that I had problems with. xgettext was one program and the long options struct was defined with "static const struct". When I removed the const from there and recompiled, the program worked. I tried this with the other programs that I was having problems with, and they all started working. I'm still baffled but I have the programs working now. > > > > -- > 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/ > > > Enjoy, Peter ------------------------------- A Møøse once bit my sister -- 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/