X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-YMail-OSG: 7NSzFFUVM1nIjjbtwa9PmgZAYcTfq9ElGLvIrIg7sEh76sQl X-Yahoo-Newman-Property: ymail-3 Message-ID: <47966191.2000700@sbcglobal.net> Date: Tue, 22 Jan 2008 21:35:13 +0000 From: Greg Chicares User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problem in compiling c program References: <4795B25A DOT 7040409 AT utu DOT fi> <009c01c85cde$e71a1340$2e08a8c0 AT CAM DOT ARTIMI DOT COM> In-Reply-To: <009c01c85cde$e71a1340$2e08a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 A million thanks: your suggestion solved a problem that had bedevilled one of my coworkers for several weeks. Details below in case they help someone else.... On 2008-01-22 10:09Z, Dave Korn wrote: > On 22 January 2008 09:08, Alexander(Wei) Yin wrote: > >> However, when I tried to compile the hello world program which is called >> "hello.c" by "gcc -Wall hello.c -o hello", the compiler seemed to be not >> working. There's no executable and no error/warning as well. I have >> re-install the cygwin for several times and the problem is still there. Our problem was not obviously identical: 'diff' simply failed, returning 53: make[2]: *** [target_that_uses_diff] Error 53 so, once we had isolated it as a 'diff' issue, we tried 'cygcheck'... > This could be a missing dll. Check if you maybe are missing cygintl-8.dll > by running > > cygcheck `which gcc` In our case, it was a different suffix version: $ cygcheck /usr/bin/diff.exe [...] Error: could not find cygintl-2.dll > If that shows it as missing you should be able to re-run setup.exe and just > click 'Next' all the way through to get it to refresh any missing files from > your installation. We had tried removing Cygwin completely, then reinstalling, but that didn't work. The key is to run setup once, then run it again without uninstalling. > Otherwise, run > > cygcheck -s -v -r > cygcheck.out > > and send the cygcheck.out file - as an attachment, please, not body text - to > the list. I had compared her 'cygcheck.out' to my own, but didn't perceive the importance of this. For the record, she had cygintl-3.dll and cygintl-8.dll but not cygintl-2.dll and I figured she must have updated anything that needed the '-2' version. Following your recipe fixed a problem that was threatening to hold up a release of our software, so thanks again. -- 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/